Skip to content

Exemption for reinvestment in primary residence: residency requirements and deadlines

Managing the capital gains derived from the sale of a home is a critical aspect of Personal Income Tax (IRPF) filings. Recently, the Dirección General de Tributos (DGT) has clarified the requirements necessary to access the exemption for reinvestment in a primary residence, a mechanism that allows taxpayers to avoid paying IRPF on such gains.

What the DGT has ruled

The ruling establishes that, for the exemption to be applicable, both the transferred property and the acquired property must hold the status of primary residence. In this sense, the regulations determine that the sold property is considered a primary residence if it was so at any time during the two years prior to the date of the transfer.

Regarding timing, the reinvestment must be executed within a two-year period. It is important to highlight that this two-year period can be calculated both before and after the date on which the transfer of the original property occurs.

What this means for you

This ruling directly affects individuals performing real estate purchase and sale transactions. If you sell your main home with the aim of acquiring a new one, you must ensure that two conditions are strictly met:

  • The residency condition: It is not enough for the new home to be your residence; the home you sell must also have been your primary residence at some point during the two years prior to the sale.
  • Compliance with deadlines: The purchase of the new home must occur within the two-year window, either before or after the sale of the first one.

Failure to comply with any of these parameters will result in the obligation to pay tax on the capital gain obtained from the sale.

What you should do

In an operation of this type, it is necessary to verify the documentation that proves habitual residence in the transferred property during the two-year period prior. Likewise, the schedule of the purchase and sale deeds must be monitored to guarantee that the reinvestment falls within the legal timeframe established by the IRPF Law and its Regulations.

Frequently asked questions

Can I reinvest the money before selling my current house?
Yes, the reinvestment can be carried out within a two-year period, either before or after the transfer of the primary residence.
What happens if the house I am selling was not my residence in the last two years?
In that case, the residency requirement necessary to apply the reinvestment exemption would not be met.
Official binding ruling V1978-25
View full ruling →
Email
Contact