As the end of the tax year approaches, Spain residents have a narrow but powerful window to take steps that can significantly reduce their income tax liability. Whether you're a long-time Spanish national or an expat who recently became a fiscal resident, year-end tax planning in Spain is one of the most impactful financial exercises you can undertake — and the deadline is December 31.

In this comprehensive guide, we'll walk you through the most effective Spain tax tips for 2025/2026, covering everything from pension contributions and mortgage deductions to investment strategies and charitable donations. Each strategy is designed to help you legally reduce your tax bill in Spain and keep more of your hard-earned money.

Before diving in, it helps to know where you stand. Use our Spain Income Tax Calculator to estimate your current tax liability and see how much these strategies could save you.

Understanding the Spanish Income Tax System in 2025/2026

Spain's personal income tax — known as Impuesto sobre la Renta de las Personas Físicas (IRPF) — is a progressive tax levied on worldwide income for tax residents. The tax is split between the state government and the autonomous communities, meaning effective rates can vary depending on where you live.

Key IRPF Tax Brackets for 2025/2026 (State Portion)

Taxable Income (EUR) State Rate Combined Marginal Rate (Approx.)
Up to €12,450 9.50% 19.0%
€12,451 – €20,200 12.00% 24.0%
€20,201 – €35,200 15.00% 30.0%
€35,201 – €60,000 18.50% 37.0%
€60,001 – €300,000 22.50% 45.0%
Over €300,000 24.50% 47.0%

Note: Autonomous community surcharges vary. Regions like Catalonia and Valencia may apply higher marginal rates, while Madrid tends to be more competitive. Always check your specific community's rates.

The combined marginal rate for the highest earners can reach 47% or more depending on the region. This makes year-end tax planning in Spain not just advisable — it's essential.

Who Is a Tax Resident of Spain?

You are considered a fiscal resident of Spain if any of the following apply:

  • You spend more than 183 days per calendar year in Spain.
  • Your center of economic interests (main source of income or assets) is in Spain.
  • Your spouse and/or minor children reside in Spain (unless you can prove otherwise).

Residents are taxed on their worldwide income, which underscores the importance of proactive planning — especially for expats with income from multiple countries.

1. Maximize Your Pension Plan Contributions

One of the most powerful year-end tax planning tools in Spain is contributing to a plan de pensiones (private pension plan). Contributions directly reduce your taxable base, meaning you pay less IRPF.

Contribution Limits for 2025/2026

  • Individual pension plans: The maximum annual tax-deductible contribution is €1,500.
  • Company pension plans (planes de empleo): Employer contributions can raise the combined deductible limit to €8,500 (total cap of €10,000 including individual contributions, subject to conditions).
  • Contributions cannot exceed 30% of net employment and professional income.

Practical Example

If you earn €50,000 per year and contribute €1,500 to your pension plan before December 31, your taxable income drops to €48,500. At a combined marginal rate of approximately 37%, this single move could save you around €555 in taxes.

Key Tips

  • Make contributions before December 31 — contributions made on January 1 count for the following tax year.
  • If your spouse earns less than €8,000 per year, you can contribute up to an additional €1,000 to a pension plan in their name and deduct it from your own tax base.
  • Remember that pension plan withdrawals in retirement are taxed as employment income, so factor in your expected future tax bracket.

2. Leverage Deductions for Your Primary Residence

Spain's tax treatment of your primary home (vivienda habitual) offers some of the most valuable deductions available — but eligibility depends on when you took out your mortgage.

Mortgage Deduction (Grandfathered)

If you purchased your primary residence and took out a mortgage before January 1, 2013, you can still claim a deduction of 15% of amounts paid (mortgage principal + interest + associated costs), up to a maximum base of €9,040 per year.

  • Maximum annual tax saving: €9,040 × 15% = €1,356 per taxpayer.
  • For couples filing separately who co-own the property, each partner can claim up to the full €1,356, potentially saving €2,712 per household.

Year-End Strategy

If you haven't yet hit the €9,040 annual cap, consider making additional mortgage payments before December 31 to maximize this deduction. For example, if you've paid €7,000 in mortgage costs during the year, an extra payment of €2,040 before year-end would fully utilize the deduction cap.

Rental Income Deduction

If you rent out a property that serves as the tenant's primary residence, you can benefit from a reduction of up to 50%–90% on net rental income, depending on specific conditions introduced in recent housing legislation reforms. For new rental contracts in designated stressed housing market areas, higher reductions may apply. Check your autonomous community's rules, as some regions offer additional deductions for landlords.

3. Optimize Investment Gains and Losses (Tax-Loss Harvesting)

Spain taxes savings income (interest, dividends, and capital gains) at the following rates in 2025/2026:

Savings Income (EUR) Tax Rate
Up to €6,000 19%
€6,001 – €50,000 21%
€50,001 – €200,000 23%
€200,001 – €300,000 27%
Over €300,000 28%

Tax-Loss Harvesting Strategy

Before year-end, review your investment portfolio for unrealized losses. By selling loss-making investments before December 31, you can offset those losses against capital gains realized during the same tax year.

Important rules to keep in mind:

  • Capital gains and losses from the transfer of assets (stocks, funds, property) can be offset against each other.
  • If net losses remain after offsetting, you can offset up to 25% of the positive balance of income from interest and dividends in the savings base.
  • Unused losses can be carried forward for four years.
  • Anti-avoidance rule: If you repurchase a substantially identical asset within two months (for listed securities) of the sale, the loss will not be deductible. Plan your repurchases accordingly.

Practical Example

Suppose you realized a €10,000 capital gain from selling shares in March. You also hold another stock position currently at an unrealized loss of €6,000. By selling the losing position before December 31, your net taxable capital gain drops to €4,000, saving you approximately €1,260 in taxes (at the 21% rate on the offset portion).

4. Charitable Donations and Tax Credits

Donations to qualifying foundations and non-profit organizations registered in Spain offer generous tax credits that increase with loyalty.

Deduction Rates for 2025/2026

  • First €250 donated: 80% tax credit (you recover €200 of a €250 donation).
  • Amounts exceeding €250: 40% tax credit (or 45% if you've donated the same or greater amount to the same organization in each of the two preceding years).
  • Maximum deduction base: Generally limited to 10% of your total taxable base.

Year-End Strategy

  • If you've been meaning to make charitable contributions, doing so before December 31 ensures the deduction applies to the current tax year.
  • Recurring donations to the same charity qualify for the enhanced 45% rate — establishing a consistent giving pattern pays off.
  • Keep all donation receipts and certificates (certificados de donación), as the organization must report them to the Agencia Tributaria.

5. Take Advantage of Autonomous Community Deductions

One often-overlooked aspect of year-end tax planning in Spain is that each autonomous community (Comunidad Autónoma) offers its own set of deductions. These vary widely and can add up to significant savings.

Common Regional Deductions

  • Childcare and education expenses (e.g., nursery, school supplies, uniforms — varies by region).
  • Rental deductions for tenants under a certain age or income level (available in communities like Andalusia, Catalonia, and the Valencian Community).
  • Energy efficiency improvements to your home.
  • Purchase of electric vehicles or installation of charging points.
  • Deductions for young taxpayers, large families, or people with disabilities.

Example: Madrid vs. Catalonia

A taxpayer in Madrid might benefit from generally lower tax rates but fewer specific deductions, while a taxpayer in Catalonia might face higher rates but have access to deductions for rental payments, union fees, or investments in new companies.

Action step: Visit your autonomous community's tax agency website or consult a local tax advisor to identify deductions you may be missing.

6. Beckham Law and Special Regimes for Expats

If you moved to Spain recently and qualify for the Beckham Law (Régimen Especial para Trabajadores Desplazados, under Article 93 of the IRPF law), your year-end planning considerations are quite different.

How the Beckham Law Works

  • Qualifying individuals are taxed as non-residents for up to six tax years, even though they live in Spain.
  • A flat tax rate of 24% applies on Spanish-source employment income up to €600,000 (47% on income above this threshold).
  • Foreign-source income (other than employment income) is generally exempt from Spanish tax.
  • Wealth tax obligations are limited to Spanish assets only.

Year-End Tips for Beckham Law Beneficiaries

  • Verify that you still meet the eligibility conditions (you must not have been a Spanish tax resident in the five years preceding your arrival).
  • Consider the timing of bonuses or stock options — receiving them while under the Beckham Law regime could mean a flat 24% rate rather than a progressive rate of up to 47%.
  • If your Beckham Law period is ending soon, plan your transition to the general regime carefully, as pension deductions and other allowances will become available but your worldwide income will be taxed.

7. Key Deadlines and Common Mistakes to Avoid

Critical Dates

  • December 31, 2025: Deadline for most year-end tax planning actions (pension contributions, mortgage payments, charitable donations, investment sales).
  • April – June 2026: Filing period for the 2025 IRPF tax return (Campaña de la Renta).
  • Modelo 720: If you hold assets abroad worth more than €50,000 per category (bank accounts, securities, real estate), you must file this informational declaration — typically due by March 31.

Common Mistakes

  1. Missing the December 31 deadline. Many deductions and strategies only work if executed before the calendar year ends. Procrastination can be extremely costly.
  2. Forgetting to declare worldwide income. As a Spanish tax resident, you must report income from all countries. Failure to do so can result in penalties of 150% or more of the unpaid tax.
  3. Ignoring double taxation treaties. Spain has tax treaties with over 90 countries. If you pay tax abroad, you may be entitled to a foreign tax credit that prevents double taxation. Don't leave money on the table.
  4. Not filing jointly vs. separately. Married couples and registered partners can choose between joint and individual filing. Run the numbers both ways — joint filing includes a €3,400 reduction but isn't always the best option, especially when both spouses earn significant income.
  5. Overlooking the minimum personal allowance. Every taxpayer gets a personal minimum (mínimo personal) of €5,550, with additional amounts for age (over 65 or 75) and dependents. Make sure all qualifying dependents are properly included in your return.

To quickly model different scenarios, try our Spain Income Tax Calculator, which lets you adjust income, deductions, and filing status to find the optimal approach.

Conclusion: Your Year-End Tax Planning Checklist for Spain

Effective year-end tax planning in Spain doesn't have to be overwhelming. Here's a quick summary of the key actions to take before December 31:

  1. Contribute to your pension plan up to the €1,500 individual limit (or higher with employer plans).
  2. Make extra mortgage payments if you have a pre-2013 loan and haven't maxed out the €9,040 deduction base.
  3. Harvest investment losses to offset capital gains, and avoid repurchasing the same securities within two months.
  4. Make charitable donations to qualifying organizations and benefit from up to 80% tax credits on the first €250.
  5. Check autonomous community deductions for childcare, rent, energy efficiency, and other regional benefits.
  6. Review your Beckham Law status if applicable, and plan the timing of bonuses or significant income.
  7. Run the numbers for joint vs. individual filing if you're married.
  8. Prepare Modelo 720 documentation if you hold foreign assets above reporting thresholds.

Every taxpayer's situation is unique. Use our Spain Income Tax Calculator to estimate your 2025/2026 tax liability and see how each strategy impacts your bottom line.


Frequently Asked Questions

When is the deadline for year-end tax planning in Spain?

Most tax-saving actions must be completed by December 31 of the current tax year. The IRPF tax return for 2025 is filed during the April–June 2026 campaign.

Can expats benefit from year-end tax planning in Spain?

Absolutely. Expats who are tax residents of Spain are subject to the same IRPF rules and can benefit from pension deductions, charitable donation credits, and investment loss harvesting. Those under the Beckham Law regime have a different set of opportunities.

How much can I save by contributing to a pension plan in Spain?

The maximum individual tax-deductible contribution is €1,500 per year. Depending on your marginal tax rate, this could save you between €285 and €705 in income tax.

Is the mortgage deduction still available in Spain?

Only for mortgages taken out before January 1, 2013. If you qualify, you can deduct up to 15% of amounts paid, on a maximum base of €9,040, saving up to €1,356 per year.

Do I need to report foreign income as a Spain tax resident?

Yes. Spanish tax residents must declare their worldwide income, including salaries, investment income, and rental income from abroad. Spain's double taxation treaties and foreign tax credits can help avoid being taxed twice on the same income.


This article is for informational purposes only and does not constitute tax advice. Tax laws change frequently; consult a qualified tax professional for advice specific to your situation.