The Global M Blog

Hiring AI Engineers in Barcelona: Salaries, Talent and What to Expect in 2026

by | Nov 12, 2026 | HR & Talent Acquisition

Barcelona has become one of Europe’s most popular cities for building AI teams. Salaries are lower than in London, Amsterdam or Berlin, the talent pool grows every year, and engineers from abroad are happy to move here. But the best AI engineers in the city are in high demand, and hiring them takes planning.

Global M is headquartered at Barcelona Tech City and hires for technology companies in the city every week. This guide brings together the latest salary data, what the market looks like right now and what we see working when companies hire AI engineers here.

Why companies hire AI engineers in Barcelona

Barcelona’s tech workforce keeps growing. Mobile World Capital Barcelona’s Digital Talent Overview 2026 counted 135,890 digital professionals in the city, 4.85% more than a year earlier. The same report found that job offers for artificial intelligence specialists passed 1,000 for the first time, and that 72.58% of the developers it surveyed use AI tools every day.

The wider ecosystem helps too:

  • Research and compute. The Barcelona Supercomputing Center hosts MareNostrum 5, which is getting a €129 million AI upgrade, and runs one of Europe’s first AI factories.
  • International companies. Catalonia had 203 active international tech hubs in 2025, according to the Tech Hubs Overview 2026.
  • Startups. Barcelona ranked as the fifth-best startup hub in the EU in StartupBlink’s 2026 index, behind Paris, Berlin, Stockholm and Amsterdam (Catalonia Trade & Investment).
  • Quality of life. For engineers relocating from elsewhere in Europe or further afield, the city is an easy sell, and Spain’s special tax regime for people moving here for work can make an offer even more attractive (more on that below).

What AI engineers earn in Barcelona

Salary data for AI roles varies a lot depending on the source, because “AI engineer” covers everything from junior data roles to engineers who have shipped large language model products. These are the most useful reference points we have found:

  • Glassdoor: a median base salary of €41,000 for AI engineers in Barcelona, from 41 self-reported salaries (November 2026), with the upper quartile at around €57,000.
  • Blu Selection: its Barcelona AI Salary Guide 2026 says AI engineers with one to three years’ experience start at €40,000–€55,000, while senior engineers with eight or more years earn €85,000–€110,000. Experienced generative AI engineers can reach €140,000, and leadership roles regularly pass €130,000–€170,000.
  • Euro Top Tech: the median software engineer in Barcelona reports €75,000 a year, compared with €89,374 in Berlin, €125,000 in Amsterdam and €140,000 in London (self-reported, November 2026).

In practice, the engineers most startups and scale-ups want, people who have put machine learning or LLM features into production, sit in the upper half of these ranges. Expect to compete on salary for them, even in Barcelona.

Budget for the full cost

Two things often surprise companies hiring in Spain for the first time:

  • Employer social security. On top of gross salary, employers pay social security of 30.65% plus an occupational accident rate (PwC), on earnings of up to €5,101.20 a month in 2026. For senior salaries above that cap, the effective rate is lower.
  • Fourteen payments. Salaries are quoted as an annual gross figure but are usually paid in 14 instalments, with extra payments in summer and at Christmas. Many tech companies spread them across 12 months instead. The annual cost is the same either way.

The AI roles that are hardest to fill

Not every AI hire is equally difficult. In our searches in Barcelona, these profiles take the longest:

  • Applied AI and LLM engineers who have built retrieval, agents or evaluation pipelines that real users rely on.
  • ML platform and MLOps engineers who can run models reliably and cost-effectively in production.
  • Senior machine learning engineers with both research depth and strong software engineering.
  • Engineering managers for AI teams, who are rare in any market.

For a closer look at these roles, see our guide to the most in-demand AI roles in 2027.

Hiring AI engineers from outside Spain

Barcelona’s talent pool is international, and many companies hire engineers who relocate. Two things make this easier:

  • Fast-track work permits. Engineers from outside the EU can be hired on Spain’s highly qualified professional permit or the EU Blue Card. Applications go to the Large Companies Unit (UGE), which has 20 working days to decide. In 2026, the minimum salary for the highly qualified route is €41,356.36 a year (Migratiolex).
  • The Beckham Law. People who move to Spain for work and have not been tax resident in Spain in the previous five years can usually choose to pay a flat 24% tax on employment income of up to €600,000 a year, for the year they arrive and the following five years (TaxDown). For a senior engineer, that can be worth thousands of euros a year.

Both depend on individual circumstances, so take specialist advice before making an offer that relies on them.

Five tips for hiring AI engineers in Barcelona

  1. Define the work, not the title. Be clear whether you need someone to build product features on top of existing models, train your own models or run the infrastructure. Our guide on how to hire your first AI engineer covers this in detail.
  2. Benchmark salary before you start. Self-reported averages are lower than what AI engineers with production experience accept. Agree a realistic range with your finance team up front.
  3. Move quickly. Strong candidates are usually talking to several companies. Keep the process to three stages and give feedback within 48 hours.
  4. Offer English-speaking teams and hybrid work. Many of the best engineers in the city are international. English as the working language and two or three office days a week widen your pool considerably.
  5. Plan for notice periods. Most engineers need to give notice to their current employer, and candidates who are relocating need time to move. Build this into your hiring plan.

How Global M can help

Global M is headquartered at Barcelona Tech City and has been hiring technical talent since 2012. With an Embedded Hiring Team, a dedicated Talent Partner joins your team to run AI and engineering hiring end to end, for one monthly fee. For one or two key roles, Success-Based Hiring means you only pay when you hire.

For more on costs, read the real cost of hiring tech talent in Spain.

10,000+

Active subscribers

Stay ahead of the curve in the ever-evolving world of recruitment. Our newsletter keeps you in the loop with the latest industry trends, providing valuable insights for both companies and job seekers.

Global M newsletter on a mobile phone

Keep reading

More news, insights and tips