
The municipal capital gains tax is one of the most relevant taxes in real estate transactions in Spain. Understanding it correctly can save you legal and financial problems, especially if you are an owner, heir, or donee of a property.
In this article, you will find everything you need to know about it. We will explain what the municipal capital gains tax is, when the obligation to pay it arises, how it is calculated, and even how to claim if it has been incorrectly charged and what happens if it is not paid. Additionally, we will include practical tips and answers to frequently asked questions.

The municipal capital gains tax, officially known as the Tax on the Increase in Value of Urban Land (IIVTNU), is a local tax that levies the increase in value of urban land when its ownership is transferred.
It is crucial to understand that this tax does not apply to the value of the construction (buildings or homes), but only to the urban land. Municipalities are responsible for collecting it, and its regulations may vary slightly between each municipality.
The legal basis for the municipal capital gains tax is found in the Law Regulating Local Treasuries (LRHL). Its purpose is to tax the profit an owner obtains simply due to the passage of time, as it is presumed that urban land increases in value over the years.
Each municipality has the authority to manage this tax, setting the tax rate, which is generally between 29% and 30%, to determine the applicable annual increase percentages, and to establish bonuses or exemptions (for example, for primary residences in some cases).
Properties subject to the municipal capital gains tax are urban land (including plots and developable land), and homes, commercial premises, and garages, provided the land is urban. However, it does not apply to rustic or undeveloped land.
The payment of the municipal capital gains tax is triggered in certain situations, such as the sale of a property, when urban real estate is transferred in exchange for a price. In this case, the tax must be paid by the seller, although in practice it is often negotiated for the buyer to assume it.
It is also triggered in the case of a donation; if land or a home is gifted, the donee, meaning the person who receives the property, is responsible for the payment.
It also applies in an inheritance, where, upon receiving a property by inheritance, the heirs or legatees must settle the tax, and in onerous transfers, such as exchanges or awards in judicial proceedings.
Some municipalities apply exemptions in cases such as transfers to spouses or children for primary residences, donations to non-profit organizations, or inheritances of small estates (in some municipalities).
Who must pay the tax is determined by each situation. In the case of a sale, it is the seller, although it is sometimes agreed that the buyer will pay it. In donations, it is the donee (the person who receives the property). And in inheritances it is ethe heir or legatee.
For sales and donations, there is a payment period of 30 business days from the transfer of ownership. And in the case of sales, the period is 6 months, and it can be extended up to 1 year under certain conditions.
You may also be interested in: termination of co-ownership.
The calculation can vary by municipality, but generally follows two methods. The objective method is based on the cadastral value of the land and the time elapsed since the last transfer. On the other hand, the real method can be applied if the actual increase in value is less than the calculated amount (after a claim).
To calculate the amount of this tax, the cadastral value of the land is taken into account (buildings are not included), as well as the years of possession, with the understanding that the longer the period, the higher the capital gains (up to a maximum of 20 years), and the tax rate, which is set by each city council and is generally between 29% and 30%.
Assuming the cadastral value of the land is 100,000 euros, the possession period is 10 years, and the annual increase percentage is 3.5% (varies by municipality), the calculation would be:
If you believe you have overpaid, you can file a claim. This process, although it can be tedious, often allows for the recovery of significant amounts of money.
The claim can be filed by the taxpayer who paid the tax, affected heirs or donees, or legal representatives (with a notarized power of attorney).
An administrative claim can be filed within 4 years from the payment date. A written claim must be submitted to the relevant city council, including evidence such as an expert valuation, appraisal report, etc. If there is no response or if it is negative, legal action can be pursued by filing an administrative contentious appeal within 2 months.
Proof of tax payment, the deed of sale, donation, or inheritance, an expert appraisal (if the actual method is used to demonstrate no increase in value), and an updated cadastral certificate are required.
A claim can be made if the property was sold for less than it was purchased, resulting in a real loss; if the local council applied an incorrect calculation (error in years of possession, cadastral value, etc.); or if an applicable exemption was not considered.
You might also be interested in: how to make a sales contract.
Failure to pay the municipal capital gains tax can lead to serious consequences such as penalties and surcharges. The surcharge is 5% if paid within 3 months after the deadline, and 10% to 20% if the delay is longer. Late payment interest is calculated according to the legal rate.
Coercive measures may be applied, such as the seizure of bank accounts or assets, inclusion in the defaulters' list (RAI), or even enforcement proceedings by the local council.
Some local councils allow negotiation of payment in installments or offer early payment discounts in certain cases.
A cadastral certificate should be requested to ensure that the land value is correctly registered. If the value is too high, a review can be requested.
Read also: reference value 2025.
If the property was sold for less than it was purchased, the actual method (instead of the objective method) can be applied to reduce the taxable base. For this, an expert appraisal is needed to demonstrate that no gain occurred.
Some local councils offer allowances of 50% to 100% in cases of primary residence, inheritances of small estates, and donations to direct family members.
A tax advisor or lawyer can help optimize tax calculations, dispute errors, and negotiate payment terms with the city council.
The city council has 4 years to claim payment; if you are not notified within that period, payment could be avoided.
It depends on the municipality, but it usually ranges between 29% and 30% of the taxable base.
In the case of non-profit transfers, if there is no gain, it is not paid. And some city councils apply exemptions for primary residences.
No, it only applies to urban land.
At the city council where the property is located
No, it is not deductible from Personal Income Tax.
The real estate investment evolves, and Domoblock keeps pace with it. Through the property tokenization the real estate crowdfunding converts physical properties into digital assets, allowing you to invest from just €200 and earn profits from the first year, with estimated returns within 8 to 12 months.
Whether you're new to investing or looking for new alternatives for your portfolio, Domoblock offers a trustworthy avenue, with returns exceeding 10% and no operational management on your part.
Invest in real estate without owning property. With Domoblock, the digital transformation of the real estate sector is now accessible to everyone.
Municipal capital gains tax is a key tax in real estate transactions. Knowing how it works, how to calculate it, and how to claim if necessary can save you money and legal issues. It's always advisable to consult a professional to optimize your payment.
.png)
Calera, 3
Funded
100%
598.506,15 €
Target
598.506,15 €