Skip to content

Taxpayers will lose the reinvestment exemption if the property ceased to be a primary residence more than two years ago

The application of the reinvestment exemption for a primary residence in Personal Income Tax (IRPF) is subject to strict temporal requirements. An error in calculating these periods can result in the loss of this tax benefit at the time of transferring a property.

What the DGT has ruled

The Dirección General de Tributos (DGT) has determined that, to qualify for the reinvestment exemption, the transferred property must hold the status of primary residence at the time of sale or have been so at any time during the two years immediately preceding the transfer.

In the case analyzed, the taxpayer inquired whether they could apply the exemption after selling a home in 2027, having ceased to reside in it in September 2022. The binding body concluded that the home does not meet the habitability requirement, as the two-year period of effective residence had long expired before the projected sale date.

Furthermore, it is clarified that, although a job transfer may allow for the maintenance of primary residence status under certain conditions, this status does not extend indefinitely beyond the date on which the residence is effectively abandoned.

What this means for you

If you own a property that was previously your main residence but currently functions as a second home or is rented out, you must monitor the timeline. If more than two years pass from the time you stopped living in it, the regulations will not allow you to apply the reinvestment exemption when you decide to sell it to acquire a new home.

This criterion directly affects individuals planning to reorganize their real estate assets and who rely on tax relief to mitigate the impact of capital gains on their tax return.

What you should do

It is necessary to verify the exact date on which a property ceased to be the primary residence to determine the feasibility of the exemption. Since compliance with these deadlines is an objective requirement, the strategy for buying and selling properties should be evaluated in advance to avoid unexpected tax contingencies.

Frequently asked questions

Can I use the exemption if I sold my house three years ago and am now buying another?
No, the regulations require that the sold property must have been a primary residence in the two years prior to the transfer.
Does a job transfer extend the period of habitability?
A transfer allows the home to be considered a primary residence under certain limits, but it does not extend that status beyond the date the home is abandoned.
Official binding ruling V5565-26
View full ruling →
Free assessment and quote