Last Updated: 2026-04-05
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.
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.
Your total IRPF liability is calculated in three steps:
Your total IRPF rate at any income level = State rate + Regional rate at that level.
The Spanish central government applies these rates to general income nationwide:
| Taxable Income (€) | State IRPF Rate |
|---|---|
| €0 – €12,450 | 9.5% |
| €12,450 – €20,200 | 12% |
| €20,200 – €35,200 | 15% |
| €35,200 – €60,000 | 18.5% |
| €60,000 – €300,000 | 22.5% |
| Above €300,000 | 24.5% |
These rates apply uniformly across all of Spain (except Basque Country and Navarre, which have fully separate systems—see below).
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.
Investment income (dividends, interest, capital gains on securities/crypto/investments) is taxed separately from general income at flat rates:
| Savings Income (€) | State Rate | Regional Rate | Total Rate |
|---|---|---|---|
| €0 – €6,000 | 9.5% | 9.5% | 19% |
| €6,000 – €50,000 | 10.5% | 10.5% | 21% |
| €50,000 – €200,000 | 11.5% | 11.5% | 23% |
| €200,000 – €300,000 | 12.5% | 12.5% | 25% |
| Above €300,000 | 13% | 13% | 26% |
These savings income rates are uniform across all common-regime communities—regional variation only affects general income (employment, self-employment, rental income).
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.
Here's a complete breakdown of 2026 IRPF rates across all Spanish autonomous communities, ranked from lowest to highest total tax burden.
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.
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%.
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.
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%).
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.
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.
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.
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.
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.
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.
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.
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.
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.
Note: Rates shown above for Andalusia are standard. Some specific brackets have local variations—always verify with your municipality.
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.
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.
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.
| Rank | Community | Total IRPF on €100K |
|---|---|---|
| 1 | Madrid | ~€33,000 (33%) |
| 2 | Castilla y León | ~€33,500 (33.5%) |
| 3 | Andalusia | ~€34,000 (34%) |
| 4 | Galicia | ~€34,200 (34.2%) |
| 5 | Murcia | ~€34,500 (34.5%) |
| ... | ... | ... |
| 15 | Catalonia | ~€37,500 (37.5%) |
| 16 | Valencia | ~€38,000 (38%) |
At €100,000 income, living in Madrid vs. Valencia saves ~€5,000 annually (5%) in IRPF.
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.
To qualify for Beckham Law, you must meet ALL of these criteria:
Under Beckham Law, your tax treatment for 6 consecutive years:
Huge benefit for:
Limited benefit for:
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).
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.
Spain's IRPF system includes numerous deductions and allowances that reduce taxable income. Some are set nationally, while others vary by autonomous community.
All Spanish taxpayers can reduce taxable income with these allowances:
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.
Spanish residents must file annual IRPF returns (Declaración de la Renta) if:
Key deadlines:
Spain's IRPF filing is done through the Agencia Tributaria (Spanish Tax Agency) online portal:
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).
Here are practical strategies to minimize IRPF in Spain while staying compliant:
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.
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:
If you control when you receive income (bonuses, dividends, business income), time it strategically:
Self-employed individuals (autónomos) pay progressive IRPF up to 54% on business income. Consider incorporating:
If you have foreign-source income, optimize tax treatment:
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.
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
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 →Affordable travel medical insurance for digital nomads and expats. Coverage in 180+ countries starting at $45/month.
Get Travel Medical Insurance →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.
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.
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.
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.
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.
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.
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.
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.
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.
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.