Costa del Sol · Private Real Estate
MUSE
The Journal·Tax & legal
Tax & legal

Capital Gains Spanish Property Non Resident: Tax Guide

Non-residents selling Spanish property face a 19% capital gains rate, a mandatory 3% buyer retention, and rules that differ sharply from resident treatment. Here is what the numbers mean.

By Marta Espinosa18 May 2026 · 7 min
Capital Gains Spanish Property Non Resident: Tax Guide

The Rate and Who It Applies To

When a non-resident sells property in Spain, the taxable gain is subject to a flat rate of 19% under the Non-Resident Income Tax Law (*Impuesto sobre la Renta de No Residentes*, IRNR). This rate applies uniformly to sellers who are tax-resident outside Spain, regardless of their nationality, and covers EU citizens, EEA nationals, and non-EEA nationals alike — the previous differential that briefly placed non-EU sellers at 24% was eliminated when Spain aligned its treatment to avoid EU infringement proceedings. Since 2015 the 19% rate has remained stable for all non-resident individuals.

The taxable gain is, in principle, the difference between the acquisition value and the transmission value. Acquisition value includes the original purchase price, notarial and registration costs paid at purchase, transfer tax or VAT paid at the time, and capital improvements with documented invoices. Transmission value is the agreed sale price minus the costs directly associated with the sale — typically agency commission and the seller's notarial and legal fees. Both sides of the ledger reward careful record-keeping: sellers who cannot produce invoices for a kitchen renovation or a pool installed a decade ago are effectively giving up a deduction they are legally entitled to claim.

For properties held within corporate structures or through certain trust arrangements, different rules apply and the analysis becomes substantially more involved. The observations here concern individual non-resident sellers in straightforward ownership.

The 3% Retention Mechanism

Perhaps the most operationally significant feature of the non-resident capital gains regime is the mandatory retention at source. At the moment of signing the public deed of sale before a Spanish notary, the buyer is legally required to withhold 3% of the agreed purchase price and pay it directly to the *Agencia Tributaria* (Spanish tax authority) within thirty days, using Form 211. This is not a tax on the buyer — it is a prepayment made on behalf of the seller, deducted from the price the seller actually receives.

The retention is calculated on the gross sale price, not on the gain. On a €2,000,000 residence in, say, Cascada de Camoján, the buyer retains €60,000. If the seller's actual tax liability on the gain turns out to be less than that — or even zero, in cases where the property is sold at a loss relative to adjusted acquisition cost — the seller can file Form 210 to claim a full or partial refund. The *Agencia Tributaria* has a statutory period of six months to process that refund; in practice, timelines can extend beyond that, and the authority pays no interest on delayed refunds until its own deadline passes.

If the buyer fails to make the retention, the liability does not disappear — it attaches to the property itself as a lien. This is the legal mechanism that makes the obligation robust: a buyer's solicitor will never recommend skipping it, and Spanish notaries routinely flag it as a condition of the transaction.

No Indexation Allowance for Most Sellers

For many years, Spanish law contained a coefficient system (*coeficientes de actualización*) that allowed acquisition values to be adjusted for inflation before computing the taxable gain. Those coefficients were suspended with effect from 1 January 2015 as part of a wider tax reform. They have not been reinstated. This is a meaningful disadvantage for sellers who acquired property in the 1990s or early 2000s: a property purchased in 2000 for €600,000 on the Marbella Golden Mile and sold today for €1,500,000 produces a nominal gain of €900,000, taxed at 19%, yielding a liability of €171,000 — with no inflation adjustment available to reduce the base.

The contrast with the historical position is real, though many sellers who have held property through the post-2008 correction and the subsequent recovery will find that their real gain, net of costs and the opportunity cost of capital, looks different again. The point is simply that the statutory calculation makes no concession to monetary erosion. Any argument that the effective rate is therefore higher than 19% in real-economy terms is arithmetically correct, and sellers with long holding periods should build this into their pre-sale analysis rather than discovering it at the notary.

One partial mitigation historically available to residents — a reduction for properties acquired before 31 December 1994 — has been progressively curtailed and now operates only within a €400,000 aggregate transmission limit per taxpayer over a lifetime. Non-resident sellers with pre-1995 acquisitions should take specific advice on whether any residual benefit remains available to them.

Principal Residence Exemption: Rarely Available to Non-Residents

Spanish tax law provides a full exemption from capital gains tax on the sale of a *habitual residence* (*vivienda habitual*) in certain circumstances: most importantly, if the seller is over 65, or if the total gain is reinvested in another habitual residence within two years. The definition of habitual residence requires that the seller has lived in the property continuously for at least three years and that it constitutes their genuine, registered primary home.

By definition, a person who is non-resident in Spain for tax purposes cannot satisfy the habitual-residence test. The exemption is structurally unavailable to them. This is not a technicality that tax planning can usually resolve — it reflects a genuine incompatibility between the residency status and the relief. Some sellers consider establishing Spanish tax residency before a planned sale specifically to access this exemption, but doing so requires genuine relocation and at least 183 days of physical presence in Spain in the relevant calendar year, with all the wider consequences for global tax exposure that a change of residency entails. It is a legitimate path for some; it should be analysed carefully by a qualified adviser rather than adopted as a strategy on the basis of the headline benefit alone.

For non-resident sellers over 65 who somehow satisfy the habitual-residence criteria — an unusual but not impossible situation for someone who retired to Benahavís or Sotogrande, maintained a foreign bank account, and was incorrectly classified — the exemption question becomes more contested. These edge cases deserve individual professional attention.

Double Taxation Treaties and Their Practical Effect

Spain has concluded double taxation treaties with most of the jurisdictions from which buyers on the Costa del Sol originate — Germany, the United Kingdom, France, Belgium, the Netherlands, the United States, and others. In the context of capital gains on immovable property, these treaties almost universally allocate taxing rights to the *situs* country, meaning Spain. A British national selling a villa in La Zagaleta pays capital gains tax in Spain on the Spanish gain. Whether that liability is then credited against a UK tax charge depends on UK domestic rules and the specific treaty provisions, but the Spanish liability itself is not reduced or eliminated by the treaty.

For UK residents specifically following the post-Brexit landscape, the practical position under the Spain–UK treaty has not changed in this regard: Spain retains the right to tax the gain, the UK credits it. The 19% Spanish rate often covers or substantially covers the UK liability, depending on the quantum of gain and the applicable UK rate, which has fluctuated in recent budgets. French residents selling in Marbella face a similar credit mechanism under the France–Spain treaty. The net effect varies by jurisdiction and individual circumstance; the baseline observation is that the Spanish charge is almost never simply offset by treaty — it is paid first, and the seller's home country then decides how much further liability, if any, remains.

What Sellers on the Costa del Sol Typically Encounter

In the segment of the market where Muse Selection operates — residences from €1,500,000 upwards in zones including Sierra Blanca, Nueva Andalucía, Puerto Banús, and El Madroñal — the numbers involved in a capital gains calculation are consequential. A property acquired in 2010 for €1,200,000 and sold in the present market for €2,800,000 generates a notional gain in the region of €1,400,000 after documented costs, producing a tax charge approaching €266,000. The 3% buyer retention on the sale price is €84,000, leaving the seller with a further €182,000 to settle via Form 210, typically within four months of the sale date.

Sellers who have carried out significant improvements — landscaping, pool construction, structural work — and hold clean documentation for those costs materially reduce the taxable base. Sellers who lost the original purchase receipts, or who improved the property informally, have a harder task. The gap between a well-documented sale and a poorly documented one can reach tens of thousands of euros at this price level.

The procedural steps are fixed: the buyer retains and pays Form 211; the seller files Form 210 either to pay the remaining liability or to claim a refund; a Spanish fiscal representative is advisable for non-residents managing the process from abroad. None of this is particularly complex in structure, but timing, documentation, and accurate computation of the adjusted acquisition value are where outcomes diverge. Sellers who approach the transaction with those three elements in order will find the process straightforward. Those who begin organising paperwork after signing the private purchase contract are working against themselves.

Marbella22:52
London21:52
Geneva22:52
Moscow23:52
Dubai00:52
Hong Kong04:52
WhatsApp MaxTelegram