When you sell, inherit or receive a home as a gift in Spain, the town council charges a tax that many people only think about at the last minute: the plusvalía municipal, or municipal capital gains tax. Knowing how to calculate it helps you plan for the cost and choose the method that works out better for you.

We explain what it is, who pays it, how it is calculated with each of the two methods and when you do not have to pay it, with a worked example.

What the plusvalía municipal or IIVTNU is

Plusvalía municipal is the popular name for the Tax on the Increase in Value of Urban Land (IIVTNU). It taxes the increase in value of the land on which an urban property stands, from when you acquired it until you transfer it. It is managed by the town council where the property is located.

Transactions subject to municipal capital gains tax

  • Selling a home, commercial premises or urban plot

  • Inheriting an urban property

  • Receiving an urban property as a gift

  • Creating or transferring rights over the property, such as a usufruct

Current rules for the tax after the 2021 reform

In 2021 the Constitutional Court struck down the calculation method used until then, because it forced people to pay even when there had been no gain. Royal Decree Law 26/2021 changed the tax and created the two calculation methods used today.

The difference between the plusvalía municipal and capital gains in income tax

They are two different taxes that can apply to the same sale. The plusvalía municipal is charged by the town council and only considers the value of the land. Capital gains are declared in your income tax return (IRPF) and are calculated on the total profit from the transaction.

Who pays the plusvalía municipal and the deadline

Who pays and the deadline depend on the type of transaction:

Transaction

Who pays

Deadline to file

Sale

The seller

30 working days

Gift

The person receiving the property

30 working days

Inheritance

The heirs

6 months, extendable to one year

Plusvalía deadlines for inheritances

In an inheritance, the 6-month period starts from the date of death. If you need more time, you can request the extension before that period ends. Filing late means surcharges.

How to calculate the plusvalía municipal with the two methods

Since the 2021 reform there are two ways to calculate the tax base, and you can ask for the lower one to be applied. The rate set by each town council is then applied to that base, and it cannot exceed 30 %.

Method

How the base is calculated

Usually better when

Objective

Cadastral value of the land multiplied by a coefficient based on the years of ownership

The real gain has been high

Real

Gain from the transaction multiplied by the percentage the land represents

The real gain has been small

Objective method based on the cadastral value of the land

This is the method most town councils apply by default.

Formula for calculating the plusvalía with the objective method

Tax base = cadastral value of the land × municipal coefficient. Then, tax due = tax base × the town council's tax rate.

Municipal coefficients based on years of ownership

Each town council approves its coefficients in its tax bylaw. They cannot exceed the legal maximums, which are updated every year. You will find them on your town council's website.

Real method based on the gain from the transaction

This method starts from what you have actually gained from the transaction.

Formula for calculating the plusvalía with the real method

First the gain is calculated, which is the sale price minus the purchase price as shown in the title deeds. It is then multiplied by the percentage that the cadastral value of the land represents within the total cadastral value of the property.

When it is worth asking for the real method

  • When you have sold for little more than you paid.

  • When the cadastral value of the land is high compared with the price of the transaction.

  • When you have owned the property for only a few years and the gain is small.

You will need to request it explicitly and provide the purchase and sale deeds.

Documents you need to calculate the plusvalía

  • The purchase and sale deeds, or the inheritance or gift deed

  • The latest IBI (property tax) bill, which shows the cadastral value of the land

  • The town council's tax bylaw, with its coefficients and tax rate

  • The exact date on which you acquired the property

Worked example of calculating the plusvalía municipal

Imagine you sell a flat you bought 8 years ago. These are the figures for the example:

  • Purchase price: 150,000 euros

  • Sale price: 190,000 euros

  • Total cadastral value: 100,000 euros, of which 40,000 corresponds to the land

  • Municipal coefficient for 8 years, for illustration only: 0.10

  • Town council tax rate: 25 %

Item

Objective method

Real method

Calculating the base

40,000 × 0.10

40,000 gain × 40 % land

Tax base

4,000 euros

16,000 euros

Tax due at a 25 % rate

1,000 euros

4,000 euros

Which method is cheaper in this example

In this case the objective method is better, with tax due of 1,000 euros. If the flat had sold for 155,000 euros, the gain would be 5,000 euros and the real method would give a base of 2,000 euros, lower than the objective method.

When you do not pay the plusvalía municipal

In some situations the tax is not paid or is greatly reduced:

  • When you sell for the same price or less than you paid and can prove it with the title deeds.

  • In some transactions the law excludes from the tax, such as certain transfers between spouses in a separation or divorce.

  • When the town council applies tax relief, for example in some inheritances of the main home.

Municipal tax relief when inheriting the main home

The law allows town councils to reduce the tax due by up to 95 % when the main home is inherited between close relatives. Each municipality decides whether to apply it and on what terms, so check your town council's tax bylaw.

Property tax training for real estate professionals

If you work in real estate, your clients will ask you about this tax with every sale or inheritance.

Courses on the plusvalía municipal and property taxation

Our course on the plusvalía municipal: how to calculate the IIVTNU teaches you to apply both methods with practical cases. It is complemented by the real estate legal and tax management course adapted to the Housing Act.

Training to work as a real estate agent

If you are thinking about working as an agent, read how to become a real estate agent in Catalonia or see the accredited real estate agent course (AICAT). You can see everything we offer in our Real Estate courses area.