Skip to content

Main residence deduction: mortgage loan substitution

The possibility of maintaining the deduction for investment in the main residence after performing a mortgage loan substitution operation has been analyzed by the Directorate General of Taxes (DGT). The core of the issue lies in determining whether a change in financial conditions interrupts the right to the deduction for amounts allocated to debt amortization.

What the DGT has ruled

The DGT has established that substituting one loan for another with different conditions does not imply the conclusion of the investment financing process. Therefore, the installments of the new loan, both in terms of amortization and interest, allow for the continuation of the deduction in the proportional part attributable to the original loan intended for the residence.

However, the criteria mark a fundamental distinction: if the operation does not maintain direct continuity, but instead involves a prior debt cancellation followed by the subsequent obtaining of independent credit, it would be understood as two distinct operations. In this latter scenario, the right to the deduction for the new credit would be lost.

What this means for you

If you are within the transitional regime for the main residence investment deduction, this criterion is relevant to your tax planning. The key is not the existence of a new loan, but the nature of the substitution operation.

  • If the operation is a technical substitution that maintains the purpose of the original financing, the deduction persists.
  • If the operation is structured as a total cancellation followed by a new contract without a direct link, the Tax Administration could consider that the right to the deduction has ended.

What you should do

In the event of a possible renegotiation or substitution of your mortgage, it is necessary to analyze the legal and financial structure of the operation. You must verify whether the new financing maintains continuity with the loan originally intended for the main residence to avoid contingencies with the Tax Administration. Each financial situation requires a specific analysis of the contractual documentation to determine its impact on Personal Income Tax (IRPF).

Frequently asked questions

Do I lose the deduction if I change my mortgage conditions?
No, as long as the operation is a substitution that maintains the continuity of the housing financing.
What happens if I cancel my mortgage and request a completely different new one?
In that case, the DGT considers them to be distinct operations, and the right to the deduction would be lost.
Official binding ruling V1917-25
View full ruling →
Email
Contact