Software engineers in Barcelona earn competitive salaries by Spanish standards, though figures vary significantly by seniority and employer type. This page breaks down current compensation data across experience levels to help you benchmark your pay accurately.
Barcelona Mid-Level Software Engineer Salary
For mid-level software engineers, Barcelona-specific data points to a salary range of EUR 32,000 to EUR 52,000, with a median of EUR 40,500 (source: INE EES 2022). A separate dataset from Levels.fyi (2024) shows a wider range for the same seniority level in Barcelona: EUR 38,000 to EUR 68,000, with a median of EUR 52,000. The gap between these two figures likely reflects the difference between the broader local market and roles at international or tech-focused employers. When benchmarking, consider which segment your employer falls into.
Salary by Seniority Level Across Spain
While Barcelona-specific data is available for mid-level roles, national figures from INE EES 2022 provide a useful seniority ladder for context. Junior software engineers in Spain earn between EUR 22,000 and EUR 32,000, with a median of EUR 26,500. Mid-level engineers nationally range from EUR 30,000 to EUR 48,000 (median EUR 37,500). Senior engineers see a range of EUR 45,000 to EUR 72,000 with a median of EUR 56,000. Lead engineers command the highest pay, ranging from EUR 60,000 to EUR 95,000 with a median of EUR 75,000. Barcelona salaries for mid-level roles sit above the national median, consistent with its status as a major tech hub.
Barcelona vs. Madrid: Mid-Level Comparison
Among Spain's two largest tech markets, Madrid edges out Barcelona at the mid level. Madrid mid-level software engineers have a median salary of EUR 42,000 (range: EUR 33,000 to EUR 54,000), compared to Barcelona's median of EUR 40,500 (range: EUR 32,000 to EUR 52,000), both from INE EES 2022. The difference is modest, roughly EUR 1,500 at the median, and may be offset by differences in cost of living or specific employer mix in each city. Data not available for a direct city-level comparison at junior, senior, or lead seniority.
How Barcelona Compares to the Spain National Average
Barcelona mid-level software engineers (median EUR 40,500, INE EES 2022) earn above the national mid-level median of EUR 37,500 from the same source, a premium of EUR 3,000 at the median. The national range of EUR 30,000 to EUR 48,000 is also slightly narrower than Barcelona's EUR 32,000 to EUR 52,000, suggesting the city's upper end of the market is meaningfully higher. A third data point from Eurostat SES 2022 places the national mid-level median at EUR 36,500 (range: EUR 29,000 to EUR 47,000), broadly consistent with the INE figures.
Data Sources and Confidence Notes
The figures on this page draw from three sources: INE EES 2022 (Spain's national earnings survey), Eurostat SES 2022, and Levels.fyi 2024 self-reported data. Confidence scores for all records in this dataset range from 0.39 to 0.45 on a 0–1 scale, reflecting the inherent variability in compensation surveys and the mix of self-reported and administrative data. Treat all figures as indicative benchmarks rather than precise market rates. Individual salaries will vary based on employer, tech stack, language requirements, and negotiation. This content is for informational purposes only and does not constitute financial or career advice.
Use the SalaryVerdict benchmarking tool to compare your specific salary against peers in Barcelona by role, seniority, and company type.