Skip to content

Two-year limit for the exemption on the sale of a primary residence

The Dirección General de Tributos (DGT) has clarified the temporal conditions necessary for a taxpayer to benefit from the exemption in Personal Income Tax (IRPF) regarding the transfer of their primary residence. This criterion is fundamental for those who have moved their residence and maintain ownership of the previous property for a prolonged period.

What the DGT has ruled

The inquiry focuses on the application of the exemption provided for in Article 33.4.b) of the IRPF Law. The Administration's criterion establishes that, for the transfer of a property to be considered a primary residence for tax purposes, the property must be the effective residence at the time of sale or must have been so at any time during the two years immediately preceding the transfer.

Consequently, the DGT determines that once the taxpayer ceases to reside effectively in their home, a two-year period begins to count. If the sale occurs more than two years after the property ceased to constitute the primary residence, the corresponding tax exemption cannot be applied.

What it means for you

This criterion directly affects individuals managing the sale of their properties. It is a critical aspect for those taxpayers who, due to various circumstances, maintain ownership of their former home after having moved to a new address. If the time elapsed between the cessation of effective residence and the signing of the sale exceeds the two-year limit, the capital gain derived from the operation will be taxed under IRPF without the possibility of applying the aforementioned exemption.

What you should do

When intending to sell a property that is no longer the primary residence, it is necessary to verify the exact date on which residence ceased. It is essential to accurately count the two-year period to avoid tax contingencies. Since each wealth situation presents particularities, it is recommended to assess each case individually to determine the tax impact of the operation.

Frequently asked questions

Can I sell my former house after three years of not living in it and not pay IRPF?
No, according to the DGT's criterion, if more than two years have passed since it ceased to be your primary residence, the sale does not enjoy the exemption.
Which regulations govern this exemption?
The exemption is regulated in the IRPF Law (Law 35/2006) and its Regulation (RD 439/2007).
Official binding ruling V1885-25
View full ruling →
Email
Contact