Spain Income Tax (IRPF) Explained: Why Where You Live Matters as Much as What You Earn
By Paulo Horta · Published July 2026 · 10 min read
Ask someone what the Spanish income tax rate is and you'll get a confident, wrong answer, because there isn't one single rate — there are seventeen, one per autonomous community, and they stack on top of a national scale that's the same everywhere. Two people earning identical salaries in Madrid and Barcelona pay noticeably different tax, and it has nothing to do with the Beckham Law or any special expat regime. It's just ordinary IRPF, applied differently depending on your region of residence.
Two Scales, Stacked
IRPF (Impuesto sobre la Renta de las Personas Físicas) is built from a national scale set by Madrid's central government — running roughly 9.5% to 24.5% across its brackets in 2026 — plus a regional scale set independently by whichever autonomous community you're registered in as a tax resident, typically wherever you spend more than 183 days a year. Regional scales vary from around 9% at the bottom to as high as 27.5% at the top bracket in the highest-taxing communities. Your total marginal rate at any income level is simply the sum of both.
Madrid has deliberately kept its regional scale among the lowest in the country for years — it's a well-known and quite explicit strategy to attract higher earners and businesses away from other regions. Catalonia, home to Barcelona, sits at the other end: a higher regional scale that pushes the combined top marginal rate closer to 50%.
Combined Rates: Madrid vs Barcelona
| Taxable income | Madrid (combined) | Barcelona (combined) |
|---|---|---|
| Up to €12,450 | 19% | 20% |
| €12,450 – €20,200 | 24% | 24-26% |
| €35,200 – €60,000 | 30% | 30-38% |
| Above €300,000 | 47% | 50% |
What That Gap Is Actually Worth
Rather than quote someone else's estimate, we ran identical gross salaries through both cities' full tax and social security calculations — the same engine behind every salary page on this site:
| Gross salary | Net in Madrid | Net in Barcelona | Madrid advantage |
|---|---|---|---|
| €60,000 | €40,438 | €39,884 | +€555/year |
| €90,000 | €56,355 | €55,617 | +€739/year |
| €150,000 | €87,260 | €85,929 | +€1,331/year |
It's a real gap, and it compounds every year you stay — but it's smaller than the "Madrid vs everywhere else" reputation sometimes suggests, at least at these income levels. Where it gets genuinely large is well above €300,000, where the combined rates diverge by a full three points and the euro amounts start to matter for business owners and senior executives deciding where to register residency. Check your own numbers on the Madrid or Barcelona calculators, or see them head-to-head on our city comparison tool.
Where the Beckham Law Fits In
None of the above applies if you qualify for Spain's Beckham Law regime, which replaces both scales entirely with a flat 24% rate on Spanish-source income up to €600,000 for up to six years — regardless of which region you live in. For a newly-relocated professional the regional Madrid-vs-Barcelona question becomes almost irrelevant next to whether you qualify for Beckham at all. Our Beckham Law guide covers eligibility and the application deadline in full.
Practical Notes
- Residency is usually determined by the 183-day rule, plus where your "centre of economic interests" is — moving your registered address alone, without actually living there, doesn't shift your tax residency.
- Social security contributions (roughly 6.35% employee-side) are national, not regional — the entire gap between cities comes from the income tax scale, not social charges.
- Wealth tax (Patrimonio) also varies by region and is a separate consideration for anyone with significant assets — Madrid offers a near-complete rebate on it, while several other regions apply it in full.
This article is general information, not tax advice. Regional IRPF scales change with each annual budget — confirm current rates with a gestor or asesor fiscal before relying on them for a relocation decision.
Comparing a move within Spain?
Check what counts as a good salary in Madrid or see the full Spain salary calculator for both cities.