Skip to content

Reinvestment exemption may apply if the sold property was a primary residence up to two years ago

The application of the reinvestment exemption in Personal Income Tax (IRPF) requires strict compliance with temporal and usage conditions regarding the transferred property. A recent binding ruling from the Dirección General de Tributos (DGT) clarifies the scope of the primary residence consideration and how the proceeds must be used to avoid taxation on capital gains.

What the DGT has ruled

The DGT determines that, for a property to be considered a primary residence for the purposes of the exemption regulated in Article 38 of the IRPF Law, it must meet one of these two requirements:

  • Having been the taxpayer's continuous residence for a minimum period of three years.
  • Having been the primary residence up to any day within the two years prior to the date of transfer.

Furthermore, the criteria establish that the exemption is valid if the acquisition of the new home is carried out within a maximum period of two years from the transfer of the previous one. However, the authority clarifies that the reinvestment requirement is not met if the amount obtained from the sale is used to pay off the mortgage of a home that had already been acquired before the two years prior to the transfer had elapsed.

What this means for you

If you are an individual planning to sell your home to acquire another, you must verify that your current residence or the one you are about to sell meets the required periods of occupancy. The temporal factor is decisive: if you stop residing in your primary residence, you have a margin of up to two years for said sale to continue allowing access to the tax benefit for reinvestment.

Additionally, you must be cautious with the destination of the funds. The regulations require that the money from the sale be used for the purchase of the new home, not for the reduction of debts on properties acquired prior to the permitted reinvestment period.

What you should do

Before formalizing any purchase and sale operation, it is necessary to conduct an analysis of the residency situation over recent years. It is fundamental to document the primary residence status to avoid contingencies with the Tax Administration. Given that the interpretation of deadlines can be complex, it is recommended to assess each particular situation to ensure that the use of funds strictly complies with the IRPF Law and Royal Decree 439/2007.

Frequently asked questions

How long must I have lived in my house for it to be considered a primary residence?
It must have been your continuous residence for at least three years or have been so up to less than two years before the sale.
Can I use the sale proceeds to pay off the mortgage on a house I have already bought?
No, if the home was acquired before the two years prior to the transfer, using the amount to pay off the mortgage does not meet the reinvestment requirement.
Official binding ruling V5832-26
View full ruling →
Email
Book