Invest Spain Property Free shortlist
Research guide

Spain Capital Gains Tax on Property: 2026 Seller Guide

Spain capital gains tax on property: resident sliding scale 19–28%, non-resident 19%, the 3% retention, plusvalía overlap, and a full worked example.

By Invest Spain Property Editorial · Updated June 15, 2026 · 22 min read

Quick answer: Spain taxes the gain on a property sale, not the sale price. Residents pay on a progressive savings scale from 19% up to 28%; non-residents pay a flat 19%. When the seller is non-resident, the buyer withholds 3% of the price as an advance and pays it to the tax office. A separate municipal tax, plusvalía, hits the same sale. Model both before you accept an offer.

Foreign owners on the Costa Blanca and Costa del Sol often plan the purchase carefully, then meet the exit taxes only at the notary table. This guide explains how capital gains tax works for residents and non-residents, how the 3% retention reduces your cash at completion, and how plusvalía overlaps with the state tax. For the entry side of the ledger, pair this with the cost of buying property in Spain hub, and for return math read the Spain rental yield guide.

How capital gains tax works on a Spanish sale

Capital gains tax (CGT) in Spain falls on the profit you make when you transfer a property, calculated as the sale value minus your adjusted acquisition value. The rate set depends on whether you are tax-resident in Spain, and the gain is taxed in the year of the sale.

ElementWhat it meansWhy it matters
Taxable baseSale value minus adjusted purchase costYou are taxed on profit, not on price
Acquisition valuePrice paid plus purchase taxes and feesA higher basis lowers the gain
Transfer valueSale price minus selling costsAgent and legal fees reduce it
Resident rateSavings scale 19% to 28%Progressive by size of gain
Non-resident rateFlat 19% on the gainNo progressivity

The headline number a buyer or agent quotes is rarely the figure the tax office uses. Your gain is reconstructed from deed values and documented costs, so the paperwork you kept on purchase day directly cuts your tax years later.

CGT for residents: the savings-base sliding scale

Spanish tax residents declare property gains inside the savings base (base del ahorro) of their annual income tax return. The scale is progressive, so different slices of the gain are taxed at rising rates. The bands below reflect the standard 2026 savings scale; confirm the current figures with your gestor before you file, because budgets revise them periodically.

Gain slice (EUR)Marginal rateNote
Up to 6,00019%Lowest band
6,000 to 50,00021%Most mid-size gains land here
50,000 to 200,00023%Larger coastal gains
200,000 to 300,00027%High-value villas
Over 300,00028%Top band

Because the scale is progressive, only the slice inside each band pays that band’s rate. A resident with a 55,000 gain does not pay 23% on the whole amount; the first 6,000 pays 19%, the next 44,000 pays 21%, and only the final 5,000 reaches 23%. That structure rewards splitting disposals across tax years where the timing genuinely suits your plans.

CGT for non-residents: flat rate and the 3% retention

Non-residents are taxed under the Impuesto sobre la Renta de no Residentes (IRNR) at a flat 19% on the net gain, with no access to the progressive bands. The defining feature for non-residents is the 3% retention applied at the moment of sale.

FeatureNon-resident sellerResident seller
CGT rateFlat 19% on gainSliding 19% to 28%
Retention at sale3% of price withheldNone
Filing formModelo 210Annual Renta
Filing windowAbout 4 monthsAnnual return
Main-home reliefsGenerally noYes, if habitual home

The flat 19% looks simple, but the 3% retention changes your cash position at completion. You receive the sale price minus that 3%, and you only recover any excess after filing. For non-EU sellers, confirm your exact treatment with a Spanish tax adviser, because residence and tax-treaty status affect the final position.

The 3% retention explained

The 3% retention (retención) is Spain’s mechanism for collecting tax from sellers who live abroad and might otherwise leave without settling. By law, the buyer of a property from a non-resident must withhold 3% of the agreed purchase price and pay it directly to the Agencia Tributaria.

StepWho actsForm
Withhold 3% of priceBuyerHeld at completion
Pay 3% to tax officeBuyerModelo 211
Receive proof of paymentSellerCopy of Modelo 211
File the real gainSellerModelo 210
Reclaim or top upSellerWithin about 4 months

Two outcomes are possible. If your actual CGT is higher than the 3% already paid, you settle the difference on Modelo 210. If your actual CGT is lower, or you sold at a loss, you reclaim the excess. Refunds can take months, so treat the 3% as locked-up cash rather than a final cost. The buyer keeps the receipt because, without proof the 3% was paid, the property can be charged for the unpaid amount.

Insider tip: if you sold at a genuine loss, you still suffered the 3% retention at completion, and the only way to get it back is to file Modelo 210 and claim the refund. Sellers who skip the filing simply donate the 3% to the Spanish treasury.

Plusvalía municipal: the second exit tax

Plusvalía municipal, technically the IIVTNU, is a town-hall tax on the increase in the urban land value during your ownership. It is charged on the land (suelo) component, not the building, and it sits with the seller by default. This is why a single sale can trigger two exit taxes: state CGT and municipal plusvalía.

Plusvalía featureWhat sellers should know
Who paysSeller by law; rarely shifted in contract
Tax baseRise in urban land cadastral value over ownership
CalculationObjective coefficients or real gain, pick the lower
If no land gainNo plusvalía is due after the 2021 reform
Reform sensitivityCoefficients update, so treat figures as time-stamped

Spain’s Constitutional Court struck down the old plusvalía formula in 2021. Today a seller computes the tax either by applying municipal coefficients to the cadastral land value or by proving the actual land gain, and pays whichever is lower. If the land did not rise in value, no plusvalía is owed. For exit planning, the key point is that CGT and plusvalía are separate bills filed in different places, so your net proceeds depend on both. The entry-side overview of plusvalía lives in the cost of buying property hub.

How to calculate your taxable gain

The taxable gain is not sale price minus purchase price. It is adjusted transfer value minus adjusted acquisition value, and both sides carry documented costs that work in your favour.

Adds to acquisition value (basis)Reduces transfer value
Purchase price on the deedEstate agent commission
ITP or IVA paid on purchaseIndependent legal fees on sale
Notary and registry feesPlusvalía paid by the seller
Independent lawyer on purchaseEnergy certificate and admin
Capital improvements with invoicesOther documented sale costs

The single most common error is failing to keep invoices. Repairs and routine maintenance do not count, but genuine capital improvements (a new kitchen, a pool, an extension) do, provided you can prove them with proper invoices showing IVA. The purchase taxes you paid on entry, often 10% to 13% of price as set out in the cost guide, are added to your basis and can cut your eventual gain by tens of thousands of euros.

Worked example: a 400,000 euro non-resident sale

This is the scenario most foreign owners ask about: an EU non-resident who bought a resale flat, held it, and sells at a profit. All figures are illustrative; confirm your own numbers with a Spanish tax adviser.

LineCalculationAmount (EUR)
Original purchase pricePaid in 2019300,000
Purchase costs added to basisITP and fees, about 10%30,000
Adjusted acquisition valueBasis total330,000
Sale priceAgreed in 2026400,000
Selling costsAgent 3% plus legal15,000
Adjusted transfer valueNet of selling costs385,000
Taxable gain385,000 minus 330,00055,000
CGT at 19% (non-resident)55,000 times 19%10,450
3% retention at sale400,000 times 3%12,000
Refund due on Modelo 210Retention minus CGT1,550

In this case the 3% retention (12,000) is larger than the actual CGT due (10,450), so the seller reclaims 1,550 after filing. Plusvalía municipal is a separate bill on top, depending on the land-value rise and the local coefficients. Had the seller not added the 30,000 of purchase costs to the basis, the gain would have been 85,000 and CGT would have jumped to about 16,150, a 5,700 difference created purely by good record-keeping.

Resident version of the same gain

A resident with the identical 55,000 gain is taxed on the progressive savings scale rather than a flat rate.

Gain slice (EUR)RateTax (EUR)
First 6,00019%1,140
6,000 to 50,000 (44,000)21%9,240
50,000 to 55,000 (5,000)23%1,150
Total resident CGT11,530

The resident pays about 11,530 against the non-resident’s 10,450, but the resident faces no 3% retention and can offset the gain against capital losses elsewhere in the savings base. Residence cuts both ways, so the better position depends on your wider tax picture and the investment strategy behind the holding.

Exemptions and reliefs

Most reliefs in the Spanish CGT system are tied to your habitual residence, which means they help residents far more than non-resident investors.

ReliefWho qualifiesEffect
Main-home reinvestmentResidents selling habitual homeGain exempt if reinvested in a new main home
Over-65 main homeResidents aged 65 plusGain on habitual home can be fully exempt
Pre-1995 coefficientsLong-held assetsPartial reductions on very old purchases
Loss offsetResidentsLosses net against other savings gains
Non-resident loss refundNon-residentsReclaim 3% retention if sold at a loss

If you are a non-resident buying purely for yield or a holiday home, plan on the flat 19% with no main-home shelter. If you are relocating to Spain and the property will become your habitual residence, the reinvestment and over-65 routes can remove the tax entirely on a future sale, which is a strong reason to align purchase timing with your residency plans.

Pros and cons of Spain’s CGT regime

ProsCons
Gain is taxed, not the full sale priceTwo exit taxes: CGT plus plusvalía
Purchase costs lift your basis3% retention locks up cash for months
Non-resident flat 19% is predictableNon-residents miss main-home reliefs
Losses are refundable for non-residentsRefunds are slow to process
Residents enjoy reinvestment shelterProgressive scale bites large resident gains
Documented improvements cut the gainLost invoices inflate the taxable gain

Red flags and seller checklist warnings

  1. An agent who quotes net proceeds without subtracting the 3% retention is overstating your cash at completion.
  2. A buyer who proposes skipping the 3% Modelo 211 payment exposes the property, and you, to a tax charge.
  3. Treating repairs as capital improvements without invoices will not survive a tax review.
  4. Assuming plusvalía is included in CGT, it is a separate municipal filing.
  5. Selling at a loss and never filing Modelo 210 means you forfeit the 3% refund.
  6. Forgetting that purchase taxes are part of your basis inflates the taxable gain.
  7. Non-EU sellers assuming the EU 19% position applies without checking treaty status.

Seller scenarios: a decision framework

If you are…PrioritiseDe-prioritise
Non-resident yield investor3% retention cash flow and Modelo 210Resident reliefs that will not apply
Relocating to SpainMain-home reinvestment timingRushing a sale before residency
Long-term holderCapital-improvement invoices for basisSelling in a single high-rate band
Inherited ownerStepped basis and succession adviceGeneric non-resident assumptions
Loss-making sellerFiling to reclaim the 3% retentionWalking away from the refund

Checklist before you accept an offer

StepVerifyStatus
Acquisition basisDeed price plus purchase taxes and fees
Improvement invoicesIVA invoices for capital works
Selling costsAgent and legal fees documented
3% retentionModeled into net proceeds
Plusvalía estimateTown-hall calculation requested
Modelo 210 planFiling window and adviser booked
Residency statusResident or non-resident confirmed

Walk the purchase-side gates in the cost of buying property hub and the Spain property investment guide so your entry and exit numbers use the same basis.

How this connects to the rest of the site

This page is the exit-tax layer for Spanish property. Entry costs and plusvalía basics live in the cost of buying property in Spain hub. Net return math lives in the Spain rental yield guide. Strategy and market context live in the Spain property investment guide. Inventory benchmarks sit on projects like Insur Scala and Kosmos.

Spain is sellable with honest math. Tax the gain, not the price; add every purchase cost to your basis; budget the 3% retention as locked cash; and remember plusvalía is a second, separate bill. Pair this guide with the rental yield guide when you underwrite a full hold-to-exit return.

Frequently Asked Questions

Residents pay on the savings scale from 19% up to 28%. Non-residents pay a flat 19% on the net gain, not on the sale price.

The buyer withholds 3% of the price and pays it to the tax office on Modelo 211 as an advance. The seller files Modelo 210 within about four months to settle or reclaim.

Yes. Residents use the progressive 19% to 28% scale with main-home reliefs. Non-residents pay a flat 19%, face the 3% retention, and rarely qualify for residence reliefs.

Yes. Plusvalía is a municipal tax on the rise in urban land value, paid by the seller alongside state CGT, so one sale can trigger two exit taxes.

Add purchase taxes, notary, registry and legal fees plus documented capital improvements to your basis, and deduct selling costs such as agent commission and plusvalía.

Non-residents file Modelo 210 within about four months. Residents declare the gain in their annual Renta. Plusvalía is filed separately at the town hall.

Those costs lower your gain. Purchase taxes and fees plus genuine capital improvements with invoices raise your basis, which shrinks the taxable gain.

Free · Independent advisory

Get a Spain property shortlist

Tell us your budget and market (Costa Blanca, Costa del Sol, Balearic Islands). We reply within one business day with options matched to your goals.