Buvivo
BlogSign inSign up
← All posts
August 13, 2026·11 min read·By The Buvivo Team

Plusvalía municipal in Spain: the 2026 foreign buyer's and seller's guide

Spain's most misunderstood property tax. Who pays it, how the post-2021 dual calculation actually works, why buyers of non-resident sellers can end up on the hook, and how to make sure you never overpay.

TaxesBuying in SpainSelling in SpainGuide

On this page

  1. What the plusvalía municipal actually is
  2. Why it changed in 2021 (and why old guides are dangerous)
  3. The two calculation methods (and picking the cheaper one)
  4. Method 1 — the objective method
  5. Method 2 — the real-gain method
  6. The zero-tax escape hatch
  7. Who actually pays it — and the buyer trap
  8. Deadlines that catch people out
  9. Bonuses and exemptions you might be entitled to
  10. Special situations foreign buyers actually run into
  11. The habitual mistake sellers make
  12. What buyers should check before signing
  13. Where Buvivo fits

Ask ten foreign owners in Spain what the plusvalía municipal is and you will get ten different answers — usually wrong, sometimes by a factor of five, occasionally by a factor of zero (people who paid it when they shouldn't have). It is the single most frequently overpaid tax in Spanish real estate, and since the Constitutional Court blew up the old formula in October 2021, the rules for calculating it have quietly changed twice.

This guide covers what it actually is in 2026, when you owe it, when you don't, how to pick the calculation method that costs you the least, and the trap that puts buyers on the hook when the seller is non-resident.

What the plusvalía municipal actually is

Its full legal name is a mouthful: Impuesto sobre el Incremento de Valor de los Terrenos de Naturaleza Urbana (IIVTNU) — the "tax on the increase in value of urban land." Everyone calls it plusvalía municipal or just plusvalía.

Two things make it distinctive:

  1. It taxes only the land — the terreno — not the building on top of it. On a €400,000 apartment purchase where the cadastral breakdown assigns €80,000 to land and €320,000 to construction, plusvalía only ever looks at the €80,000 sliver.
  2. It is a municipal tax, collected by the town hall (ayuntamiento), not by the Spanish state or the region. This means the exact rate, the exact coefficients, the exact bonuses for inheritance transfers — all of them vary town to town, sometimes dramatically. Madrid and Marbella are different regimes.

It applies whenever ownership of urban land changes hands: sale, inheritance, donation, even a change in the ownership structure of a Spanish SL that holds property. It does not apply to rustic land (suelo rústico), which is why you'll never see it on a rural finca sale unless a chunk of the parcel has been re-classified as urban.

Why it changed in 2021 (and why old guides are dangerous)

Until October 2021, plusvalía was calculated using a formula that assumed land values always went up. That assumption survived Spain's 2008–2014 property crash unchanged, so sellers who lost money were still handed plusvalía bills — sometimes for tens of thousands of euros — on transactions where they'd taken a real capital loss.

The Constitutional Court struck this down in three stages:

  • STC 59/2017 — you cannot be taxed when there is no gain.
  • STC 126/2019 — you cannot be taxed more than the actual gain.
  • STC 182/2021 — the entire objective formula is unconstitutional; the tax cannot be collected under it.

For about two weeks in November 2021, plusvalía effectively didn't exist. Then on 8 November 2021 the government issued Real Decreto-ley 26/2021, which introduced the current dual-method system. That system is what applies to every transaction from that date forward, and it is what this guide covers.

Any English-language article about plusvalía dated before November 2021, and a surprising number dated after it, still describes the old formula. Ignore them.

The two calculation methods (and picking the cheaper one)

The core innovation of the 2021 reform is that you now get to choose the calculation method that produces the lower tax. The ayuntamiento is legally obliged to accept whichever you pick, provided you supply evidence.

Method 1 — the objective method

The old formula, rebuilt. It's the default, and for many transactions the town hall will hand you a self-assessment (autoliquidación) already filled out this way.

The mechanics:

  1. Take the cadastral value of the land (valor catastral del suelo) on the day of the sale. This is a line item on your IBI bill — not the total cadastral value, only the land portion.
  2. Multiply by a coefficient set by the ayuntamiento for your holding period (typically 1 to 20 years). Municipalities can't exceed the maximum coefficients set annually by the Ministry of Finance, which are published each year in the Ley de Presupuestos Generales or by Real Decreto-ley. In practice, coefficients rise from around 0.10–0.15 for a one-year hold to 0.45 for a 20-year hold, with the peak often around the 5–10 year band.
  3. Multiply by the municipal tax rate, which each ayuntamiento sets — commonly in the 20–30% range, capped at 30%.

So: land cadastral value × coefficient × municipal rate = tax due.

Worked example. A flat sold in year 12 of ownership in a municipality where:

  • Cadastral land value: €40,000
  • Year-12 coefficient (set by that ayuntamiento): 0.15
  • Municipal rate: 29%

Taxable base = €40,000 × 0.15 = €6,000 Tax = €6,000 × 29% = €1,740.

Notice what this method does not look at: the actual sale price, the actual purchase price, whether you gained anything. It's a formula, and it produces a bill regardless of reality.

Method 2 — the real-gain method

Introduced by RDL 26/2021 to satisfy the Constitutional Court. Here the taxable base is the actual increase in the land's value between purchase and sale, calculated like this:

  1. Take the sale price and the purchase price as they appear on the escrituras públicas (the notarised deeds).
  2. Apply the proportion of land in the current cadastral value — the same ratio that appears on your IBI receipt — to the sale-minus-purchase difference. This isolates the portion of the gain attributable to the land.
  3. Multiply by the municipal tax rate (the same 20–30% band).

Same worked example, but now assume the property was bought for €180,000 and sold for €220,000, and the cadastral breakdown shows land = 20% of total cadastral value.

Nominal gain = €220,000 − €180,000 = €40,000 Land portion of gain = €40,000 × 20% = €8,000 Tax = €8,000 × 29% = €2,320.

In this case the objective method (€1,740) is cheaper, so the seller elects that one. Flip the numbers — a smaller gain on a property with a big cadastral land component and a long holding period — and the real-gain method wins by a wide margin.

The rule of thumb: short holdings with big price appreciation tend to favour the objective method. Long holdings with modest price appreciation tend to favour the real-gain method. But run both — the difference is often four figures.

The zero-tax escape hatch

If your escrituras show that you sold for less than you paid (calculated on the land-portion basis above), you owe no plusvalía at all. This is a direct consequence of STC 59/2017: no gain, no tax.

You still have to file — a declaration of no tax due is called a declaración de no sujeción — and you must attach the two escrituras as proof. Filing this correctly is the single most valuable move a seller with a genuine loss can make, and it is the one the town hall will never suggest to you.

Who actually pays it — and the buyer trap

The default rule is straightforward:

  • In a sale, the seller pays plusvalía.
  • In an inheritance or gift, the heir or recipient pays.

The buyer of a sale does not owe plusvalía on the purchase side of the transaction. Fine. Except.

Article 106.2 of the LHL (Ley Reguladora de las Haciendas Locales) makes the buyer the subsidiary taxpayer when the seller is a non-resident of Spain. Meaning: if the seller is non-resident and fails to pay their plusvalía, the ayuntamiento can come after the buyer for it.

Two years later. When you've already spent the money and forgotten the transaction. With interest and surcharges.

This is a much bigger issue than most foreign buyers realise, because roughly one third of Spanish coastal transactions involve at least one non-resident seller. The protection is entirely mechanical:

  1. Retain the plusvalía from the sale proceeds at closing. Most conveyancing lawyers do this automatically when the seller is non-resident; make sure yours does. The retention should be paid over to the ayuntamiento directly, not handed to the seller.
  2. File the plusvalía on the seller's behalf, using the retention. This is normal practice and takes a gestor a couple of days.
  3. Keep proof — the ayuntamiento's carta de pago and receipt — indefinitely. This is what protects you if a subsequent tax audit ever asks.

The 3% IRNR retention you also apply on a non-resident seller sale is a completely different tax — that one is the state capital-gains withholding paid to the Agencia Tributaria using Modelo 211. Plusvalía is separate, additional, and municipal. A lawyer who doesn't retain and pay both is not doing their job.

Deadlines that catch people out

Once the escritura is signed at the notary, the clock starts:

  • Sale or gift: 30 business days to file and pay. Most municipalities use autoliquidación — you (or your gestor) calculate and pay in the same act.
  • Inheritance: 6 months, extendable to 12 with a written request filed inside the first 5 months.

Missing the deadline triggers a recargo por presentación extemporánea (late-filing surcharge) that starts at 5% in the first three months and climbs from there, plus interest. On a €3,000 plusvalía bill, a year of late filing can add €600–€900. Non-residents managing everything from abroad are the most frequent offenders; the fix is to have your lawyer or gestor handle the filing on the day of signing, not "when they get to it."

Bonuses and exemptions you might be entitled to

Because plusvalía is municipal, the reliefs are too — and they vary sharply. Some worth checking with your ayuntamiento:

  • Inheritance bonuses for the habitual residence: many town halls offer bonuses of 40% to 95% on inherited habitual residences passed to close family. The 95% bonus in cities like Madrid, Barcelona, and Málaga can be the difference between a €12,000 bill and a €600 bill.
  • Family business or economic-activity property: some municipalities reduce plusvalía on the inheritance of premises used for a family business.
  • Dación en pago: sales-back-to-the-bank in genuine mortgage distress are usually exempt.
  • Certain protected transfers — expropriation for public use, some divorce-related transfers between spouses, and contributions to certain marital property regimes.

The exemptions are never applied automatically. You have to request them in the filing, with the documentation attached. Miss the request and you pay the full amount, even if you technically qualified.

Special situations foreign buyers actually run into

Off-plan and new-build purchases. Buying a brand-new home from a developer usually involves no plusvalía for you as buyer (developer pays), but if you resell within a few years the plusvalía on your onward sale can be substantial because coefficients for very short holding periods are relatively high. Factor this into a flip.

Gifts to children. A common inheritance-planning move — transferring the Spanish home to children while still alive — triggers plusvalía for the recipient (the child) at the moment of the gift. If the property has appreciated a lot in the parent's holding period, this can be significant. The habitual-residence inheritance bonus does not apply to gifts in most municipalities — only to actual inheritance on death.

Sale between spouses on divorce. Transfers pursuant to a divorce settlement under the régimen de gananciales are generally exempt, but the exemption must be claimed. Sellers who miss the claim often pay unnecessarily.

Death of a foreign owner. The heirs have 6 months (extendable to 12) to file plusvalía in every municipality where the deceased held urban property. Non-resident heirs often blow past the deadline because they're focused on the state inheritance tax (also complicated) and never get told about the municipal one. See our inheritance and wills guide for the full estate playbook.

The habitual mistake sellers make

The single most costly error is accepting the town hall's autoliquidación at face value. The ayuntamiento's default calculation is the objective method — it's the only one they can produce without your paperwork. If the real-gain method would produce a lower bill for you, you have to compute it yourself, file the alternative, and attach the two escrituras as proof.

Nobody will do this for you unprompted. Not the notary, not the buyer's lawyer, not the ayuntamiento clerk. A competent gestor working on your side will — but you have to ask, and preferably before signing, so the numbers are ready to file within the 30-day window.

For foreign sellers, run the numbers with a Spanish gestor who has post-2021 experience specifically. The old-formula-only crowd is still out there. Our gestor guide covers what to look for.

What buyers should check before signing

If you are buying, ask your lawyer for three things in writing before completion:

  1. Confirmation that the seller is resident or non-resident, and where.
  2. The plusvalía retention plan — how much is being withheld, when, and to which ayuntamiento's account it will be paid.
  3. The 3% IRNR retention plan — the state capital-gains withholding on non-resident sellers, filed with Modelo 211.

If any of the answers are vague, push harder. The subsidiary-liability trap is real, and it doesn't matter that you weren't legally the primary taxpayer — the town hall's collectors don't care about who was "supposed" to pay first.

The full closing-day paperwork is in our notary and signing-day guide, and the retention mechanics for non-resident sales are covered in more depth in the non-resident sellers guide.

Where Buvivo fits

Buvivo doesn't touch the tax side of a Spanish transaction — that stays between you, your lawyer, your gestor, and the ayuntamiento. What we do change is the front of the process. Instead of scrolling Idealista for weeks and messaging fifteen agents, you post a structured brief — region, budget in euros, must-haves, deal-breakers — and matching agents and private sellers come to you.

By the time you're up against plusvalía deadlines and escritura signings, you'll have already done the hard part of finding the right property with the least noise. Post your search →


This article is general information, not legal or tax advice. Plusvalía municipal is set by each ayuntamiento — the coefficients, rates, bonuses, and even the filing procedure vary town to town. Confirm your exact position with a Spanish gestor or abogado before filing.

Keep reading

  • Buying property in Spain through a company (SL) vs as an individual: the foreign buyer's 2026 guide

    Every high-value foreign buyer asks the same question — should I buy this Spanish flat in my own name or through a Sociedad Limitada? The honest 2026 answer: for most private homes, the individual wins. For pure rental portfolios, the SL sometimes wins on paper and loses in practice. Here are the numbers, the traps (including the 1.1% patrimonial surcharge and the personal-use imputation nobody warns you about), and the four situations where a company genuinely pays off.

  • The Beckham Law in 2026: Spain's special tax regime for foreign property buyers who move in

    Spain's Régimen de impatriados — the 'Beckham Law' — flat-taxes Spanish-source income at 24% and ignores most foreign income for up to six years. For a high-earning foreign buyer becoming Spanish-resident, it is the single most valuable decision of the move. Here's exactly how it works in 2026, who qualifies after the 2023 Startup Law expansion, the six-month window nobody warns you about, and the worked numbers that show when it saves you €40,000 a year and when it quietly costs you money.

  • Valor de referencia, cadastral value, market value: the three numbers that decide your Spanish property tax bill in 2026

    Every Spanish property has at least three different values, and the wrong one will cost you thousands. A plain-English guide to the cadastral value, the valor de referencia, and the market price — what each one is, where to look it up, and which one Hacienda will actually tax you on.

Looking for property in Spain?

Post what you're searching for on Buvivo and let agents come to you with matching properties.

Post a free request
BBuvivo

Reverse property search for Spain. Describe what you want — let agents and owners come to you.

Product
  • How it works
  • For agents
  • Post a search
  • Blog
Top cities
  • Property wanted in Madrid
  • Property wanted in Barcelona
  • Property wanted in Valencia
  • Property wanted in Sevilla
  • Property wanted in Zaragoza
Legal
  • Privacy Policy
  • Cookie Policy
  • Terms of Service
  • Legal Notice
© 2026 Buvivo · Lerudi Consulting S.L.Built in Mijas, Spain