When you sell your home in Spain, you pay two taxes: tax on your gain and the town’s plusvalía municipal. On top of that comes your realtor. Whether you live in Spain or in another country makes a big difference.
Who pays what?
What counts is where you live and pay tax, not your passport. A Brit living in Spain pays as a resident. A Spaniard living in the Netherlands pays as a non-resident.
| Resident in Spain | Lives in another EU country | Lives outside the EU | |
|---|---|---|---|
| Tax on your gain | 19% to 30% | 19% | 19% |
| 3% kept back from your sale price | no | yes | yes |
| Exempt if you reinvest in a new main home | yes | yes, if the Spanish house was your main home | no |
| Exempt from age 65 | yes | no | no |
| Plusvalía | yes | yes, kept back from your sale price | yes, kept back from your sale price |
By “another EU country” we also mean Norway, Iceland and Liechtenstein. Since Brexit, the United Kingdom is outside the EU.
1. Tax on your gain
Your gain isn’t simply the sale price minus what you paid. This is how it works:
- Sale value: the price, minus what you pay as the seller: the realtor (including 21% IVA), the plusvalía and your share of the notary.
- Purchase value: what you paid, plus the taxes and costs when you bought (transfer tax, notary, land registry) and improvements with invoices, like a new kitchen or bathroom. Ordinary maintenance doesn’t count.
- Gain = sale value minus purchase value.
Did you rent the house out? Then depreciation for those years comes off your purchase value: at least 3% a year of the building, not the land. Even if you never claimed it. That makes your gain higher.
Do you live in Spain (tax resident)? Then your gain falls under the savings rates of income tax (IRPF):
| Gain | Rate |
|---|---|
| up to €6,000 | 19% |
| €6,000 to €50,000 | 21% |
| €50,000 to €200,000 | 23% |
| €200,000 to €300,000 | 27% |
| over €300,000 | 30% |
Do you own it together? Then each of you pays on your own half, and each starts again at 19%.
Do you live in another country? Then you pay 19% on your gain. At the notary, the buyer keeps back 3% of the price and pays it to the Spanish tax office in your name. It’s your money: an advance on your own tax. Within about four months of the sale you file your own return (modelo 210). You get back what was held back too much, or you pay the rest.
2. Inflation? It doesn’t count
You may have read that you can deduct inflation. That used to be true. Since 1 January 2015, Spain no longer corrects the gain on a home for inflation. In 2023 the Constitutional Court said that’s allowed. Only the town’s plusvalía still works with the number of years you owned the house.
3. When do you pay (almost) nothing?
- You sell your main home and buy a new one. Did you live there for at least three years, and do you put the money into a new main home within two years? Then you pay no tax on your gain, or less if you reinvest only part. This also works if you now live in another EU country, as long as the Spanish house was your main home.
- You’re 65 or older and live in Spain. If you sell your main home, your gain is exempt, even without buying anything new. If you no longer live in Spain, this doesn’t apply.
- Did you rent out part of the house? Then the exemption only covers the part you lived in yourself.
How do you show it was your main home? For example with a historical registration certificate from the town hall (certificado histórico de empadronamiento), your Spanish tax returns as a resident, and water and electricity bills in your name.
4. The town’s plusvalía
This is a town tax on the rise in value of the land. There are two ways to work it out, and you pay the lower one:
- Fixed method: the land value from the land registry (it’s on your IBI bill) × a factor for the number of years you owned the house × the town’s rate.
- Real gain: your gain according to the deeds × the land’s share of the cadastral value × the rate.
The factors are the 2024 ones for now: for example 0.18 after five years and 0.19 after six. Two attempts to raise them didn’t make it through the Spanish parliament, the last one on 2 October 2026. In El Campello the rate is 30%: in September 2025 the town decided to charge the maximum.
Made no gain? Then there’s no plusvalía. You file within 30 working days of the sale. If you don’t live in Spain, the buyer keeps the amount back from your sale price and pays it to the town hall in your name.
An example
A couple living in Spain bought a house for €200,000. With the costs it came to €220,000, and they put €10,000 into improvements. Now they sell for €400,000.
| Realtor, 3% plus IVA | €14,520 |
| Plusvalía (land value €40,000 × 0.19 × 30%) | €2,280 |
| Notary and small costs | €500 |
| Sale value | €382,700 |
| Purchase value | €230,000 |
| Gain | €152,700, so €76,350 each |
| Tax on the gain | €16,440 each, €32,881 together |
If they lived in another country, it would be 19% of €152,700: €29,013.
When does the money go where?
Say the same couple lives in the Netherlands. This is how the money moves:
At the notary, on the same day:
- The buyer pays €400,000.
- €12,000 (3%) goes to the Spanish tax office, as an advance on their tax.
- €2,280 goes to the town hall, for the plusvalía.
- €14,520 goes to the realtor.
- They receive €371,200.
Within about four months:
- They file their return (modelo 210) and pay the rest of their tax: €29,013 minus the €12,000 advance is €17,013.
- Plus about €500 for the notary.
- They keep about €353,700.
So set money aside after the notary for that last payment. And you don’t pay tax on the realtor’s fee: it comes off your gain before your tax is worked out.
Live in Spain? Then nothing is held back. You declare your gain in your income tax return the year after (April to June).
What is your home worth?
Your tax starts with your sale price. Not sure yet what that will be? Five short steps, three indicative prices, and no agent calling you.
Check my priceOther costs
- Energy certificate: you need one to be allowed to sell.
- Mortgage not paid off yet? Then you pay the notary and the registry to cancel it.
- IBI: whoever owns the house on 1 January pays the whole year. The deed usually splits it pro rata.
Our tip
Keep every invoice from your renovation. Every €10,000 of improvements with an invoice can easily save you €1,900 to €2,300 in tax.
Sell your home faster and for the best price, in 5 simple steps
- Look at your home through a buyer’s eyes
- Make it light, calm and spacious
- Get photos that bring buyers in
- Tell the story of your home
- Make sure the right buyers see it
Free · step 1 is ready straight away · unsubscribe any time
This is what we found, not tax advice. Your own situation may be different: always have a gestor or tax adviser check the numbers before you sell.
Sources: Agencia Tributaria: gains on sales by non-residents, Agencia Tributaria: the buyer’s 3% withholding, Agencia Tributaria: modelo 210, El Campello town hall: taxes (9 September 2025), idealista: savings rates 2026, idealista: plusvalía rise rejected again (2 October 2026), plusvalía factors, Constitutional Court on inflation, realtor and plusvalía deductible (Iberley) and main home exemptions (Ponter), checked on 5 October 2026.
By Oksana · El Campello



