Madrid income tax calculator

This Madrid income tax calculator shows take-home pay under the region's own scale. On €40,000 a single employee pays €3,873 on the state scale, €3,366 on the Madrid scale and €2,600 social security, and keeps €30,161. No region leaves more on that salary. Enter your own salary below.

Madrid and its closest rivals

The regions just above and just below Madrid for take-home pay, at the salary in the form. See all 15 regions ranked.

RegionTake-home / yearRegional taxTop regional rateEffective rate
1Madrid
€30,161€3,36620.5%24.6%
€30,078€3,44927%24.8%
€29,919€3,60824.5%25.2%
€29,918€3,61022.5%25.2%

Single employee with no children. Regional scales are those published by the Agencia Tributaria for income earned in 2025, the latest full set available. Social security and the flat €2,000 work deduction come off first, and the €5,550 personal minimum is applied to both halves.

The extra reduction for low salaries, regional deductions and regional changes to the personal minimum are not included. The Basque Country and Navarre run their own tax systems and are not covered, nor are Ceuta and Melilla.

Madrid income tax at a glance

Madrid has 5 regional income tax brackets, from 8.5% to 20.5%. Its top rate starts at €57,320 of taxable income.

That is the regional half of Spanish income tax. The state half is the same everywhere: 9.5% to 24.5%. Added together, the top combined rate in Madrid is 45% on income above €300,000.

What you take home

On €40,000 a year in Madrid you keep €30,161, or €2,513 a month. The regional half of your income tax is €3,366 and the state half is €3,873. Social security takes another €2,600.

Gross salaryState taxRegional taxSocial securityTake-homeEffective rate
€25,000€1,762€1,571€1,625€20,04219.83%
€40,000€3,873€3,366€2,600€30,16124.6%
€80,000€11,578€10,603€3,979€53,84032.7%

How Madrid compares

On a €40,000 salary, Madrid ranks 1st of the 15 regions covered here for take-home pay. La Rioja leaves you €83 less a year. Nowhere on this list leaves you more.

The Basque Country and Navarre collect their own income tax under separate rules and are not part of this ranking.

Where a raise costs the most

The share of a raise that goes to tax and contributions in Madrid rises with pay and reaches 45% from about €306,000. No lower salary is taxed harder at the margin, so there is no tax trap here in our model. The biggest fall on the way up comes at about €61,200, from 40.1% to 35.9%, where employee contributions stop at their ceiling.

Rate on a raise in Madrid by salary 0%10%20%30%40%50%60% €0€150K€300K€450K€600K €0 to €8,000: 6.5% of a raise goes€8,100 to €15,400: 23.3% of a raise goes€16,400 to €22,400: 27.1% of a raise goes€23,800 to €39,800: 32.5% of a raise goes€40,100 to €61,200: 40.1% of a raise goes€66,000 to €306,000: 43% of a raise goes€306,000 to €600,000: 45% of a raise goes

Share of a raise that goes to tax and contributions, at each salary up to €600,000.

SalaryTaken from the next €1,000You keep of it
€15,00024.6%€754
€25,00032.5%€675
€40,00039.9%€601
€60,00040.1%€599
€80,00043%€570
€120,00043%€570
€200,00043%€570
€300,00043%€570

The salary you need for a target take-home

To take home €2,200 a month in Madrid you need to earn about €34,418 a year before tax.

Take-home you want / monthGross salary needed / yearGross / monthGoes to tax and contributions
€1,500€22,057€1,83818.39%
€2,200€34,418€2,86823.3%
€3,500€59,751€4,97929.71%

What a 10% raise is really worth

Of a 10% raise on €40,000 in Madrid you keep 59.96%, against 75.4% of the salary as a whole.

Current salaryRaise (10%)Extra take-home / yearShare of the raise you keep
€25,000€2,500€1,68867.51%
€40,000€4,000€2,39959.96%
€80,000€8,000€4,56057%

Common questions

What are the income tax rates in Madrid?

The regional scale in Madrid runs from 8.5% to 20.5% in 5 brackets. The state scale of 9.5% to 24.5% is charged on top, so the combined rates run from 18% to 45%.

What is take-home pay on €40,000 in Madrid?

About €30,161 a year, after €3,873 state tax, €3,366 regional tax and €2,600 social security.

Which tax year do these Madrid rates cover?

The regional scales are those published by the Spanish tax agency for income earned in 2025, the latest full set available. Regions can change their scale each year.