The Spanish Mortgage Tax Deduction for Residents: Who Can Still Claim and How Much (2026)
Spain's IRPF mortgage deduction lets qualifying residents deduct 15% of mortgage costs up to EUR 9,040 a year. See who still qualifies in 2026.
The Spanish Mortgage Tax Deduction for Residents: Who Can Still Claim and How Much (2026)
Spain abolished its main-residence mortgage tax deduction on 1 January 2013, but a transitional regime lets qualifying residents keep claiming it year after year. The deduction, governed by Disposición Transitoria 18ª of Ley 35/2006 (the LIRPF), reduces your IRPF bill by 15% of up to EUR 9,040 of annual mortgage and related costs, worth at most EUR 1,356 per year. It is a resident-only benefit with a strict cut-off, an income ceiling, and several eligibility traps that catch foreign buyers who assume a Spanish mortgage always comes with tax relief.
Who still qualifies for the mortgage deduction in 2026?
The deduction survives only under the transitional regime in Disposición Transitoria 18ª of Ley 35/2006. Ley 16/2012, the consolidation budget law of 27 December 2012, suppressed the deduction for new acquisitions from 1 January 2013, but preserved it for taxpayers who had already started. According to the Agencia Tributaria, you qualify if you meet one of three conditions: you acquired your main home or paid towards its construction before 1 January 2013, you paid for rehabilitation or extension works before that date (provided the works finished before 1 January 2017), or you paid for disability-adaptation works before that date (with the same 2017 completion deadline).
There is a further requirement that catches some late claimants. The Agencia Tributaria states you must have actually applied the deduction in 2012 or an earlier year, with three exceptions: you had no IRPF liability to offset it against, you were not obliged to file a return, or the amount invested did not exceed a reinvestment exemption or prior deduction bases. A 2023 Tribunal Supremo ruling broadened this further, confirming that a taxpayer who bought before 2013 but never claimed the deduction in earlier years can still begin claiming it, provided all other conditions are met. This removed a barrier that had previously stopped some eligible owners from starting.
How much is the deduction actually worth?
The deduction is 15% of your qualifying base, capped at EUR 9,040 per year. The Agencia Tributaria confirms the rate is split into a 7.5% state tranche and a 7.5% regional tranche, with the regional portion set by each autonomous community. Most regions apply the default 7.5%, but some set different rates. Catalonia, for instance, applies 7.5% generally but raises the regional portion to 9% for certain younger, unemployed, disabled, or family taxpayers who bought before 30 July 2011, under specific income conditions.
At the default 15% rate, a resident paying the full EUR 9,040 base receives EUR 1,356 off their IRPF bill. A resident paying EUR 6,000 in mortgage capital and interest receives EUR 900. The saving is a tax credit, not a deduction from income, so it reduces the final tax liability directly, euro for euro, up to the amount of IRPF you owe.
Deduction calculation at a glance
| Item | Value | Source |
|---|---|---|
| Maximum annual base | EUR 9,040 | Art. 68.1.1 LIRPF (redaction 31-12-2012) |
| State tranche rate | 7.5% | AEAT IRPF 2025 manual |
| Regional tranche rate (default) | 7.5% | AEAT IRPF 2025 manual |
| Total deduction rate (default) | 15% | AEAT IRPF 2025 manual |
| Maximum annual tax saving | EUR 1,356 | Derived (15% of EUR 9,040) |
| Income ceiling (base imponible minus minimum) | EUR 30,000 | AEAT IRPF 2025 manual |
What costs go into the deduction base?
The base is broader than just the mortgage repayment. The Agencia Tributaria lists the following as qualifying amounts paid in the tax year: the capital amortisation portion of the mortgage, the interest portion, and the premiums of life and fire insurance policies where these are required under the mortgage conditions. It also includes the cost of interest-rate hedging instruments regulated under Article 19 of Ley 36/2003, and the purchase costs that ran to the buyer at acquisition (notary, Land Registry, ITP or IVA, architect fees, and licence fees) in the year they were paid.
Several costs are explicitly excluded. Repairs and maintenance, improvements, and independently purchased garages, gardens, pools, or sports facilities do not count. The Agencia Tributaria notes that garages acquired with the home are assimilated to the main residence, capped at two spaces. Cláusula suelo refund amounts that are returned before the IRPF filing deadline also fall outside the base.
Does joint filing double the EUR 9,040 limit?
No, and this is a common misunderstanding. The Agencia Tributaria is explicit: the EUR 9,040 maximum base applies “en idéntica cuantía en tributación conjunta”, meaning the same figure whether you file individually or as a couple jointly. If both spouses contribute to the same mortgage, they share the single EUR 9,040 base between them. The limit does not double to EUR 18,080 in a joint return.
The income ceiling, however, is computed per taxpayer with a right to the deduction in joint filings. The EUR 30,000 threshold (base imponible total minus the personal and family minimum) is assessed individually for each spouse who qualifies, so a couple filing jointly where both paid towards the mortgage each gets their own EUR 30,000 test.
What income ceiling applies?
A EUR 30,000 income cap gates the deduction. The Agencia Tributaria states that your base imponible total, minus the personal and family minimum, must not exceed EUR 30,000 in the year you claim. In a joint filing, this is computed individually for each qualifying taxpayer. If your income exceeds the threshold, you lose the deduction entirely for that year, even if you meet every other condition. This rule was introduced alongside the transitional regime and narrows the benefit to moderate-income residents.
Can a non-resident claim this deduction?
No. The mortgage deduction is an IRPF benefit, and IRPF is the tax regime for Spanish tax residents. Non-residents file under the IRNR (Impuesto sobre la Renta de no Residentes), which has no equivalent main-residence mortgage deduction. A resident who moves abroad and becomes non-resident loses the right to claim from the tax year in which they cease residency, even if the mortgage continues. This is a structural difference between the two regimes, not a loophole.
The cross-border dimension has seen recent movement on a related but separate front. In July 2025, the Audiencia Nacional ruled that non-EU residents should be able to deduct rental expenses under IRNR, citing the EU free movement of capital principle. That case concerns rental income expense deductibility, not the main-residence mortgage deduction, and the State Attorney has signalled an appeal. The IRPF mortgage deduction itself remains resident-only.
What happens if you sell and use the proceeds to clear the mortgage?
A TEAC resolution dated 20 October 2025 (resource 00/02995/2025) clarified a previously ambiguous scenario. If you sell your main home and use part of the sale proceeds to cancel the remaining mortgage, you can still apply the deduction for those amounts in that tax year, provided you meet the standard requirements. The TEAC reasoned that the fungible nature of money means the source of the mortgage repayment is irrelevant, what matters is that your net assets increased by at least the deduction base during the year, per Article 70 of the LIRPF. This is a significant widening for residents near the end of a mortgage term.
How does this fit with other Spanish property tax rules?
The mortgage deduction sits inside the resident IRPF framework, which also covers rental income, imputed income on a second home, and capital gains on sale. If you are a resident who lets out a property, your rental income is taxed within IRPF, and you may also qualify for the 60% rental income reduction under certain conditions. The mortgage deduction applies only to your main home, not to investment properties.
For residents weighing whether to hold a mortgage or pay it down, the deduction is a modest but real factor. At the maximum base, it returns EUR 1,356 per year. Whether that offsets the after-tax mortgage interest cost depends on your rate, your IRPF marginal band, and whether you also have the non-resident mortgage or Mortgage Law context in mind. The tax residency 183-day rule determines whether you are even in IRPF, and the Spanish property tax calendar fixes when your IRPF return is due.
Key eligibility traps to avoid
Several situations disqualify or complicate a claim. First, if you previously claimed the deduction on another main home, you cannot claim on a new one until the amounts invested in the new property exceed those invested in the prior one, to the extent they were deducted. Second, if you sold a main home and the gain was exempt under reinvestment rules, your new deduction base is reduced by the exempt gain. Third, the patrimonial test under Article 70 requires your net assets at year end to exceed those at the start by at least the deduction base, otherwise the deduction is denied for that year.
The deduction also cannot be carried forward. If you pay more than EUR 9,040 in a single year, the excess does not transfer to future years. And the income ceiling is absolute, not tapered, so crossing EUR 30,000 by a single euro removes the entire benefit for that year. If you are near the threshold, the timing of discretionary income can matter.
This guide is general information, not legal or tax advice. Rules change and individual circumstances differ. Verify current requirements with an independent lawyer (abogado) or tax advisor (gestor/asesor fiscal) before acting.
Frequently asked questions
- Can a non-resident claim the Spanish mortgage tax deduction?
- No. The deduction is an IRPF benefit available only to Spanish tax residents. Non-residents file under the IRNR regime, which has no equivalent main-residence mortgage deduction. A resident who becomes non-resident loses the right to continue claiming it from the year they cease residency.
- Is the EUR 9,040 base doubled for couples filing jointly?
- No. The EUR 9,040 annual base is identical whether you file individually or jointly. If both spouses paid towards the same mortgage, they share the single base between them. The limit does not double to EUR 18,080 in joint filings.
- What mortgage costs count towards the deduction base?
- The base includes the capital amortisation, interest paid, and the cost of mandatory life and fire insurance premiums tied to the mortgage deed. It also covers interest-rate hedging instrument costs under Article 19 of Ley 36/2003. Purchase costs like notary, registry and ITP are included for the year they were paid.
- I bought my home before 2013 but never claimed the deduction then. Can I start now?
- Yes, under a Supreme Court ruling. The Tribunal Supremo confirmed that a taxpayer who acquired before 1 January 2013 can begin claiming the deduction even if they did not apply it in 2012 or earlier years, provided they meet the other transitional requirements.
- What happens to the deduction if I sell my main home and use the proceeds to pay off the mortgage?
- A TEAC resolution from October 2025 confirmed that using sale proceeds to cancel the remaining mortgage on your main home still qualifies for the deduction in that tax year, provided all other requirements are met and your net assets increased by at least the deduction base.
Sources and data
- Deducción por inversión en vivienda habitual — Agencia Tributaria (AEAT)
- 9.1.2. Base de la deducción y porcentajes - IRPF 2025 — Agencia Tributaria (AEAT)
- Cantidades satisfechas con derecho a deducción y base máxima deducible — Agencia Tributaria (AEAT)
- Ley 35/2006, de 28 de noviembre, del Impuesto sobre la Renta de las Personas Físicas (consolidated text) — Boletín Oficial del Estado (BOE)
- Ley 16/2012, de 27 de diciembre, diversas medidas tributarias (supresión deducción vivienda) — Boletín Oficial del Estado (BOE)