Skip to content

Taxpayers will lose the reinvestment exemption if the sold property was not the habitual residence in the two previous years

Taking advantage of the reinvestment exemption in Personal Income Tax (IRPF) requires strict compliance with temporal and usage requirements. The Dirección General de Tributos (DGT) has specified the scope of the habitual residence condition necessary to avoid taxation on the capital gain derived from the sale of a property.

What the DGT has ruled

The ruling analyzes the possibility of applying the exemption provided for in Article 38.1 of the IRPF Law when the sold property has ceased to be the taxpayer's residence before the required grace period. The criteria establish that the transferred property must be the habitual residence at the time of sale or must have been so on any day during the two years prior to the transfer.

For a property to be considered a habitual residence, regulations require continuous residence for at least three years, unless there are justified circumstances that force a change of domicile. In the case analyzed, the taxpayer stopped residing in the property in 2018 to rent it out, therefore failing to meet the habitual residence requirement in the two-year period required at the time of sale.

What this means for you

If you plan to sell a property and use the proceeds to acquire a new habitual residence in order to avoid paying tax on the gain, you must verify your residence history. It is not enough to have lived in the house in the past; it is necessary that the status of habitual residence has been maintained or has not been lost within the two-year window prior to the transaction.

If the property has been rented out or has remained unoccupied for a period exceeding two years before the sale, the right to the reinvestment exemption is lost, forcing the taxpayer to pay tax on the capital gain obtained.

What you should do

Before formalizing the sale of a property with the intention of reinvesting the capital, it is necessary to:

  • Check the exact date on which residence in the property ceased.
  • Verify if the property has been rented out during the two years prior to the transfer.
  • Evaluate if there are justified circumstances that allow for the maintenance of the habitual residence status despite the change of domicile.
  • Analyze the tax situation of the operation to determine the impact of the capital gain.

Frequently asked questions

Can I apply the exemption if I rented my house three years ago?
No, if the property has not been your habitual residence in the two years prior to the sale, you will not be able to apply the reinvestment exemption.
What is considered a habitual residence according to the DGT?
It is the property where one resides continuously for at least three years, except in cases of justified changes of domicile.
Official binding ruling V5795-26
View full ruling →
Email
Book