
Selling a Property in Spain: Costs and Taxes in 2026
What a sale really costs on the Costa del Sol in 2026: agency commission, energy certificate, plusvalía, the 19% or 24% non-resident capital gains rate, the 3% retention and how to claim it back.
Selling a property in Spain as a non-resident is mostly an exercise in arithmetic, and the arithmetic has two halves: what the sale costs you before tax, and what the tax office takes afterwards. On the Costa del Sol the first half is predictable. The second half depends on one thing above all, whether you hold an EU or EEA passport or not.
Here is what the numbers look like in the second half of 2026, using current rates and current filing deadlines.
WHAT YOU PAY TO GET THE SALE DONE
Estate agency commission is the biggest single line and the least regulated. On this coast it runs 3% to 5% of the sale price plus 21% VAT. On a 400,000 euro sale at 4% that is 16,000 euros plus 3,360 euros of VAT.
The energy certificate is compulsory before the property can be advertised. A flat or townhouse certificate costs 60 to 130 euros and lasts ten years. Selling or advertising without one is an infringement with fines from 300 to 6,000 euros, banded as minor, serious and very serious.
The community of owners must issue a certificate confirming you are up to date with fees. The notary will not complete the deed without it. Budget a couple of weeks if your administrator is slow, and expect to clear any outstanding fees first.
If there is a mortgage on the property, cancelling it at the registry costs roughly 300 to 600 euros. The notary and land registry costs for the deed itself are normally the buyer's in this market, but that is custom rather than law, so agree it in writing before you sign anything.
Add it up and total selling costs usually land between 5% and 15% of the price, depending on commission and on whether you need to spend money preparing the property.
THE PLUSVALÍA MUNICIPAL
This is a local tax on the increase in the value of the land under your property, paid by the seller, and it applies to non-residents exactly as it applies to residents.
Since the 2021 reform there are two ways to calculate it and you can choose the lower one. The objective method multiplies the cadastral land value by a coefficient set by the town hall for each year of ownership, then applies a rate of up to 30%. The real method takes the actual gain on the land as a proportion of the sale price.
The deadline is 30 working days from completion for a sale, and six months for an inheritance. Miss it and the town hall adds interest and a penalty.
One point that matters: if there was no increase in land value, the tax is not due at all. That is now settled case law, and it is worth checking rather than assuming you owe it.
CAPITAL GAINS TAX: 19% OR 24%
Non-residents pay tax on the gain at a flat rate. Residents of the European Union, Iceland, Norway and Liechtenstein pay 19%. Everyone else pays 24%. This is article 25 of the non-resident income tax law, and it is the single biggest reason a British owner can end up paying more than a German neighbour on an identical sale.
The gain is not simply sale price minus purchase price. You can deduct the taxes and costs you paid when you bought, notary and registry fees, documented improvements, the agency commission on this sale, and the plusvalía you have just paid.
There is a live argument about expenses for sellers outside the EU. A National Court ruling and a 2024 central tax tribunal decision have moved towards allowing deductions that were previously refused, including the plusvalía even when the buyer failed to pay it over. The direction of travel is favourable but practice is not uniform, so treat it as something to raise with a Spanish adviser rather than something to assume.
Residents get reliefs that non-residents do not: reinvestment in a main home, and the over-65 exemption. If you are thinking of becoming resident, the timing of a sale can be worth tens of thousands of euros.
THE 3% RETENTION, AND HOW TO GET IT BACK
When a non-resident sells, the buyer must withhold 3% of the agreed price and pay it to the tax agency on form 211 within one month of completion. You do not receive that money. It sits with the tax office as a payment on account.
You then file form 210 for the year of the sale to settle the final figure. Practitioners put the window at roughly three months after the buyer's one-month period, which is about four months from completion, and some advisers work to four months flat. The safe reading is that the clock is short and the filing is not optional.
If your final tax is lower than the 3% withheld, you claim the difference back. Refunds are not automatic and they are not fast. In practice sellers wait months, and the tax office owes late payment interest if it runs past the statutory period.
The same form also covers the days you owned the property in that year, taxed on imputed income. Under Orden HAC/623/2026, in force since June 2026, the filing window for imputed income now runs from 1 April to 31 December of the following year, with earlier dates if you pay by direct debit. That change caught out a number of owners this year, and it applies from the 2026 tax year onwards.
A WORKED EXAMPLE
A non-EU owner sells for 400,000 euros a property bought in 2018 for 280,000 euros, with 28,000 euros of documented purchase costs.
Gross gain: 120,000 euros. Deduct purchase costs of 28,000, agency commission of 19,360 including VAT, energy certificate 120, mortgage cancellation 400 and plusvalía of 1,800. Taxable gain: about 70,320 euros.
At 24% the tax is 16,877 euros. The buyer has already withheld 12,000 euros, so the balance due is 4,877 euros.
Run the same sale with an EU passport: 19% gives 13,361 euros, and instead of a balance due the seller reclaims 1,361 euros. Same house, same profit, different passport, and 4,877 euros of difference in one direction or the other.
THE ORDER THAT AVOIDS PROBLEMS
-
Get the energy certificate before the first advert, not after the first offer.
-
Request the community certificate as soon as you accept an offer.
-
Ask your adviser to run both plusvalía methods before you agree a completion date, so you know the cash you need.
-
Make sure the buyer's 3% retention and form 211 are handled on the day, and keep the stamped copy. Without it your later refund claim becomes an argument.
-
Diarise the form 210 deadline the week you complete. It is the most common way non-resident sellers lose money after a successful sale.
Related news
Buying a Car in Spain: The Costa del Sol Guide
Buying a car in Spain on the Costa del Sol: ITP at 4 percent in Andalucía, 55.70 euros for the DGT transfer, the ITV calendar, insurance, and the full cost of a UK import.

Costa del Sol Long-Term Rentals: Contract, Deposit, Rent Rises
Long-term lets on the Costa del Sol run on five or seven year terms, a one-month deposit and the IRAV index. What changed in Andalusia in 2026 and what you pay on day one.

Costa del Sol 25N: Marches and a Rise in VioGén Cases
Costa del Sol municipalities marked 25N with marches and manifestos, while provincial figures show close to seven women a day entering the VioGén system in 2026.
Free Guide: Buying Property in Spain 2026
A step-by-step guide for international buyers — from NIE to the notary.
We'll send you the guide link by email too. No spam — your details stay with Marbella New Homes.

