Skip to content

Step-by-step guide to selling your home in Spain

Which documents you need, how to set a price, what happens with your mortgage, how much you pay in plusvalía municipal (local capital gains tax) and IRPF (income tax), and how much you'll actually take home. With a checklist and calculator.

Reviewed on against official sources (listed at the end). General information: it doesn't replace professional advice.

In 30 seconds

  • Before advertising it you need the energy performance certificate: its rating label must appear in every listing.
  • Gather the title deed, the nota simple (Land Registry extract), the latest IBI (local property tax) bill and the certificate of debts with the homeowners' association.
  • You can sell with a mortgage still outstanding: it's paid off with the sale money on the same day you sign.
  • If you sell without a gain you don't pay plusvalía municipal (local capital gains tax); if you make a gain, it's paid to the town hall after the sale.
  • The gain is taxed in your income tax return for the following year at 19% or more; if you're over 65 and it's your main home, it's exempt.

Tick off the tasks as you do them: they're saved in this browser so you can carry on another day.

Set a price based on data

Compare with similar homes in your area by price per square metre, condition, floor and extras. A high price drags out the sale; a well-judged one attracts viewings from day one.

A local estate agency can value it for free and tell you what similar homes have actually sold for, not just been advertised at.

Your checklist for this step
Value my home

Gather the paperwork

You need the title deed, a recent nota simple (Land Registry extract), the energy performance certificate, the latest IBI (local property tax) bill and the certificate of debts with the homeowners' association. If you have a mortgage, ask the bank for a certificate of the outstanding balance.

The energy certificate is compulsory to sell or let, and its label must appear in every offer and advert (MITECO, the Ministry for the Ecological Transition; Real Decreto 390/2021, a Royal Decree).

In the deed of sale you must state that you're up to date with the homeowners' association or declare what you owe, with a certificate from its secretary (article 9.1.e of the Ley de Propiedad Horizontal, the Horizontal Property Act).

The cédula de habitabilidad (habitability certificate) is only required in some autonomous communities: ask in yours.

Your checklist for this step
Energy certificate assessors

Get it ready, list it and show it

Tidy up, air the rooms and take photos of every room in daylight. In the listing, include the floor area, the bedrooms, the energy label and what makes it different. Group viewings together to save time.

If any photo is a render or a proposed renovation, say so in the listing.

Your checklist for this step
Sell with an estate agency

Close the deal with a contrato de arras (deposit contract)

Sign a contrato de arras (deposit contract) together setting out the price, the deadline for going to the notary, what's included (furniture, garage, storage room) and who pays each cost. With arras penitenciales (article 1454 of the Código Civil, the Spanish Civil Code), if you pull out you pay back double what you received.

Your checklist for this step

If you have a mortgage, arrange to pay it off

You can sell with a mortgage: on the day of signing, what you owe is paid to the bank from the sale money and the mortgage is cancelled. Ask the bank for the exact amount on that date and whether it charges a fee for early repayment.

As well as paying off the debt, the mortgage has to be cancelled at the Registro (Land Registry). Ask the notary's office who handles it.

Your checklist for this step

Sign at the notary's office and hand over the keys

You sign the deed, receive the rest of the price and hand over the keys. Bring your DNI or NIE (Spanish ID card or foreigner's identity number), the paperwork and the latest bills. Read the draft beforehand: price, charges and how costs are split.

If you're a non-resident, the buyer withholds 3% of the price and pays it to Hacienda (the Spanish tax authorities) on account of your tax.

Your checklist for this step

Afterwards: plusvalía municipal (local capital gains tax) and IRPF (income tax)

The plusvalía municipal (local capital gains tax) is paid to the town hall after the sale, only if the land has gained value: if you sell without a gain, you don't pay it. The gain (sale price minus what it cost you, including expenses) goes into your income tax return for the following year, in the savings tax base, at 19% to 30% depending on the amount.

For the plusvalía, you can ask for it to be calculated using the actual method (the real gain in land value) if that comes out lower than the coefficient method (Real Decreto-ley 26/2021, a Royal Decree-law).

The gain from selling your main home is exempt if you're over 65, and also if you reinvest the money in another main home within the time limit and conditions set by law.

Your checklist for this step

Documents for your situation

You'll always need:

  • DNI or NIE (Spanish ID card or foreigner's identity number)
  • Title deed of the home
  • Recent nota simple (Land Registry extract)
  • Energy performance certificate
  • Latest IBI (local property tax) bill
  • Certificate of debts with the homeowners' association
Tick what applies to you and we'll add what's missing

How much do you keep when you sell?

An estimate using the 2025 IRPF savings income scale. If you have other gains or savings income this year, the rate may be higher.

Your town hall works it out; 0 if you sell without a gain.
Energy certificate, cancelling the mortgage…
You receive at signing·
Taxable gain (IRPF)·
Estimated IRPF·
What you keep·

A rough estimate, not a tax assessment: the gain is adjusted for depreciation if you let the property, and by other rules. For your own case, ask a tax adviser.

Frequently asked questions

What documents do I need to sell my flat?

The title deed, a nota simple (Land Registry extract), the energy performance certificate, the latest IBI (local property tax) bill, the certificate of debts with the homeowners' association and your DNI or NIE. If you have a mortgage, the bank's certificate of the outstanding balance.

Do I have to pay plusvalía municipal (local capital gains tax) if I sell at a loss?

No. Since Real Decreto-ley 26/2021 (a Royal Decree-law), if the land hasn't increased in value the sale isn't subject to the tax. You must prove it with the purchase and sale deeds.

How much do I pay Hacienda (the Spanish tax authorities) on the gain from selling my home?

The gain goes into the IRPF (income tax) savings base: in 2025, 19% up to €6,000, 21% up to €50,000, 23% up to €200,000, 27% up to €300,000 and 30% above that (state and regional portions combined). It may be exempt on grounds of age or reinvestment.

Do I pay IRPF (income tax) if I sell my house when I'm over 65?

No, if it's your main home (or was within the two years before the sale). Nor if you're in a situation of dependencia severa or gran dependencia (severe or major dependency).

Can I sell my flat if I still have a mortgage?

Yes. On the day of signing, what's left is paid to the bank from the sale money and the mortgage is cancelled. Ask beforehand for the exact amount and whether there's a fee for early repayment.

Is an energy certificate compulsory to advertise a flat?

Yes. It's required to sell or let, and its label must appear in every offer, promotion and advert for the home.

Sources

Checked on 29/10/2026. Rules and rates change: check them before you sign.

  1. Agencia Tributaria (Spanish Tax Agency): tax rates on the savings tax base, 2025 income tax return (Renta 2025)
  2. Agencia Tributaria (Spanish Tax Agency): sale of the main home by people over 65
  3. Agencia Tributaria (Spanish Tax Agency): exemption for reinvestment in a main home
  4. Real Decreto-ley 26/2021 (plusvalía municipal, local capital gains tax)
  5. MITECO (Ministry for the Ecological Transition): energy performance certification
  6. Real Decreto 390/2021 (energy certificate)
  7. Ley de Propiedad Horizontal (Horizontal Property Act), article 9
  8. Código Civil (Spanish Civil Code), article 1454 (arras, deposits)

Further reading

Shall we start?