🇪🇸

Spain IRPF by Autonomous Community 2026: Regional Tax Rate Comparison

By CountryTaxCalc Research Team

Last Updated: 2026-04-05

Key Facts

IRPF Tax Structure
Two-tier: State (progressive 9.5-24.5%) + Regional (varies by community)
Lowest Regional Rates
Madrid (9-24.5% regional) and Andalusia (9.5-27.5%)
Highest Regional Rates
Catalonia (12-25.5%) and Valencia (11-26%)
Total IRPF Range 2026
19% (lowest Madrid bracket) to 54% (highest Catalonia bracket)
Special Regimes
Basque Country & Navarre have fully separate tax systems
IRPF Filing Deadline
June 30 annually (Agencia Tributaria online)

Spain's IRPF (Impuesto sobre la Renta de las Personas Físicas—Personal Income Tax) operates on a unique two-tier system: the Spanish state sets a progressive base rate applied nationwide, while each of Spain's 17 autonomous communities adds its own regional supplement on top. This means your total IRPF burden depends heavily on where you live in Spain—residents of Madrid enjoy some of Europe's lowest personal income tax rates (19-47% combined), while residents of Catalonia or Valencia face rates as high as 54% on the same income. This guide explains how Spain's split IRPF system works, compares regional tax rates across all 17 communities, and helps you understand how location affects your Spanish tax liability in 2026.

Understanding Spain's Two-Tier IRPF System

Spain's IRPF personal income tax is split between the central government (Estado) and regional governments (Comunidades Autónomas). Both levels tax the same income base, but each sets its own progressive rate schedule.

How the Two-Tier System Works

Your total IRPF liability is calculated in three steps:

  1. Calculate general taxable income: Add employment income, self-employment income, rental income, and other ordinary income. Apply deductions (personal allowances, mortgage interest, pension contributions, etc.) to get your general taxable base (base imponible general).
  2. Calculate savings income: Add investment income (dividends, interest, capital gains from investments). This is your savings taxable base (base imponible del ahorro), taxed separately at flat rates.
  3. Apply progressive rates: Your general income is taxed using two overlapping brackets:
    • State (Estado) brackets: Progressive rates set by the Spanish central government (9.5% to 24.5% in 2026)
    • Regional (Autonómico) brackets: Progressive rates set by your autonomous community (varies by region—9% to 27.5% depending on community)

Your total IRPF rate at any income level = State rate + Regional rate at that level.

State (Estado) IRPF Brackets 2026

The Spanish central government applies these rates to general income nationwide:

Taxable Income (€)State IRPF Rate
€0 – €12,4509.5%
€12,450 – €20,20012%
€20,200 – €35,20015%
€35,200 – €60,00018.5%
€60,000 – €300,00022.5%
Above €300,00024.5%

These rates apply uniformly across all of Spain (except Basque Country and Navarre, which have fully separate systems—see below).

Regional (Autonómico) Brackets

Each of Spain's 15 "common regime" autonomous communities sets its own regional brackets. These rates are added to the state rates above. Regional brackets vary significantly:

We'll detail all 17 communities' rates below.

Savings Income (Investment Income) Taxation

Investment income (dividends, interest, capital gains on securities/crypto/investments) is taxed separately from general income at flat rates:

Savings Income (€)State RateRegional RateTotal Rate
€0 – €6,0009.5%9.5%19%
€6,000 – €50,00010.5%10.5%21%
€50,000 – €200,00011.5%11.5%23%
€200,000 – €300,00012.5%12.5%25%
Above €300,00013%13%26%

These savings income rates are uniform across all common-regime communities—regional variation only affects general income (employment, self-employment, rental income).

Foral Communities: Basque Country & Navarre

The Basque Country (Euskadi—includes Álava, Bizkaia, Gipuzkoa) and Navarre (Navarra) have fully separate tax systems under Spain's foral tax regime (concierto económico). They set their own complete tax codes, including:

Basque Country and Navarre generally have competitive tax rates (often lower than high-tax communities like Catalonia), but their systems are complex and outside the scope of this guide's state+regional comparison framework.

Regional IRPF Rate Comparison: All 17 Communities

Here's a complete breakdown of 2026 IRPF rates across all Spanish autonomous communities, ranked from lowest to highest total tax burden.

1. Madrid (Comunidad de Madrid)

Regional brackets (added to state rates):

Total IRPF rate (state + regional): 18.5% to 49%

Why Madrid is lowest: Madrid has the most competitive regional rates in Spain, nearly matching the state rates (meaning Madrid essentially applies ~double the state rate). Madrid eliminated its wealth tax in 2022 and has positioned itself as Spain's lowest-tax region to attract high earners and businesses. Over 60% of Spain's high-net-worth residents live in Madrid partly due to tax advantages.

2. Andalusia (Andalucía)

Regional brackets:

Total IRPF rate: 19% to 52%

Analysis: Andalusia (Seville, Málaga, Granada, Córdoba) offers competitive rates on lower and middle incomes but imposes higher rates above €130,000. Still attractive for digital nomads and retirees earning <€60,000, where combined rates stay below 37%.

3. Galicia (Galicia)

Regional brackets:

Total IRPF rate: 19% to 49.25%

Analysis: Galicia (Santiago de Compostela, A Coruña, Vigo) has moderate regional rates, slightly higher than Madrid but significantly lower than Catalonia or Valencia. Good balance of tax efficiency and cost of living.

4. Murcia (Región de Murcia)

Regional brackets:

Total IRPF rate: 19% to 47.6%

Analysis: Murcia (Murcia city, Cartagena) has simplified brackets with competitive rates, especially for high earners (€300,000+ pays 47.6% vs. Madrid's 49%).

5. Castilla y León

Regional brackets:

Total IRPF rate: 19% to 47%

Analysis: Castilla y León (Valladolid, Salamanca, León) has very competitive rates, nearly matching Madrid. Less popular with expats due to harsher winters and lower English penetration, but tax-efficient.

6. La Rioja

Regional brackets:

Total IRPF rate: 19% to 47.5%

Analysis: La Rioja (Logroño, wine country) has competitive rates similar to Castilla y León. Small region, less relevant for most expats.

7. Canary Islands (Canarias)

Regional brackets:

Total IRPF rate: 19% to 49.5%

Analysis: Canary Islands (Tenerife, Gran Canaria, Lanzarote) have moderate regional rates. Popular with digital nomads for year-round sunshine, low cost of living, and special economic zone benefits (ZEC—4% corporate tax for qualifying businesses). Regional rates are middle-of-pack but overall tax burden is competitive due to lower cost of living and ZEC opportunities.

8. Extremadura

Regional brackets:

Total IRPF rate: 19% to 48%

Analysis: Extremadura (Cáceres, Badajoz) has moderate rates but is one of Spain's poorest and least-developed regions—low expat appeal despite tax competitiveness.

9. Castilla-La Mancha

Regional brackets:

Total IRPF rate: 19% to 48%

Analysis: Castilla-La Mancha (Toledo, Cuenca, Albacete) has moderate rates. Proximity to Madrid (some towns are within commuting distance) makes it attractive for those seeking lower housing costs with Madrid access.

10. Aragon (Aragón)

Regional brackets:

Total IRPF rate: 19.5% to 48%

Analysis: Aragon (Zaragoza) has moderate rates, slightly higher than Madrid but competitive overall. Zaragoza is Spain's 5th largest city with good quality of life and lower costs than Barcelona or Madrid.

11. Balearic Islands (Illes Balears)

Regional brackets:

Total IRPF rate: 19.5% to 50%

Analysis: Balearic Islands (Mallorca, Ibiza, Menorca) have higher regional rates than mainland Spain averages. High cost of living (especially property) + higher taxes make Balearics less attractive than Canaries for tax-conscious expats, but lifestyle appeal remains strong.

12. Asturias

Regional brackets:

Total IRPF rate: 19.5% to 49%

Analysis: Asturias (Oviedo, Gijón) has moderate-to-high regional rates. Beautiful region (Green Spain) but rainy climate and limited expat infrastructure make it less popular despite reasonable tax rates.

13. Cantabria

Regional brackets:

Total IRPF rate: 19% to 49%

Analysis: Cantabria (Santander) has moderate rates, slightly higher than Galicia but lower than Catalonia. Coastal region with good quality of life but limited expat presence.

14. Andalusia Alternative (some municipalities)

Note: Rates shown above for Andalusia are standard. Some specific brackets have local variations—always verify with your municipality.

15. Catalonia (Catalunya)

Regional brackets:

Total IRPF rate: 21.5% to 50% (up to 54% with solidarity surcharge on income >€175,000)

Analysis: Catalonia (Barcelona, Girona, Tarragona) has the highest regional IRPF rates in Spain. Barcelona's lifestyle appeal (beaches, culture, internationalism) attracts expats despite high taxes. High earners pay 50-54%, significantly more than Madrid's 47-49%. Many Barcelona-based remote workers with foreign income use Spain's Beckham Law (24% flat rate for 6 years) to mitigate Catalonia's high rates.

16. Valencia (Comunitat Valenciana)

Regional brackets:

Total IRPF rate: 20.5% to 51%

Analysis: Valencia (Valencia city, Alicante, Castellón) has the second-highest regional rates after Catalonia. Valencia city is increasingly popular with digital nomads (lower cost than Barcelona, beaches, Mediterranean climate), but high IRPF rates eat into savings. Consider Beckham Law if relocating to Valencia with foreign employment.

Basque Country (País Vasco) & Navarre (Navarra)

As noted, these foral communities have entirely separate tax systems. Basque Country provinces (Álava, Bizkaia, Gipuzkoa) each set their own rates, generally competitive with Madrid. Navarre also has competitive rates. If considering these regions, consult local tax advisors for foral system details.

Summary: Ranking by Total Tax Burden (€100,000 income)

RankCommunityTotal IRPF on €100K
1Madrid~€33,000 (33%)
2Castilla y León~€33,500 (33.5%)
3Andalusia~€34,000 (34%)
4Galicia~€34,200 (34.2%)
5Murcia~€34,500 (34.5%)
.........
15Catalonia~€37,500 (37.5%)
16Valencia~€38,000 (38%)

At €100,000 income, living in Madrid vs. Valencia saves ~€5,000 annually (5%) in IRPF.

Spain's Beckham Law: Flat 24% Rate for New Residents

Spain's Beckham Law (Régimen Especial Impatriados, or Special Tax Regime for Expatriates) allows qualifying new residents to pay a flat 24% rate on Spanish employment income instead of progressive IRPF rates, bypassing regional variations entirely.

Beckham Law Eligibility 2026

To qualify for Beckham Law, you must meet ALL of these criteria:

Beckham Law Tax Benefits

Under Beckham Law, your tax treatment for 6 consecutive years:

Who Benefits Most from Beckham Law?

Huge benefit for:

Limited benefit for:

Beckham Law vs. Regional IRPF: Tax Savings Examples

Example 1: €80,000 Spanish employment income in Barcelona (Catalonia)

Example 2: €150,000 Spanish employment income in Madrid

Example 3: €120,000 remote work income (foreign employer) in Valencia

The Beckham Law provides the most dramatic savings in high-tax regions (Catalonia, Valencia) and for remote workers with foreign employers (income exempt entirely).

Beckham Law Limitations and Drawbacks

Combining Beckham Law with Location Optimization

Since Beckham Law provides a flat 24% rate regardless of region, you can live in high-cost, high-tax areas (Barcelona, Valencia) without the IRPF penalty. However, other taxes still vary by region:

Optimal strategy: Use Beckham Law in Barcelona or Valencia (high lifestyle appeal without IRPF penalty), while keeping significant assets in low-tax jurisdictions to minimize wealth tax.

Deductions, Allowances, and Filing Requirements

Spain's IRPF system includes numerous deductions and allowances that reduce taxable income. Some are set nationally, while others vary by autonomous community.

Standard Personal Allowances (National)

All Spanish taxpayers can reduce taxable income with these allowances:

Common Deductions

Regional Deductions (Vary by Community)

Autonomous communities can offer additional regional deductions. Common examples:

Check your specific autonomous community's tax agency (Hacienda regional) for full list of regional deductions.

IRPF Filing Requirements and Deadlines

Spanish residents must file annual IRPF returns (Declaración de la Renta) if:

Key deadlines:

Filing Process

Spain's IRPF filing is done through the Agencia Tributaria (Spanish Tax Agency) online portal:

  1. Obtain Número de Identificación de Extranjero (NIE): Foreign residents need an NIE (Spanish tax/ID number)
  2. Access Renta Web: Log in to Agencia Tributaria's Renta Web platform using digital certificate, Cl@ve PIN, or reference number
  3. Review pre-filled data: The Agencia Tributaria pre-fills your return with employment income, bank interest, and other reported data—verify accuracy and add missing items (foreign income, deductions, etc.)
  4. Indicate regional residence: Your return will automatically apply the correct state + regional brackets based on your registered autonomous community residence as of December 31
  5. Submit and pay: Submit electronically and pay any tax owed (or receive refund within 3-6 months if you overpaid via withholding)

Withholding Tax (Retención)

Spanish employers withhold IRPF tax from each paycheck based on estimated annual tax liability. Withholding rates vary by income level, family situation, and autonomous community. Common withholding rates:

When you file your annual IRPF return, you calculate actual tax owed and either pay the difference (if withholding was insufficient) or receive a refund (if withholding was excessive).

Tax Planning Strategies: Optimizing Your Spanish Tax Burden

Here are practical strategies to minimize IRPF in Spain while staying compliant:

1. Choose Your Autonomous Community Strategically

If you have location flexibility (remote worker, retiree, entrepreneur), consider low-tax communities:

Avoid high-tax regions (Catalonia, Valencia) unless lifestyle benefits outweigh ~5-7% higher taxes compared to Madrid.

2. Use Beckham Law If Eligible

If you're moving to Spain from abroad with employment income, apply for Beckham Law within 6 months of establishing Spanish tax residence. This is especially valuable if:

3. Maximize Deductions and Allowances

4. Timing Income Realization

If you control when you receive income (bonuses, dividends, business income), time it strategically:

5. Corporate Structures for Entrepreneurs

Self-employed individuals (autónomos) pay progressive IRPF up to 54% on business income. Consider incorporating:

6. Foreign Income Structuring

If you have foreign-source income, optimize tax treatment:

7. Wealth Tax Planning (Madrid vs. Other Regions)

Spain's wealth tax (Impuesto sobre el Patrimonio) varies by region:

If you have significant assets (€1M+), establishing residence in Madrid eliminates wealth tax entirely—saving tens of thousands annually compared to Catalonia or Valencia.

8. Plan for Post-Beckham Law Years

If you're using Beckham Law, start planning for year 7 (when you revert to standard IRPF):

💡

CountryTaxCalc.com is reader-supported. When you use our partner links, we may earn a commission at no cost to you. This helps us provide free tax calculators and comparison tools. Learn more about our affiliate partnerships

Best for Transfers

Wise

Send money at the real exchange rate with Wise. Save up to 5x vs banks on international transfers. Multi-currency account included.

Send Money Internationally →
Best for Digital Nomads

SafetyWing

Affordable travel medical insurance for digital nomads and expats. Coverage in 180+ countries starting at $45/month.

Get Travel Medical Insurance →

Frequently Asked Questions

Q: How much is Spain's IRPF income tax in 2026?

Spain's IRPF (personal income tax) operates on a two-tier system: the state applies progressive rates from 9.5% to 24.5%, and each autonomous community adds its own regional supplement (typically 9% to 27.5%). Your total IRPF rate is the sum of both. For example, in Madrid (lowest tax region), total IRPF ranges from 18.5% to 49%. In Catalonia (highest tax region), total IRPF ranges from 21.5% to 54%. Investment income (dividends, interest, capital gains) is taxed separately at flat rates of 19-26% regardless of region.

Q: Which Spanish region has the lowest income tax?

Madrid (Comunidad de Madrid) has the lowest IRPF income tax rates in Spain. Madrid's regional brackets nearly match the state brackets, resulting in total IRPF rates of 18.5% to 49% (compared to Catalonia's 21.5% to 54%). On a €100,000 income, Madrid residents pay approximately €33,000 in IRPF vs. €37,500 in Catalonia—an annual savings of €4,500. Madrid also eliminated wealth tax in 2022, making it Spain's most tax-efficient region for high earners. Other competitive regions include Andalusia, Castilla y León, and Galicia.

Q: How does Barcelona's income tax compare to Madrid's?

Barcelona (in Catalonia) has significantly higher IRPF rates than Madrid. Catalonia's regional brackets are 12-25.5% (vs. Madrid's 9-24.5%), and Catalonia adds a solidarity surcharge on high incomes. Total IRPF in Catalonia ranges from 21.5% to 54%, while Madrid ranges from 18.5% to 49%. On a €80,000 income, a Barcelona resident pays approximately €28,000 in IRPF vs. €25,000 in Madrid—€3,000 more annually. On €150,000 income, the difference grows to €7,000+ per year. Barcelona's lifestyle appeal (beaches, culture, international community) attracts expats despite the tax disadvantage, but many use Spain's Beckham Law (24% flat rate) to offset Catalonia's high rates.

Q: What is Spain's Beckham Law and who qualifies?

Spain's Beckham Law (Régimen Especial Impatriados) allows qualifying new residents to pay a flat 24% tax rate on Spanish employment income up to €600,000/year instead of progressive IRPF rates (up to 54%), regardless of which autonomous community you live in. To qualify, you must: (1) Not have been a Spanish tax resident in the prior 10 years, (2) Move to Spain for employment (Spanish or foreign employer, including remote work), (3) Apply within 6 months of establishing Spanish tax residence. Beckham Law lasts 6 years and also exempts foreign employment income and foreign assets from Spanish tax. It's especially valuable for high earners moving to high-tax regions like Barcelona or Valencia.

Q: Should I live in Madrid or Barcelona for tax purposes?

From a pure tax perspective, Madrid is significantly better: IRPF rates are 5-7% lower (18.5-49% vs. 21.5-54%), Madrid has no wealth tax (vs. Catalonia's 0.21-3.5%), and inheritance tax is more favorable. On a €100,000 income, you'll save €4,000-5,000 per year in Madrid vs. Barcelona. However, lifestyle matters: Barcelona offers beaches, Mediterranean climate, strong international community, and proximity to France/Europe, while Madrid has better business infrastructure, more job opportunities, and lower cost of living. Many Barcelona residents use Spain's Beckham Law (24% flat rate) to eliminate the regional tax disadvantage. If Beckham Law isn't available and taxes are your priority, choose Madrid.

Q: How do I file Spanish income tax (IRPF)?

File your annual IRPF return (Declaración de la Renta) through Spain's Agencia Tributaria online portal (Renta Web) between April 3 and June 30 each year for the prior calendar year. You'll need a NIE (foreign resident tax ID number) and access credentials (digital certificate, Cl@ve PIN, or reference number). The Agencia Tributaria pre-fills your return with employment income, bank interest, and other reported data—you verify accuracy, add missing items (foreign income, deductions, business income), and submit electronically. Your return automatically applies the correct state + regional IRPF rates based on your registered autonomous community residence as of December 31. Pay any tax owed by June 30 (or June 27 if paying via direct debit), or receive a refund within 3-6 months if you overpaid via withholding.

Q: Do I pay different income tax if I live in Valencia vs. Andalusia?

Yes. Valencia (Comunitat Valenciana) has higher regional IRPF rates than Andalusia. Valencia's regional brackets are 11-26%, resulting in total IRPF of 20.5% to 51%. Andalusia's regional brackets are 9.5-27.5% but apply at higher income thresholds, resulting in total IRPF of 19% to 52%. On typical expat incomes (€40,000-80,000), Valencia is 2-3% more expensive than Andalusia. For example, on €60,000 income, Valencia residents pay approximately €20,000 in IRPF vs. €19,000 in Andalusia—€1,000 annual difference. Both regions are popular with expats (Valencia for city lifestyle, Andalusia for beaches/cost of living), but Andalusia has a slight tax advantage at most income levels.

Q: Can remote workers for foreign companies use Beckham Law in Spain?

Yes, as of 2023 amendments to Spain's Beckham Law. Remote workers who move to Spain while maintaining employment with a foreign company can qualify for Beckham Law's benefits, including flat 24% rate on Spanish-source income and exemption on foreign employment income. This means if you work remotely for a U.S., UK, or other foreign employer while living in Spain, your foreign employment income is exempt from Spanish tax entirely (you'd only pay tax in your employer's country, if applicable). To qualify, you must: (1) Not have been a Spanish tax resident in prior 10 years, (2) Move to Spain and establish tax residence, (3) Have a genuine employment relationship (not self-employed contractor), (4) Apply for Beckham Law within 6 months of arriving.

Q: What deductions can I claim on my Spanish IRPF tax return?

Common IRPF deductions include: (1) Social security contributions (employees pay ~6.35% of salary, fully deductible), (2) Pension contributions to Spanish pension plans (planes de pensiones) up to €1,500/year or 30% of income, (3) Mortgage interest on primary residence purchased before 2013 (15% of interest, max €9,040/year—no deduction for post-2013 mortgages), (4) Professional expenses for self-employed (office rent, supplies, travel, equipment, home office portion), (5) Personal allowances for dependents (€2,400-€4,500 per child, €1,150+ for dependent parents), (6) Disability allowances (€3,000-€9,000 depending on severity). Additionally, many autonomous communities offer regional deductions for birth/adoption, childcare, rental housing, education, and home renovation—check your specific community's deductions.

Q: How can I minimize my Spanish income tax legally?

Legal strategies to minimize Spanish IRPF: (1) Choose a low-tax autonomous community like Madrid (saves 5-7% vs. Catalonia/Valencia), (2) Apply for Beckham Law if moving from abroad (24% flat rate vs. up to 54% progressive), (3) Maximize deductions (pension contributions, family allowances, regional deductions—can save €500-2,000/year), (4) Incorporate if self-employed earning €50,000+ (25% corporate tax + 19-26% dividend tax is often lower than 40-54% IRPF), (5) Time income realization to low-income years (defer bonuses, realize capital gains when other income is low), (6) Use foreign income structuring and tax treaties to claim exemptions and credits, (7) For businesses, consider Canary Islands ZEC (4% corporate tax vs. 25% mainland). Always consult a Spanish tax advisor (asesor fiscal) before implementing strategies.

Disclaimer: This guide provides general information about Spain's IRPF income tax system and regional rate variations, and should not be considered personalized tax advice. Spanish tax law is complex, and individual circumstances vary significantly based on income sources, family situation, and residence status. Tax rates, thresholds, regional deductions, and Beckham Law eligibility are subject to change. Always consult with a qualified Spanish tax advisor (asesor fiscal) or gestoría before making decisions about Spanish tax residence, autonomous community selection, or cross-border tax planning.

Related Guides

Portugal vs. Spain Tax Comparison 2026Portugal NHR Regime Complete Guide 2026Spain Digital Nomad Visa Tax GuideBarcelona vs. Madrid Tax ComparisonSpain Wealth Tax by Region 2026