We have studied how local density perturbations could reconcile the Hubble tension. We reproduced a local void through a perturbed FLRW metric with a potential Φ which depends on both time and space. This method allowed us to obtain a perturbed luminosity distance, which is compared with both local and cosmological data. We got a region of local parameters, 𝑞 Lo 0 and 𝑗 Lo 0 , which are in agreement with a local void of Ω 𝑚,void = −0.30 ± 0.15 explaining the differences between the local 𝐻 0 and the Planck 𝐻 0 . However, when constraining local cosmological parameters with previous results, we found that neither ΛCDM nor Λ(𝜔)CDM could solve the Hubble tension.