Skip to content

Habitual residence requirements for the reinvestment exemption on primary residence

The application of the reinvestment exemption for the primary residence is a key mechanism for reducing the tax burden on Personal Income Tax (IRPF) following the sale of a property. However, the Dirección General de Tributos (DGT) has clarified the temporal and residence limits necessary to access this tax benefit.

What the DGT has ruled

The query concerned the possibility of applying the reinvestment exemption after obtaining a capital gain from the sale of a property that was, in the past, the taxpayer's primary residence. The DGT has determined that it is not possible to apply said exemption if the transferred property does not meet the habitual residence requirement at the time of sale or during the two years prior to it.

For a property to be considered a primary residence, regulations require continuous residence for at least three years, except in exceptional circumstances that justify a change of domicile. In the case analyzed, having ceased to reside in the property in 2017, the taxpayer did not meet the habitual residence requirement necessary for the transfer at the time of the transaction.

What this means for you

If you are an individual planning to sell a property to reinvest the amount in a new home, you must keep in mind that the tax benefit is not automatic simply because you lived there previously. Compliance with the timeframes is strict:

  • The property must be your main residence at the time of sale.
  • If you no longer reside in it, you must have maintained your habitual residence in that property during the two years immediately preceding the transfer.
  • Residence must be continuous, meeting the three-year stay criterion, except for legal exceptions.

What you should do

Before formalizing the sale of a property with the intention of applying for the reinvestment exemption, it is necessary to verify the residence history in the property. It is essential to check whether the periods of stay required by the IRPF Law and the IRPF Regulations are met to avoid an unexpected tax settlement for the capital gain generated.

Frequently asked questions

How long must I have lived in the property for it to be considered a primary residence?
Continuous residence of at least three years is required, except in exceptional circumstances.
Can I apply the exemption if I sold my primary residence three years ago?
No, the regulations require that the property has been the primary residence at the time of sale or during the two preceding years.
Official binding ruling V1879-25
View full ruling →
Email
Contact