Income tax for foreign workers in Spain: what comes off your salary

Spain · 5 min read · checked 26 Nov 2026

Spanish IRPF rates, the 6.50% employee Social Security share in 2026, tax residency, allowances, the Beckham regime and a worked salary example.

Two things come off a Spanish payslip: your Social Security contribution and an advance payment of income tax (IRPF). On a permanent contract in 2026, the employee's share of Social Security is 6.50% of salary. Income tax is progressive and is split between the state and your region, so the same salary is taxed slightly differently in Madrid, Catalonia or Andalusia.

Are you a tax resident?

The Personal Income Tax Act (Law 35/2006) treats you as resident if you spend more than 183 days in Spain in a calendar year, counting short trips abroad as days in Spain. You can also be resident if your main business or economic interests are in Spain. Residents pay IRPF on their worldwide income. Most foreign workers on a Spanish employment contract become residents in their first full year.

If you are not resident, your Spanish earnings fall under the separate non-residents' tax. Its general rate is 24% on gross income, with a lower rate for residents of other EU countries.

Social Security: the employee's share

The Social Security contribution tables for 2026 set these employee rates in the general scheme:

  • Common contingencies (pensions, sick pay and more): 4.70%
  • Unemployment, permanent contract: 1.55%
  • Unemployment, fixed-term contract: 1.60%
  • Vocational training: 0.10%
  • Intergenerational equity mechanism (MEI): 0.15%

On a permanent contract that adds up to 6.50%. Contributions are charged on your monthly salary up to a maximum base of €5,101.20 a month in 2026, so very high earners pay nothing extra above that level. Your employer pays a much larger share on top, including 23.60% for common contingencies, but that does not come out of your pay.

Income tax rates

Spain's income tax has two halves. The state half uses the scale in Article 63 of the IRPF Act:

  • Up to €12,450: 9.5%
  • €12,450 to €20,200: 12%
  • €20,200 to €35,200: 15%
  • €35,200 to €60,000: 18.5%
  • €60,000 to €300,000: 22.5%
  • Above €300,000: 24.5%

The other half is set by your autonomous community. Each region approves its own scale, so combined rates differ from region to region. Check your region's scale before comparing job offers in different cities.

Allowances that lower your taxable income

You do not pay tax on all of your salary. The main reliefs for an employee are:

  • Your Social Security contributions are deducted first.
  • A flat €2,000 a year for other employment expenses.
  • A personal minimum of €5,550 a year, which is taxed at zero. It rises from age 65 and with children or dependants.
  • An extra reduction for low earners: workers with net employment income up to €14,852 can deduct €7,302, and the reduction tapers to nothing at €19,747.50.

A worked example

Take a single worker with no children, earning €30,000 a year on a permanent contract:

  • Social Security at 6.50%: €1,950
  • Taxable income after the €2,000 expenses allowance: €26,050
  • State half of income tax: about €2,990 on the scale, less €527 for the personal minimum, so about €2,463

If your region's scale were the same as the state scale, total income tax would be about €4,926, and take-home pay about €23,124 a year. Real figures will move up or down with your region. The Tax Agency offers an official withholding calculator (servicio de cálculo de retenciones) that shows the monthly rate your employer should apply.

Special regime for workers moving to Spain

People who move to Spain for a job can sometimes choose a special regime, often called the Beckham law. Under Article 93 of the IRPF Act, you can opt to pay tax at 24% on employment income up to €600,000 a year, and 47% above that, for the year you arrive and the five following years. You must not have been a Spanish tax resident in the previous five years, and the move must be linked to a job or another qualifying activity. The Tax Agency's page on workers posted to Spain explains how to apply. It usually helps higher earners more than those on average wages, so compare both systems first.

Tax number, withholding and the annual return

Your NIE works as your tax identification number. Your employer withholds tax every month based on your salary and family situation, so tell payroll about children or other dependants.

Each spring you file an annual return (declaración de la renta) for the previous year. The 2025 campaign opened on 8 April 2026. Many employees can confirm a draft prepared by the Tax Agency online, and you will receive a refund if too much was withheld.

Questions people ask

How much Social Security do employees pay in Spain?

On a permanent contract in 2026 the employee pays 6.50% of salary: 4.70% common contingencies, 1.55% unemployment, 0.10% training and 0.15% for the MEI. On a fixed-term contract unemployment is 1.60%.

What are the income tax rates in Spain?

The state half runs from 9.5% on the first €12,450 to 24.5% above €300,000. Your region adds its own scale, so the combined rate depends on where you live.

When do I become a tax resident in Spain?

When you spend more than 183 days in Spain in a calendar year, or when your main economic interests are in Spain.

What is the Beckham law?

It is a special regime for people who move to Spain for work. If you qualify, employment income up to €600,000 is taxed at 24% for the year of arrival and the next five years.

Do non-residents pay tax in Spain?

Yes, on income earned in Spain. The general non-residents' tax rate is 24%, with a lower rate for residents of other EU countries.

Official sources: BOE: Law 35/2006 on Personal Income Tax (IRPF), BOE: Royal Legislative Decree 5/2004, Non-Residents' Income Tax, Seguridad Social: Bases y tipos de cotización 2026, Agencia Tributaria: IRPF, Agencia Tributaria: Retenciones, ingresos a cuenta y pagos fraccionados, Agencia Tributaria: Viajeros y trabajadores desplazados

Jobs for this route

More guides