Skip to content

Municipal Capital Gains Tax: Recover Overpayments and Optimise the New Methodology

Recovery of overpaid municipal capital gains tax (IIVTNU) following STC 182/2021 and management of the new methodology under RDL 26/2021: objective method versus actual gain method, four-year limitation period, and recovery of undue payments.

4 years
Limitation period to claim refund of overpaid municipal capital gains tax
2 methods
The taxpayer may choose the most favourable calculation (objective vs. actual gain)
€0
Tax liability when the transfer produces no real increase in land value
4.8/5 on Google · 50+ reviews 25+ years experience 5 offices in Spain 500+ clients
Quick assessment

Does this apply to your business?

Have you calculated whether the actual gain method is more favourable than the objective method for your most recent property transfer?

Do you have municipal capital gains tax paid in the last four years whose refund could be claimed?

Did you sell a property at a loss and still file a municipal capital gains tax self-assessment?

Do you know the proportion of land and construction in the cadastral value of the properties you transfer?

0 of 4 questions answered

Our approach

How we work

01

Transfer analysis and comparative calculation

We calculate the tax liability under both authorised methods (objective and actual gain) and determine which is more favourable for the taxpayer, taking into account the acquisition and transfer values in the proportional part attributable to the land and the relevant local authority's coefficients.

02

Correct self-assessment or declaration

We prepare and file the self-assessment or declaration with the relevant local authority using the most favourable method, with the necessary supporting documentation and within the prescribed deadlines (30 business days for onerous transfers, six months extendable to one year for transfers on death).

03

Recovery of undue payments

For transfers already assessed within the limitation period (four years from payment), we file the self-assessment amendment request or the undue payment recovery claim with the local authority, or — if the authority rejects it — before the Tribunal Económico-Administrativo Municipal (TEAM — Municipal Tax Tribunal) or the administrative court.

04

Administrative litigation

If the local authority rejects the claim or fails to respond within the prescribed period, we defend the case before the administrative courts and, where applicable, the Superior Court of Justice of the relevant autonomous community.

The challenge

The Impuesto sobre el Incremento del Valor de los Terrenos de Naturaleza Urbana (IIVTNU — municipal capital gains tax or plusvalía municipal) was declared partly unconstitutional by the Constitutional Court in decisions STC 26/2017, STC 37/2017, and definitively STC 182/2021, which annulled the taxable base calculation method as confiscatory when the tax liability exceeded the real gain obtained. Many taxpayers — individuals and companies alike — paid a tax for years that was unconstitutional in certain circumstances, without claiming a refund within the four-year limitation period. Those who are still within that period can recover significant amounts. And for current transfers, correctly choosing between the objective method and the actual gain method can produce a material tax saving that most self-assessments submitted without advice fail to capture.

Our solution

We advise taxpayers and companies on recovering overpaid municipal capital gains tax within the four-year limitation period, on selecting the most favourable calculation method (objective vs. actual gain) for current transfers, and on cases of non-chargeability when the transfer produces no real increase in land value.

The Impuesto sobre el Incremento del Valor de los Terrenos de Naturaleza Urbana (IIVTNU — municipal capital gains tax), known in Spain as plusvalía municipal, taxes the increase in value of urban land during the period of ownership by the transferor. Governed by Articles 104 to 110 of Royal Legislative Decree 2/2004 (the Consolidated Local Treasury Act), the tax was the subject of several Constitutional Court decisions — STC 26/2017, STC 37/2017, and definitively STC 182/2021 — which declared the previous legislation unconstitutional for violating the ability-to-pay principle when the resulting liability exceeded the real gain obtained. Royal Decree-Law 26/2021, of 8 November, reformed the taxable base to introduce the actual gain calculation method as an alternative to the objective method, giving the taxpayer the option to choose the more favourable one. For earlier transfers, STC 182/2021 opened the door to refund claims within the four-year limitation period.

This service is part of our legal advisory practice.

IIVTNU: what the municipal capital gains tax is and how it is calculated after RDL 26/2021

The municipal capital gains tax is a mandatory local tax that arises each time urban land is transferred: by sale, gift, inheritance, dation in payment, exchange, or any other legal transaction resulting in the transfer of ownership or the creation or transfer of rights of enjoyment. The liable taxpayer is the transferor in onerous transfers and the acquirer in gratuitous transfers (gifts and inheritances).

After the reform by RDL 26/2021, the taxpayer may choose between two methods to calculate the taxable base:

Objective method: the taxable base is calculated by multiplying the cadastral value of the land at the date of transfer by the coefficients approved by the Ministry of Finance for each period of ownership (from zero to one year, one to two years, and so on up to twenty years or more). Coefficients are revised annually and must also be updated by local authorities themselves. This method is predictable and does not require proving acquisition values.

Actual gain method: the taxable base is the positive difference between the transfer value and the acquisition value, taking only the proportionate part attributable to the land based on the cadastral value ratio. This method reflects the real economic increase in land value during the period of ownership. It is more favourable when the property was acquired recently at market price or when land appreciation has been modest.

The choice of method is a legal act with significant economic consequences. In markets where land has appreciated substantially since acquisition (Madrid, Barcelona, coastal areas in certain periods), the objective method may be more favourable than the actual gain method. In recent transactions or in stable markets, the reverse is usually true.

STC 182/2021: impact of the Constitutional Court decision and which transfers can be claimed

STC 182/2021, published in the Official State Gazette on 25 November 2021, was the culmination of a lengthy process of constitutional challenge to the IIVTNU. Decisions STC 26/2017 and STC 37/2017 had already declared unconstitutional the application of the tax where there was no increase in land value (transfer at a loss). STC 182/2021 took the decisive step: it declared the taxable base calculation method unconstitutional as a general matter, as it was confiscatory in cases where the tax liability exceeded the real gain obtained.

The decision expressly established that its effects do not reach consolidated legal situations: final assessments or self-assessments that were not challenged, proceedings concluded with a final judgment, and time-barred assessments. Only taxpayers who, on the date of publication or within four years before the claim, had a pending challenge, had appealed, or were still within the four-year limitation period from payment can benefit from the decision.

In 2026, the limitation period allows claims for transfers with a payment date from January 2022. Each passing month closes the door on transfers from the same month four years earlier. The urgency of acting is real for taxpayers who paid in 2022 and have not yet claimed.

Objective method versus actual gain method: how to choose the most favourable calculation

The choice of calculation method is the element with the greatest economic impact in the current management of the IIVTNU for the taxpayer. The difference between the two methods can exceed 50% of the liability in certain transactions.

A correct analysis requires the following data: deed of acquisition (with the purchase price), transfer deed or declared value (with the sale price), current cadastral certificate of the property (with the cadastral value of the land and the total cadastral value), and the fiscal ordinances of the relevant local authority (to verify local tax rates and applicable coefficients).

With this data, we calculate the taxable base under both methods and the resulting liability. The difference between the methods can be especially significant in the following scenarios:

Properties acquired before 2015 in areas of high appreciation: the objective method applies the maximum coefficients approved by the Treasury for 20 years or more, which may be substantially lower than the actual value difference if the market has appreciated significantly. In this case, the objective method may be more favourable.

Properties acquired between 2015 and 2020 in areas of moderate appreciation: the purchase price already incorporates part of the historical appreciation, which reduces the actual value difference. The actual gain method may be more favourable.

Properties acquired at any time with a high purchase price or a very high cadastral land value relative to the total: the actual gain method produces a proportionally larger taxable base if the land represents a large proportion of the total cadastral value. In this case the objective method may be more favourable.

Recovery of undue payments: limitation period, documentation, and procedure before the local authority

The procedure to recover overpaid municipal capital gains tax depends on whether the tax was assessed by self-assessment (filed by the taxpayer) or by a formal assessment raised by the local authority.

Self-assessment (the most common system): the route is self-assessment amendment under Art. 120 of the General Tax Act (Ley General Tributaria). The taxpayer files the amendment form with the local authority showing the new taxable base calculated under the more favourable method or evidencing non-chargeability, and requests refund of the undue payment. The local authority has six months to resolve the claim. If it fails to do so or rejects the application, the matter may be appealed before the TEAM (Tribunal Económico-Administrativo Municipal — Municipal Tax Tribunal) and subsequently before the administrative court.

Local authority assessment (less common in municipalities without a self-assessment ordinance): the route is the undue payment refund claim under Art. 221 of the General Tax Act, or an administrative appeal (recurso de reposición) before the local authority, followed by the TEAM and the administrative court.

The essential documentation is: deed of acquisition with the price or reference value; deed of transfer; cadastral certificate of the property at the date of transfer; proof of tax payment; and comparative calculation of the methods.

Non-chargeability: transfers with no increase in value and transfers at a loss

Article 104.5 of RDL 2/2004, in its current wording following RDL 26/2021, expressly establishes that the IIVTNU does not arise where the taxpayer evidences the absence of any increase in land value by providing the acquisition and transfer deeds. If the transfer value equals or is below the acquisition value in the land-attributable proportion, there is no taxable event.

In practice, non-chargeability is evidenced by comparing the land values calculated under the actual gain method: if the difference is zero or negative, the tax does not arise. Some local authorities apply the cadastral value of the land rather than the sale and purchase price for the calculation, which may produce different results. In such cases it may be necessary to challenge the assessment raised by the local authority.

Non-chargeability also applies in inheritances and gifts where the value declared for inheritance and gift tax purposes in the land-attributable portion equals or is below the acquisition value by the deceased or donor. Co-ordination with the Inheritance and Gift Tax (Impuesto sobre Sucesiones y Donaciones — ISD) assessment is important to avoid inconsistencies between declarations that the tax authority might use against the taxpayer.

Sources and Regulatory Framework

Track record

The experience behind our work

We sold an apartment building in 2022 and paid more than €140,000 in municipal capital gains tax without calculating the actual gain method. BMC ran the numbers, demonstrated that the actual gain method reduced the liability by 60%, and filed the claim with the local authority. We recovered more than €84,000.

Inmobiliaria Fuentes Reina, SL
Managing Partner

Experienced team with local insight and international reach

What you get

Concrete deliverables

Comparative method calculation for current transfers

We calculate the tax under both methods (objective and actual gain) before filing the self-assessment, choosing the most favourable one based on the cadastral and acquisition/transfer value documentation.

Self-assessment or declaration before the local authority

We prepare and file the IIVTNU self-assessment or declaration using the most favourable method with the supporting documentation, within the prescribed deadline for onerous or mortis causa transfers.

Recovery of undue payments on overpaid tax

We file the self-assessment amendment request or the undue payment recovery claim with the local authority to recover overpayments on transfers within the four-year limitation period.

Non-chargeability for transfers with no increase in value

We evidence to the local authority that the transfer produced no real increase in land value (sale price below purchase price), applying for non-chargeability or recovery if a self-assessment was already filed.

Administrative litigation

We defend claims before the TEAM, the administrative court, and the Superior Court of Justice where the local authority refuses to grant a refund.

Guides

Reference guides

Post-Brexit: your British company operating in Spain with the right structure

post-Brexit advisory for UK companies operating in Spain: entity structuring, customs and VAT, work permits for British nationals, UK-Spain tax treaty optimisation and data protection compliance.

View guide

AML compliance in Spain 2026: what your business must know about anti-money laundering regulation

Spain AML compliance 2026: SEPBLAC obligations, risk-based approach, PBC manual, UBO verification, and suspicious transaction reporting. Expert service from BMC.

View guide

Comprehensive legal services for businesses

Comprehensive legal advisory for businesses: commercial, employment, contracts, regulatory compliance, and dispute resolution. A dedicated legal team to protect your company.

View guide

Buy property in Spain with confidence — and without the horror stories

Buying property in Spain 2026: NIE, conveyancing, ITP tax, mortgage advice, and due diligence for foreign buyers. Step-by-step guide from BMC property lawyers.

View guide

The collective agreement that governs your workforce: understand it and negotiate from strength

Spain collective bargaining guide: union negotiation obligations, ERE/ERTE triggers, works council rights, agreement registration, and how BMC protects employer interests.

View guide

Your commercial lease agreement: get the clauses right before you sign

Spain commercial lease guide: LAU legal framework, rent review clauses, break options, guarantee structures, and key negotiation points for tenants and landlords.

View guide

Service Lead

Carlos Martinez Valero

Partner - Legal Division

Member of the Madrid Bar Association (ICAM) Master in Law Practice, ICADE Law Degree, Autonomous University of Madrid
FAQ

Frequently asked questions

STC 182/2021 of the Constitutional Court (TC), of 26 October 2021, declared unconstitutional and void the taxable base calculation method for the IIVTNU regulated in Articles 107.1 and 107.2 of Royal Legislative Decree 2/2004. The TC considered the calculation method unconstitutional as a general matter because in certain cases it produced tax liabilities exceeding the real gain obtained by the taxpayer, which violated the ability-to-pay principle (Art. 31.1 of the Spanish Constitution). This decision annulled the previous legislation with general effect, requiring the legislature to approve Royal Decree-Law 26/2021 within weeks, introducing the actual gain calculation method as an alternative to the objective method.
RDL 26/2021 allows the taxpayer to choose between two methods. The objective method calculates the taxable base by multiplying the cadastral value of the land at the date of transfer by the maximum coefficients approved annually by the Ministry of Finance based on the number of years elapsed since acquisition. The actual gain method takes the difference between the transfer value and the acquisition value, but only in the proportion attributable to the land (excluding the construction). The taxpayer may choose whichever method is more favourable. For properties acquired many years ago at prices well below current values, the objective method may be more favourable. For properties acquired at market price in recent years with modest appreciation, the actual gain method is generally more advantageous.
If the transfer price is below the acquisition price (a capital loss), the IIVTNU does not arise: there is no taxable event because there is no increase in land value. The taxpayer can evidence this to the local authority by providing the acquisition and transfer deeds, and a self-assessment should not be filed — or if one was filed, it should be amended and the undue payment recovered. The Supreme Court confirmed this right through its case law (decisions of 2019) even before STC 182/2021.
The limitation period for claiming the refund of an undue tax payment is four years from the date of payment. This means that in 2026, municipal capital gains tax paid since January 2022 can still be claimed. For self-assessments filed by the taxpayer (the most common system), the period runs from the date of payment. For assessments raised by the local authority, the period runs from the date the assessment was notified and became final. It is essential to act before the limitation period expires because it does not stop running automatically.
STC 182/2021 expressly established that its effects are not retroactive for consolidated legal situations (final assessments, unchallenged self-assessments, proceedings concluded with a final judgment). This means only those who, on the date of its publication (26 October 2021), had a challenge pending or could still commence one (because the appeal or limitation period had not expired) can benefit from the decision. Final and unchallenged assessments made before 26 October 2021 cannot be reopened, even though the tax was unconstitutional.
RDL 26/2021 establishes that, to determine the actual gain, the acquisition and transfer values must relate solely to the land (excluding the construction). To determine what proportion of the total price relates to the land, the legislation allows the ratio of the cadastral value of the land to the total cadastral value (land plus construction) at the date of transfer to be used. This apportionment rule may be unfavourable if the cadastral land value is updated and high relative to the total: in that case, the taxable base under the actual gain method may be higher than expected. The calculation requires analysis of the property's cadastral certificates.
In sale transactions, the liable taxpayer is the transferor (the seller), who obtains the increase in land value. However, it is common practice for the buyer to contractually assume payment of the tax as part of the negotiation. This contractual assumption does not modify the tax obligation vis-à-vis the local authority (the seller remains the taxpayer for all purposes), but it may give rise to claims between the parties if the tax proved higher than expected. In transfers on death (inheritances), the liable taxpayer is the heir who acquires the property.
Yes. Transfers on death — acquisitions by inheritance or legacy — are also subject to the IIVTNU, with the heir or legatee as the liable taxpayer. The deadline to file the self-assessment or declaration is six months from the death, extendable to one year on application to the local authority. If the inherited property was transferred at a loss or if the tax liability calculated exceeds the real increase in land value, exactly the same non-chargeability or recovery arguments apply as in inter vivos transfers.
First step

Start with a free diagnostic

Our team of specialists, with deep knowledge of the Spanish and European market, will guide you from day one.

Plusvalía Recovery After STC 182/2021 (IIVTNU)

Legal

First step

Start with a free diagnostic

Our team of specialists, with deep knowledge of the Spanish and European market, will guide you from day one.

25+
years experience
5
offices in Spain
500+
clients served

Request your diagnostic

We respond within 4 business hours

Or call us directly: +34 910 917 811

First step

Start with an initial diagnosis

Our team of specialists, with deep knowledge of the Spanish and European market, will guide you from day one. No cost, no obligation.

25+

years of experience

15

offices in Spain

500+

clients served

Request your diagnosis

We respond within 4 business hours

Or call us directly: +34 910 917 811

Call Contact