Skip to content

The reinvestment exemption for primary residences may apply if the new purchase is made up to two years before the sale

The management of a primary residence carries significant tax implications for Personal Income Tax (IRPF). One of the most relevant mechanisms is the reinvestment exemption, which allows taxpayers to avoid paying tax on the capital gain obtained from the sale of a primary residence, provided the amount is used to acquire a new home.

What the DGT has ruled

The Dirección General de Tributos (DGT) has clarified the temporal scope and the nature of the funds required to qualify for this tax benefit. The criteria establish that the new home must also be a primary residence and its acquisition must occur within a two-year period, which can be calculated both before and after the transfer of the previous home.

Furthermore, the ruling specifies fundamental aspects regarding capital management:

  • Fungibility of money: It is not mandatory for the exact amount obtained from the sale to be the same as the one used for the new purchase, given that money is fungible.
  • Composition of the amount: The amount considered reinvested includes both the acquisition price and the expenses associated with the new home.
  • Financing: The benefit is applicable regardless of whether the new acquisition is made with own funds or through the contracting of loans.

What this means for you

For individuals planning a succession of homes, this criterion offers operational flexibility. If you have acquired a new primary residence prior to the sale of your current residence, you may maintain the right to the exemption as long as the two-year period is met. Additionally, using the money from the sale to pay off an existing mortgage on the new home does not prevent the use of the exemption, as the relevant factor is the reinvestment of capital into the asset.

What you should do

In an operation of this type, it is necessary to strictly monitor the dates of the purchase and sale deeds and the transfer of the previous home to avoid exceeding the legal period. It is recommended to correctly document all acquisition expenses for the new home, as these form part of the reinvested amount for the calculation of the exemption.

Frequently asked questions

Must I use the exact money from the sale for the new house?
No, money is fungible, so it is not necessary for it to be the exact same amount.
Can I use the exemption if I use the money to pay a mortgage?
Yes, the regulations allow for the exemption even if the capital is used to pay off loans for the new home.
Official binding ruling V5963-26
View full ruling →
Email
Book