Skip to content

Taxpayers will lose the reinvestment exemption if they sell their home two years after ceasing to reside in it

The application of the exemption for reinvestment in a primary residence requires strict compliance with time limits linked to the property's residency status. A recent resolution from the Dirección General de Tributos (DGT) delimits the exact moment when the transfer occurs and how this milestone affects the right to not pay tax on capital gains.

What the DGT has ruled

The inquiry analyzes whether it is possible to apply the reinvestment exemption when there is a time gap between the moment a person stops residing in their home and the moment the sale of the property is finalized. The DGT has determined that the legal transfer of an asset does not occur with the signing of an earnest money agreement (contrato de arras), but with the execution of the public deed or the delivery of the item, in accordance with the Civil Code.

Under this criterion, for a taxpayer to benefit from the exemption provided in the Personal Income Tax (IRPF) Law, the home must have been their primary residence at the time of the transfer or, failing that, during the two years immediately preceding it. If the sale is finalized outside of that two-year margin from when the property ceased to be the primary residence, the right to the exemption is lost.

What this means for you

If you are an individual planning to sell your primary residence to reinvest the amount in a new home, you must take into account that the time factor is decisive. The two-year calculation does not stop when you stop living in the house; instead, it is counted backward from the date of the sale deed.

  • The earnest money agreement does not stop the clock: The signing of a private earnest money agreement does not constitute a legal transfer for tax purposes.
  • The risk of the time gap: If you stop residing in your home and take more than two years to formalize the sale before a notary, the Administration will consider that the property is no longer your primary residence for the application of the exemption.

What should be done

In an operation of this type, it is necessary to coordinate the timing of vacating the home with the date of the signing of the public deed of sale. It is fundamental to verify that the interval between the cessation of primary residence and the legal transfer does not exceed the two years required by IRPF regulations. Since every situation of mobility or change of residence is different, it is recommended to assess the planning of the sale to avoid unexpected tax contingencies.

Frequently asked questions

Does the signing of an earnest money agreement count toward the two-year period?
No, the DGT establishes that the transfer occurs with the public deed or the delivery of the item.
When does the reinvestment exemption cease to be applicable?
When the sale is carried out more than two years after the property has ceased to be the taxpayer's primary residence.
Official binding ruling V5281-26
View full ruling →
Email
Contact