Calculate the Municipal Capital Gains Tax in Barcelona

PUNTO HABITAT · A guide for property owners

How to calculate municipal plusvalía tax in Barcelona

If you are planning to sell, this is one of the costs worth understanding before you accept an offer. We explain which information you need, how to compare the two calculation methods and when to file the tax return.

Barcelona · Reviewed on 20 September 2026

Façade of a residential building in Barcelona’s Eixample district
Your flat has a history. Its dates matter for the calculation too.

01 · Before you start calculating

What is municipal plusvalía tax and who pays it?

Municipal plusvalía is the common name for Spain's Tax on the Increase in Value of Urban Land, or IIVTNU. It taxes the increase in the land's value that arises when a property is transferred.

In a sale, it is normally payable by the seller. For an inheritance or gift, it is payable by the recipient. If the seller is an individual who is not resident in Spain, the buyer acts as the substitute taxpayer.

Source: Spanish Local Finances Act, Article 106.

Two different taxes. Municipal plusvalía tax is handled by the local council. The gain for Spanish personal income tax (IRPF) is calculated under different rules. An income tax exemption does not automatically remove this municipal tax.

02 · Gather the documents

The information you need for the calculation

Have the acquisition deed, the sale deed —or the details of the planned transaction— and the IBI property tax bill ready. For a home comprising land and a building, you will need:

What to look for and where to find it
InformationDocument or source
Acquisition date and transfer dateDeeds and documents establishing the transaction. If you inherited the property, check the date of death.
Acquisition value and transfer valueTransaction documents and, where applicable, values declared for Inheritance and Gift Tax or assessed by the tax authority.
Cadastral value of the landThe IBI bill or cadastral records, showing the value at the time of transfer.
Total cadastral valueThe IBI bill or cadastral records for the same date.
Ownership share and the right being transferredThe deed: the calculation needs to be checked for full ownership, a share, a usufruct or bare ownership.
The reference value does not replace the cadastral value of the land. This calculation requires the cadastral breakdown. The land's share is calculated by dividing its cadastral value by the property's total cadastral value.
€80,000 for the land ÷ €200,000 total cadastral value = 40%Example: the land accounts for 40% of the property's cadastral value.

03 · Compare the two results

The objective method and the actual increase method

The taxable base can be calculated using the objective method. If you can demonstrate that the actual increase is lower, you can request that this lower amount be used. It is worth checking both before filing your self-assessment.

Objective method

Starts with the cadastral value of the land

This is multiplied by the coefficient corresponding to the time between acquisition and transfer.

Cadastral land value × coefficientThe result is the taxable base, not yet the tax payable.

Actual increase

Starts with the difference in values

For a home comprising land and a building, the land's share of the cadastral value is applied to the difference between the transfer and acquisition values.

Difference in values × land's shareYou can request this method if the result is lower than the objective taxable base.

In Barcelona, the tax ordinance sets a 30% rate on the taxable base. This is not 30% of the flat's sale price.

Source: Barcelona tax ordinance, Articles 5 to 7 (PDF) and Article 107 of the Spanish Local Finances Act.

When comparing values for the actual increase method, purchase and sale expenses or taxes are neither added nor deducted. The tax authority may check the declared values.

04 · An illustrative case

A worked example for a flat in Barcelona

Suppose a home was acquired for €350,000 and transferred for €380,000, after 7 full years. Its total cadastral value is €200,000, of which €80,000 relates to the land. The sale transfers 100% of full ownership.

This example uses the coefficient of 0.20 for 7 years shown in the linked municipal ordinance. For a specific transaction, check the rules applicable on the transfer date.

Using the objective method

Cadastral value of the land
€80,000
Coefficient for 7 years
0.20
Base: 80,000 × 0.20
€16,000

€16,000 × 30%

€4,800

Using the actual increase

Difference: 380,000 − 350,000
€30,000
Land's share
40%
Base: 30,000 × 40%
€12,000

€12,000 × 30%

€3,600
The same sale, two results
Objective method€4,800
Actual increase€3,600

In this example, requesting the actual increase method reduces the tax by €1,200. No tax relief or other adjustments are included in this example.

If the difference between the purchase and sale values were much greater, the objective method might be more favourable. The result depends on your figures: neither method is always better.

05 · The objective calculation table

Which coefficient applies in Barcelona?

The coefficient depends on the period over which the increase arose. For a sale, full years are counted; for periods under one year, the corresponding coefficient is apportioned by full months.

For example, 7 years and 8 months falls into the 7-year band. For an ordinary transfer after 8 full months, the coefficient for less than one year is multiplied by 8/12.

View the table in Barcelona's tax ordinance
Sales: table from the ordinance for 2025 and subsequent years, consulted on 20 September 2026
Holding periodCoefficient
Less than 1 year0.05, apportioned by full months
1 year0.15
2 or 3 years0.14
4 years0.16
5 years0.18
6 years0.19
7 years0.20
8 years0.19
9 years0.15
10 years0.12
11 years0.10
12 to 15 years0.09
16 years0.10
17 years0.13
18 years0.17
19 years0.23
20 years or more0.40

These figures come from the linked municipal ordinance. To calculate a transfer on a different date, check the local coefficients and legal limits applicable at that time. The ordinance includes specific treatment for inheritances involving periods of less than one year.

Source: Barcelona tax ordinance, Article 5 (PDF).

Owning the flat for more than 20 years does not remove plusvalía tax. The objective calculation uses the band for 20 years or more.

06 · If there has been no increase in value

Is plusvalía tax payable if you sell at a loss?

If it is established under the tax rules that there has been no increase in value, the transfer is not subject to municipal plusvalía tax.

Simply not paying is not enough. You must declare the transfer and provide the acquisition and transfer documents. The council may check the values.

Nor is it enough to have less money left after deducting renovations, expenses or a mortgage: transaction costs and taxes are not included in this assessment.

Source: Spanish Local Finances Act, Article 104.5.

07 · Filing and payment

When and how to file for plusvalía tax

Sale

30 working days

From the transfer date. Do not wait for a letter before dealing with the filing.

Inheritance

6 months

From the date of death. An extension to one year can be requested within the first six months.

  1. Check the information

    Deeds, dates, cadastral reference, values and ownership share. If you bought different shares on different dates, each acquisition must be reviewed.

  2. Calculate and compare

    Work out the objective taxable base and check the actual increase. Check whether the transfer is outside the scope of the tax or qualifies for an exemption or tax relief.

  3. Submit the relevant filing

    Use the municipal channel appropriate to your case. Keep the self-assessment or declaration submitted, the supporting documents and proof of payment if any tax is due.

Source: Barcelona City Council: filing, channels and deadlines.

08 · If you inherited the flat

Before selling an inherited flat, check any tax relief

The inheritance and the later sale are separate transfers. When preparing the sale, check the acquisition values and dates relating to the inheritance.

Barcelona also provides a 95% reduction in the tax for certain inheritances of the deceased's main residence, subject to requirements concerning family relationship or cohabitation and retention of the inherited property.

If you claimed this relief, selling before the three-year retention period ends may require you to repay the tax reduction plus interest. Check this before setting the signing date.

Source: Barcelona tax ordinance, Article 9 (PDF).

09 · Frequently asked questions

Questions that can change the calculation

What is the difference between cadastral value and reference value?

They are different values. The methods explained here use the cadastral value of the land and its share of the total cadastral value. The reference value is used for other taxes and should not be entered as though it were the cadastral value of the land.

Can I deduct agency fees or renovation costs?

When checking the actual increase for municipal plusvalía tax, acquisition and transfer expenses and taxes are not included. Do not apply deductions or adjustments from Spanish personal income tax (IRPF) to this municipal tax.

Does plusvalía tax stop applying after 20 years?

Tax may still be payable. Twenty years is the maximum period used in the objective calculation, not an exemption for long-term ownership.

Does selling my main residence exempt me from plusvalía tax?

Not on its own. Being over 65 or buying another main residence does not automatically exempt you from this municipal tax either. Check income tax (IRPF) and plusvalía tax separately.

What if there are several owners or I acquired the flat on different dates?

The shares, dates and values of each acquisition and the right transferred by each owner must be taken into account. Applying a single date or 100% of the property to every owner can produce an incorrect calculation.

Does the notary file and pay plusvalía tax for me?

The notary's notification does not, by itself, replace your self-assessment or declaration. Confirm who is handling the filing for your transaction and keep proof that it was submitted.

Keep preparing for your sale

The information you need at every step.

Select a guide to read more.

Compare listings

Compare