Skip to content

Main residence tax deduction: continuity after mortgage substitution

The Directorate General of Taxes (DGT) has issued a relevant ruling for individuals applying the deduction for investment in the main residence under the transitional regime of Law 35/2006. The inquiry focused on determining whether the restructuring of mortgage debt, by canceling the previous loan and contracting a new one, leads to the loss of the right to apply said deduction.

What the DGT has ruled

The body establishes that the novation, subrogation, or substitution of a mortgage loan does not exhaust the right to the deduction, even if the new operation includes an increase in the principal. The fundamental criterion is that the new loan must be used to amortize the previous loan to maintain the tax benefit.

In this sense, the DGT points out that:

  • The installments and interest of the new loan are deductible in the proportional part corresponding to the amortization of the original loan.
  • If the increase in the principal is used to cover costs derived from the cancellation of the original loan, those amounts will also be subject to deduction.
  • Any part of the new principal used for purposes other than the acquisition or amortization of the main residence will not be deductible.

What this means for you

If you are a taxpayer applying the deduction for investment in the main residence, the possibility of renegotiating or substituting your mortgage does not pose an obstacle to continuing to take advantage of this tax benefit. The key lies in the traceability of the funds: the new loan must be directly linked to the cancellation of the previous debt.

It is important to distinguish between the capital intended to amortize the original mortgage and any excess financing used for other purposes. Only the proportional part linked to the residence will allow for the application of the deduction in the Personal Income Tax (IRPF) return.

What you should do

In the event of a mortgage restructuring operation, it is necessary to precisely identify which part of the new loan is destined for the amortization of the previous debt and which part covers the cancellation costs. It is recommended to correctly document the operation to prove that the purpose of the new credit is the substitution of the previous debt, thereby ensuring the correct application of IRPF regulations.

Frequently asked questions

Can I deduct the entirety of my new mortgage if it is larger than the previous one?
No, you can only deduct the proportional part used to amortize the original loan and its cancellation costs.
What happens to the extra money from a loan increase?
If the excess principal is used for purposes other than the amortization of the residence, that part will not be deductible.
Official binding ruling V0521-25
View full ruling →
Email
Contact