Skip to content

Personal Income Tax exemption for the sale of primary residence in mortgage foreclosure

The Dirección General de Tributos (DGT) has issued a relevant ruling regarding the application of the exemption in Personal Income Tax (IRPF) when the primary residence is transferred within the framework of a judicial procedure to satisfy mortgage debts.

What the DGT has ruled

The inquiry analyzes whether the exemption provided for in Article 33 of the Personal Income Tax Law (LIRPF) is applicable in these cases. The body has determined that the exemption contemplated in Article 33.4.d) of the LIRPF extends to the transfers of the primary residence carried out through judicial mortgage foreclosures.

The ruling establishes that the regulation does not limit the exemption to a specific type of procedure; therefore, it includes those disposal procedures in judicial proceedings that have the purpose of paying the mortgage debt. Likewise, the DGT clarifies that it is not necessary for the debt to have been used exclusively for the acquisition of the home, nor that the foreclosure must have the sole purpose of canceling said debt, provided that the general legal requirements are met.

What this means for you

This pronouncement has a direct impact on individuals who are involved in insolvency proceedings and are forced to transfer their primary residence to meet their financial obligations. If the transfer of the home occurs through a judicial mortgage foreclosure intended to pay the debt, the taxpayer could avoid the tax impact on the resulting capital gain.

What should be done

In a situation of mortgage foreclosure or insolvency proceedings affecting the primary residence, it is necessary to verify compliance with the requirements demanded by current regulations:

  • Prove that the property constitutes the taxpayer's primary residence.
  • Confirm that the transfer is carried out through a judicial mortgage foreclosure procedure.
  • Analyze the documentation certifying the purpose of the procedure to ensure the correct application of the exemption.

Each situation presents particularities that must be carefully analyzed to determine the viability of this tax benefit.

Frequently asked questions

Is it necessary that the debt was used only to buy the house?
No, the regulations do not require that the debt was specifically intended for the acquisition of the home to apply the exemption.
What type of procedure allows for the exemption?
Disposal procedures within a judicial proceeding that seek the payment of the mortgage debt are included.
Official binding ruling V0531-25
View full ruling →
Email
Contact