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.
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.
Municipality
Identify where the land is located and consult the tax ordinance in force on the transfer date.
Dates
The acquisition date and transfer date determine the accrual period and may change the applicable coefficients.
Land value
Under the objective method, the land value determined for IBI purposes on the tax accrual date is generally used.
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.
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.
Quick index
Municipal capital gains tax when selling a property
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.
Transfer for consideration
The taxpayer is the person transferring the land or right: in a residential property sale, normally the seller.
Gratuitous transfer
The taxpayer is the person who acquires the land or in whose favour the right in rem is created or transferred.
Non-resident individual seller
In a transfer for consideration under the general regime, the buyer becomes the substitute taxpayer for IIVTNU purposes.
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 sellersNon-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.
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.
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.
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.
| Scenario | Treatment under the general framework | What should be reviewed |
|---|---|---|
| Land classified as rural for IBI purposes | Not subject to IIVTNU. | Relevant classification for IBI purposes. |
| No increase in land value | Not 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/divorce | The law provides for cases of non-liability. | The transaction must fall exactly within the legal scenario. |
| Payment in kind / foreclosure of the main residence | It may be exempt if specific requirements are met. | Main residence, mortgage debt and the conditions set out in the Art. 105. |
| Protected historic property | An 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.
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.
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 ownership | National maximum | Period of ownership | National maximum |
|---|---|---|---|
| Less than 1 year | 0,15 | 10 years | 0,12 |
| 1 year | 0,15 | 11 years | 0,10 |
| 2 years | 0,14 | 12 years | 0,09 |
| 3 years | 0,14 | 13 years | 0,09 |
| 4 years | 0,16 | 14 years | 0,09 |
| 5 years | 0,18 | 15 years | 0,09 |
| 6 years | 0,19 | 16 years | 0,10 |
| 7 years | 0,20 | 17 years | 0,13 |
| 8 years | 0,19 | 18 years | 0,17 |
| 9 years | 0,15 | 19 years | 0,23 |
| — | — | 20 years or more | 0,40 |
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.
Inter vivos transactions
The common regime establishes a deadline of 30 business days from the tax accrual date to file the relevant declaration.
Transfer on death
The common national deadline is six months, extendable to one year if requested under the applicable terms.
Channel and documentation
Self-assessment or declaration, supporting documents, payment and practical administration depend on the local ordinance and municipal online portal.
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.
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.
Bizkaia
The Provincial Council maintains specific current regulations on IIVTNU, including Foral Regulation 8/1989 and its amendments.
Á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.
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.
| Step | Information | Correct source | What it addresses |
|---|---|---|---|
| 1 | Municipality and territory | Town council + state or foral framework | Which legislation and bylaw apply. |
| 2 | Date of purchase and sale | Deeds / title documents | Holding period and applicable version of the coefficients. |
| 3 | Cadastral land value | IBI bill / Catastro / municipal information | Basis for the objective method. |
| 4 | Purchase and transfer values | Title documents and legal rules | No increase or lower actual increase. |
| 5 | Coefficient, rate and reliefs | Current tax bylaw | Correct 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
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.
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.
Copying coefficients from another municipality
Municipal coefficients may be lower than the national maximums and may change from one tax year to another.
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.
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.
Overlooking the non-resident seller
Under the general regime, the buyer is the substitute taxpayer when the taxpayer seller is a non-resident individual.
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.
Related guides
Separate each tax and each seller obligation
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.
Actualidad inmobiliaria
Últimas publicaciones
Información práctica para agentes, agencias, compradores, vendedores e inversores del mercado inmobiliario español.
Capital gain on selling a property in España
Fiscalidad del vendedor · Ganancia patrimonial El impuesto no se calcula simplemente restando el precio de compra al precio de venta. Para determinar la gananci…
Leer más
How to calculate the return on a rental property
Inversión inmobiliaria · España Una buena inversión no empieza por la rentabilidad anunciada: empieza por entender todos los números y todos los riesgos. Compra…
Leer más
Scams and warning signs when buying a home in España
Seguridad inmobiliaria · España Una señal de alerta no demuestra una estafa, pero sí puede justificar detener el pago hasta verificar. Antes de entregar una res…
Leer más
Long-term or holiday rental: how to compare them
Inversión · Alquiler · Estrategia Larga temporada o alquiler turístico: compara primero la viabilidad y después la rentabilidad El alquiler turístico puede gene…
Leer más
Buying a property to invest in España
Inversión inmobiliaria · España Una buena inversión no empieza por la rentabilidad anunciada: empieza por entender todos los números y todos los riesgos. Compra…
Leer más
Buying a second home in España
Segunda residencia · España Una buena segunda vivienda debe funcionar también cuando no estás allí. Comprar una segunda residencia en España implica mucho más q…
Leer más
Tourist rental of residential properties in España
Inversión y alquiler · marco nacional Comprar para alquiler turístico no empieza con la rentabilidad. Empieza confirmando que el uso es viable. En España no exi…
Leer más
Where to buy a home in España: how to choose the right area
Elegir ubicación antes de elegir inmueble La zona adecuada no es la más famosa: es la que encaja con tu uso, presupuesto y forma de vida. España reúne mercados…
Leer más
Documentos necesarios para vender una vivienda en España
Checklist documental del vendedor Preparar los documentos antes de encontrar comprador puede evitar retrasos cuando llega el momento de firmar. Para vender una…
Leer más
Withholding of 3% when selling a property as a non-resident
Vendedor no residente · IRNR El 3% que se retiene en la venta no es necesariamente tu impuesto final. Cuando un contribuyente no residente sin establecimiento p…
Leer más
