City comparison
Cost of living in Madrid vs Barcelona
One person needs about €1,909 a month in Madrid and €2,105 in Barcelona, rent included — Madrid is 10% 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 Barcelona the way you live in Madrid on €3,000, you need
€3,308/ month net
10% more than today (+€308)
- Madrid today
- Basket €1,909 · left over €1,091 (36%)
- Barcelona at the matched salary
- Basket €2,105 · left over €1,203 (36%)
Local pay context: average tech net pay covers the basket 133% over in Barcelona (adequate) vs 157% in Madrid. Purchasing power index · How we calculate this
🇪🇸 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
🇪🇸 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
Should you move to Madrid or Barcelona?
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,300 in Madrid against €1,450 in Barcelona. Groceries, transport and utilities move far less between the two.
For remote workers, the nomad index scores Madrid at 80 and Barcelona at 81 — see the full nomad index and our data methodology.