Skip to main content

How engineer pay is distributed in Spain, 2026

Drawn from InfoJobs, Glassdoor ES, LinkedIn Salary and developer surveys where people report their own pay. These are national numbers, with the Madrid and Barcelona premiums covered further down.

Percentile Gross Annual SS (6.35%) IRPF (est.) Net Monthly
P25 - Junior / Early-Mid €32,000 €2,032 €4,680 €2,107/mo
Median - Mid-Level €48,000 €3,048 €10,500 €2,868/mo
P75 - Senior €65,000 €4,128 €16,900 €3,664/mo
P90 - Staff / Principal €90,000 €5,715 €29,200 €4,881/mo

IRPF estimates apply the combined 2026 tariff, state and regional together, with the €5,550 mínimo personal deduction. Your employer withholds retenciones each month and the final position is settled in the annual declaración de la renta.

What the market really pays at each level

Spanish technology companies rarely run a formal promotion ladder, though the pull of the market is real enough. The ranges here describe Madrid and Barcelona, and national medians run about 10% to 20% beneath them.

Level Gross Range Typical YoE Net Monthly (mid)
Junior Developer €26,000 - €36,000 0 - 2 €1,890/mo
Mid-Level Engineer €40,000 - €58,000 2 - 6 €2,730/mo
Senior Engineer €58,000 - €85,000 5 - 10 €3,510/mo
Staff / Principal / Lead €80,000 - €120,000 8+ €4,350/mo
Engineering Manager €85,000 - €130,000 10+ €4,650/mo

Madrid and Barcelona work quite differently

These are not interchangeable markets. Madrid runs on large corporates: Santander Tech, whose BST unit employs thousands of engineers in Boadilla del Monte, the BBVA digital unit, Telefónica and Indra. Salaries at those firms are solid without being spectacular, and the real upside comes from the fintech and SaaS startups clustered around Málaga Street and the Retiro corridor. Glovo, Cabify and Flywire are headquartered in Barcelona, but Madrid has seen substantial growth in startups funded past €50m since 2023.

Barcelona's technology scene packs tightly into 22@ and Poblenou, where Factorial, Typeform, Wallapop and Glovo all sit. The Mobile World Congress halo is genuine, keeping telecom-adjacent engineering roles visible all year round. Against that, renting costs more than in Madrid, with a one-bedroom median of €1,400 a month against €1,200, which erodes whatever the salary advantage was.

As a rough guide, product companies in Barcelona pay €3,000 to €6,000 more gross at senior level, while Madrid edges ahead at the large banks and telecoms. For a developer at P75 on €65,000, applying Cataluña's higher regional rate against Madrid's lower one, Madrid actually delivers €80 to €120 more each month on an identical nominal salary.

What IRPF does to a developer's salary in 2026

Income tax arrives in two halves, the state estatal scale and the autonómico one set by your community, and only together do they give the real rate. Take an engineer on €48,000 gross in 2026:

  • Social Security cuota obrera: 6.35% of gross = €3,048
  • IRPF taxable base (after mínimo personal €5,550 deduction applied to tax, not base): ~€44,952
  • Combined IRPF applied in brackets - 19% / 24% / 30% / 37% - yields approx. €10,500
  • Net annual: €34,452 → €2,868/month (12 payments, or ~€2,390 over 14 pagos)

Retenciones are withheld monthly and paid over to the Agencia Tributaria on your behalf. Where the withholding has been calculated properly, the declaración de la renta filed between April and June the following year produces a small refund or a small payment, rarely anything alarming.

The Beckham Law and what it saves an arriving developer

Relocating to Spain to work as a software engineer without having been a Spanish tax resident in the previous five years, you probably qualify for the régimen especial para trabajadores desplazados, known colloquially as the Beckham Law. Rather than progressive IRPF reaching 47%, you pay a flat 24% on income up to €600,000 for six years. On a €65,000 salary the Beckham Law saves roughly €5,700 a year in income tax against the standard progressive tariff. Past €90,000 the saving exceeds €10,000 a year.

There is a catch. The standard IRPF deductions covering family circumstances, mortgage interest and the rest are unavailable, and the flat 24% applies to Spanish-source income only, with worldwide income following more complicated rules. Applications go in on Modelo 149 within six months of registering your first Spanish work contract.

Who pays best, and why

Two engineers holding the same title can be paid very differently, often more differently than two people with different titles altogether. Broken down by type of employer:

  • FAANG/Big Tech (Madrid offices of Google, Amazon, Microsoft): €70,000-€120,000+ gross at senior level, with RSU packages that can double effective comp. Rare roles, highly competitive.
  • Scale-ups (Glovo, Cabify, Flywire, Typeform, Factorial): €55,000-€90,000 with equity. Stock options are typically Spanish SOP structures - tax treatment at exercise is tricky (income tax, not capital gains).
  • Consultoras (Accenture, Capgemini, Indra, Everis): €35,000-€65,000. Reliable, training-heavy, but known for lower-end pay relative to product companies at equivalent YoE.
  • Banking tech (BST, BBVA Digital, CaixaBank Tech): €48,000-€80,000. Excellent benefits (health insurance, canteen, flexible hours) but equity is nil and salary bands are rigid.
  • Remote-only roles for foreign companies: Increasingly common. You're employed in Spain (Spanish SS, IRPF) but paid to foreign-company rates - often €70,000-€100,000. Most competitive option for senior engineers who avoid relocation.

Questions readers ask

What does a software engineer in Spain actually take home each month?
It depends heavily on experience and location. A mid-level engineer earning €48,000 gross takes home approximately €2,868/month after Social Security (€3,048) and IRPF (~€10,500). A senior engineer on €65,000 clears around €3,664/month. Staff-level roles at €90,000 net down to roughly €4,881/month. All figures assume 12 monthly payments.
Is Madrid or Barcelona better paid for software engineers?
Barcelona product companies tend to pay €3,000-€6,000 more gross at senior levels, but Cataluña's higher autonómico IRPF rate partially offsets this. Madrid-based large corporates and banks pay slightly less gross but the lower regional tax rate means net take-home can be comparable or slightly higher. For purely financial optimisation, Madrid at the same gross salary yields marginally more net. For career growth in product-focused engineering, Barcelona's startup density is hard to beat.
How does the Beckham Law affect a software engineer's take-home pay?
Under the Beckham Law (régimen especial para impatriados), qualifying foreign workers pay a flat 24% IRPF rate on income up to €600,000 instead of the progressive tariff (which peaks at 47%). On a €65,000 salary, this saves approximately €5,700/year in income tax, boosting net monthly by around €475. The regime applies for up to six years. You must apply via Modelo 149 within six months of your first work day in Spain.
Do Spanish software engineers pay Social Security separately from income tax?
Yes - Seguridad Social employee contributions (cuota obrera) are deducted from your gross before IRPF is applied. The 2026 employee rate is 6.35% of gross salary (comprising contingencias comunes 4.70%, desempleo 1.55%, Formación Profesional 0.10%). Your employer pays an additional ~29.9% on top of your gross - this is not visible in your payslip but is part of your total cost to the company.