A successful Marbella sale should feel considered from the first private viewing to the signing of the escritura. Spanish seller capital gains tax is one of the figures that deserves attention well before a buyer is found, particularly where a high-value villa, beachfront residence or long-held second home is involved. It is not simply a percentage of the sale price. Residency, ownership history, documented costs and the way the transaction is structured can all materially affect the final position.
For international owners, the priority is clarity. A discreet, well-managed sale protects both the value of the property and the timetable for completion. It also creates the time needed to assemble the documentation that supports an accurate tax calculation.
How Spanish seller capital gains tax is calculated
At its core, capital gains tax is charged on the profit made on a Spanish property sale. The starting point is the sale value, less selling expenses, compared with the acquisition value, including qualifying purchase costs and capital improvements.
The calculation is therefore more nuanced than sale price minus purchase price. Acquisition costs may include transfer taxes or VAT and stamp duty paid on purchase, together with notary, Land Registry and legal fees. On the sale side, estate agency commission, legal costs and certain expenses directly related to the disposal may reduce the gain. Substantial improvements that add to the property or extend its useful life can generally be included, provided they are evidenced. Routine maintenance, furnishing and repairs are treated differently and should not be assumed to qualify.
For a residence that has been let, any tax depreciation claimed or claimable can also affect the acquisition value. This is an area where careful review is particularly worthwhile. Owners should retain invoices, deeds, completion statements and proof of payment in an orderly file, ideally long before the property reaches the market.
All figures are calculated in euros. For overseas owners who acquired a Marbella home in another currency, exchange-rate movement may mean that the euro gain differs sharply from the gain they perceive in sterling, Swiss francs or another home currency.
Resident and non-resident sellers: a different tax route
Spanish tax residency is decisive. A person who is fiscally resident in Spain ordinarily reports property gains through Spanish personal income tax, known as IRPF. For the 2025 tax year, savings gains are taxed progressively at 19% up to €6,000, 21% from €6,000 to €50,000, 23% from €50,000 to €200,000, 27% from €200,000 to €300,000, and 28% above €300,000.
A non-resident seller is generally subject to Spanish non-resident income tax on the gain arising from Spanish real estate. The applicable rate is generally 19%. The tax is calculated on the actual taxable gain, not on the full selling price.
Residency should never be decided by nationality, passport or where a seller considers home to be. It depends on the facts of the individual year, including time spent in Spain and the location of personal and economic interests. For globally mobile families, this analysis should be settled with a qualified tax adviser before contracts are exchanged, rather than revisited after completion.
The 3% retention on non-resident sales
Where the seller is non-resident, the buyer is required to retain 3% of the agreed purchase price and pay it to the Spanish tax authority. This is a withholding payment, not a separate 3% capital gains tax.
The retained amount is credited against the seller’s final tax liability. If the final tax due is lower than the retention, the seller may claim the balance back. If it is higher, further tax is payable. This is why a sale can require a cash-flow plan even where the property has made only a modest gain.
The buyer normally files Form 211 for the retention. The seller then uses Form 210 to declare the gain and either settle the remaining liability or request a refund. A polished transaction process should make the retention visible from the outset so that neither party is surprised by the funds held back at completion.
Reliefs that can change the result
Some sellers may qualify for relief, but it is unwise to treat it as automatic. The most recognised exemption applies where a Spanish tax resident sells their habitual residence and reinvests the proceeds in another habitual residence within the permitted period. The rules are detailed, and eligibility depends on the property genuinely meeting the requirements of a habitual home and on the reinvestment conditions being met.
A seller aged over 65 may also be able to sell a qualifying habitual residence without capital gains tax. Again, the habitual-residence status is essential. A luxury home used principally for holidays, however longstanding the ownership, is not necessarily treated in the same way.
There are additional situations involving older sellers and qualifying lifetime annuities, but these require individual advice. The distinction between a principal home, an investment property and a family residence used intermittently can be especially significant on the Costa del Sol, where international owners often divide their year between several countries.
Do not overlook municipal plusvalía
Capital gains tax is not the only seller-side tax to consider. Municipal plusvalía, formally the Tax on the Increase in Value of Urban Land, is a local tax connected to the cadastral value of the land rather than the building. It is commonly payable by the seller, although contractual arrangements should always be reviewed.
Since the rules changed in 2022, the taxpayer may generally use the method that produces the lower amount, based either on the statutory objective calculation or the actual increase in the land’s value. Where there has been no increase in land value, no plusvalía should be due, subject to proving the position. Each municipality applies its own rates and coefficients, so a Marbella calculation should not be borrowed from a sale in another Costa del Sol municipality.
This tax can be modest beside the capital gain on a prime Sierra Blanca villa, but it should still be obtained early. A completion statement that accounts for capital gains tax, the non-resident retention where applicable, municipal plusvalía, mortgage cancellation costs and professional fees offers a much clearer picture of net proceeds.
Preparing for a well-managed Marbella sale
The right preparation is both practical and protective. Before launching a property, establish the seller’s current tax residency, retrieve the original title deed and purchase completion records, and collect invoices for qualifying improvements. If the home has been rented, review the historic tax treatment before setting expectations around net proceeds.
It is equally prudent to consider timing. A sale agreed near a change in tax residency, a planned reinvestment or a move between countries can require more care than a conventional disposal. Tax treaties and tax paid in another jurisdiction may also matter to the owner’s wider position, but they do not remove the Spanish reporting obligations created by the sale of Spanish property.
At Amrein Properties, our role is to coordinate a discreet sale with the local professionals needed for a properly informed transaction. We do not replace independent legal or tax advice, yet experienced local coordination helps ensure that documentation, buyer expectations and completion arrangements are approached with the precision a significant asset deserves.
The most valuable time to address tax is while there are still choices available. With the figures understood before a property is presented to the market, a Marbella sale can proceed with the calm, privacy and confidence that luxury ownership warrants.
Frequently Asked Questions
When must I file Form 210 after a Spanish property sale?
A non-resident seller generally files Form 210 within three months following the end of the one-month period after completion. The form declares the actual gain and applies the 3% retention paid by the buyer. Where the retention exceeds the tax due, the same process is used to request the corresponding refund.
What happens if I sell my Spanish property at a loss?
A genuine loss means there is no positive Spanish capital gain to tax, but a non-resident buyer must still retain 3% of the sale price at completion. The seller can use Form 210 to demonstrate the loss and seek repayment of the retention. Municipal plusvalía is considered separately under the local land-value rules.
Does selling through a company change the tax position?
Yes, company ownership can change the analysis substantially because the owner disposing of the asset may be the company rather than the individual shareholder. The tax treatment of the property sale, company profits and any later distribution to shareholders should be reviewed together before marketing begins. This is particularly relevant for internationally held investment residences.
Can I rely on my estate agent to calculate the final tax?
No, the final tax calculation should be confirmed by an independent Spanish tax adviser or lawyer with the full deeds, invoices and residency information. An experienced estate agent can help identify the figures and documents that need attention, but only a properly reviewed calculation can establish the final liability or refund claim.