For most buy-to-let investors, Madrid currently has the edge over Barcelona. Purchase taxes are lower (6% transfer tax on resale homes in Madrid against 10% or more in Catalonia), the regional government has declined to apply national rent caps, and rental demand is underpinned by a large corporate and student population. Barcelona still appeals for lifestyle buyers and long-term capital growth, but rent controls, the planned phase-out of tourist licences and higher taxes squeeze net returns.
The right answer depends on what you want from the property: net yield, personal use or long-term appreciation. If you are weighing up where to buy an apartment in Madrid or Barcelona, this guide compares the two markets on tax, regulation, demand and neighbourhoods, and sets out the extra rules that apply to UK and other non-EU buyers since Brexit.
Madrid vs Barcelona at a Glance
Both cities are among the most expensive housing markets in Spain, and both have seen strong price and rent growth in recent years as new supply has failed to keep pace with demand. Beyond that shared pressure, they behave quite differently.
| Factor | Madrid | Barcelona |
|---|---|---|
| Transfer tax (ITP) on resale homes | 6% | Generally 10%, higher for high-value properties and some large investors |
| Stamp duty (AJD) on new builds | 0.75% | 1.5% |
| Regional wealth tax | 100% relief at regional level | Applied, with a lower exemption threshold |
| Rent caps in stressed areas | Not applied by the regional government | Applied since 2024 |
| Tourist lets | Restricted, especially in the centre | No new licences; existing ones set to be phased out by 2028 |
| Main demand drivers | Corporate, students, domestic migration | International, tech, lifestyle |
| Best fit | Yield-focused long-term letting | Lifestyle, part-time use, long horizon |
Tax rates and rules change, sometimes at short notice, so confirm the current position with a Spanish tax adviser before committing.
How the Two Markets Differ
Madrid: the business capital
Madrid is Spain’s administrative and corporate centre. Rental demand comes from company relocations, domestic and international professionals, civil servants and a large student population spread across several universities. The market is liquid, with a steady flow of buyers and tenants, and the Community of Madrid’s regional government has positioned itself as investor-friendly on tax and rental regulation.
Barcelona: the international lifestyle brand
Barcelona has a stronger global profile, a Mediterranean setting and a growing tech scene centred on the 22@ district in Poblenou. International demand is constant, from remote workers to relocating families. However, Catalonia has gone further than any other Spanish region on housing regulation, which directly limits what landlords can charge and how they can let.
The Tax Burden: Why Madrid Often Wins
Spain’s autonomous communities set several property taxes themselves, so an identical purchase can cost very different amounts depending on the region.
Property transfer tax (ITP)
This is the largest upfront cost when buying a resale home. The Community of Madrid charges 6%. Catalonia’s general rate is 10%, with higher rates for expensive homes and for buyers classed as large property holders. On a €500,000 resale flat, that is roughly €30,000 in Madrid against at least €50,000 in Barcelona, a gap that can take years of rent to recover.
VAT and stamp duty on new builds
New-build homes bought from a developer pay VAT (IVA) at 10% nationally instead of ITP, plus stamp duty (AJD). Madrid’s AJD rate is 0.75%, while Catalonia’s standard rate is 1.5%. The difference is smaller than on resale stock, but it still adds up on higher-value units.
Wealth tax
Madrid applies a 100% relief on the regional wealth tax. Catalonia applies it with a lower exemption threshold, which matters for wealthier investors. A national “solidarity” tax on large fortunes above €3 million applies in both regions, so very high-net-worth buyers should take specialist advice. Non-residents are taxed on Spanish assets only, under rules that depend on where they live.
Tax on rental income for UK owners
This is the point most often missed. Non-resident landlords pay Spanish non-resident income tax on rent. Residents of EU and EEA countries pay 19% and can deduct expenses. Residents of non-EU countries, which since Brexit includes the UK, generally pay 24% on gross rental income without deducting costs. That can make a substantial difference to net yield. You may also have UK tax obligations on the same income, with relief for Spanish tax under the UK-Spain double taxation agreement.
Running costs
Budget for annual municipal property tax (IBI), community fees, buildings and contents insurance, maintenance, rubbish collection charges and, if you let through an agent, management fees. IBI is set locally and varies with the property’s cadastral value, so ask the seller for the latest receipt before you buy.
How to Compare Returns Properly
Headline gross yields flatter both cities. A more honest comparison follows the same steps for each property you shortlist:
- Start with a realistic achievable rent. In Barcelona, check whether the property sits in a stressed area and what the capped rent would be, rather than using open-market asking rents.
- Deduct running costs: IBI, community fees, insurance, maintenance reserve, void periods and management fees.
- Deduct Spanish non-resident tax on rent, remembering that UK residents are generally taxed on gross income.
- Allow for UK tax on the same income and any relief available under the double taxation agreement.
- Divide the result by your total acquisition cost, including transfer tax or VAT, notary, registry, lawyer and any mortgage costs.
Run this calculation for comparable flats in each city and the difference in purchase tax alone often decides the outcome in Madrid’s favour for pure investors.
Madrid Focus: Where to Buy
Madrid rewards careful district selection. Speaking to a local specialist such as the “Avezor Madrid” real estate agency early on can help you compare neighbourhoods, understand realistic rents and see stock before it reaches the main portals.
Established areas for stability
- Salamanca: Madrid’s most prestigious district, with grand 19th-century buildings. Entry prices are high and yields lower, but demand from affluent tenants is consistent.
- Chamberí: central, residential and popular with professionals and families who want a neighbourhood feel close to the centre.
- Retiro: next to the Retiro park, attractive to expatriate families and executives seeking space and green surroundings.
Areas with higher yield potential
- Tetuán: close to the Castellana business corridor and undergoing regeneration, with good transport links.
- Arganzuela: near Madrid Río, popular with young professionals priced out of the centre.
- Puente de Vallecas and Usera: lower entry prices and strong rental demand, but assess the specific street and building carefully.
Short-term lets are increasingly restricted in central Madrid, so most investors there focus on long-term or mid-term rentals to professionals and students.
Barcelona Focus: High Demand, Strict Rules
Areas to consider
- Eixample: the grid-patterned heart of the city, popular with international buyers and a traditional store of value.
- Poblenou: the former industrial area that now houses the 22@ tech district, drawing professionals and relocating workers.
- Gràcia: village-like streets and squares, popular with young professionals and creatives.
- Sant Martí and Sants: more affordable entry points with good transport links.
Understanding the legal landscape
Barcelona City Council stopped issuing new tourist apartment licences years ago and plans to phase out existing ones by 2028. Catalonia was the first region to apply the rent caps allowed under Spain’s 2023 housing law (Ley por el Derecho a la Vivienda) in areas declared “stressed”, which includes Barcelona, and it has also moved to regulate seasonal and room rentals. In practice, Barcelona investors should plan around traditional long-term lets and model returns on capped rents.
Pros and Cons of Each City
| Madrid | Barcelona | |
|---|---|---|
| Strengths | Lower purchase tax, no regional rent caps, deep corporate and student demand, liquid market | Global appeal, lifestyle and personal-use value, tech-driven demand, long-term growth story |
| Weaknesses | Tourist lets restricted, prime districts offer modest yields | Higher taxes, rent caps, tourist licences being phased out, more regulatory change |
| Suits | Yield-first investors and long-term landlords | Lifestyle buyers and patient, long-horizon investors |
What UK and Non-EU Buyers Should Know
- No residency through property: Spain closed its “golden visa” route for property investors in 2025. Buying a home does not give you the right to live in Spain.
- 90/180-day rule: UK citizens without residency can generally spend up to 90 days in any 180-day period in the Schengen area, which limits personal use.
- Proposed restrictions: the Spanish government has proposed heavy taxes on property purchases by non-EU non-residents. Check the current legislative position before you buy.
- Financing: Spanish banks lend to non-residents, but usually at lower loan-to-value ratios than to residents. For a comparison with how lending decisions are increasingly made in the UK, see our look at automated mortgage underwriting.
- Currency risk: your costs and rent are in euros while your reporting currency is likely pounds, so exchange-rate moves affect both your purchase price and your returns.
The Buying Process, Step by Step
- Obtain an NIE (foreigner identification number) and open a Spanish bank account.
- Appoint an independent lawyer (abogado) who acts for you, not the seller or agent.
- Have the lawyer check the land registry (nota simple) for debts and charges, planning status, community fee arrears and any licence needed for your intended use.
- Sign a reservation or private purchase contract (often an arras contract) with a deposit, commonly around 10%.
- Complete before a notary, pay the relevant taxes and register the property in your name.
Beyond transfer tax, allow for notary, registry, lawyer and possibly mortgage costs; buyers often budget several percentage points on top of the tax itself. The principle of using a reputable, well-informed agent is the same as at home, and our guide to what a full-service estate agent offers is a useful comparison.
Common mistakes to avoid
- Modelling Barcelona returns on uncapped asking rents.
- Assuming a tourist licence transfers with the property.
- Forgetting that UK-resident landlords are generally taxed on gross Spanish rent.
- Skipping an independent lawyer to save on fees.
- Ignoring community fee arrears or planned building works that pass to the new owner.
Bottom Line: Which City Wins for Real Estate Investment?
Madrid suits the numbers-first investor: lower purchase taxes, no regional rent caps and deep rental demand. Barcelona suits buyers who value lifestyle, plan some personal use or take a very long-term view and can accept tighter regulation and lower net yields. Whichever you choose, base the decision on net figures after Spanish and UK tax, not on headline rents, and speak to a qualified Spanish tax adviser and independent lawyer before you commit.
This article is general information, not financial, tax or legal advice. Rules change; take professional advice before investing.
Frequently Asked Questions
Is Madrid or Barcelona better for buy-to-let?
Madrid usually offers better net returns thanks to a 6% transfer tax on resale homes and no regional rent caps. Barcelona has strong demand but higher taxes and stricter rental regulation, which reduce net yields.
Can I run a holiday let in Barcelona?
New tourist licences are not being issued, and the city plans to phase out existing ones by 2028. Holiday lets are therefore not a realistic strategy for new investors in Barcelona.
Can UK citizens buy property in Spain?
Yes. You need an NIE and usually a Spanish bank account. Buying does not grant residency, and non-EU owners, including UK residents, pay higher tax on rental income than EU residents.
How much tax do non-residents pay on Spanish rental income?
EU and EEA residents pay 19% and can deduct expenses. Non-EU residents, including UK residents, generally pay 24% on gross rental income without deductions.
What are the main purchase taxes in Madrid and Barcelona?
Resale homes pay transfer tax: 6% in Madrid and generally 10% or more in Catalonia. New builds pay 10% VAT plus stamp duty of 0.75% in Madrid or 1.5% in Catalonia.
Does buying property in Spain give me residency?
No. Spain closed its golden visa route for property investors in 2025, so buying a home does not give you the right to live there. UK citizens without residency are generally limited to 90 days in any 180-day period in the Schengen area.
