What a software engineer keeps in Spain after tax, 2026
The Spanish technology market has matured quickly, and Madrid and Barcelona now hold engineering hubs worthy of the name. What catches people out is how much the IRPF brackets and the 6.35% cuota obrera remove from a gross figure before it ever reaches the bank. What follows is a plain, numbers-first account of the 2026 position.
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.