One of the least understood costs of selling property in Spain is the plusvalía municipal. Buyers focus on the price, sellers focus on the national capital gains tax, and then a bill arrives from the town hall that neither side expected. Yet with a little preparation the plusvalía is both predictable and, in many cases, far smaller than the council's default calculation suggests. Since a landmark ruling of the Constitutional Court in 2021, taxpayers have real choices — and the single most common mistake is simply paying the first figure the council produces without checking whether the law allows a lower one.
On this page
What the plusvalía municipal really is Why it taxes the land, not the building Who pays it — sale, gift and inheritance The 2021 Constitutional Court ruling The two calculation methods after the reform When no tax is due at all How the tax is actually calculated The filing deadline after the transaction Plusvalía versus national capital gains tax Common mistakes that lead to overpaying Frequently asked questions
"Most people overpay the plusvalía simply because they accept the council's first figure. Since 2021 the law lets you choose the lower of two methods, and pay nothing where the land did not actually gain in value — but only if you claim it correctly and on time."
— Jacob Salama · International Tax lawyer, Ilustre Colegio de Abogados de Málaga (nº 11294)
What the plusvalía municipal really is
The formal name of the tax is the Impuesto sobre el Incremento de Valor de los Terrenos de Naturaleza Urbana — the IIVTNU, usually shortened in everyday speech to plusvalía municipal. It is a local council tax, set and collected by the town hall (ayuntamiento) where the property sits, not by the national tax office. Every municipality runs its own version within limits set by state law, which is why the rates and coefficients differ from one town to the next and must always be confirmed with the specific council involved.
What it taxes is narrow and specific: the increase in the value of urban land between the date the current owner acquired it and the date it is transferred. It does not tax the sale price. It does not tax the profit on the building. It is a tax on how much the land underneath the property is deemed to have risen in value during the years of ownership. That distinction confuses almost everyone at first, and it is the key to understanding both when the tax applies and how it is worked out.
Why it taxes the land, not the building
Spanish law treats the land component of a property differently from the bricks and mortar built on it. The plusvalía municipal is concerned only with the land, and only with urban land — rural land classed as such is outside the tax. This is why the starting point for any calculation is the cadastral value of the land (the valor catastral del suelo), which appears on your annual IBI receipt as a separate figure from the value attributed to the construction.
Because the tax rests on the cadastral land value rather than on the market price you actually agreed, a property that sold for a large sum can still generate a modest plusvalía if its cadastral land value is low — and vice versa. Reading the cadastral certificate correctly is therefore the first practical step, and getting the land figure wrong is one of the easiest ways to end up paying too much.
Who pays it — sale, gift and inheritance
The taxpayer depends on how the property changes hands. The tax is triggered by the transfer of urban land, and the law identifies a different person as liable in each situation:
- On a sale — the seller normally pays the plusvalía, because it is the seller who realises the increase in the land's value on disposal. Parties sometimes agree otherwise in the contract, but as between the taxpayer and the council the seller is the person liable.
- On a gift — the recipient (the person receiving the property, the donatario) pays, because they acquire the land for no consideration.
- On an inheritance — the heir or legatee who inherits the property pays, as part of settling the estate.
For non-resident sellers there is an additional wrinkle: where the seller lives outside Spain, the buyer can be treated as a substitute taxpayer for collection purposes, which is one more reason a non-resident should never assume the plusvalía has been dealt with unless it is confirmed in writing. If you are still at the buying stage, our guide to buying property in Spain sets out where these local taxes fit into the wider purchase.
The 2021 Constitutional Court ruling
For years the plusvalía was calculated by a formula that always assumed the land had risen in value, regardless of what had actually happened in the market. Owners who sold at a loss — common in the aftermath of Spain's property crash — were still handed a bill. In a decisive ruling in 2021, the Constitutional Court struck down the core of that method as unconstitutional, on the basis that a tax on an increase in value cannot lawfully be charged where no increase has taken place.
The immediate effect was that the old calculation could no longer stand, and the legislature responded with a reform (introduced by royal decree-law shortly after the judgment) that rebuilt the tax around two principles: no plusvalía where there is genuinely no gain, and a choice of calculation methods so that the taxpayer is not forced to overpay. This is the framework that applies today, and it is why the tax is now far more defensible for the person paying it than it once was.
The two calculation methods after the reform
The reformed rules give the taxpayer two ways to work out the taxable increase, and — crucially — you may apply whichever produces the lower tax:
- The objective (cadastral-coefficient) method. The taxable base is the cadastral value of the land multiplied by a coefficient set annually by the state according to how many years you owned the property. These coefficients are updated periodically and must be confirmed for the year of your transaction. This method is quick and does not require you to prove anything about the real gain.
- The real-gain method. The taxable base is the actual increase in the land's value, calculated from the difference between the acquisition price and the transfer price, apportioned to the land using the proportion the cadastral land value bears to the total cadastral value. If your real land gain was smaller than the objective figure, this method gives a lower — sometimes far lower — result.
Because you may choose the lower of the two, the practical exercise on every sale is to run both calculations and compare them. Skipping that comparison, and simply paying whatever the objective method throws up, is where most overpayment happens. The exact coefficients and the municipal tax rate applied to the base vary by council and by year, so both figures should always be checked against the relevant ayuntamiento's current ordinance.
When no tax is due at all
The most important consequence of the reform is that no plusvalía is payable where there was genuinely no increase in the value of the land. If you sell for the same as, or less than, you paid — or if the land component specifically did not rise — you can demonstrate the absence of a gain and the tax falls away entirely.
To rely on this you generally need to be able to evidence the acquisition and transfer values, typically through the original and current deeds (escrituras), and to file the relevant declaration on time even where the result is zero. A "no gain" outcome is not automatic; it is a position you claim and support. Where the numbers are close, the same evidence often also unlocks the lower of the two calculation methods, so gathering the deeds early pays for itself.
How the tax is actually calculated
Putting the pieces together, a plusvalía calculation follows a consistent shape whichever method you use:
| Step | What it involves |
|---|---|
| 1. Identify the land value | Take the cadastral value of the land (not the building) from the cadastral certificate or IBI receipt. |
| 2. Determine the holding period | Count the whole years between acquisition and transfer — this drives the coefficient. |
| 3. Objective base | Cadastral land value × the state coefficient for that holding period. |
| 4. Real-gain base | Actual land gain from the deed prices, apportioned by the cadastral land-to-total ratio. |
| 5. Choose the lower base | Apply whichever base is smaller — or claim zero if there was no gain. |
| 6. Apply the municipal rate | Multiply the chosen base by the council's tax rate (set locally, up to a legal ceiling). |
Run both bases, apply the lower, and never assume the council's default figure is the one the law entitles you to pay.
Every figure in this table — the cadastral land value, the coefficient, and above all the municipal rate — must be confirmed with the specific ayuntamiento for the year of the transaction, because they are set locally and change over time. Treat any number you calculate at home as an estimate until the council's current ordinance is checked.
The filing deadline after the transaction
The plusvalía comes with a short filing deadline, and missing it is expensive. As a general rule, following a sale or gift you have 30 working days from the transfer to declare and, in many municipalities, pay the tax. Following a death, the deadline for an inheritance is longer — commonly six months, extendable in some cases — reflecting the time needed to settle an estate.
Some councils operate a self-assessment system where you calculate and pay, while others issue an assessment for you to settle; the mechanics differ from town to town. Because the window is tight and the rules are municipal, the deadline should be confirmed with the relevant ayuntamiento as soon as the transaction closes. Late filing typically triggers surcharges and interest, which is an avoidable cost on top of the tax itself.
Plusvalía versus national capital gains tax
A frequent source of confusion is the belief that the plusvalía and the national tax on the profit are the same thing. They are two different taxes on the same sale, charged by two different authorities, and both can apply at once:
- Plusvalía municipal — a local tax, charged by the town hall, on the increase in the value of the urban land only, calculated from cadastral values and coefficients.
- Capital gains tax — a national tax (through IRPF for residents, or non-resident income tax for non-residents), charged on the overall gain on the whole property, land and building together, calculated from the actual purchase and sale prices.
The two are calculated on different bases, filed with different authorities, and fall due on different timetables, so a seller must budget for both. For how the national side works and where the wider tax burden of living in Spain fits together, see our overview of taxes for expats in Spain. If the seller has already left Spain, the notary file also has to coordinate the buyer's 3% withholding and the seller's Modelo 210; that sequence is covered in our guide to selling Spanish property after moving back to the US. Coordinating the two is part of planning any Spanish property sale properly.
Common mistakes that lead to overpaying
Because the plusvalía is a niche, municipal tax, the same avoidable errors recur again and again:
- Accepting the council's first figure. The objective method is often the higher of the two — paying it without running the real-gain comparison is the classic overpayment.
- Assuming a loss makes the tax disappear automatically. A no-gain outcome must be claimed and evidenced with the deeds; it is not applied for you.
- Using the total cadastral value instead of the land value. Only the land component counts, and mixing the two inflates the base.
- Missing the short deadline. Thirty working days on a sale passes quickly, and surcharges follow.
- Forgetting the tax on a gift or inheritance. The recipient or heir is liable, and the bill is easy to overlook amid probate.
Each of these is straightforward to avoid with the deeds and the cadastral certificate in hand before the transaction closes. Where the sums are significant, or the property was inherited or received as a gift, a short review before filing usually pays for itself several times over — and, where the council has already charged more than the law allows, an overpayment can often still be challenged within the applicable time limits.
Frequently asked questions
Is the plusvalía municipal the same as capital gains tax?
No. The plusvalía is a local council tax on the increase in urban land value, while capital gains tax is a national tax on the overall profit from the whole property. Both can apply to the same sale.
Can I really pay nothing if I sold at a loss?
If you can show there was genuinely no increase in the land's value between purchase and sale, no plusvalía is due — but you must claim and evidence that position, usually with the original and current deeds, and still file on time.
Which calculation method should I use?
Run both the objective cadastral-coefficient method and the real-gain method, then apply whichever gives the lower tax. The choice is yours, and the coefficients and rate must be confirmed with the council for the year of your sale.
How long do I have to file?
Generally 30 working days after a sale or gift, and commonly six months after a death for an inheritance. Deadlines and payment mechanics vary by municipality, so confirm them with the relevant ayuntamiento.
General information, not tax advice. It reflects the framework following the 2021 Constitutional Court ruling and the reform that followed. Coefficients, municipal rates, deadlines and figures are set locally, change over time, and must be confirmed with the relevant council for your circumstances and year.