Skip to content
Back to index
V5700-26 30 September 2026 · SG de Impuestos sobre la Renta de las Personas Físicas
IRPF · exención por reinversión

Reinvestment exemption applicable if new home was purchased up to two years before selling the previous one

The inquirer asks whether the exemption for reinvestment in a primary residence can be applied if the new property was acquired before the sale of the old one. The DGT rules that this is possible, provided the acquisition took place within the two-year period prior to the transfer.

The question raised

Application of the exemption for reinvestment in a primary residence.

The DGT's ruling

The exemption for reinvestment allows for the consideration of the acquisition of a new primary residence carried out within the two-year period prior to the transfer of the previous one. To this end, the amount obtained from the transfer must be reinvested, which is calculated by subtracting the outstanding principal of the mortgage loan from the transfer value if external financing was used. The reinvested amount includes the purchase price and acquisition costs, regardless of whether own funds or loans are used.

Email
Book