Madrid vs Barcelona — Cost of Living
Rent, overall costs and the equivalent salary you'd need to keep your lifestyle.
| Madrid | Barcelona | |
|---|---|---|
| Overall cost index | 62 | 64 |
| Rent index | 58 | 62 |
| 1-bed city-centre rent | 1300 € | 1350 € |
A 30.000 €/year lifestyle in Madrid needs about
30.968 € / year
in Barcelona (cost-of-living parity, before tax)
Madrid
Set against Barcelona, Madrid carries an overall index of 62 and a rent index of 58: spain's lowest regional tax plus moderate (if rising) rents.
Barcelona
Barcelona scores 64 overall and 62 on rent against Madrid’s 58: coastal lifestyle with rents now rivalling Madrid.
Cost of living is only half of what decides a move between Madrid and Barcelona; tax is the other half, and because both cities sit in Spain the tax treatment is identical here — the Spain calculator applies to both, so the whole difference is housing and local prices.
What the gap actually costs
Barcelona is the more expensive of the two, about 3% ahead of Madrid on the combined index (62 against 64), while the gap on rent alone is 7%. Housing does almost all the work between Madrid and Barcelona: groceries and transport move by tens of percent between cities, rents by multiples.
A one-bedroom city-centre flat runs about 1300 € in Madrid against 1350 € in Barcelona — 50 € a month between them, or 600 € a year that never reaches your savings.
What is left after rent in Madrid and Barcelona
On the 30.000 € national median behind Madrid, in this comparison with Barcelona, take-home is about 1927 € a month and a one-bedroom city-centre flat averages 1300 €, leaving 627 € for everything else. At 67% that is above what budgeting guidance calls sustainable, so on this Madrid side of the comparison with Barcelona a flatshare or a longer commute is a requirement at the median rather than a preference. On rent index that is the lighter of the two here: Barcelona sits at 62 against 58 for Madrid.
The pressure is not evenly spread across Madrid, and that is what a headline index against Barcelona hides: at 22.500 € the same 1300 € rent takes 86% of take-home and leaves 212 €, while at 60.000 € it takes 38% and leaves 2153 €.
On the 30.000 € national median behind Barcelona, in this comparison with Madrid, take-home is about 1927 € a month and a one-bedroom city-centre flat averages 1350 €, leaving 577 € for everything else. At 70% that is above what budgeting guidance calls sustainable, so on this Barcelona side of the comparison with Madrid a flatshare or a longer commute is a requirement at the median rather than a preference. On rent index that is the heavier of the two here: Madrid sits at 58 against 62 for Barcelona.
The pressure is not evenly spread across Barcelona, and that is what a headline index against Madrid hides: at 22.500 € the same 1350 € rent takes 89% of take-home and leaves 162 €, while at 60.000 € it takes 39% and leaves 2103 €.
| Salary level | Madrid after rent | Barcelona after rent | Rent share |
|---|---|---|---|
| Below median | 212 € | 162 € | 86% / 89% |
| National median | 627 € | 577 € | 67% / 70% |
| Well paid | 1417 € | 1367 € | 48% / 50% |
| Senior / specialist | 2153 € | 2103 € | 38% / 39% |
What common roles pay, and what survives the rent
National medians for five widely-held roles, taxed locally and set against the 1300 € rent in Madrid and 1350 € in Barcelona. Pay in Madrid and Barcelona differs from the national figure — capital and financial-centre salaries run above it — so read these as a baseline to adjust from.
| Role | Median gross | Take-home / month | After Madrid rent |
|---|---|---|---|
| Software Engineer | 38.000 € | 2363 € | 1063 € |
| Accountant | 32.000 € | 2036 € | 736 € |
| Registered Nurse | 30.000 € | 1927 € | 627 € |
| Teacher | 32.000 € | 2036 € | 736 € |
| Marketing Manager | 36.000 € | 2254 € | 954 € |
| Role | Median gross | Take-home / month | After Barcelona rent |
|---|---|---|---|
| Software Engineer | 38.000 € | 2363 € | 1013 € |
| Accountant | 32.000 € | 2036 € | 686 € |
| Registered Nurse | 30.000 € | 1927 € | 577 € |
| Teacher | 32.000 € | 2036 € | 686 € |
| Marketing Manager | 36.000 € | 2254 € | 904 € |
Frequently Asked Questions
+Is Barcelona cheaper than Madrid?
Barcelona has an overall cost-of-living index of 64 versus Madrid's 62, so it is more expensive by roughly 3%, driven largely by rent.
+What salary do I need in Barcelona to match Madrid?
To maintain a 30.000 € lifestyle from Madrid, you'd need roughly 30.968 € in Barcelona, based on cost-of-living parity (before tax differences).
+How much rent should I expect in Madrid?
A one-bedroom city-centre flat in Madrid averages about 1300 € a month. On the national median salary that is 67% of take-home, leaving roughly 627 € a month for everything else.
+How much do you need to earn to live comfortably in Barcelona compared with Madrid?
On Barcelona's national median of 30.000 €, take-home is about 1927 € a month and rent takes 70% of it, against 67% in Madrid. Comfort usually starts where rent drops below a third of take-home, which in Barcelona needs about 72.000 € gross against the 30.000 € median behind Madrid. Tax status and personal circumstances shift the figure either way.
+Would a higher Barcelona salary cancel out its costs versus Madrid?
Not reliably. Rent is a fixed monthly cost while tax is progressive, so moving from Madrid to Barcelona on a proportionally higher salary can still leave you with less: on each city's national median the after-rent figures are 627 € and 577 €. Compare those columns rather than the gross salaries.
Estimate only — not tax advice. Figures are estimates based on publicly available tax rules and may not reflect your full circumstances. See our methodology & sources (last reviewed October 2026). Always confirm with an official tax authority or a licensed adviser before making decisions.