Skip to content

Taxpayers cannot use the reinvestment exemption to pay off mortgages

The application of the reinvestment exemption for a primary residence is one of the most commonly used tax optimization mechanisms by individuals. However, the Dirección General de Tributos (DGT) has strictly delimited the circumstances in which this benefit is applicable, closing the door to interpretations that would allow the capital obtained to be used for purposes other than the acquisition of a new property.

What the DGT has ruled

The inquiry analyzes whether it is possible to apply the exemption provided for in Article 38.1 of the Personal Income Tax Law (Ley del IRPF) when the money obtained from the transfer of a home is used to cancel the mortgage charges of the primary residence itself or to carry out improvement works. The DGT's criterion is negative: the exemption does not apply in these cases.

The administration bases its decision on Article 41 of the Personal Income Tax Regulations (RIRPF), which establishes that the amount obtained must be reinvested in the acquisition of a new primary residence. The use of funds to settle a mortgage debt does not constitute a reinvestment in legal terms, as there is no acquisition of a new asset.

Furthermore, regarding works, the DGT points out that rehabilitation is only permitted if it meets specific requirements for the reconstruction of structures that exceed 25 percent of the value or if it meets subsidy conditions, which is not met in general improvement works.

What this means for you

If you are a homeowner and plan to sell your property to use that capital to amortize your current mortgage or to renovate your residence, you should know that you will not be able to benefit from the reinvestment exemption. This implies that the capital gain derived from the sale will be taxed under Personal Income Tax (IRPF) in the ordinary manner.

This criterion directly affects individuals who, following a segregation of estates or a partial sale, intend to use the remainder to improve their personal financial situation or the condition of their current home without acquiring a new property.

What is advisable to do

In an operation of this type, it is necessary to evaluate the tax impact of the capital gain before executing the sale. If the goal is to avoid taxation, the strategy must focus on the acquisition of a new primary residence that meets the legal requirements, instead of allocating the funds to the cancellation of debts or renovations that do not fit the concept of structural rehabilitation.

Frequently asked questions

Can I use the money from the sale of my house to pay my mortgage and avoid paying IRPF?
No, the DGT establishes that the cancellation of mortgage charges does not constitute a valid reinvestment for the exemption.
Do renovations in my current home allow me to apply the exemption?
Only if they consist of a rehabilitation that meets specific requirements for structural reconstruction or subsidy conditions, not for general improvements.
Official binding ruling V1570-26
View full ruling →
Email
Contact