Selling Spanish Property Before Moving Abroad: 2026 CGT Guide

Also available in Español

Short answer: When you sell Spanish property, you pay two separate taxes: capital gains tax (IRPF if resident, IRNR if non-resident) on the profit, and plusvalía municipal on the increase in land value. Timing the sale relative to your move abroad can shift you between two completely different tax rate structures — sometimes by tens of thousands of euros.

Selling Spanish property before moving abroad sounds like a tidy financial move — get the cash, close the chapter, head off with the proceeds. In practice it’s one of the most consequential financial decisions in the whole relocation process, because Spanish property tax depends heavily on whether you’re a tax resident or non-resident at the moment of sale. Get the timing wrong and you can pay double in tax for what feels like the same transaction.

Key takeaways

  • Capital gains tax is calculated on the difference between purchase price (with allowable costs) and sale price.
  • Tax residents pay savings-rate IRPF (19% / 21% / 23% / 27% / 28% — the highest brackets apply to gains above €300,000).
  • Non-residents pay flat 19% (EU/EEA) or 24% (non-EU like UK after Brexit) — but face a 3% withholding taken at the deed signing.
  • Plusvalía municipal is a separate tax owed to the city hall, based on cadastral land value increase — not always charged if you sold at a loss.
  • Selling before changing residency lets residents over 65 in their primary home claim a full exemption — a significant saving worth careful planning.
Planning to move from Spain?Get a personalised relocation quote in 2 minutes

Get free quote →

The two taxes you’ll pay (often confused as one)

Most people think ”selling tax” is one thing. In Spain, it’s clearly two:

Selling Spanish Property Before Moving Abroad 2026 CGT Guide — moving service Spain

1) Capital gains tax (CGT) — paid to the national tax agency (Agencia Tributaria) on the actual profit from the sale. The mechanism differs depending on whether you’re filing as a resident or non-resident.

2) Plusvalía municipal — paid to the local city hall (ayuntamiento) on the calculated increase in cadastral land value (not the building) during your ownership. Each municipality sets its own rate. After a 2021 court ruling, taxpayers who sold at a loss can now claim exemption from this tax — but only if they actively prove the loss with the right paperwork.

The two taxes are calculated separately and paid to different authorities on different forms. Confusing them is the most common cause of post-sale surprises.

Capital gains: resident vs non-resident — the math that matters

Whether you’re sold as a tax resident or non-resident is determined by your status on the date of the deed (escritura). This is the single biggest variable in your tax bill.

Status Tax form Rates Withholding at deed? Filing deadline
Tax resident at sale date Modelo 100 (annual IRPF) Savings income brackets: 19% (€0-6k) / 21% (€6-50k) / 23% (€50-200k) / 27% (€200-300k) / 28% (above €300k) None at deed April-June following year
Non-resident, EU/EEA Modelo 210 19% flat on the gain 3% of sale price withheld by buyer 4 months from deed date
Non-resident, non-EU (UK, US, etc.) Modelo 210 24% flat on the gain 3% of sale price withheld by buyer 4 months from deed date
The 3% withholding catches many people off guard. When a non-resident sells, the buyer is legally required to withhold 3% of the agreed sale price and pay it directly to the tax agency as an advance on the seller’s CGT. If your actual tax bill is less than 3%, you reclaim the difference via Modelo 210 — typically 12-18 months later.

How the gain is calculated (and what costs you can deduct)

The taxable gain isn’t simply (sale price minus purchase price). Spanish law lets you adjust both numbers with allowable costs, and getting these right reduces your tax bill significantly.

Acquisition value includes:

  • Original purchase price stated in the original deed
  • Notary fees, registration fees, ITP (transfer tax) or IVA paid at purchase
  • Legal/gestor fees from the original purchase
  • Documented capital improvements (kitchen renovation, new windows, etc. — keep VAT-receipted invoices)

Sale value can be reduced by:

  • Real estate agent commission (with invoice)
  • Notary and registration fees on the sale (if paid by seller)
  • Energy efficiency certificate cost
  • Any plusvalía paid (yes — you can deduct it from CGT calculation)

Without these documented costs, you’ll pay tax on a gain that may be 5-10% larger than your actual economic profit.

The over-65 exemption — why timing your residency move matters

Spanish tax law has one particularly valuable exemption: tax residents over 65 who sell their primary residence (vivienda habitual) pay zero capital gains tax on the sale, regardless of the gain amount.

The conditions are strict:

  • You must be a tax resident in Spain on the sale date
  • You must be 65+ on the sale date
  • The property must have been your primary residence for at least the previous 3 years

If you’re approaching 65 and planning a move abroad, consider whether to sell before deregistering as Spanish resident. The same property sold 6 months later as a non-resident could trigger a tax bill in the tens of thousands. Always check with a Spanish tax adviser before making the call — the savings can be life-changing.

A second resident exemption applies regardless of age: reinvestment in another primary residence. If you reinvest the full sale proceeds into a new primary residence (in Spain or in another EU/EEA country) within 2 years, the gain is exempt. Partial reinvestment gives partial exemption.

Plusvalía municipal: the local tax most sellers underestimate

Plusvalía is calculated on the increase in cadastral land value (the official tax-assessed value) during your ownership. It’s owed to the local city hall, not the national tax agency, and the rates and rules vary by municipality.

Selling Spanish Property Before Moving Abroad 2026 CGT Guide — international relocation specialists

Two key things to know:

  1. You can choose between two calculation methods (since the 2021 reform): the ”objective” method based on cadastral coefficients, or the ”real value” method based on actual gain. Since the reform, you can pick whichever is lower.
  2. If you sold at a loss — meaning the deed sale price is lower than the deed purchase price — you don’t owe plusvalía at all. But you must explicitly file Modelo 211 (or the equivalent local form) declaring the loss within 30 days of the sale, with comparable documentation. Skipping this step means the city hall will still bill you.
Deadline: Plusvalía is due within 30 days of the deed signing (some municipalities give 6 months for inheritance, 30 days for sale). Late payment triggers surcharges starting at 5%.

The 30-day timeline around the sale: what to do when

  1. Before the deed: Gather original purchase deed, all receipts for capital improvements, energy efficiency certificate (must be done before listing), Cadastre certificate (Certificación catastral). Decide whether sale will close before or after your residency change.
  2. At the deed (notario): If you’re a non-resident, the buyer’s lawyer/notario will withhold 3% of the sale price and pay it via Modelo 211 to Agencia Tributaria. You receive proof of the withholding.
  3. Day 0-30 after deed: File plusvalía with the local city hall. Pay or declare loss with paperwork.
  4. Day 0-4 months (non-resident only): File Modelo 210 declaring the actual capital gain and reclaim/pay the difference vs the 3% withholding.
  5. Following April-June (resident only): File Modelo 100 (annual IRPF) including the gain in savings income.
  6. Throughout: Keep all paperwork for 5 years minimum. Spanish tax agency can review prior years.

Common mistakes that cost real money

  • Selling as non-resident when over 65 exemption was available. Failing to time the sale before your residency change can mean a 5-figure tax bill that was avoidable.
  • Not collecting all original purchase receipts. Gestores receipt, ITP/IVA, notary, registration — these all reduce taxable gain. Without them, you pay more.
  • Skipping the loss declaration on plusvalía. If the property sold for less than you bought it, you must actively file the loss claim — otherwise you owe plusvalía even on a real loss.
  • Forgetting capital improvement invoices. Major works (kitchen, windows, roof) reduce taxable gain only if you have VAT-issued invoices, not handyman receipts.
  • Misreading the deadline. The 4-month Modelo 210 deadline runs from the deed date, not the bank-transfer date. Missing it triggers interest and potentially surcharges of 1-5%.
Selling Spanish Property Before Moving Abroad 2026 CGT Guide — Flyto Relocation team

Frequently asked questions

Can I avoid Spanish CGT by transferring the property to a relative before selling?

No, this triggers gift tax (Impuesto sobre Sucesiones y Donaciones) for the recipient and treats it as a sale at ”deemed market value” for CGT purposes anyway. There’s no way to avoid CGT through pre-sale transfers — Spanish tax law has solid anti-avoidance rules.

What if my buyer doesn’t withhold the 3%?

The buyer is legally required to withhold and pay it via Modelo 211. If they don’t, the tax agency can pursue them (the buyer becomes liable). In practice, the buyer’s lawyer or gestor handles this automatically at the notary. Make sure you receive the proof of payment (acreditación del Modelo 211) at the deed signing.

Can I claim the resident over-65 exemption if I move out shortly after?

Yes — the exemption is determined by your status on the sale date, not afterwards. As long as you’re a Spanish tax resident (with at least 183 days in Spain that year, or main centre of vital interests in Spain), 65+, and the property has been your primary residence for the prior 3 years, you qualify. You can move abroad the next month without losing the exemption.

Do I owe Spanish CGT if I’m now a tax resident in another country?

Yes — Spain has primary taxing rights on real estate located in Spain regardless of your residency. However, double-tax treaties between Spain and your new country usually let you credit Spanish tax against any tax owed in your new country, so you don’t pay twice. Your new country may still want to know about the gain, even if no additional tax is due.

How much do gestores charge to handle the sale tax filings?

Pricing varies considerably by gestor and complexity. Most quote a flat fee for the full Modelo 210 + plusvalía package after seeing your paperwork. Get a quote in writing before the deed.

What if the property is co-owned with my spouse?

Each owner files their own share of the gain proportional to their ownership percentage. If the property is 50/50 co-owned, each spouse files for 50% of the gain on their respective tax form (one Modelo 210 per non-resident owner, or split in the joint Modelo 100 if they file together as residents). The 3% withholding is also split between buyers’ obligations to each seller.

What’s next: timing your move with the sale

The right tax timing for your sale depends on the specific numbers — your gain, your age, your destination country, and the cadastral value involved. Most sellers benefit from a 30-minute consultation with a Spanish tax adviser before listing the property: spending a few hundred euros to potentially save tens of thousands.

Once the sale is settled, the next big bureaucratic chapter is the residency exit itself: Spanish tax residency exit checklist walks through what to file with Agencia Tributaria when you officially leave. The complete picture is in the Spain moving guides directory.

For the move itself — once the sale is closed and the keys are handed over — Flyto’s relocation team handles 20 European destinations directly. The free moving quote takes a minute and gives you verified pricing for your specific volume and route.

Ready to plan your move from Spain?

Get a personalised moving plan based on your timeline, route, and volume. Verified pricing, transparent costs.

Request your moving quote

Language

🇪🇸 English EN 🇪🇸 Español ES

Menu

Home Guides

Services

Moving ServicesRelocation Services

About

About FlytoContact

Contact

📞 +358 50 369 9117 💬 WhatsApp Get a quote