Skip to main content
FinAdministratorGet a Report

Madrid vs Barcelona — Cost of Living

Rent, overall costs and the equivalent salary you'd need to keep your lifestyle.

Indices normalised so 100 = a mid-expensive global city. Benchmark estimates.
MadridBarcelona
Overall cost index6264
Rent index5862
1-bed city-centre rent1300 €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 1830 € a month and a one-bedroom city-centre flat averages 1300 €, leaving 530 € for everything else. At 71% 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 91% of take-home and leaves 132 €, while at 60.000 € it takes 40% and leaves 1974 €.

On the 30.000 € national median behind Barcelona, in this comparison with Madrid, take-home is about 1830 € a month and a one-bedroom city-centre flat averages 1350 €, leaving 480 € for everything else. At 74% 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 94% of take-home and leaves 82 €, while at 60.000 € it takes 41% and leaves 1924 €.

Salary levels are 0.75× / 1× / 1.5× / 2× each country's median gross, taxed under 2026 rules, less 1300 € rent in Madrid and 1350 € in Barcelona. Estimates.
Salary levelMadrid after rentBarcelona after rentRent share
Below median132 €82 €91% / 94%
National median530 €480 €71% / 74%
Well paid1267 €1217 €51% / 53%
Senior / specialist1974 €1924 €40% / 41%

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.

Spain role medians against Madrid rent of 1300 €. Benchmark estimates.
RoleMedian grossTake-home / monthAfter Madrid rent
Software Engineer38.000 €2237 €937 €
Accountant32.000 €1935 €635 €
Registered Nurse30.000 €1830 €530 €
Teacher32.000 €1935 €635 €
Marketing Manager36.000 €2143 €843 €
Spain role medians against Barcelona rent of 1350 €. Benchmark estimates.
RoleMedian grossTake-home / monthAfter Barcelona rent
Software Engineer38.000 €2237 €887 €
Accountant32.000 €1935 €585 €
Registered Nurse30.000 €1830 €480 €
Teacher32.000 €1935 €585 €
Marketing Manager36.000 €2143 €793 €

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 71% of take-home, leaving roughly 530 € 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 1830 € a month and rent takes 74% of it, against 71% in Madrid. Comfort usually starts where rent drops below a third of take-home, which in Barcelona needs about 77.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 530 € and 480 €. 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 June 2026). Always confirm with an official tax authority or a licensed adviser before making decisions.