Skip to content

Taxpayers will lose the exemption for the sale of their home if they have ceased to reside in it for more than two years

The application of the exemption in Personal Income Tax (IRPF) for the transfer of a habitual residence is subject to strict temporal requirements that many taxpayers might be unaware of at the time of formalizing a sale.

What the DGT has ruled

The Dirección General de Tributos (DGT) has specified the scope of article 33.4.b) of the IRPF Law. According to the issued criteria, for a building to be considered a habitual residence and allow the application of the exemption on capital gains, it must have served as the habitual residence at the time of the sale or on any day of the two years immediately preceding it.

If the transfer of the property occurs when more than two years have elapsed since the property ceased to be the taxpayer's habitual residence, the aforementioned tax benefit cannot be applied. The regulations require a continuity or temporal proximity that is broken upon exceeding said two-year period.

What this means for you

This criterion has a direct impact on individuals who, for various reasons, have left their primary home to move to another address, but maintain ownership of the first with the intention of selling it in the future without paying tax on the capital gain.

If you are a taxpayer who has ceased to reside in your home more than two years ago, the capital gain derived from its sale will be subject to the corresponding taxation in your income tax return. To regain the status of habitual residence and access the exemption, the regulations indicate that the taxpayer should reside in the home again for a period of three years or prove justified circumstances that require the change of residence.

What is advisable to do

Before proceeding with the sale of a property that has not been your residence in the last 24 months, it is necessary to verify your effective residence status. If your goal is to avoid the tax burden of the capital gain, you must check whether you meet the residence deadlines or if your personal situation allows for justifying the change of residence under the precepts of the IRPF Law and the IRPF Regulation.

Frequently asked questions

Can I sell my old house without paying taxes if I lived in it three years ago?
No, the exemption requires that the home has been your habitual residence at the time of the sale or in the two years prior.
What happens if I move back into my old home?
You should reside in it for three years to regain the status of habitual residence and be able to apply the exemption.
Official binding ruling V5907-26
View full ruling →
Email
Book