Skip to content
Buying Process8 min readBy SpainUnveiled Editorial Team

Buying Property in Madrid vs Barcelona as a Foreigner: Tax, Rules and Process Compared

Madrid vs Barcelona for foreign property buyers: how ITP, AJD, wealth tax, rental rules and the buying process really compare — and where the hidden costs are.

Buying Property in Madrid vs Barcelona as a Foreigner: Tax, Rules and Process Compared - Spain Unveiled

This article is general information, not legal, tax, or immigration advice. Rules and figures change — verify with an official source or a licensed professional before acting.

Buying Property in Madrid vs Barcelona as a Foreigner: Tax, Rules and Process Compared

If you're a foreign buyer weighing Spain's two biggest property markets, the headline question isn't just lifestyle — it's tax jurisdiction. Madrid and Barcelona sit under the same national framework (Spanish Civil Code, notarial system, Land Registry), but Madrid is in the Comunidad de Madrid and Barcelona is in Catalonia, two autonomous regions with meaningfully different tax rates, surcharges, and even landlord rules. Here's how to compare them like a professional buyer.

The Legal Framework Is the Same — the Tax Bill Isn't

Whether you buy in Chamberí or the Eixample, you'll follow the same core process:

  • Get a NIE (Número de Identidad de Extranjero) at a Spanish consulate or in Spain.
  • Sign a contrato de arras (reservation/private purchase contract) with a deposit, typically 10%.
  • Sign the escritura pública before a Spanish notario.
  • Register the deed at the Registro de la Propiedad.
  • Pay transfer taxes and fees within 30 days of signing.

Spain removed the Golden Visa residency-by-investment program in April 2025, so property purchase no longer gives you a residency shortcut. Non-EU buyers (US, Canada, UK) can still buy freely — ownership rights are not restricted by nationality — but residency now runs on its own track (non-lucrative visa, digital nomad visa, etc.). Verify current visa rules with the Spanish consulate before planning around them.

Transfer Tax (ITP) on Resale Homes: Where the Regions Split

The biggest single difference between the two cities is the Impuesto sobre Transmisiones Patrimoniales (ITP) paid by the buyer on resale (second-hand) property.

Madrid has long been Spain's lowest-tax region for property buyers. ITP in the Comunidad de Madrid is a flat 6% of the declared purchase price (or the regional reference value, whichever is higher). That's the "Madrid 6 percent ITP" that keeps showing up in investor comparisons — and it's a real, structural advantage.

Catalonia uses a progressive scale that is materially higher. As a rule of thumb, expect roughly:

  • 10% on the portion up to around €1,000,000
  • 11% on the portion between €1,000,000 and €1,500,000
  • 12% above that

Catalonia also introduced a surcharge on large holders and on buyers of entire residential buildings, and discussion of further increases on non-resident and investor purchases has been active. Confirm the current bracket, thresholds, and any new surcharge directly with the Agència Tributària de Catalunya (ATC) before you sign — this area is being actively legislated.

On a €500,000 flat, that's roughly €30,000 of ITP in Madrid versus €50,000 in Barcelona — a €20,000 gap before you've bought a single light fixture.

New-Build Property: VAT Is National, But Stamp Duty Isn't

If you buy new construction directly from a developer, you pay IVA (VAT) at 10% nationwide instead of ITP, plus AJD (Actos Jurídicos Documentados), the stamp duty on the deed.

  • Madrid AJD: typically around 0.75% for standard residential purchases.
  • Catalonia AJD: typically around 1.5%, roughly double.

So Madrid keeps a cost edge on new-builds too, just a smaller one. Both regions have reduced AJD rates for primary residences under certain income or age thresholds — ask your abogado whether you qualify.

Annual and Ongoing Taxes

Once you own, the recurring taxes are broadly similar in structure but different in amount:

  • IBI (Impuesto sobre Bienes Inmuebles) — the municipal property tax. Rates are set by each ayuntamiento, not the region. Barcelona's IBI rate on residential property is generally higher than Madrid's, though the exact bill depends on the valor catastral. Check the current coefficient on the Ayuntamiento de Madrid or Ajuntament de Barcelona website.
  • Basura/waste fee — Barcelona introduced a separate residential waste charge; Madrid folds most waste costs into IBI.
  • Non-Resident Income Tax (IRNR) — if you're a non-resident owner, you owe this annually whether or not you rent the property. EU/EEA residents pay 19%; non-EU residents (US, Canada, UK) pay 24% on either imputed rental income (for personal use) or actual rental income. File Modelo 210 with the Agencia Tributaria (AEAT).
  • Wealth Tax / Solidarity Tax — Madrid has historically applied a 100% bonificación that effectively zeroes out regional wealth tax, but the state-level Impuesto de Solidaridad a las Grandes Fortunas still catches net wealth above roughly €3 million. Catalonia applies its own wealth tax starting around €500,000 of net worth (with a higher primary-residence allowance). For high-net-worth buyers, this is often the single biggest reason to prefer Madrid.

Figures and thresholds change with each regional budget. Confirm with the AEAT, your gestor, or a licensed Spanish asesor fiscal before relying on any number here.

Rental Rules: Catalonia Is Stricter

If your plan involves renting out the property, the regions diverge sharply.

  • Barcelona has been inside a declared "zona de mercado residencial tensionado" under the 2023 state Housing Law, which caps rent increases on long-term leases referencing the INE reference index. Tourist licenses (HUT) in central Barcelona are effectively frozen, and the city announced it will not renew existing short-term tourist licenses when they expire in November 2028. Buying a Barcelona flat as an Airbnb play is a losing bet.
  • Madrid has not declared stressed zones citywide, so long-term rent caps generally don't apply. Short-term rentals are regulated at the building and neighborhood level — many communities of owners now require unanimous or qualified-majority approval, and the city has tightened licensing for ground-floor and separately-accessed units. Still much more permissive than Barcelona, but not a free-for-all.

Spain's national short-term rental registry (Ventanilla Única Digital de Arrendamientos) is now in force, so every short-let host — in either city — needs a registration number to list on Airbnb, Booking, or Vrbo.

The Buying Process, Step by Step

Whichever city you choose, your sequence looks like this:

  1. Get your NIE and open a Spanish bank account.
  2. Hire an independent abogado — not the seller's, not the developer's, not the agency's in-house lawyer. Expect roughly 1% + VAT of the price, or a flat fee.
  3. Make an offer and sign the arras, usually with a 10% deposit held under arras penitenciales (Civil Code art. 1454) — if you back out you lose it; if the seller backs out they pay double.
  4. Legal due diligence: nota simple from the Registro, community-of-owners debt certificate, IBI receipts, energy certificate, cédula de habitabilidad (required in Catalonia; not in Madrid), ITE/building inspection for older buildings.
  5. Arrange funds and source-of-funds documentation for the notary. Non-EU wires over €10,000 trigger declarations under Spain's AML rules.
  6. Sign the escritura before a notario; keys change hands.
  7. Pay ITP/AJD within 30 days and register the deed. Budget roughly 10–12% of price in Madrid and 12–15% in Barcelona for all taxes and fees combined.

Common Mistakes Foreign Buyers Make

  • Using the seller's lawyer or a dual agent and discovering problems after signing.
  • Underestimating Catalonia's higher ITP when comparing headline listing prices.
  • Assuming property purchase still gets you Spanish residency — it doesn't post-April 2025.
  • Buying a Barcelona apartment expecting to run it as a short-term rental.
  • Ignoring community-of-owners debts, which transfer with the property.
  • Forgetting Modelo 210 every year as a non-resident owner.

Short FAQ

Which city is cheaper to buy in overall? Madrid, once you include taxes. Headline per-square-meter prices are similar in prime areas, but Madrid's lower ITP, AJD, and wealth-tax exposure typically save a non-resident buyer 4–6 percentage points of total transaction cost.

Can I buy remotely? Yes — via a power of attorney notarized and apostilled in your home country, then translated and used by your abogado to sign on your behalf.

Do I need a mortgage pre-approval before offering? Strongly recommended. Non-resident mortgages typically cap at 60–70% LTV with Spanish banks and take 6–10 weeks.

Is the regional reference value (valor de referencia) the same as the price? No. Since 2022, ITP is calculated on the higher of your purchase price or the Catastro's reference value. Check it on the Sede Electrónica del Catastro before you negotiate.

Spanish tax law, regional surcharges, and rental rules change frequently — often with each regional budget. Treat every figure above as a starting point and confirm current rates with the AEAT, the Agència Tributària de Catalunya or Comunidad de Madrid, and an independent licensed Spanish abogado and asesor fiscal before you sign anything.

More guides in Buying Process