City comparison
Cost of living in Barcelona vs Madrid
One person needs about €2,105 a month in Barcelona and €1,909 in Madrid, rent included — Madrid is 9% cheaper overall.
Salary you'd need to keep the same lifestyle
Enter your current net monthly pay. We scale it by the full cost basket — rent, groceries, transport, utilities, eating out and internet.
To live in Madrid the way you live in Barcelona on €3,000, you need
€2,721/ month net
9% less than today (-€279)
- Barcelona today
- Basket €2,105 · left over €895 (30%)
- Madrid at the matched salary
- Basket €1,909 · left over €812 (30%)
Local pay context: average tech net pay covers the basket 157% over in Madrid (adequate) vs 133% in Barcelona. Purchasing power index · How we calculate this
🇪🇸 Barcelona
Beach-and-metro city with the deepest startup scene in southern Europe — and rents that now reflect it.
Monthly budget: €2,105
Sources: INE Spain + Eurostat, HICP & Encuesta de arrendamientos (2025) · 412 community reports
🇪🇸 Madrid
Spain's highest local salaries and endless nightlife, with rents climbing fast in the centre.
Monthly budget: €1,909
Sources: Eurostat, Harmonised price indices (2025) · 0 community reports
Should you move to Barcelona or Madrid?
On salary, Madrid pays more for tech roles (€3,000 versus €2,800 a month), so the money left over after costs is €1,091 in Madrid at the top end.
Rent drives most of the gap: €1,450 in Barcelona against €1,300 in Madrid. Groceries, transport and utilities move far less between the two.
For remote workers, the nomad index scores Barcelona at 81 and Madrid at 80 — see the full nomad index and our data methodology.