Log in

New to the site?

Create an account
EnglishEN EspañolES FrançaisFR NederlandsNL

Municipal capital gains tax when selling: how it is calculated

7 min read

If you are going to sell a home, the municipal capital gains tax may affect you depending on how the transfer is made and who is listed as liable. Here you will see when it must be paid, when it does not, what the city council looks at, and which documents it is advisable to review before signing.

Cadastral map and reviewed receipt next to a window

What municipal capital gains tax is when selling

When you sell a home, you may need to check the municipal capital gains tax, which is the tax linked to the increase in the value of urban land. In a sale, the person responsible is the one transferring the property. If the transaction does not fit a normal sale, it is worth checking carefully who must file it and whether it really has to be paid.

At Sky Hogar, we usually start with the practical basics: checking the deed, reviewing the property tax receipt, and confirming which details the town hall asks for. That way, you avoid going in blind and know whether the matter is straightforward or whether it is worth having a management agency or the notary coordinate it.

If you are preparing to sell, it may also help to read what other costs and taxes come up when selling a house and what documents you will need to sell the home.

Who pays it when you sell a house

In a sale, the taxpayer is the seller. That changes in an inheritance or a gift, where the person obliged to pay is the one acquiring the land under that title. If the seller is a non-resident individual, the buyer acts as the substitute in managing the tax.

This matters because it is not enough to know that there has been a transfer. You need to look at how it happened, who signs, and what role each party has in the transaction. In the sale of a village house in Xàtiva or in La Costera, these details are reviewed just as in any other municipality.

How it is generally calculated

The tax base starts from the cadastral value of the land, not the value of the building. A coefficient set by the town hall is applied to that value according to the full years of ownership, with a maximum of twenty years. If the period is less than one year, the calculation is prorated by full months.

Then each town hall applies its tax rate, with a maximum limit of thirty percent. That is why two similar homes can produce different results if they are in different municipalities or if the council has set different criteria.

If you want to understand how this may fit into the sale, the guide on how to sell your house quickly and the page on selling your home may help.

When it is not paid

You do not have to pay it if it is proven that there has been no increase in the value of the land between purchase and sale. For that comparison, the higher of the value stated in the deed and the verified value is taken, excluding expenses and taxes. In inheritances and gifts, the value declared in the relevant tax is taken as the acquisition value.

You can also choose to be taxed on the actual increase if that increase is lower than the base calculated with the coefficients. In practice, this part usually requires carefully reviewing the paperwork and comparing the values calmly, because it is not always obvious at first glance which route is more convenient.

If you are selling an inherited home, it is worth cross-checking this issue with municipal capital gains tax on inheriting a home and with how to sell an inherited home step by step.

Cases where it does not apply

There are transfers that are not subject to this tax. There is no liability in transfers between spouses, or in favour of children, when they result from a judgment of annulment, separation, or divorce. Nor does it apply to allocations to spouses due to the dissolution of the marital property regime.

These are situations that usually come with a lot of paperwork. If the home is part of a separation or a family inheritance, it is worth sorting out the legal situation first before thinking about the sale. We can help you review the scenario and coordinate the next step with the notary or whoever handles the tax process.

What deadline you have to file it

In a sale or a gift, the declaration is filed within the deadline set for transfers between living persons. The town hall may opt for self-assessment, so it is advisable to check which system the municipality uses before letting time pass and getting an unpleasant surprise with the process.

That is why, when we support a sale, we usually request the municipal information at the beginning. That way we know whether the seller must file it, whether self-assessment needs to be prepared, or whether the town hall handles the assessment in another way.

What paperwork is usually needed

To review the municipal capital gains tax, at a minimum you need the details of the transfer and the information needed to identify the value of the land. They may also ask for deeds, cadastral data, identification of the parties involved and, depending on the case, documentation relating to inheritance, divorce, or dissolution of marriage.

If the home has several heirs, or if part of the family is not clear about how to sign, it is better to sort out the distribution first and then the sale. You may find the guide on selling a house with several heirs and the inheritance management service useful.

At Sky Hogar, we review the documentation with you before moving forward with the transaction, so nothing is missing when it is time to sign or settle what is due.

How we help if you are going to sell in Xàtiva or La Costera

If you are thinking of selling and do not know whether this tax affects you, the first thing is to look at the type of transfer and the property’s history. Then it is cross-checked with the land registry status, the family situation, and the town hall’s criteria. With that, it becomes clear whether payment is due, whether there is no liability, or whether there is grounds to review the calculation.

When the case is straightforward, you can move ahead without complications. If there is an inheritance, divorce, or several owners, it is better to coordinate each step calmly. We can also help you with the sale preparation from Sell and with the valuation from Free valuation.

Frequently asked questions

Does the seller always pay municipal capital gains tax?

In a sale, yes: the taxpayer is the person transferring the home. If it is an inheritance or a gift, the person liable changes. That is why it is best not to assume that the responsible party is always the same; it depends on the type of transfer and on who acquires the property.

Do you pay it even if the house was sold for less than it cost?

Not necessarily. If it is proven that there has been no increase in the value of the land between purchase and sale, it does not have to be paid. The key is to compare the relevant values, without adding expenses or taxes, and to see whether the situation falls under non-liability or actual increase.

Is the tax calculated on the whole house?

No. The tax base starts from the cadastral value of the land, not the building. From there, the coefficient set by the town hall is applied according to the length of ownership. That is why it is important to look at the correct cadastral data and not confuse the land with the entire property.

What happens if the home comes from an inheritance or a divorce?

In an inheritance, the taxpayer is the heir who acquires the land. In certain cases of annulment, separation, or divorce, there is no liability. These are cases that usually require careful review of the documentation, because the family situation and the way the property is allocated completely change the tax treatment.

Who calculates what has to be paid?

It depends on the municipality and how it manages the tax. The town hall may establish self-assessment or process the assessment in another way. If the case needs review, the notary, a management agency, or a tax adviser can help you check whether payment is due and how to submit the documentation.

This content is for guidance only. In each case, it is advisable to review the deed, the family situation, and the specific process with the notary or tax adviser before submitting anything.

Sources

Data reviewed on 04/11/2026.

Portrait of Daniela Arias

Who wrote this guide

Daniela Arias · Real estate agent

View their profile

Need more information?

Every case has its own deadlines, paperwork and numbers. Tell us about yours and we’ll tell you where to start, free and with no obligation.