Barcelona vs Madrid

Barcelona vs Madrid — Real Estate Comparison — Spain

Barcelona

€380,859Medianpris
VS

Madrid

€534,667Medianpris

Investment & market comparison

MetricBarcelonaMadridWinner
Median sale price€380,859€534,667Barcelona
Median rent (€/mo)€2,001€1,805Madrid
Gross rental yield6.3%4.0%Barcelona
Household income / yr€47,361€49,916Madrid
Population1,731,6493,506,730Madrid
Population growth (5y)4.0%5.2%Madrid
Price index YoY10.9%14.2%Madrid
Foreign buyer % (MIVAU)15.0%
Avg sold price (MIVAU)€268,128
Asking vs sold premium42.0%

Data combines Spanish real-estate portals (asking), INE Atlas income, INE Padrón demographics, MIVAU official transactions, INE IPV price index.

Barcelona and Madrid represent Spain's two real estate poles, each with a fundamentally different market character. Madrid, as the capital and financial center, attracts corporate relocations, government workers, and domestic investors. Its radial expansion pattern means newer, more affordable housing extends outward through well-connected satellite towns. The city has experienced strong post-pandemic growth, driven by domestic migration from smaller Spanish cities and growing international interest.

Barcelona's market is shaped by its geographic constraints — squeezed between mountains and the Mediterranean, land supply is inherently limited. Tourism pressure has driven the city to impose strict short-term rental regulations, effectively banning new tourist apartment licenses in most neighborhoods since 2024. This has pushed some investors toward Madrid, while long-term rental yields in Barcelona remain attractive.

Lifestyle differences are significant: Barcelona offers beach access, a Mediterranean climate, and proximity to ski resorts, while Madrid provides more affordable housing per square meter, no coastal premium, and better national connectivity by rail. For international buyers, Barcelona's Catalan political dynamics add a layer of uncertainty that Madrid doesn't face.

Property taxes differ: Madrid's transfer tax (ITP) is 6%, while Catalonia charges 10%. This alone makes a €300,000 purchase €12,000 cheaper in Madrid. Notarial and registration fees are similar in both cities. Both markets benefit from Spain's Golden Visa program for purchases over €500,000, though EU reform proposals may affect this.

Barcelona

There are currently 8,118 active listings on the market.

Madrid

There are currently 8,609 active listings on the market.

Listing Price Comparison

BarcelonaMadrid
Median utgångspris€380,859€534,667