Joan Comadran

Salary calculator · Barcelona · 2026

AI engineer salary in Barcelona

Glassdoor's typical gross range for an AI engineer in Barcelona is €34,000 to €57,000 a year, all seniority levels together (mean €41,750, n=42, December 2026). For a senior profile, Spain guides publish Manfred at €51,000 to €70,000 (5 to 10 years, 13 January 2026), Michael Page at €60,000 to €75,000 (4 to 7 years) and LHH at €75,000 in a multinational or €60,000 in an SME (more than 5 years, 2 March 2026).

Those guides are national. They are not a Barcelona rate. Where a cell has no published band, the gap stays empty. Pick a role and a seniority to see each source on its own.

Role
Seniority
LHH company size

LHH publishes one fixed salary for multinationals and another for SMEs. The toggle only changes that source.

There is not enough data to adjust the number for remote, hybrid, on-site or a programming language.

Manfred notes that hiring on-site staff raises salaries by at least 20%. The guide does not publish a table by role, so that comment is not a modifier here. Manfred, Guía Salarial Tech 2026

Spain salary guides

Gross annual base salary in euros, for Spain. These guides do not split Barcelona out.

The sources disagree

Span of published figures

€51,000 to €75,000

Lowest published floor to highest published ceiling. This is not a consensus band.

Observed pay in Barcelona tends to sit below the consultancy mid and senior bands. Glassdoor and Prosfy mix every seniority. The consultancy figures are Spain-wide bands for a stated level of experience.

Spain, not split by seniority

Point figures and ceilings. They are not part of the summary above.

Observed in Barcelona (all levels)

Glassdoor and Prosfy mix every seniority. They do not fill junior, mid, senior or lead.

  • All seniority levels

    Glassdoor

    €34,000 to €57,000

    Typical range (25th to 75th percentile)

    Mean €41,750. Sample n=42. December 2026.

    Treat the sample size and the career chart on this page with caution. Shown as published, and not used as a seniority band.

    Glassdoor

  • All seniority levels

    Prosfy

    €18,000 to €73,323

    10th to 90th percentile of posted salaries. A tail, not a typical band.

    Median €49,946. Sample n=24. Low confidence. November 2026.

    The low end is not a representative junior salary. It includes unusually low postings.

    Prosfy (salaries published on job posts)

Real offers (anonymized examples)

An offer Joan received. Company and recruiter names are left out. Two offers are not a median.

  • AI full stack role

    €40,000 to €50,000

    Example offer, Barcelona, hybrid or remote, November 2026.

  • AI engineer role

    €65,000 to €80,000

    Example offer, Barcelona, November 2026.

Other readings

Kept out of the ranges above.

  • Levels.fyi. €30,311 to €43,578. . Median €39,761. n=9. Levels.fyi requires attribution. The AI engineer sample in Barcelona is 9 salaries, which is too small to use.
  • Stack Overflow Developer Survey 2026. Single published figure: $68,237. . Mean $16. n=331. Total compensation in US dollars for all developers in Spain. Not a role, not Barcelona, and not converted to euros.

Methodology

What this page will and will not average.

Every figure is gross annual base salary in euros, except the rows marked as total compensation or US dollars. A bonus or variable payment is written next to the source and is never added to the range.

Consultancy guides (Manfred, Michael Page, LHH, Robert Walters, Hays, Randstad) cover Spain. They are not labeled as Barcelona. Glassdoor and Prosfy cover Barcelona and mix every seniority, so they stay in their own section.

Michael Page 2026 and 2027 count as one source when the AI engineer band is the same and only the bonus changes. A summary range appears only when two or more guide floors sit within 10,000 euros of each other. It is the median of those floors and the median of those ceilings. If the floors are further apart, the page says the sources disagree and lists each band. One source is marked indicative. Zero sources stay empty.

Real offers Joan received are examples. They are not folded into a median. Levels.fyi (including the AI engineer sample of 9) and the Stack Overflow survey are other readings. No nearby job title is used to fill a missing row. Dataset reviewed on 2 December 2026.

How calculator labels map onto each guide. The original band is shown on every figure.
Calculator labelManfredMichael PageLHHRobert Walters
JuniorUnder 2 years1 to 3 years (includes early mid)Does not existNot published
Mid2 to 5 yearsNot publishedMore than 3 yearsNot published
Senior5 to 10 years4 to 7 years (mid-senior)More than 5 yearsNot published
LeadMore than 10 years8 or more yearsMore than 10 years7 to 15 years (wide band)

Sources

Every source in the dataset.

Publication dates are the ones recorded with each figure. A row with no public link is an offer Joan received.

  • Example offer

    . No public link.

  • Glassdoor

    . Open source

  • Glassdoor

    . Open source

  • Glassdoor

    . Open source

  • Glassdoor

    . Open source

  • Hays Tech Talent Explorer (press note)

    . Open source

  • Levels.fyi

    . Open source

  • Levels.fyi

    . Open source

  • LHH, Guía Salarial 2026

    . Open source

  • Manfred, Guía Salarial Tech 2026

    . Open source

  • Michael Page, Estudio de Remuneración 2026

    . Open source

  • Michael Page, Guía Salarial 2027 (via Business Insider)

    . Open source

  • Michael Page, Guía Salarial 2027 (via Business Insider)

    . Open source

  • Prosfy (salaries published on job posts)

    . Open source

  • Prosfy (salaries published on job posts)

    . Open source

  • Prosfy (salaries published on job posts)

    . Open source

  • Prosfy (salaries published on job posts)

    . Open source

  • Randstad (press note, 19 May 2026)

    . Open source

  • Robert Walters, Estudio de Remuneración Global 2026 (via IT Reseller)

    . Open source

  • Stack Overflow Developer Survey 2026

    . Open source

FAQ

Barcelona pay, with the Spain guides beside it.

What is the salary of an AI engineer in Barcelona?
There is no single Barcelona band by seniority. Glassdoor's typical range for AI engineers in Barcelona, all levels together, is €34,000 to €57,000 gross a year, with a mean of €41,750 (n=42, December 2026). Prosfy, from job posts that state a salary, reports a median of €49,946 (n=24, low confidence, November 2026). Spain guides for mid and senior sit higher: Manfred €36,000 to €50,000 (2 to 5 years) and €51,000 to €70,000 (5 to 10 years); Michael Page €40,000 to €60,000 (1 to 3 years) and €60,000 to €75,000 (4 to 7 years); LHH from €50,000 or €55,000 above 3 years, depending on SME or multinational, plus 10% variable that is not included here.
What does a junior or a senior AI engineer earn in Barcelona?
Nobody publishes Barcelona by seniority, so the city figures mix all levels. For Spain, junior guides disagree: Manfred €25,000 to €35,000 (under 2 years, 13 January 2026) and Michael Page €40,000 to €60,000 (1 to 3 years). Senior Spain guides: Manfred €51,000 to €70,000, Michael Page €60,000 to €75,000, and LHH €75,000 at a multinational or €60,000 at an SME (more than 5 years), plus 10% variable, not added. Michael Page does not publish an 8+ band for AI engineer.
How does AI engineer pay compare with ML engineer pay in Barcelona?
Michael Page's Machine Learning Specialist is €50,000 to €60,000 for 1 to 3 years in the 2026 study. Business Insider's account of the 2027 guide gives an entry band of €35,000 to €50,000, so those two floors disagree. The 4 to 7 year specialist band is €65,000 to €90,000, and 8+ is not published. Manfred does not publish an ML engineer table. In Barcelona, all levels, Glassdoor shows €40,000 to €71,000 (n=71) and Prosfy a median of €60,829 (n=30). The AI engineer Glassdoor range is lower, at €34,000 to €57,000 (mean €41,750, n=42).
Does pay change for remote, hybrid or on-site work?
No guide in this dataset splits AI engineer pay by remote, hybrid or on-site. Manfred notes that hiring on-site raises salaries by at least 20%, and it does not publish a table by role, so the calculator does not apply a modifier. One offer Joan received was hybrid or remote at €40,000 to €50,000. That is one offer, not a rule. Stack is the same: no guide splits AI engineer pay by language.
Is €40,000 to €50,000 a good salary for an AI full stack role in Barcelona?
It is one anonymized offer Joan received in November 2026 for an AI full stack role in Barcelona, hybrid or remote. It sits next to observed Barcelona pay (Glassdoor mean €41,750, Prosfy median €49,946) and below the Spain mid and senior consultancy bands. A second offer, for an AI engineer role, was €65,000 to €80,000. Two offers are examples. They are not averaged into the guides.

Reading

The person, and the role next to this one.

Hiring

Hiring an AI engineer in Barcelona?

Joan Comadran is an AI engineer in Barcelona. He works hybrid in Sant Cugat del Vallès and is open to full-time AI engineer roles.

AI engineer in Barcelona