Will a Spanish bank lend to you?
1 minute · from your country
Plusvalía municipal in Spain: the tax foreign sellers pay
When you sell a Spanish property, you face two separate capital gains taxes: the national one (IRNR/IRPF) and the municipal one — plusvalía. The latter, formally called IIVTNU (Impuesto sobre el Incremento del Valor de los Terrenos de Naturaleza Urbana), is paid to the city council and varies wildly by municipality. A 2021 Constitutional Court ruling and the subsequent Real Decreto-ley 26/2021 reform changed how it is calculated. This guide explains the current rules, who actually pays, the two calculation methods, and how to obtain a refund if you sold at a loss.
Buying property in Spain as a non-resident?
We compare 40 Spanish banks for foreign buyers. Free assessment, all in English, response within 24 business hours. Bank of Spain reg. nº E569.
What is plusvalía municipal
Plusvalía municipal (IIVTNU) is a tax on the increase in value of urban land during the period you owned the property. It applies only to urban (suelo urbano) properties — rural land is exempt. It is local: each municipality (ayuntamiento) sets its own rates within national caps.
Crucially, plusvalía taxes the LAND value, not the construction. So even if your property is mostly built area, the tax base focuses on the proportional land value. The cadastral value of the property splits into 'land value' (valor del suelo) and 'construction value' (valor de construcción) — plusvalía uses only the first.
This tax is independent of and additional to the national capital gains tax (IRNR for non-residents). You pay both: plusvalía to the city council, IRNR/IRPF to the State (AEAT). Both have separate forms and deadlines.
Who pays and when
In a sale, the SELLER is the taxpayer. But when the seller is a non-resident individual, the law makes the BUYER the 'sustituto del contribuyente' (art. 106.2 of the Local Finances Act): the buyer files and pays the tax to the town hall. The deadline is 30 working days from the notary signing date (art. 110.2).
Some city councils have a system of 'autoliquidación' (self-assessment, filed and paid by the taxpayer); others have 'liquidación' (you notify the council, which calculates and sends the bill). Madrid, for example, uses self-assessment — a gestor or lawyer usually files it.
For non-resident sellers, the practical mechanic is: at the notary signing, the buyer withholds from the price the amount of the plusvalía, because the buyer is the one who has to pay it to the council.
Two calculation methods (since 2021 reform)
The Constitutional Court declared the previous mandatory objective method unconstitutional (Sentencia 182/2021), and Real Decreto-ley 26/2021 created two alternative methods. The taxpayer chooses whichever produces a LOWER tax bill:
Method 1 — Objective (cadastral): apply official coefficients to the cadastral land value depending on years of ownership. The coefficient increases with holding period up to 20 years.
Method 2 — Real (actual gain): difference between sale price and purchase price, multiplied by the proportion of land value over total cadastral value.
If you sold at a LOSS (sale price < purchase price), there is no taxable gain at all and plusvalía is €0. You must still file the form, with proof of both prices. Many sellers miss this and overpay.
| Years of ownership | Maximum coefficient (objective method, RDL 8/2023) |
|---|---|
| Less than 1 year | 0.15 |
| 1-5 years | 0.14-0.18 |
| 6-10 years | 0.12-0.20 (8 years: 0.19) |
| 11-15 years | 0.09-0.10 |
| 16-19 years | 0.10-0.23 |
| 20 years or more | 0.40 |
Less than 1 year
0.15
1-5 years
0.14-0.18
6-10 years
0.12-0.20 (8 years: 0.19)
11-15 years
0.09-0.10
16-19 years
0.10-0.23
20 years or more
0.40
Worked example
Scenario: A non-resident sells a Madrid apartment in 2026. Purchase: 2018 for €250,000. Sale: 2026 for €290,000. Cadastral value: €120,000 of which €72,000 is land (60%) and €48,000 is construction.
Method 1 (objective): €72,000 land × 0.19 coefficient (8 years, the legal maximum; each town hall's ordinance may set a lower one) = €13,680 taxable base × 29% Madrid rate = €3,967 plusvalía.
Method 2 (real): Sale gain €40,000 × 60% land proportion = €24,000 taxable base × 29% Madrid rate = €6,960 plusvalía.
The seller chooses Method 1 = €3,967 (cheaper). The gestor filing the form must justify both calculations on Modelo 700 (Madrid) or local equivalent.
If you sold at a lossIf the actual sale price was lower than the purchase price (in nominal terms), there is no taxable gain and plusvalía is €0 — but you must file the declaration with documentary proof of both prices (notary deeds). Foreigners often skip this filing, assuming €0 means no obligation. The city council can still claim payment under Method 1 if no declaration is filed.
Exemptions and refund claims
Exemptions and reliefs: transfers between spouses in legal separation/divorce are not taxed; on inheritances to descendants, spouses and ascendants, town halls may grant a bonus of up to 95% (art. 108.4, check the local ordinance). Most regular sales have no exemption.
Refund claims: if you paid plusvalía before the Court ruling of 26 October 2021 under the annulled method, a refund is possible only if you had already challenged the payment before that date: the ruling itself excludes final (firme) payments and self-assessments not contested by then. Consult a Spanish tax lawyer (abogado tributario) if you sold during that period.
For non-residents specifically: ensure the gestor filing your IRNR (Modelo 210 for capital gains) coordinates with whoever files your plusvalía. If you pay both as 'tax on capital gain' double taxation does not technically apply (they tax different bases), but plusvalía paid IS deductible as a cost in your IRNR calculation, reducing the national tax.
Will a Spanish bank lend to you? Check in 1 minute
Have more questions? Ask Hipo, our AI mortgage assistant
Frequently asked questions
Is plusvalía deductible from my national capital gains tax (IRNR)?
What if the buyer doesn't withhold for plusvalía at signing?
Does plusvalía apply to inheritance, not just sale?
How long does the refund process take?
Are there big differences between municipalities?
Useful tools
Mortgage Simulator
Calculate your monthly payment, borrowing capacity and early repayment
Open tool⚖️Mortgage Comparator
Compare offers by rate type, term, fees and conditions
Open tool🏠What home can I afford?
Maximum property price based on your income, savings and region
Open tool✅Will I get approved?
Quick test to estimate your mortgage approval probability
Open tool📊Mortgage Calculator 360
Payment, affordability, rate comparison and amortisation
Open tool🗺️Tax & Cost Simulator
Calculate taxes and costs by region (comunidad autónoma)
Open tool📈Euribor Today
Current Euribor rate, chart and impact on your mortgage
Open tool🔄Rate Review Calculator
Calculate your new payment at your next mortgage review
Open tool🏦Subrogation Calculator
Simulate 3 bank-switch scenarios: monthly savings, total savings and break-even
Open toolNeed guidance on your non-resident mortgage?
We analyse your profile and compare non-resident mortgage conditions across banks. No commitment.
Sources and references
- →Real Decreto Legislativo 2/2004 (Ley de Haciendas Locales)
- →Real Decreto-ley 26/2021 (reforma del IIVTNU tras STC 182/2021)
- →STC 182/2021 (declaración de inconstitucionalidad parcial)
- →BOE — Texto refundido de la Ley Reguladora de las Haciendas Locales (arts. 104-110, coeficientes vigentes del art. 107.4)
- →BOE — Real Decreto-ley 8/2023 (plusvalía municipal para 2024 y reforma del art. 23.6 de la Ley 5/2019)
About this content
Mortgage Content Editor
Published: May 2026
Last updated: October 2026
This page is informational and editorial in nature. It explains how the described mortgage conditions typically work and what to review, without guaranteeing results or replacing a lender’s assessment.