How to cut your Spanish income tax before 31 December - a year-end checklist
Pension contributions, offsetting investment losses, donations, energy-efficiency works and electric cars. What counts towards your 2026 Spanish tax return only if you act before the year ends, with the official limits and the most common mistakes.
The short answer: if you are tax resident in Spain, you file your 2026 return for IRPF (Spanish personal income tax) in spring 2027, but almost everything that can reduce it has to happen now. IRPF works on the calendar year, so a contribution, a loss-making sale or a donation made on 2 January counts towards the following year. The main levers are: paying into a pension plan (up to €1,500), offsetting gains with losses, donating to qualifying charities, finishing energy-efficiency works or buying an electric car before those deductions expire, and, if you bought your home before 2013, topping up the old mortgage relief.
None of these is worth doing unless it makes sense on its own merits: saving tax is no reason to lock away money you will need. For broader money matters, see our Spanish-language personal finance guide.
Who this applies to: residents taxed under IRPF on their worldwide income. Non-residents pay a different tax (IRNR) and most of these reliefs do not apply. If you came to Spain under the special "Beckham Law" regime, check with an adviser, as the rules differ.
1. Pay into a pension plan
Contributions to a Spanish pension plan are deducted from your general taxable base, so you save at your marginal rate. The limits, according to the Agencia Tributaria's practical manual (the Spanish tax agency) and article 52 of the IRPF Act, are:
| Situation | Annual limit |
|---|---|
| Personal plan | €1,500 (and never more than 30% of your net employment and business income) |
| Company plan (employer and employee contributions) | Up to €8,500 more, on a scale that depends on the employer's contribution |
| Self-employed, in plans for the self-employed | Up to €4,250 extra |
| Spouse's plan, if the spouse earns under €8,000 | Up to €1,000 |
| People with a disability (own contributions) | Up to €24,250 |
Example: with a 30% marginal rate, a €1,500 contribution saves about €450 on your return. But it is a deferral, not a gift: the money is largely locked in (contributions become withdrawable after ten years) and is taxed as income when you take it out. It works best if your tax rate is high now and likely to be lower in retirement. If you plan to leave Spain, check how a Spanish pension plan would be treated in your next country.
Mind the deadline: the contribution must be executed, not just ordered, by 31 December. Many providers set an earlier cut-off.
2. Offset gains with losses
If you have sold shares or funds at a profit this year, you can reduce the tax on that gain by realising losses on other holdings. The rules for the savings base, set out in the Agencia Tributaria's filing manual, are:
- Capital losses are first set against capital gains from the same year.
- Any remaining losses can offset up to 25% of investment income (interest and dividends), and vice versa.
- Anything left over carries forward for four years.
The two-month trap: if you sell at a loss and buy back the same (or equivalent) securities within two months before or after, the loss cannot be claimed until you sell the new ones. For unlisted securities the window is one year.
Switching between Spanish investment funds does not trigger a gain or loss, so it does not help here. This is tax planning, not a recommendation to buy or sell anything. Remember that worldwide investments, including those held with foreign brokers, are reported in Spain.
3. Charitable donations
Donations to organisations covered by Spain's patronage law (Ley 49/2002) are deducted directly from your tax bill:
- 80% of the first €250.
- 40% of the rest, or 45% if you gave at least as much to the same charity in each of the two previous years.
- The deductible amount is capped at 10% of your taxable base.
So a €250 donation before 31 December really costs you €50. Many regions add their own relief. Make sure the charity has your NIE (foreigner's tax ID) so the donation shows up in your tax data.
4. Deductions that expire on 31 December 2026
Royal Decree-law 7/2026 extended several national deductions to the end of this year. Unless they are extended again, they lapse on 1 January:
- Energy-efficiency works on your home: 20% (on up to €5,000) if they cut heating and cooling demand by at least 7%, or 40% (on up to €7,500) if they cut non-renewable primary energy use by 30% or bring the rating to A or B. You need energy certificates from before and after the works. Works on whole residential buildings have until 31 December 2027.
- Electric car: 15% of the price, on up to €20,000, if the new vehicle is registered by 31 December 2026.
- Charging point: 15% on up to €4,000, if installed this year.
- Renewable self-consumption: a new deduction for solar and other self-consumption systems installed in homes during 2026.
Payments cannot be made in cash, and any grants received must be subtracted.
5. Mortgages taken out before 2013
If you bought your main home before 1 January 2013 and were already claiming the old mortgage relief, you keep it: 15% of what you pay (capital, interest and costs) up to €9,040 a year. If you have paid less than that this year, an early repayment before 31 December can top it up. With Euribor above 3%, paying down a variable loan also saves interest: see our report on November's Euribor.
New for tenants
Royal Decree-law 29/2026, approved in October and validated by parliament in November, creates a national deduction of 10% of the rent on your main home for taxpayers with a taxable base under €33,007.20, on up to €11,630 of rent a year (a €1,163 deduction), tapering between €23,007.20 and €33,007.20. It cannot be combined with the old transitional rent deduction for the same home. Nothing needs doing before year-end except keeping your contract and proof of payment; the tax agency is expected to clarify during the filing campaign how it applies to 2026 rent.
Common mistakes
- Contributing more than you can deduct. Excess caused by too low an income or the 30% cap can be carried forward five years, but not amounts above the absolute limit.
- Forgetting the two-month rule when selling and rebuying the same listed fund or share.
- Relying on the order date rather than the execution date.
- Ignoring your region's deductions, which can be more generous than the national ones.
- Thinking only about tax: a pension plan or an electric car is a decision for years.
FAQs
Can I contribute to my pension plan on 31 December? Only if the provider executes it that day. Most recommend doing it several days earlier.
Is interest on savings accounts taxed? Yes, as investment income in the savings base, at 19% on the first €6,000. Compare options in our guide to Spanish savings accounts.
Where can I check all this? In the Agencia Tributaria's practical IRPF manual linked above and, for complex situations such as income in several countries, with a tax adviser (asesor fiscal). If you do not yet have your NIE, start with our guide on how to get one.