Back to list

Costs when selling a house: how much do you pay in 2026?

Selling a house in Spain involves much more than finding a buyer and agreeing on a price. Before signing, the seller has to cover a series of costs and taxes that usually account for between 5% and 15% of the sale price, depending on the type of property, its location and the owner's personal circumstances.
Costs when selling a house: how much do you pay in 2026?

Selling a house in Spain involves much more than finding a buyer and agreeing on a price. Before signing, the seller has to cover a series of costs and taxes that usually account for between 5% and 15% of the sale price, depending on the type of property, its location and the owner's personal circumstances.

Knowing in advance how much you pay to sell a house makes it possible to plan the transaction, avoid surprises at the notary's office and negotiate from a stronger position. Below we break down all the costs of selling a house, with guide prices and a summary table.

Who pays what when selling a house?

The usual split of costs between the parties in Spain is as follows.

Costs borne by the seller:

  • Personal income tax (IRPF) on the capital gain
  • Municipal capital gains tax (plusvalía)
  • Energy performance certificate
  • Certificate of habitability (in Catalonia)
  • Removal of the mortgage charge from the Land Registry, where applicable
  • Estate agency fees

Costs borne by the buyer:

  • Transfer tax (ITP) or VAT on new-build properties
  • Notary fees for the deed of sale
  • Registration at the Land Registry
  • Stamp duty (AJD) on new builds and administrative agency fees

This split is not set in stone: the parties may agree in the contract who takes on each cost, except for the taxes that the law expressly assigns to one of them.

Taxes when selling a house

Taxes are by far the largest of the costs involved in selling a house. You can find more detail in our guide to the taxes when selling a house.

Income tax on the capital gain

When the sale price exceeds the purchase price plus deductible expenses, that difference is taxed under IRPF as a capital gain, at the following rates:

Gain bracket Tax rate
Up to €6,000 19%
€6,001 to €50,000 21%
€50,001 to €200,000 23%
Over €200,000 26%

There are three situations that reduce or remove this tax liability:

  • Sellers over 65 selling their main residence: fully exempt from tax on the gain.
  • Reinvestment in a new main residence within two years: exemption on the reinvested portion.
  • Sale at a loss: no tax is due and the loss can be offset against gains over the following four tax years.

Municipal capital gains tax

The municipal capital gains tax (IIVTNU) is levied on the increase in the value of the land between purchase and sale. Following Royal Decree-Law 26/2021, taxpayers can choose whichever calculation method is more favourable: the objective method, which applies coefficients to the cadastral value of the land, or the real method, based on the actual increase evidenced by the title deeds. If there has been no real increase in value, no payment is due, provided this can be documented. The amount varies considerably depending on the municipality and the number of years of ownership.

Compulsory documents and their cost

  • Energy performance certificate: required in order to advertise the property and sign the deed of sale (Royal Decree 235/2013). Between €80 and €300 depending on the floor area and the technician.
  • Certificate of habitability: compulsory in Catalonia in order to transfer a home. Between €80 and €150 for a first issue or renewal.
  • Land Registry extract (nota simple): shows ownership and any charges on the property. Around €9.
  • IBI and community fee receipts: no cost as such, but the seller must prove payments are up to date, including any outstanding special levies.

Mortgage cancellation

If the property still has a mortgage on it, cancellation takes place in two stages. Financial cancellation means settling the outstanding debt with the bank, usually at the moment of signing. Some lenders charge an early repayment fee, capped by law: 0.25% of the capital during the first three years, 0.15% between the third and fifth year, and no fee from the fifth year onwards on variable-rate mortgages (Law 5/2019).

Registry cancellation requires a notarial deed in order to lift the charge at the Land Registry:

  • Notary fees: between €400 and €700.
  • Registry fees: between €100 and €250.
  • Administrative agency (gestoría), if used: between €150 and €300.

In total, cancelling a mortgage at the Land Registry usually costs between €600 and €1,200.

Estate agency fees

In Spain, estate agency fees are not regulated by law and are freely agreed between the parties. The usual range is between 3% and 5% of the sale price plus VAT, although some agencies charge a flat fee and there are online models with lower commissions and a lower level of service.

On a sale of €500,000 with a 4% commission, the fees would come to €20,000 plus €4,200 in VAT, that is, €24,200. This commission is deductible from the transfer value, which reduces the capital gain subject to income tax.

Other costs of selling a flat or house

  • Outstanding community levies: those approved before the sale are usually paid by the seller, although this is negotiable.
  • IBI for the current year: it is payable by whoever owns the property on 1 January, but it is common to split it pro rata between the parties.
  • Removals or clearing the property: applicable to furnished homes.
  • Repairs before the sale: minor improvements to make the property easier to sell or to support the asking price.
  • Marketing preparation: home staging and professional photography.
  • Administrative agency: if engaged to coordinate the paperwork.

It is worth seeing these as an investment rather than merely an expense: good preparation shortens the time it takes to sell.

Costs of selling an inherited house

Selling a property received through inheritance brings additional costs. Before selling, the heirs must have settled inheritance tax, the amount of which depends on the autonomous region, the degree of kinship and the value of the estate; in Catalonia there are allowances for spouses and children. Municipal capital gains tax must be settled within six months of the death, extendable to one year.

For income tax purposes, the acquisition value used is the one declared in the deed of acceptance of inheritance, not the price the deceased originally paid: if it was set at market value, the capital gain may be low or even nil. Where there are several heirs, the costs of division and allocation are added. You will find the full process in our guide on how to sell an inherited house.

How much you pay to sell a house: summary table

Item Paid by Guide cost
Income tax (capital gain) Seller 19% – 26% of the gain
Municipal capital gains tax Seller Varies by municipality and years of ownership
Energy performance certificate Seller €80 – €300
Certificate of habitability (Catalonia) Seller €80 – €150
Mortgage cancellation at the Land Registry Seller €600 – €1,200
Estate agency commission Seller 3% – 5% of the price + VAT
Early repayment fee Seller 0% – 0.25% of the capital
Copy of the deed of sale Seller €30 – €100
Administrative agency (optional) Seller €150 – €500
Pro rata IBI for the year Negotiable Variable

Specific considerations when selling on the Costa Brava

A large proportion of Costa Brava owners are foreign nationals or non-tax-residents in Spain. In those cases, the buyer must withhold 3% of the sale price as a payment on account of non-resident income tax, and the seller then files form 210 within four months.

On high-value properties, such as those typically found in Begur, Llafranc, Aiguablava, Sa Tuna and Tamariu, the income tax and municipal capital gains tax amounts are substantial, so planning ahead (reinvestment in a main residence or the age-based exemption) can deliver significant savings. Given the range of seller profiles and property types (masias, villas, apartments and plots), working with an estate agency that specialises in the Costa Brava makes it possible to optimise costs and anticipate any tax or registry complications.

FAQ

What are the costs when selling a house in Spain?

The main ones are personal income tax (IRPF) on the capital gain, municipal capital gains tax, the energy efficiency certificate, the occupancy certificate in Catalonia, mortgage cancellation costs if applicable, and real estate agency fees. Together, they usually account for between 5% and 15% of the sale price.

What does the seller pay and what does the buyer pay?

The seller is responsible for the taxes arising from the transfer, the mandatory certificates, and mortgage cancellation costs. The buyer pays the ITP or VAT, most notary fees, registration fees, and administrative costs. Except for taxes legally assigned to one party, the allocation of costs can be modified by agreement between both parties.

How much municipal capital gains tax is paid when selling a house?

It depends on the cadastral value of the land, the number of years of ownership, and the municipality. Since 2021, sellers can choose between the objective method and the real method, and if there has been no actual increase in value, no tax is payable.

How much does a real estate agency charge to sell a house?

Between 3% and 5% of the sale price plus VAT, depending on the agency and the type of service provided. This commission is deductible from the transfer value and reduces the personal income tax (IRPF) payable.

What costs are involved when selling an inherited house?

In addition to the costs of a standard sale, you must add inheritance tax if it has not yet been settled, the municipal capital gains tax related to the inheritance, partition costs if there are multiple heirs, and personal income tax (IRPF) calculated based on the value declared in the inheritance deed.

Is the energy efficiency certificate mandatory?

Yes. It is mandatory for advertising and completing the sale of any property in Spain under Royal Decree 235/2013, and its cost ranges from €80 to €300 depending on the size of the property.