Back to Resources
    Working in Spain9 min

    Salaries in Spain by City (2026)

    Average pay differs by 30–40% across Spanish cities. Here's what workers actually earn in Madrid, Barcelona, Bilbao, Valencia, Málaga, Seville and Zaragoza — with the salary-to-rent ratio that decides where you're actually better off.

    Last updated:

    How the numbers are built

    Gross annual figures below use the latest INE Encuesta Anual de Estructura Salarial (2023, published 2024) at the autonomous-community level, cross-checked against Eurostat and INE's Decil de salarios. City-level figures are the community mean adjusted for the metro's wage premium (Madrid capital sits ~8% above the Madrid region; Barcelona city ~6% above Cataluña). Net figures assume a single filer with no dependents, standard IRPF withholding and 2026 social security bands. Round to the nearest €100.

    Average gross salary by city (2026)

    CityMedian / Mean gross €/year (vs national avg)
    Madrid€26,900 / €34,200 (+20%)
    Barcelona€25,800 / €32,100 (+13%)
    Bilbao€27,200 / €33,400 (+17%)
    San Sebastián€26,500 / €32,800 (+15%)
    Zaragoza€23,100 / €28,600 (+1%)
    Valencia€21,400 / €26,200 (−8%)
    Palma de Mallorca€21,900 / €26,700 (−6%)
    Málaga€20,600 / €25,400 (−11%)
    Seville€20,300 / €25,000 (−12%)
    Alicante€19,800 / €24,300 (−14%)
    Granada€19,400 / €23,900 (−16%)
    Las Palmas€19,900 / €24,500 (−14%)

    Why median and mean differ so much

    In Madrid and Barcelona a small share of very high earners pulls the mean well above the median. If you're evaluating a job offer, the median is a better anchor for "typical" pay; the mean is what national headlines quote. Nationally in 2023 the mean was €28,049 and the median €23,349 (INE) — a €4,700 gap that widens further in the capital.

    Tech salaries by city (mid-level, 3–6 yrs)

    RoleMadrid / Barcelona / Valencia / Málaga / Bilbao (€/yr)
    Software engineer45–60k / 42–58k / 35–48k / 35–48k / 40–55k
    Senior software engineer60–85k / 58–80k / 48–65k / 48–68k / 55–75k
    Product manager50–75k / 48–70k / 40–58k / 40–60k / 45–65k
    Data scientist45–65k / 42–62k / 36–52k / 38–55k / 42–58k
    DevOps / SRE48–70k / 45–68k / 38–55k / 40–58k / 44–62k

    What's driving the ranking

    • Madrid: HQs, banking, consulting and government pay premiums; deepest senior tech market.
    • País Vasco (Bilbao, San Sebastián): heavy industry, energy and banking; strong collective agreements.
    • Barcelona: tech, pharma, tourism HQs; slightly below Madrid but with a bigger startup ecosystem.
    • Málaga: Málaga TechPark and Google's cybersecurity hub are pulling tech pay up fast — ~15% growth since 2022.
    • Valencia: strong logistics, growing tech, but salaries lag Madrid by ~15% for equivalent roles.
    • Seville, Granada, Alicante: tourism-heavy economies compress wages; public sector is often the top payer.

    Salary-to-rent: where you actually keep more

    A €55k Madrid tech salary and a €45k Valencia tech salary net roughly €3,150 vs €2,650/month. But a 1-bed city-centre rental is ~€1,450 in Madrid vs ~€900 in Valencia. Disposable after rent: €1,700 in Madrid vs €1,750 in Valencia. Bilbao and Zaragoza usually beat both on this ratio. See our cost of living guide for full budgets.

    Net take-home by city (single filer, no dependents)

    Gross €/yearNet €/mo — Madrid / Barcelona / Valencia / Andalucía
    €25,000€1,690 / €1,660 / €1,700 / €1,700
    €35,000€2,240 / €2,200 / €2,260 / €2,260
    €50,000€2,970 / €2,890 / €3,000 / €3,010
    €70,000€3,830 / €3,700 / €3,870 / €3,890
    €100,000€5,000 / €4,780 / €5,060 / €5,090

    IRPF is regional — Madrid is the cheapest for high earners

    Half of IRPF is set by each autonomous community. Madrid has the lowest top marginal (~45%), followed by Andalucía. Cataluña and Comunitat Valenciana sit at ~50% at the top bracket. On €100k gross the Madrid–Barcelona gap is roughly €220/month in the employee's pocket. Under the Beckham Law that regional difference disappears — you pay a flat 24% nationwide up to €600k.

    Common gotchas when comparing offers

    • 'Salario bruto' is always annual, usually split into 14 payments (12 + 2 pagas extras).
    • Some employers quote 'en 12 pagas' — same annual, fatter monthly cheque, no summer/Christmas bump.
    • Benefits (ticket restaurante, private health, transport) are often untaxed up to statutory caps — worth €2–4k/year.
    • Variable pay in Spain is smaller than in the US/UK — 10–20% is typical outside sales.
    • For roles above €60k, always negotiate the Beckham Law application if you qualify — it's worth more than any raise.

    Quick Facts

    • • Madrid & Bilbao lead on gross pay; Valencia & Bilbao lead on take-home after rent
    • • National mean (INE 2023): €28,049 gross — median only €23,349
    • • Málaga tech salaries up ~15% since 2022 on the back of the TechPark cluster
    • • Regional IRPF varies ~5 pts between Madrid and Cataluña at the top bracket

    Weighing an offer in Madrid vs Barcelona vs Valencia?

    We'll model net pay, rent and tax across cities — and check whether you qualify for the Beckham Law flat 24%.

    Book a free consultation

    Weighing an offer in Madrid vs Barcelona vs Valencia?

    Book a free consultation