Taxes when selling property in Spain: what sellers pay and when
A seller in Spain normally meets two taxes: tax on the gain made since buying, and the town hall's plusvalía municipal on the rise in the value of the land. If you live outside Spain, the buyer must also hold back 3% of the price and pay it to the tax office towards your tax on the gain. Which rate and which form apply depends on whether Spain counts you as tax resident in the year of the sale.
This guide sets out the rules as they stand in November 2026. The sums are often large and the reliefs have strict conditions, so take advice from a Spanish tax adviser or lawyer before you sign, not after.
The taxes on a sale at a glance
| Tax | Who it falls on | Rate | When |
|---|---|---|---|
| Tax on the gain for non-residents (IRNR) | Sellers who are not tax resident in Spain | 19% of the gain | Modelo 210, within four months of the sale |
| The 3% retention | Held back by the buyer when the seller is non-resident | 3% of the price, on account of the tax above | The buyer pays it on Modelo 211 within one month |
| Tax on the gain for residents (IRPF) | Sellers who are tax resident in Spain | 19% to 30% on the savings scale (2025 and 2026) | In the annual Renta return, filed the following spring |
| Plusvalía municipal | The seller, paid through the buyer if the seller is a non-resident individual | Set by the town hall, up to 30% of a base it works out | Within 30 working days of the sale |
Resident or non-resident: which rules apply to you
Spain's income tax law treats you as resident if you spend more than 183 days of the calendar year in Spain, or if the main base of your economic interests is there. Residents pay income tax (IRPF) on a sale. Everyone else pays non-resident income tax (IRNR), whatever their nationality.
If you have moved away from Spain, or split your time between two countries, have your residence for the year of the sale checked first: it decides the rate, the form, the reliefs and whether 3% is held back.
Capital gains tax for non-residents
How the gain is worked out
The Agencia Tributaria (the Spanish tax agency) works out the gain as the transfer value minus the acquisition value:
- Transfer value: the sale price, less the costs and taxes of the sale that you paid. Plusvalía is one of them.
- Acquisition value: the price you paid, plus the costs and taxes of buying (but not mortgage interest), plus money spent on improvements. Ordinary repairs and upkeep do not count.
If you inherited the property or were given it, the starting figure is the value used for inheritance and gift tax, capped at market value. The inflation adjustments that used to shrink older gains were abolished for sales from 1 January 2015. You will need the deeds and invoices to support each figure.
The rate: 19% for every non-resident
The gain is taxed at 19%. You may read that UK and other non-EU owners pay 24%, but that is Spain's general non-resident rate for income such as rent. The Agencia Tributaria's rate table lists gains from transferring assets at 19% with no split by country, and article 25 of the non-resident income tax law says the same.
The 3% retention
The buyer must keep back 3% of the agreed price and pay it to the tax office on Modelo 211 within one month of the sale. It is a payment on account, not the final bill. If your tax comes to more, you pay the difference. If it comes to less, or you sold at a loss, you claim the excess back. The whole process is in the 3% retention for non-resident sellers.
When to file
The seller declares the gain on Modelo 210. The window is the three months that follow the first month after the sale, so the form must be in within four months of signing at the notary, whether the result is tax to pay, nothing or a refund. A married couple who are both non-resident can file one form between them. Other co-owners file one each.
Illustration only, with made-up round figures. A non-resident sells for €300,000. The purchase price was €200,000, buying costs and taxes came to €20,000, and selling costs are €10,000. The gain is €290,000 minus €220,000, which is €70,000. Tax at 19% is €13,300. The buyer has already paid in €9,000 (3% of €300,000), so €4,300 is left to pay with Modelo 210.
Capital gains tax for Spanish residents
Residents work out the gain in the same way and declare it in the annual income tax return for the year of the sale. It is taxed as savings income on the scale below, which applies to 2025 and 2026. The top rate has been 30% since 1 January 2025.
| Slice of savings income | 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% |
On the made-up €70,000 gain above, a resident with no other savings income would pay 19% on €6,000, 21% on €44,000 and 23% on €20,000, which is €14,980 in all before any personal allowances.
The return is filed the following spring. For 2025 the window ran from 8 April to 30 June 2026, and the dates for a sale in 2026 will be set nearer the time. No 3% is held back from a resident seller, but only if the seller proves it with a tax residence certificate issued by the Agencia Tributaria, so apply for that before completion.
Reliefs for residents
- Reinvesting in a new main home. The gain on your main home is exempt if everything you receive is put into another main home within two years of the sale. Money used to pay for a new home bought in the two years before also counts. Reinvest part, and a matching part of the gain is exempt. A main home is one you have lived in for at least three years running, with exceptions for events such as a job move or a separation.
- Over 65, main home. A seller aged over 65 pays no tax on the gain from their main home, with no need to reinvest. Since 8 October 2026 the home keeps that status when an over-65 had moved out to a care home, or to live with a relative, because of age or dependency.
- Over 65, any property. A seller over 65 can exempt a gain by using the proceeds, up to €240,000, to buy a lifetime annuity within six months.
- Bought between 12 May and 31 December 2012. Half the gain on urban property bought in that window is exempt, unless a spouse or close relative was on the other side of the purchase or the sale.
- Selling a long-empty home to a public housing body. A temporary relief for sales from 8 October 2026 to 31 December 2027 exempts the gain in full where the price is €200,000 or less, tapering to nothing at €800,000.
Older rules also reduce part of the gain on property bought before 31 December 1994.
Reliefs for non-residents
Non-residents have fewer. Residents of an EU country, Iceland, Norway or Liechtenstein who sell what was their main home in Spain can exempt the gain by reinvesting the proceeds in a new main home, in full or in proportion. The Agencia Tributaria limits that relief to residents of those countries, so it is not open to someone living in the UK.
The 50% exemption for urban property bought between 12 May and 31 December 2012, and the reductions for property bought before 31 December 1994, are open to non-resident individuals too.
Plusvalía municipal
Plusvalía is the town hall's tax on the rise in the value of the urban land under the property while you owned it. On a sale the law makes the seller the taxpayer. Since a reform in November 2021 it is worked out in two ways and the lower result applies, and nothing is due if you can show from the deeds that the land has not gained value. Rates vary from one town hall to the next, under a national ceiling of 30%.
When the seller is a non-resident individual, the buyer is legally responsible for paying the plusvalía in the seller's place, so it is normally deducted from the price at completion. The two methods and a worked illustration are in plusvalía municipal explained.
If you live in the UK: UK tax on the same sale
GOV.UK says UK residents pay Capital Gains Tax when they dispose of overseas property, so the sale of a Spanish home can be taxed in both countries. Its guidance on being taxed twice explains that for land and property you pay tax in both countries and claim relief from the UK, usually as Foreign Tax Credit Relief in your Self Assessment tax return. You may not get back the full amount of foreign tax you paid.
For the 2026 to 2027 tax year the UK rates for individuals are 18% and 24%, with a £3,000 annual exempt amount. A UK accountant who knows the UK-Spain double taxation convention can tell you what, if anything, is left to pay. There is more in selling a property in Spain from the UK.
Owners living in other countries should check their home country's rules in the same way.
The yearly non-resident return is separate
Non-resident owners also file Modelo 210 each year for the property itself, on a notional income if it is not let or on the rent if it is. That return is separate from the one for the sale.
Does the way you sell change the tax?
No. The same taxes apply whether you sell through an estate agent, privately or to a cash buyer, because they are charged on the gain and on the land, not on the route you choose.
Be clear about the trade-off on price, though. Cash buyers, including those on Your House Bought's cash buyer panel, usually offer less than the asking prices on the property portals, and an estate agent will usually achieve more for a seller who has time to wait for the right buyer. A lower price means a smaller gain and less tax, but that is no reason to accept less: the tax is only ever a fraction of the gain.
Whichever route you take, ask your lawyer for a written estimate of what you will receive after the retention, the plusvalía and the costs set out in the cost of selling a property in Spain.
Questions people ask
How much capital gains tax do non-residents pay when selling property in Spain?
Non-residents pay 19% of the gain, and the rate is the same wherever they live, including the UK. The gain is the sale price less the costs of selling, minus the purchase price plus buying costs, taxes and improvements. The buyer holds back 3% of the price and pays it to the tax office on account. The seller then settles the difference on Modelo 210 within four months of the sale.
Do UK residents pay 24% tax when they sell a Spanish property?
No. The 24% figure is Spain's general non-resident rate for income such as rent, and it applies to people living outside the EU, Iceland, Norway and Liechtenstein. Gains on a sale are taxed at 19% for every non-resident, according to the Agencia Tributaria's rate table and article 25 of the non-resident income tax law. A UK resident may also owe UK Capital Gains Tax on the same sale, with relief for the Spanish tax paid.
What tax do Spanish residents pay when they sell a property?
Residents declare the gain in their annual income tax return (Renta), where it is taxed on the savings scale: 19% on the first €6,000, 21% up to €50,000, 23% up to €200,000, 27% up to €300,000 and 30% above that. Those rates apply to 2025 and 2026. The gain on a main home can be exempt if the money is reinvested in another main home within two years, or if the seller is over 65.
Who pays the plusvalía municipal, the buyer or the seller?
By law the seller pays plusvalía on a sale. It is a town hall tax on the rise in the value of the land, charged at a rate the town hall sets, up to a national ceiling of 30% of the taxable base. When the seller is a non-resident individual, the law makes the buyer responsible for paying it to the town hall in the seller's place, so the amount is normally taken out of the price at completion.
When do I have to pay tax after selling a property in Spain?
Non-residents file Modelo 210 in the three months that follow the first month after the sale, so within four months in all. Residents declare the gain in the Renta return filed the following spring: the return for 2025 was filed between 8 April and 30 June 2026. Plusvalía must be declared to the town hall within 30 working days of the sale.
Is there any tax to pay if I sell at a loss?
There is no tax on a gain that does not exist, and a non-resident can claim back the 3% the buyer withheld by filing Modelo 210. Since November 2021 there is also no plusvalía when the land has not risen in value, but the seller has to declare the sale and show the purchase and sale deeds to prove it. Buying and selling costs are left out of that comparison.
Sources
- Capital gain from the transfer of property by non-residents (Agencia Tributaria)
- Tax rates for non-residents without a permanent establishment (Agencia Tributaria)
- Form 210: form and filing deadlines for non-resident income tax (Agencia Tributaria)
- Manual práctico de Renta 2025: ganancias patrimoniales exentas (Agencia Tributaria)
- Manual práctico de Renta 2025: plazo y forma de presentación (Agencia Tributaria)
- Ley 35/2006 del Impuesto sobre la Renta de las Personas Físicas, texto consolidado (BOE)
- Reglamento del IRPF, Real Decreto 439/2007, artículos 41 y 41 bis, texto consolidado (BOE)
- Ley del Impuesto sobre la Renta de no Residentes, Real Decreto Legislativo 5/2004, texto consolidado (BOE)
- Ley Reguladora de las Haciendas Locales, Real Decreto Legislativo 2/2004, artículos 104 a 110 (BOE)
- Tax when you sell property: selling overseas property (GOV.UK)
- Tax on foreign income: if you're taxed twice (GOV.UK)
- Capital Gains Tax rates and allowances (GOV.UK)
Related guides
The 3% retention when a non-resident sells property in Spain
When a non-resident sells property in Spain, the buyer must hold back 3% of the agreed price and pay it to the Agencia Tributaria on Modelo 211 within one month. It is a payment on account of the seller's 19% tax on the gain. The seller files Modelo 210 within four months of the sale and either pays the difference or claims a refund of the excess.
Costs and moneyPlusvalía municipal explained: the town hall's tax when you sell in Spain
Plusvalía municipal is the town hall's tax on the rise in the value of urban land when a property in Spain is sold, given away or inherited. On a sale the seller pays. Since November 2021 it is worked out in two ways and the lower figure applies, and no tax is due if the land has not gained value. A sale must be declared within 30 working days.
Costs and moneyThe cost of selling a property in Spain: every fee and tax a seller pays
A seller in Spain usually pays an estate agent's commission (the consumer body OCU puts it at 2% to 6% of the price, plus 21% IVA), a lawyer, the town hall's plusvalía tax, tax on any gain (19% for non-residents and 19% to 30% for residents, as of November 2026) and the cost of clearing any mortgage. If you are not tax resident in Spain, the buyer also holds back 3% of the price and pays it to the tax office on your account.
General information about selling property in Spain, not legal, tax or financial advice. Rules and rates change and differ between regions, so check with a Spanish lawyer or tax adviser. Last checked 15 November 2026.