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.
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
How we work
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.
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).
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.
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
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.
Experienced team with local insight and international reach
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.
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.
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 guideAML 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 guideComprehensive 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 guideBuy 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 guideThe 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 guideYour 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 guideAnalysis and perspectives
Frequently asked questions
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.
Request your diagnostic
You may also be interested in
Tax Planning
Legal and efficient tax strategies to reduce your company's tax burden and protect your personal wealth.
Saber másLitigation & Arbitration
Representation and strategy in civil and commercial litigation and national and international arbitration for businesses.
Saber másProperty Hidden Defects and Construction Defects
Claims for hidden defects (Civil Code Arts. 1484–1490) and construction defects under LOE 38/1999: 1/3/10-year warranty periods, rescission action, decennial insurance, and liability of developers, contractors, and architects.
Saber másReal Estate Law
Comprehensive legal advisory for real estate transactions: acquisitions, due diligence, lease agreements, development, planning permissions, and investment structures.
Saber másReal Estate Lawyer in Madrid
Real estate lawyers in Madrid: legal due diligence, SOCIMIs, golden mile, commercial leases and international investors. Expert property advisory in Madrid.
Saber más