Mortgage Deductions: Everything You Need to Know

June 30, 2026

Mortgage tax relief is a relevant topic for those who have purchased a home in Spain. Although the deduction for primary residence disappeared more than a decade ago, there are still thousands of taxpayers who annually deduct 15% of their mortgage payments, with a limit of 9,040 euros per year. Let's delve deeper into this topic.

Nueva llamada a la acción

What does it mean to deduct a mortgage?

Deducting a mortgage refers to the tax benefit that allows expenses related to the purchase of a primary residence to be deducted from income tax. This results in a significant reduction in the amount of taxes a taxpayer must pay, which in turn facilitates the financial management of many families.

In Spain, this deduction is only available for homes purchased before January 1, 2013. Among the most relevant deductible expenses are mortgage loan installments; these installments correspond to the monthly or annual payments made by the taxpayer to amortize the mortgage loan for their primary residence.

Requirements for mortgage tax relief 

Not all mortgages can be deducted from income tax; it is essential to meet certain requirements established by Spanish tax legislation. These requirements are so specific that they exclude a large portion of current mortgages. The most relevant requirements are:

Type of property

The mortgage must be on the owner's primary residence, where the taxpayer resides for a continuous period of at least three years. Similarly, a property is considered a primary residence if the taxpayer lives in it for a period of 12 months from the date of purchase or the completion of construction.

Acquisition date

The purchase of the home must have been made before 2013; only mortgages contracted before that date are eligible for this deduction, with the exception of debt restructuring.

The full value of the mortgage must be allocated solely to the purchase of the property.

This clarification is made because sometimes, in addition to the mortgage, the bank grants more money for other property expenses (for renovations, furniture acquisition, or others). If this is the case, the deduction will only apply to the amount used for the purchase of the home.

The mortgage must be for real estate, not movable property.

It cannot be deducted if the mortgage is for a mobile home or a vehicle used as a residence.

There are exceptions

In the Foral Community of Navarre, mortgages signed until January 1, 2018, are deductible. And, in the Basque Country, mortgages are deductible regardless of the date they were signed.

Documents for mortgage tax relief

For the deduction to be effective, certain documents must be submitted during the income tax declaration. The most relevant are:

  1. Certificate from the financial institution: this document must detail the interest paid during the tax year.
  2. Mortgage Agreement: provides the necessary information regarding the loan terms.
  3. Payment Receipts: It is important to keep all receipts that prove payments made.
  4. ID and personal documentation: to verify the taxpayer's identity.

You might also be interested in: Find out how the Euribor Mortgage and on your tax return.

Who can claim a mortgage deduction?

The tax deduction for investment in a primary residence, which allows for mortgage deductions, applies in the following cases: 

You purchased your primary residence before January 1, 2013

Those who purchased their primary residence or paid for its construction before January 1, 2013, may be eligible for a mortgage deduction.

You made payments before January 1, 2013, for works completed before January 1, 2017

Those who made payments before January 1, 2013, for renovation, home expansion, or accessibility modifications for people with disabilities, completed before January 1, 2017, may be eligible for a mortgage deduction.

You claimed the deduction in 2012 or earlier

To qualify for this deduction, you must have claimed it in 2012 or earlier, unless you were unable to do so because the investment did not exceed the exempt limit, or due to the deduction bases of previous homes.

How much can you deduct for a mortgage?

The taxpayer can deduct up to a 15% of the mortgage paid in one year, including interest and principal repaid, with an annual limit of 9,040 euros per taxpayer. This means you could save up to 1,356 euros annually if you meet all legal requirements.

In the case of two titleholders, the annual limit would be 18,080 euros.

Which mortgages are tax-deductible?

If we have taken out a mortgage that meets the aforementioned requirements, but then made changes to it, we can still benefit from the deduction, even if those changes occurred after 2013.

Thus, we may encounter three scenarios:

• Early repayment: if we have made an early payment on the mortgage, whether in full or in part.

• Lender subrogation: in this case, the loan conditions are considered to have been modified, which allows the deduction to continue to be applied.

• Taking out a new mortgage after canceling a previous one: if we have signed a new mortgage after 2013 and canceled a mortgage prior to that date, we can deduct it without issues.

Nueva llamada a la acción

What payments are tax-deductible?

In addition to your monthly payments, you can deduct other mortgage expenses. These include:

  • All insurance policies linked to the mortgage: life insurance, payment protection insurance, home insurance, etc.
  • The related expenses if you switch banks (mortgage subrogation), or if the loan conditions are modified but with the same bank, which is known as mortgage novation.
  • If a new mortgage is opened, the opening fee and property appraisal costs.
  • Mortgage cancellation fees, if you decide to pay it off early.
  • Formation costs of the mortgage loan, and the deed registration costs for the sale, among others.

How do you declare a mortgage on your tax return?

To declare your mortgage on your tax return, follow these steps:

  1. Access your draft tax return: you can do this through the Tax Agency.
  2. Include the deduction: in the section for deductions for investment in a primary residence, you need to fill in two boxes to deduct your mortgage on your 2023 tax return. Look for it under the "deduction for investment in primary residence" section. There you will find boxes 547 and 548; the first corresponds to the state portion of the deduction, while the second box corresponds to the regional portion.
  3. Enter the data: you need to specify the amount of interest paid and other relevant data.

Is it possible to deduct a second home?

No, the deduction only applies to your primary residence; a second home or property does not qualify for this benefit.

What happens if I bought my home after 2013?

Mortgages taken out after 2013 do not qualify for the deduction for investment in primary residence. This is due to a tax reform that eliminated this possibility.

However, there is an exception: if the house was purchased off-plan before that date, even if the mortgage was signed later. The Personal Income Tax Law (IRPF) states that those who acquired their home before January 1, 2013, or paid amounts before that date to build, expand, or renovate it, may benefit.

When does a mortgage stop being tax-deductible?

When discussing mortgage tax deductions, it's important to understand the situations in which this tax benefit is lost. Firstly, the sale of the primary residence means that, once the transaction is completed, the mortgage associated with that property can no longer be deducted. This occurs because, when ownership changes, the tax relationship between the taxpayer and the property is severed.

Likewise, if you decide to change residence, ceasing to use it as your primary home, you also lose the right to the deduction. Finally, it's important to note that extensions or modifications to the mortgage loan structure can affect eligibility for the tax deduction, depending on how these changes are made.

Can I deduct a mortgage extension?

Yes, it is possible to deduct a mortgage extension, provided that the extension is intended for the acquisition of your primary residence. The same applies if you refinance or cancel and take out a new mortgage; you can continue to deduct the payment on your tax return.

In the case of a mortgage extension, the deduction will only apply to the original principal amount. For example, if you still had €300,000 outstanding and you sign a mortgage extension, you will only be able to deduct the portion of the payment related to that initial €300,000.

It is essential that the connection to the original mortgage is maintained and that it can be proven that the funds have been used to improve the home or make investments in it.

Tips for Mortgage Tax Deductions 

Keep your documentation organized

You must keep all receipts and payment certificates; this is essential to facilitate the process.

Consult with a professional

It is always advisable to have the advice of a tax expert to maximize deductions.

Review tax regulations annually

It is important to review all changes in tax regulations each year to ensure you are taking advantage of all deduction opportunities.

Domoblock, a reliable option for real estate investments 

The real estate investment Domoblock allows you to access a modern, secure, and efficient way to diversify your portfolio. With a minimum investment of just €200, you can be part of exclusive opportunities, always advised by professionals in the field to protect your money and increase your earnings, ensuring a balance between accessibility and high profitability. 

Our model of Real estate tokenization divides real estate properties into digital shares or “tokens”. This not only allows for more accessible investments but also greater flexibility to diversify your portfolio and unparalleled liquidity compared to traditional real estate. Returns exceeding 10% in short periods, typically under 12 months, making it an ideal option for both novice and experienced investors. 

One of the key differentiators of our platform is its focus on security and transparency. Thanks to blockchaintechnology, every transaction is protected and immutably recorded, ensuring risk-free operations without unnecessary intermediaries. This system not only streamlines processes but also ensures a clear and reliable investment experience. The future of investments is here, and at Domoblock, we help you be a part of it!

If you're looking for a low-cost real estate investment with a short-term return, Domoblock offers you the ideal opportunity to do so.

Nueva llamada a la acción

Conclusion 

Deducting a mortgage represents a significant tax relief for many homeowners in Spain. By understanding the requirements, necessary documentation, and limitations, it's possible to maximize this benefit and optimize your tax return. If you have questions, consult a professional who can guide you through this process.

Sergio Navarro

Expert in blockchain, investments, and personal finance

Share on your social media

Do you like what you're reading?

Subscribe to our Newsletter

Do you like what you're reading?

Subscribe to our newsletter!

En curso

Villareal | Castellón

Josep Ramón Batalla, 54

DOMO-CS-2
Flipping building

Funded

100%

647.323,06 €

Target

647.323,06 €

Rentabilidad estimada:
12,64%
Duración estimada:
12 meses
Chat with other investors and ask your questions in our Telegram group

Related articles