Skip to content

Reinvestment exemption may apply if two primary residences are sold

The possibility of reducing the tax burden after selling a primary residence is a common scenario during changes of residence or following family breakdowns. Recently, the Dirección General de Tributos (DGT) has clarified whether it is possible to apply the benefit of the reinvestment exemption when a taxpayer sells two properties that have held the status of primary residence to acquire a new one.

What the DGT has ruled

The administration has determined that there is no legal impediment to reinvesting the amounts from the transfer of two primary residences into the acquisition of a new one. For this operation to be valid under Personal Income Tax (IRPF) regulations, the deadlines and the habitual residence conditions for each property must be strictly observed.

In the case of homes that have been the residence following a divorce, the DGT points out that the habitual residence requirement is met if the property is the primary residence of the spouse who remains in it. Regarding the second home, compliance with a continuous residence period of at least three years is required, with exceptions permitted only in the face of duly justified circumstances of change of address.

What this means for you

If you find yourself in a situation where the sale of two properties that have been your main residence generates capital gains, you could avoid paying tax on those gains if you reinvest the money in your next primary residence. This is especially relevant for individuals undergoing separation or divorce processes, where property ownership may be divided or the habitual use may change holders.

It is fundamental that each property meets the residence criteria required by the IRPF Law and its Regulations, as the exemption depends directly on the accreditation of habitual residence and compliance with the established reinvestment deadlines.

What you should do

In an operation of this type, it is necessary to verify that both properties meet the continuous residence requirements demanded by the regulations. The primary residence status of each property must be correctly documented, especially in divorce cases, and it must be ensured that the reinvestment deadlines comply with the provisions of Law 35/2006 and RD 439/2007. Since the application of the exemption depends on the specific facts of each taxpayer, it is necessary to assess each case individually.

Frequently asked questions

Can I reinvest the money from two houses into a single new one?
Yes, the DGT confirms there is no impediment to reinvesting the amounts from two primary residences into a new one.
What happens if my ex-spouse stays in the house after the divorce?
The property maintains its status as a primary residence if it is the residence of the spouse who remains in it.
Official binding ruling V5800-26
View full ruling →
Email
Book