Saltar al contenido principal

Spanish income tax 2026: bands, allowances and withholding

The income tax (IRPF) withheld from your payslip is not a random figure: your employer calculates it using a regulated procedure based on your salary, your contributions and what you declare on form 145. But that calculation does not exactly match the tax in your annual return, and that difference produces the amount to pay or to be refunded. Here we explain it with 2026 figures, using Madrid as an example.

Updated on 5 November 2026 11 min read

The income tax scale: a state portion and a regional portion

Your tax is the sum of two progressive scales: the state's and your region's.

Income tax on employment income is calculated by applying two scales to the general taxable base: the state scale, which is the same throughout the common territory, and the scale of the region where you live.

Each band only taxes the part of the base that falls within it. That is why earning more never leaves you worse off in net terms because you "jump" a band.

State scale: article 63 of the Income Tax Act, unchanged in 2026. Madrid scale: article 1 of Community of Madrid Legislative Decree 1/2010, in force since 2023.
Taxable baseStateMadridTotal in Madrid
Up to €12,4509.5%8.5%18%
€12,450 – €13,362.2212%8.5%20.5%
€13,362.22 – €19,004.6312%10.7%22.7%
€19,004.63 – €20,20012%12.8%24.8%
€20,200 – €35,20015%12.8%27.8%
€35,200 – €35,425.6818.5%12.8%31.3%
€35,425.68 – €57,320.4018.5%17.4%35.9%
€57,320.40 – €60,00018.5%20.5%39%
€60,000 – €300,00022.5%20.5%43%
Over €300,00024.5%20.5%45%
Article 1 of the Community of Madrid's consolidated tax law in the BOE, showing the regional income tax scale
Madrid's regional scale in the consolidated BOE text: five bands, from 8.5% to 20.5%. · BOE · Community of Madrid Legislative Decree 1/2010 (consolidated)

From gross salary to taxable base

You subtract your contributions, €2,000 of expenses and, on low pay, an extra reduction.

  1. Start from annual gross paySalary, extra payments and benefits in kind: this is your gross employment income.
  2. Subtract your contributionsIn 2026, on a permanent contract, employees contribute 6.50%: 4.70% common contingencies, 1.55% unemployment, 0.10% vocational training and 0.15% for the intergenerational equity mechanism (MEI).
  3. Subtract €2,000 of other expensesA fixed amount. It rises to €4,000 with geographical mobility, and there are higher amounts for workers with disabilities.
  4. Apply the employment income reductionOnly if your net income (gross less contributions) is below €19,747.50.
Article 20 of the Income Tax Act.
Net incomeReduction
Up to €14,852€7,302
€14,852 to €17,673.52€7,302 − 1.75 × (income − 14,852)
€17,673.52 to €19,747.50€2,364.34 − 1.14 × (income − 17,673.52)
From €19,747.50No reduction

The personal and family allowance

The part of your income considered necessary to live on, which in practice is not taxed.

The allowance is not deducted from the base. Tax is calculated on the whole base and then the tax that would correspond to the allowance is subtracted, applying the first bands of the scale.

Articles 57 and 58 of the Income Tax Act and articles 2 and 2 bis of the Madrid consolidated text.
ItemStateMadrid
Taxpayer€5,550€5,956.65
Over 65 (additional)€1,150€1,234.26
Over 75 (additional)€1,400€1,502.58
First child€2,400€2,575.85
Second child€2,700€2,897.83
Third child€4,000€4,400
Fourth and subsequent€4,500€4,950
Each child under 3 (additional)€2,800€3,005.16
  • Children qualify if they are under 25 (or have a disability), live with you and have annual income of no more than €8,000.
  • If both parents qualify, each applies half.
  • There are also allowances for parents over 65 who live with you and for disability.

Full example: €30,000 gross in Madrid

A single employee with no children and a permanent contract.

From €30,000 gross to the taxable base
Annual gross salary
€30,000
Contributions (6.50%)
− €1,950
Other expenses
− €2,000
Employment income reduction
€0
Taxable base
€26,050

There is no reduction because net income (€28,050) exceeds €19,747.50.

Income tax in the annual return
State scale on €26,050
€2,990.25
Less state scale on the allowance (€5,550)
− €527.25
Madrid scale on €26,050
€2,641.34
Less Madrid scale on the allowance (€5,956.65)
− €506.32
Total income tax for the year
€4,598.02
15.33%
average rate on gross salary
27.8%
marginal rate: what each extra euro pays

How your employer calculates payroll withholding

It uses its own scale, the same across the common territory, and spreads the result over every payment.

Your employer does not apply your region's scale. It uses the withholding scale of 19%, 24%, 30%, 37%, 45% and 47%, in the same bands as the state scale: in effect, the state scale doubled with a 47% cap.

  1. Work out the withholding baseAlmost the same as the taxable base: gross pay less contributions, other expenses and reductions.
  2. Apply the withholding scaleTo the base and, separately, to the personal and family allowance.
  3. Subtract one from the otherThe result is the annual withholding amount.
  4. Divide by annual payThe rate is truncated to two decimals and applied to every payment, including extra ones.
Withholding on €30,000 gross
Withholding scale on €26,050
€5,980.50
Less scale on the allowance (€5,550)
− €1,054.50
Withholding amount
€4,926
Rate: 4,926 / 30,000
16.42%

With 14 payments of €2,142.86, each payslip carries €351.86 of income tax. The 12 ordinary ones also carry €162.50 in contributions.

There are two safeguards. If your pay does not exceed a threshold that depends on your family situation, nothing is withheld. And for salaries up to €35,200, withholding cannot exceed 43% of the difference between your pay and that threshold.

Annual pay up to which nothing is withheld. Article 81 of the Income Tax Regulations, as amended by Royal Decree 142/2024, applicable in 2026.
SituationNo children1 child2 or more
Single-parent family—€17,644€18,694
Spouse with income up to €1,500€17,197€18,130€19,262
All other cases€15,876€16,342€16,867
Spanish Tax Agency withholding page with the 2026 withholding calculator and algorithm
The Tax Agency publishes a calculator for your rate and the official algorithm. In 2026 there are two versions because the treatment of La Palma residents changed on 10 September. · Tax Agency · Withholding 2026

Form 145 and adjustments during the year

What you tell your employer sets your withholding; if something changes, it is recalculated.

Form 145 is how you tell your employer about your family situation. It is not filed with the Tax Agency: you hand it to whoever pays you.

  • Family situation and your spouse's tax ID, if relevant.
  • Children and parents who live with you.
  • Disability, yours or your relatives'.
  • Court-ordered maintenance or child support payments.
  • Payments on a loan for a main home bought before 2013 (cuts withholding by 2 points if you earn less than €33,007.20).

When circumstances change, your employer adjusts: it recalculates the rate with the new details and offsets what has already been withheld in the remaining payslips. This is common after a pay rise, the birth of a child or the extension of a temporary contract.

Form 145 page on the Tax Agency's e-office, stating that it is handled with the payer and not online
The official form 145 page makes it clear: it is not filed online but handed to the payer. You can download the form from there. · Tax Agency e-office · Form 145

The minimum wage credit: why the minimum wage pays no income tax

A credit in the annual return brings the tax to zero for minimum wage earners.

€1,221
monthly minimum wage over 14 payments (€17,094 a year)
€590.89
maximum credit in 2026
€20,048.45
the credit disappears from here

The credit is €590.89 if your gross employment income does not exceed €17,094. Above that, it falls by 20 cents for each additional euro until it disappears at €20,048.45.

It only applies to pay from an employment or civil service relationship, if you have no other income (excluding exempt income) above €6,500, and it can never exceed the tax attributable to that pay.

Two low salaries in Madrid, 2026
Minimum wage (€17,094): 3.06% withheld
€523
Minimum wage: final tax after the credit
€0
Minimum wage: refund in the return
€523
€18,500: 6.09% withheld
€1,127
€18,500: final tax after a €309.69 credit
€866
€18,500: refund in the return
€260

Payroll ignores this credit: it is applied when you file your return.

Why your return shows an amount to pay or a refund

The return compares the actual tax for the year with what was withheld.

In Madrid, because the regional scale is lower than the withholding scale, the normal result for an employee with a single payer is a small refund.

Single, no children, permanent contract, one payer, Madrid resident. Our own calculation under 2026 rules.
Gross salaryWithheld on payrollActual taxRefund
€30,000€4,926 (16.42%)€4,598€328
€45,000€9,473 (21.05%)€8,881€591
€60,000€14,664 (24.44%)€13,916€748

These are the most common reasons the result changes:

  • Two or more payers: each employer withholds as if it were your only income, so you usually end up paying.
  • Changes you did not report on form 145, such as a separation or a child no longer qualifying for the allowance.
  • Other income without enough withholding: rental income, gains on selling funds or shares, or self-employed work.
  • Reductions and credits not reflected in payroll: pension plans, donations, the minimum wage credit or Madrid's regional credits, such as those for renting a home or the birth of a child.
Article 96 of the Income Tax Act. Even if you are not required to, file if you are due a refund.
Your caseMust you file?
One payerOnly if your employment income exceeds €22,000
Several payers, with the second and others adding up to more than €1,500From €15,876
You were registered as self-employed at any point in the yearAlways

Official procedures and pages

Where to calculate your withholding, download form 145 and check the law (in Spanish).

Frequently asked questions

Does withholding depend on the region where I live?

No. The withholding scale is the same throughout the common territory. Your region only affects the annual return, which is why in regions with lower scales, such as Madrid, a refund is common.

Can I ask my employer to withhold more?

Yes. You can request in writing a higher withholding rate than the calculated one. It is advisable if you have two payers, let out a property or want to avoid a large payment when you file.

Why is income tax withheld if I earn the minimum wage?

Because withholding does not take the minimum wage credit into account; it is applied in the annual return. If that salary is your only income, the amount withheld will be refunded when you file, so it is worth filing even if you are not required to.

How much does having children lower withholding?

It depends on the salary. On €30,000 gross with two children whose allowance is shared with the other parent, the rate falls from 16.42% to 14.80%, about €486 less withheld per year.

Where do I file form 145?

It is not filed with the Tax Agency: you hand it to your employer or payer, who keeps it. The Tax Agency only publishes the form for download.

Official sources

Guide written and reviewed by the advisory team at Vértice Gestión Empresarial using official sources (BOE, Spanish Tax Agency and Social Security). The information is general and does not replace professional advice on your specific case.

Would you rather we handled it?

Our advisors take care of your paperwork and answer within 24 hours.

Request a free consultation