Imagen editorial sobre Plusvalía municipal al vender una vivienda en España

Municipal capital gains tax when selling a property in España

Property sale · municipal tax

The municipal capital gains tax does not have a single rate for España: first, the law applies, followed by the local municipal ordinance.

The Tax on the Increase in Value of Urban Land (IIVTNU) may apply when transferring urban land or a property on urban land. In a standard sale under the common regime, the seller is normally the taxpayer, but if there has been no increase in the land's value under the legal terms, the transaction is not subject to the tax. The exact amount depends on the date, the cadastral value of the land and the ordinance of the relevant local council.

Last updated: 9 August 2026 Jurisdiction: España + municipality Status: current national framework

Short answer

To determine whether municipal capital gains tax applies and how much it may be, five pieces of information are needed before calculating

There is no single “Spanish municipal capital gains tax” that can be calculated using one percentage. Royal Legislative Decree 2/2004 establishes the common framework, but the local council decides whether to levy the tax and sets several elements within the legal limits. In addition, Navarre and the historical territories of the País Vasco have their own regional regulations.

1

Municipality

Identify where the land is located and consult the tax ordinance in force on the transfer date.

2

Dates

The acquisition date and transfer date determine the accrual period and may change the applicable coefficients.

3

Land value

Under the objective method, the land value determined for IBI purposes on the tax accrual date is generally used.

4–5

Purchase and sale values

They are needed to assess whether there has been no increase in value or whether the actual increase is lower than the objective tax base.

Do not copy the calculation from another municipality.

National law sets maximums, not necessarily the values used by your local council. A coefficient, rate or rebate valid in Madrid, Málaga or Valencia must not be applied to another municipality without checking its ordinance.

What IIVTNU taxes

Municipal capital gains tax focuses on urban land

Article 104 of the TRLRHL defines IIVTNU as a direct tax levied on the increase in value of urban land evidenced by its transfer or by the creation or transfer of certain rights in rem of enjoyment.

  • Land classified as rural for IBI purposes is not subject to IIVTNU under the general regime.
  • A built property includes both land and construction, but the tax assesses the portion corresponding to the land.
  • In a transfer, the tax becomes due on the date ownership is transferred.
  • Under the general regime, IIVTNU is potestative: the town council may establish it through its tax ordinance.

Taxpayer

In a sale and purchase, the general rule is the seller; in a gift, the recipient

Article 106 distinguishes between transfers for consideration and gituit transfers. This distinction must be resolved before calculating the tax and is particularly important when the seller is a non-resident individual.

Sale

Transfer for consideration

The taxpayer is the person transferring the land or right: in a residential property sale, normally the seller.

Gift

Gratuitous transfer

The taxpayer is the person who acquires the land or in whose favour the right in rem is created or transferred.

NR

Non-resident individual seller

In a transfer for consideration under the general regime, the buyer becomes the substitute taxpayer for IIVTNU purposes.

Substitution for IIVTNU purposes is not the withholding of 3%.

They are separate obligations. If the seller is a non-resident, review municipal capital gains tax and the withholding on account of IRNR separately.

3% withholding tax for non-resident sellers

Non-liability and exemptions

If there is no increase in the land value under Article 104.5, the transaction is not subject to tax

The absence of an increase must be evidenced in accordance with the statutory documentary procedure. It is not sufficient to simply state “I sold for less” without separating the value attributable to the land where the property includes a building.

0

No increase in value

The transfer must be declared and the acquisition and transfer deeds must be provided to evidence non-liability under Article 104.5.

Land

Property with a building

For the comparison, the proportion represented by the cadastral value of the land relative to the total cadastral value on the tax accrual date is applied to the acquisition and transfer values.

Excluding costs

Specific legal evidence

For this assessment of whether there has been no increase in value, the law does not allow the costs or taxes incurred on the purchase or sale to be added to the values being compared.

ScenarioTreatment under the general frameworkWhat should be reviewed
Land classified as rural for IBI purposesNot subject to IIVTNU.Relevant classification for IBI purposes.
No increase in land valueNot subject to tax if evidenced in accordance with Art. 104.5.Deeds, values and the cadastral proportion of the land.
Certain transfers resulting from separation/divorceThe law provides for cases of non-liability.The transaction must fall exactly within the legal scenario.
Payment in kind / foreclosure of the main residenceIt may be exempt if specific requirements are met.Main residence, mortgage debt and the conditions set out in the Art. 105.
Protected historic propertyAn exemption may apply if the legal and local ordinance conditions are met.Protection status, documented works and municipal requirements.

Taxable amount

The standard regime allows the objective method to be compared with the actual increase in land value

The reform of 2021 established an objective method and an adjustment where the proven actual increase is lower. The taxpayer should not automatically accept the objective result without checking whether the actual method can reduce the taxable base.

A

Objective method

Land value for IBI purposes × municipal coefficient for the period of ownership. The maximum period considered is 20 years. If it is less than one year, the annual coefficient is apportioned by full months.

B

Lower actual increase

If the taxpayer requests and demonstrates, in accordance with Articles 104.5 and 107.5, that the actual increase in land value is lower than the objective taxable base, that actual increase is used as the taxable base.

A proper calculator needs to distinguish between three concepts: cadastral land value, municipal coefficient and date y tax rate set out in the local ordinance. The sale price alone is not sufficient to calculate IIVTNU.Common framework: Articles 104, 107 and 108 of the TRLRHL.

Current national limits

Maximum coefficients in force under the TRLRHL since the repeal of the January 2026 change

The following table sets out the legal maximums under the standard regime shown in the consolidated text consulted on 9 August 2026. This does not mean that a local council automatically applies these values: its local ordinance may approve lower coefficients.

Period of ownershipNational maximumPeriod of ownershipNational maximum
Less than 1 year0,1510 years0,12
1 year0,1511 years0,10
2 years0,1412 years0,09
3 years0,1413 years0,09
4 years0,1614 years0,09
5 years0,1815 years0,09
6 years0,1916 years0,10
7 years0,2017 years0,13
8 years0,1918 years0,17
9 years0,1519 years0,23
20 years or more0,40
2026 underwent a very brief legal change.

Royal Decree-Law 16/2025 amended the maximum rates effective from 1 January 2026, but Congress repealed that Royal Decree-Law by resolution of 27 January 2026. The consolidated text of the BOE indicates that this amendment was rendered ineffective. Therefore, a transfer in January 2026 requires checking the exact date and the municipality's response.

Rates and rebates

The 30% is a national maximum, not the “plusvalía tax rate” of España

Article 108 allows each municipality under the common regime to set its tax rate, provided it does not exceed 30%. It may approve a single rate or different rates according to the period over which the gain was generated. The local tax ordinance may also include certain tax reliefs within the legal limits.

  • Municipal rate: this must be checked in the current local tax ordinance.
  • National maximum: 30%, although the municipality may approve a lower percentage.
  • The law allows a tax relief of up to 95% for certain inheritance transfers to close relatives, if provided for in the local tax ordinance.
  • Inheritance tax reliefs should not be presented as a general discount applicable to a sale.

Declaration, self-assessment and deadline

The common framework sets deadlines, but the specific procedure remains municipal

Article 110 requires the declaration specified by the local ordinance to be filed with the town hall. The municipality may implement self-assessment; if it does not, it assesses and notifies the tax due. For this reason, the form, online portal, required documents and payment method must be checked with the relevant town hall.

30

Inter vivos transactions

The common regime establishes a deadline of 30 business days from the tax accrual date to file the relevant declaration.

6→12

Transfer on death

The common national deadline is six months, extendable to one year if requested under the applicable terms.

Local

Channel and documentation

Self-assessment or declaration, supporting documents, payment and practical administration depend on the local ordinance and municipal online portal.

“No increase” does not necessarily mean “I do not need to file anything.”

Article 104.5 itself requires the transfer to be declared and the title deeds to be provided in order to prove that there was no increase. Check the local procedure to submit the documentation correctly.

Foral jurisdiction

Navarra and the historic territories of the País Vasco must not be calculated by copying the national TRLRHL

The foral local regime has its own rules. Before using the national table of coefficients, confirm whether the property is in Navarra, Álava, Bizkaia or Gipuzkoa, and identify the applicable foral regulation and municipal ordinance.

NA

Navarre

Foral Law 2/1995 on Local Treasuries regulates the tax under Navarra's foral regime. Pamplona, for example, refers to that law and to its Tax Ordinance No. 4 of 2026.

BI

Bizkaia

The Provincial Council maintains specific current regulations on IIVTNU, including Foral Regulation 8/1989 and its amendments.

VI · SS

Álava and Gipuzkoa

They also apply their own foral regulations and local ordinances. An exact answer requires first determining the historic territory and then the municipality.

Knowledge base rule:

A figure from the common regime must never be automatically applied to a foral territory. Jurisdiction must be established before the calculation.

Routing example

How to answer “how much plusvalía tax will I pay?” correctly

Rather than applying a generic percentage, the enquiry should be turned into a verifiable sequence.

StepInformationCorrect sourceWhat it addresses
1Municipality and territoryTown council + state or foral frameworkWhich legislation and bylaw apply.
2Date of purchase and saleDeeds / title documentsHolding period and applicable version of the coefficients.
3Cadastral land valueIBI bill / Catastro / municipal informationBasis for the objective method.
4Purchase and transfer valuesTitle documents and legal rulesNo increase or lower actual increase.
5Coefficient, rate and reliefsCurrent tax bylawCorrect municipal tax liability.
Example: a property sold in Madrid in 2026 must be checked against the bylaw and tools of Madrid; a property sold in Málaga requires the regulations and coefficients published by Málaga. The fact that both cities are in España does not make their municipal parameters interchangeable.

Common mistakes

Seven mistakes that can change the result

01

Using the total cadastral value

The objective method is based on the land value for IBI purposes, not on automatically adding land and building values.

02

Treating 30% as a national rate

30% is the state limit on the rate under the common regime. The town council sets its actual rate.

03

Copying coefficients from another municipality

Municipal coefficients may be lower than the national maximums and may change from one tax year to another.

04

Confusing a total loss with no increase in land value

Proof of non-liability follows the specific rules of Article 104.5 and separates the portion attributable to the land.

05

Failing to file because “the result is zero”

Demonstrating that there has been no increase requires declaring and documenting the transfer in accordance with the applicable framework and procedure.

06

Overlooking the non-resident seller

Under the general regime, the buyer is the substitute taxpayer when the taxpayer seller is a non-resident individual.

07

Ignoring the regional regime

Navarre and País Vasco require their own regulations; the standard national table must not be applied automatically.

Verified official sources

National framework, municipal examples and regional routing

Last editorial review: 9 August 2026. The article provides the national framework for the general regime and requires the municipal ordinance for an exact answer. Municipal sources are presented as implementation examples, not as national rules.

BOE · 1 level · General regimeRoyal Legislative Decree 2/2004 · TRLRHLArticles 59 and 104–110: municipal establishment, taxable event, non-liability, exemptions, taxpayer, tax base, rate, accrual and administration. BOE · Level 1Royal Decree-Law 26/2021Reform of IIVTNU following Constitutional Court Judgment 182/2021; it introduced non-liability where there is no increase and comparison with the actual increase. City Council of Madrid · Municipal exampleIIVTNU / Capital gains tax · tax portalProcedure, self-assessment, declaration, tax reliefs, calculator and municipal regulations of Madrid. Tax Agency Madrid · 2026 exampleHow capital gains tax is calculatedOfficial example of the calculation method and local rate; it shows that parameters must be checked municipality by municipality. City Council of Málaga · Municipal exampleCapital gains tax · GESTRISAMMunicipal information and coefficients, including the time-based distinction resulting from regulatory changes in January 2026. Government of Navarre · Regional 1 levelRegional Law 2/1995 on Local TreasuriesNavarre's own local treasury framework; avoids automatically applying the parameters of the national TRLRHL. Town Hall of Pamplona · ProcedureIIVTNU · Tax Ordinance 2026Example of municipal implementation in Navarre, with reference to Regional Law 2/1995 and its current tax ordinance. Provincial Council of Bizkaia · Regional level 1Current IIVTNU regulationsBizkaia-specific regional regulatory framework for the increase in value of urban land.

Professional help by location

Municipal capital gains tax is one of the cases where the location must be determined before recommending a professional.

RealtorList allows you to search for agencies and agents by area, language, service and speciality. For a local calculation or procedure, confirm that the professional works in the municipality where the property is located and knows the relevant tax procedure.

Frequently asked questions

Municipal capital gains tax when selling a property in España

Municipal capital gains tax is the Tax on the Increase in Value of Urban Land (IIVTNU). Under the common regime, it is a municipal potestative tax that applies, where relevant, to the increase in value of urban land revealed when ownership or certain rights in rem are transferred. It does not directly tax the value of the building.

In a sale for consideration, the general rule under the common regime identifies the transferor, i.e. the seller, as the taxpayer. In tuituitous transfers, such as a gift, the taxpayer is the person who acquires the property. Regional regulations must also be checked where the transaction relates to Navarre or a historic territory of the País Vasco.

In a standard-regime transfer for consideration, where the taxpayer is a non-resident individual in España, the acquirer acts as the taxpayer's substitute for IIVTNU purposes. This rule differs from the 3% withholding provided for under IRNR for certain property sales by non-residents.

It is not enough to make an informal comparison between the total purchase and sale prices. Article 104.5 allows the absence of an increase in land value to be demonstrated by applying its specific rules. To do so, the transfer must be declared and the acquisition and transfer documentation submitted; for properties with land and buildings, the proportion of the land's cadastral value to the total cadastral value is used.

Under the objective method in the standard regime, the starting point is generally the land value assigned to the property for IBI purposes on the tax accrual date. Therefore, the cadastral value corresponding to the land must be used, rather than the property's total cadastral value, except where special legal rules apply.

Under the standard regime, there is an objective method based on the land value and the municipal coefficient applicable to the period during which the gain accrued. In addition, if the actual increase in land value demonstrated in accordance with the law is lower than the objective tax base, the taxpayer may request that this actual increase be used as the tax base. The rate approved by the local council is then applied.

There is no single national rate. Under the standard regime, each local council sets its rate in its tax ordinance, subject to a national maximum of 30%. The effective rate, applicable coefficients and tax reliefs must be checked in the ordinance of the relevant municipality and for the specific date of the transfer.

Under the standard regime, Article 110 of the TRLRHL establishes 30 business days for inter vivos transactions and six months, extendable to one year at the taxpayer's request, for transfers on death. The municipal ordinance determines the declaration or self-assessment system, the submission channel, required documentation and practical payment method.

No. The national framework sets limits and common rules for standard-regime municipalities, but each local council may approve its coefficients within the legal maximums, its tax rate within the national limit, certain tax reliefs and its procedure. Navarre and the historic territories of the País Vasco also have their own regional tax legislation.

No. IIVTNU is a municipal tax linked to increases in the value of urban land. The seller's capital gain is assessed separately under IRPF or IRNR, depending on the transferor's tax residence and circumstances. A sale may require both taxes to be reviewed independently.

Notice: This guide provides general information on IIVTNU and does not replace personalised tax, legal or municipal advice. The outcome of a specific transfer depends on the location, date, national or regional legislation, municipal ordinance, documented values and circumstances of the transaction. Before filing or paying the tax, check the official source of the relevant local council.

Actualidad inmobiliaria

Últimas publicaciones

Información práctica para agentes, agencias, compradores, vendedores e inversores del mercado inmobiliario español.