Skip to content

Taxpayers may apply the reinvestment exemption if the property was a primary residence two years ago

The application of the reinvestment exemption when purchasing a new primary residence is a key mechanism for reducing the tax burden following the sale of a property. However, the "primary residence" condition often raises doubts when the property ceased to be such shortly before the sale operation.

What the DGT has ruled

The Dirección General de Tributos (DGT) has clarified the scope of Article 38 of the Personal Income Tax Law (LIRPF) regarding the nature of the transferred property. The criteria establish that, to access the exemption, the property being sold must meet one of these two requirements:

  • It must have been the taxpayer's primary residence on the date of the transfer.
  • It must have been the primary residence at any time during the two years prior to the date of the sale.

This criterion implies that the fact that the property has been rented out during a recent period does not prevent it from being considered a primary residence for the purposes of the exemption, provided that the two-year period from when it ceased to be such is respected. Likewise, it is confirmed that the reinvestment of the amount obtained must be carried out within a two-year period, which can be done both before and after the transfer of the property.

What this means for you

If you are an individual who has sold a property that was previously your main residence, but which is currently rented out, you do not automatically lose the right to the reinvestment exemption. The regulations allow this two-year margin so that the change of use (from primary residence to rented property) does not penalize the possibility of reinvesting the capital in a new primary residence without paying tax on the capital gain.

What you should do

It is essential to prove the status of the property as a primary residence during the two-year period prior to the sale to avoid contingencies with the Tax Administration. Since the application of this benefit depends strictly on compliance with the deadlines and the nature of the property's use, it is necessary to assess each particular situation to ensure that the reinvestment complies with the terms of the LIRPF and the RIRPF.

Frequently asked questions

If I rent out my current house, can I still apply the reinvestment exemption?
Yes, as long as the property was your primary residence at some point during the two years prior to the sale.
Within what timeframe must I buy the new home to avoid paying the tax?
The reinvestment must be carried out within a two-year period, either before or after the transfer of the previous home.
Official binding ruling V5910-26
View full ruling →
Email
Book