Skip to main content

Salary Distribution — Spain Software Engineers 2026

Based on market data from InfoJobs, Glassdoor ES, LinkedIn Salary and self-reported developer surveys. National figures; Madrid/Barcelona premiums discussed below.

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 use the combined 2026 tariff (estatal + autonómico) with mínimo personal deduction of €5,550. Retenciones are applied monthly by your employer; the final amount is settled in the annual declaración de la renta.

Seniority Progression — What the Market Actually Pays

Promotions in Spanish tech companies rarely follow a rigid ladder — but the market pressures are real. These ranges reflect Madrid and Barcelona; national medians sit roughly 10–20% lower.

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 vs Barcelona: Two Ecosystems, Different Dynamics

These aren't interchangeable markets. Madrid is driven by large corporates — Santander Tech (BST employs thousands of engineers in Boadilla del Monte), BBVA's digital unit, Telefónica and Indra. Salaries at these firms are typically solid but not spectacular; the real upside comes from the fintech and SaaS startups that have clustered in Málaga Street and the Retiro corridor. Glovo, Cabify and Flywire are headquartered in Barcelona, but Madrid has seen significant growth in €50m+ funded startups since 2023.

Barcelona's tech scene is densely packed around 22@ and Poblenou. Factorial, Typeform, Wallapop and Glovo all call it home. The Mobile World Congress halo effect is real — MWC generates year-round antenna for telco-adjacent engineering roles. The flip side: Barcelona has a higher cost of living than Madrid for renters (median rent €1,400/mo for a 1BR vs Madrid's €1,200), which eats into the net-salary advantage.

Rule of thumb: Barcelona pays €3,000–€6,000 more gross than Madrid at senior levels in product companies; Madrid pays marginally more at large banks and telecoms. For a developer at P75 (€65,000), after IRPF — using Cataluña's higher autonómico rate vs. Madrid's lower one — the Madrid take-home is actually €80–€120/mo higher than Barcelona despite the same nominal salary.

How Spain's 2026 IRPF Works for Developers

The IRPF tariff is split between the state (estatal) and your autonomous community (autonómico). Together they form the combined rate. For a software 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)

Your employer deducts retenciones monthly and pays them to the Agencia Tributaria on your behalf. If the withholding is calculated correctly, your declaración de la renta in April–June of the following year will show a small refund or small payment — rarely a large surprise.

The Beckham Law — Spain's Expat Developer Incentive

If you're relocating to Spain to work as a software engineer and haven't been a Spanish tax resident in the previous five years, you likely qualify for the régimen especial para trabajadores desplazados — colloquially called the Beckham Law. Instead of progressive IRPF at up to 47%, you pay a flat 24% on income up to €600,000 for six years. At a €65,000 salary, the Beckham Law saves you roughly €5,700/year in income tax versus the standard progressive tariff. For €90,000+, the saving exceeds €10,000 per year.

The catch: you cannot choose your standard IRPF regime deductions (family situation, mortgage interest, etc.) and you're taxed on Spanish-source income only at 24% — worldwide income has more complex rules. Apply via Modelo 149 within six months of your first Spanish work contract registration.

Key Employers and Where the Premium Is

Not all Spanish tech jobs pay equally, and the variance within a job title can be larger than the variance between titles. Here's a frank breakdown by employer type:

  • 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.

Frequently Asked Questions

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.