Skip to content

Purchasing a new home two years before selling the primary residence allows for the reinvestment exemption

The application of the reinvestment exemption in Personal Income Tax (IRPF) is a key mechanism to mitigate the tax burden when changing residences. However, the chronology of purchase and sale operations often generates doubts regarding compliance with legal requirements.

What the DGT has resolved

The Dirección General de Tributos (DGT) has addressed the question of whether the acquisition date of the new primary residence prevents the application of the reinvestment exemption on the amounts paid for said purchase. After analyzing the current regulations, the binding body determines that the exemption is applicable even if the new home was acquired within the two-year period prior to the transfer of the home being sold as a primary residence.

The ruling confirms that the right to the exemption is not lost simply because the acquisition of the new residence precedes the sale of the previous one, provided that the requirements established in the IRPF Law and its Regulations are met.

What it means for you

If you are an individual planning to sell your primary residence to buy another, this resolution grants you operational flexibility. It is not strictly necessary to wait until the first house is sold to have formalized the purchase of the second. This allows taxpayers to secure their new residence in advance without waiving the tax benefit of reinvestment.

The regulations allow the benefit to be applied to the amounts that have been paid for the new home, respecting the two-year timeframe prior to the transfer of the primary residence.

What you should do

To ensure the correct application of this benefit, it is fundamental to:

  • Verify that the home being transferred strictly meets the condition of being a primary residence.
  • Correctly document the acquisition and transfer dates to prove compliance with the two-year period.
  • Accurately calculate the reinvested amounts to avoid discrepancies with the Tax Administration.

Given that each wealth situation presents particularities, it is necessary to assess each case individually to confirm compliance with all the requirements of Law 35/2006 and RD 439/2007.

Frequently asked questions

Can I buy my new house before selling my current one and still keep the exemption?
Yes, the DGT confirms that the acquisition can precede the transfer, as long as the two-year period is maintained.
Which regulations govern this exemption?
The exemption is governed by Law 35/2006 on IRPF and the IRPF Regulations (RD 439/2007).
Official binding ruling V1660-26
View full ruling →
Email
Contact