Log in

New to the site?

Create an account
EnglishEN EspañolES FrançaisFR NederlandsNL

Expenses and taxes of selling a house

8 min read

Selling a house is not just about setting a price and signing. There are taxes, documents, and expenses that depend on your situation, the municipality, and whether the property was your primary residence, inherited, or jointly owned. Here we explain what to review before the sale.

Papers, municipal bill, and open folder on a lit table

What expenses and taxes appear when selling a house

When you sell a home, it is not just the sale price that matters. There are also transaction costs and taxes that may arise depending on your case, the type of property, and the municipality. The important thing is to distinguish what the seller pays, what may fall to the buyer, and what depends on the town hall, the notary, or the administrative agency.

If you are in Xàtiva or in any town in La Costera, at Sky Hogar we usually start by organizing the transaction: we review with you which documents are missing, what charges may exist, and which items are worth checking before signing. That way you avoid last-minute surprises and know which part of the sale is still pending for each step.

The items worth reviewing before signing

In a standard sale, several cost categories usually appear. There are taxes linked to the gain or the land, documents that must be provided, and management or notary and registry costs if they are needed to close the transaction. Not all of them always apply, but it is worth having them on the table from the start.

  • The possible municipal capital gains tax.
  • Capital gains tax in personal income tax, if applicable.
  • The energy certificate.
  • Debt with the homeowners’ association, if the property is under horizontal property regime.
  • The property documentation and, in some cases, post-signing formalities.

In our experience, when the seller has these points clear from the outset, the sale is more orderly. If you want to see the general context of this process, you can also read how to sell your house quickly or the guide to documents needed to sell a home.

Municipal capital gains tax when selling

Municipal capital gains tax is the Tax on the Increase in Value of Urban Land. In a sale, the person who pays it is the seller, because that is the person transferring the property. If the seller is a non-resident individual, the buyer acts as substitute taxpayer.

The deadline to file it in a sale is thirty business days from the transfer, although the town hall may establish self-assessment. The tax rate is set by each town hall and cannot exceed the legal maximum. For that reason, the final amount depends on the municipality and on how local administration is regulated.

You do not always have to pay it. If it is proven that there was no increase in the land’s value between purchase and sale, it is not paid. It may also be preferable to tax the actual gain if that is more favorable than the base calculated with the coefficients.

If you want to understand this tax in more detail, you can consult municipal capital gains tax when selling. And if the property comes from an inheritance, municipal capital gains tax when inheriting a home will also help you.

Income tax if you have made money from the sale

The capital gain from selling a home is taxed in the savings base of personal income tax. If the property was inherited, the acquisition value for these purposes is the one resulting from the rules of Inheritance and Gift Tax, without exceeding market value.

There are cases in which that gain is exempt. Gains from selling a main residence are exempt if the seller is over 65 years old. The gain may also be excluded from taxation if the amount obtained is reinvested in buying another main residence under the legal conditions; if only part is reinvested, the exemption applies proportionally.

This point should be reviewed carefully, because it does not depend only on age or the sale price. It also matters whether the property was truly your main residence and how the money will be used afterward. If you need support reviewing that part, you can speak with our real estate tax advisory service.

The energy certificate and other documents you will be asked for

When selling an existing home, a copy of the duly registered energy efficiency certificate and the energy label must be attached to the sale contract. It is a document that must be ready before signing, because it is part of the sale documentation.

If the property is under horizontal property regime, the seller must declare in the deed that they are up to date with community fees or indicate any amount owed. In addition, a certificate of debts with the homeowners’ association must be provided. Without that certificate, the deed cannot be executed, unless the buyer expressly waives it for the seller.

In the Valencian Community, if the home is to be occupied again after the sale, the second or subsequent occupancy act is evidenced by a responsible declaration filed with the town hall before occupying the home, accompanied by a technical certificate. The certificate is valid for a maximum of three months from the date it is signed.

If you want to review what the notary usually asks for and what is worth bringing prepared, our guide to the energy certificate for selling may help. And if the house is in a building with neighbors and outstanding fees, it may be useful to read selling due to divorce or separation when the family situation complicates the process, or selling a house with a tenant inside if the property is occupied.

What expenses usually fall to the seller

Common items in a sale and who pays them
Item Who pays it What it depends on
Municipal capital gains tax The seller The municipality, the land, and whether or not there has been an increase in value
Income tax on capital gains The seller, if there is a taxable gain Whether there is a gain, whether the home was the main residence, and whether there is an exemption due to age or reinvestment
Energy certificate The seller The property and the technician issuing it
Certificate of community debts The seller, in practice Whether the building is under horizontal property regime and whether there are outstanding fees
Notary and registry Shared according to what is agreed and the type of procedure The contract, the transaction, and what is registered

If the sale is part of an inheritance, you may also need help organizing the prior documentation. In that case, inheritance management or the guide on how to sell an inherited home step by step may be useful. The order of the procedures changes there, and it is best not to mix deadlines or taxes.

How to prepare the sale so you are not rushing at the end

The most practical thing is to review the property before putting it on the market and check what is missing so you can sign without delays. It is worth checking whether there are charges, whether the energy certificate is valid, whether the homeowners’ association is up to date, and whether the seller’s tax situation is clear. The sooner this is checked, the less room there will be for improvisation.

At Sky Hogar we usually accompany this process step by step: we review the documentation with you, prepare what is needed for the notary, and coordinate whatever depends on third parties. The goal is not to complicate the sale, but to avoid an administrative issue blocking the signing when there is already a buyer.

If the property needs some work beforehand, you can also consider whether it is worth doing a small renovation or just tidying up what is necessary to show the house well. For that, you can look at renovations and Project Management or the guide on how much it costs to renovate a village house.

Frequently asked questions

Who pays the municipal capital gains tax when I sell a house?

The seller pays it, because that is the person transferring the property in a sale. If the seller is a non-resident individual, the buyer acts as substitute taxpayer. The exact amount depends on the town hall, the land, and whether there has been an increase in value.

Do I have to pay income tax even if I sell my main residence?

Not always. If you are over 65 and sell your main residence, the gain may be exempt. It may also be exempt if you reinvest the money in another main residence under the legal conditions. If you reinvest only part of it, the exemption applies proportionally.

What happens if the house has community debts?

Before signing, it must be stated in the deed whether the property is up to date with the homeowners’ association or what debt exists. In addition, a debt certificate issued by the association is required. Without that document, the deed cannot be executed unless the buyer expressly waives it for the seller.

Is an energy certificate required to sell?

Yes. When selling an existing home, a copy of the registered energy certificate and the energy efficiency label must be attached to the contract. It is advisable to request it in advance so it is ready before signing and does not delay the transaction.

If the property comes from an inheritance, does anything change?

Yes, the starting point changes. The acquisition value for calculating the capital gain is the one resulting from Inheritance and Gift Tax. In addition, there may be prior inheritance and municipal capital gains procedures that should be reviewed before putting the house up for sale.

This content is for guidance only, and each sale should be reviewed with the notary or tax adviser to confirm which expenses and taxes apply in your specific case.

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.