The 3% Retention When a Non-Resident Sells Property in Spain: How to Get It Back (2026 Guide)
When a non-resident sells property in Spain, the buyer withholds 3% for Hacienda. Here's how the retention works in 2026 and how to claim your refund.

This article is general information, not legal, tax, or immigration advice. Rules and figures change — verify with an official source or a licensed professional before acting.
The 3% Retention When a Non-Resident Sells Property in Spain: How to Get It Back
If you are a non-resident selling property in Spain in 2026, the buyer is legally required to withhold 3% of the agreed sale price and pay it directly to the Spanish tax authority (Agencia Tributaria / Hacienda) on your behalf. You do not "lose" that money — but you don't automatically get it back either. Recovering it (or any portion of it) requires filing the correct form, on time, with the correct supporting documents.
This guide walks you through how the 3% retention works, when you're entitled to a refund, and the practical steps to claim it. Spanish tax rules and forms change; always confirm current details with the Agencia Tributaria or a licensed Spanish asesor fiscal before acting.
What the 3% retention actually is
When a non-resident sells Spanish real estate, the buyer must retain 3% of the purchase price and deposit it with the Spanish Treasury within one month of the sale using Modelo 211. This is not a tax in itself — it is a payment on account of the seller's potential capital gains tax (IRNR — Impuesto sobre la Renta de No Residentes).
The logic from Hacienda's perspective: once you've sold and wired the proceeds abroad, you may be hard to chase. So they take 3% up front and let you reconcile later.
Key points to internalize:
- The buyer is the withholding agent. If they fail to retain and pay, the property itself can be charged with the debt — which is why buyers (and their lawyers) take this very seriously.
- The 3% is calculated on the declared sale price in the escritura, not on your gain.
- It applies to all non-resident sellers, whether you are an EU citizen, a US/Canadian, or a Spanish national living abroad with non-resident tax status.
- It applies regardless of whether you actually made a profit. Even at a loss, the 3% is still withheld at closing.
When you are entitled to a refund
You can claim back all or part of the 3% in three common scenarios:
- You sold at a loss — purchase cost plus deductible expenses exceeds the sale price. In principle, the full 3% is refundable.
- Your actual capital gains tax liability is less than the 3% withheld. You get the difference back.
- Your gain produces a tax exactly equal to the 3% — nothing to refund, nothing more to pay.
If your actual capital gains tax is higher than the 3% withheld, you owe the difference when you file.
How capital gains is calculated (in broad strokes)
For non-residents, the gain is generally the transfer value minus the acquisition value, where:
- Acquisition value = original purchase price + ITP/VAT paid + notary, registry, and legal fees at purchase + documented improvements (with invoices and IVA).
- Transfer value = sale price − selling costs (agent commission, plusvalía municipal if paid by seller, legal fees on the sale).
The resulting gain for non-residents is currently taxed at a flat rate that has historically sat around 19% for EU/EEA residents and a higher rate for non-EU residents — but rates and brackets are reviewed periodically. Confirm the rate for your residency country with the Agencia Tributaria or a Spanish tax advisor before estimating your refund.
EU/EEA sellers may also deduct a broader set of expenses than non-EU sellers under non-discrimination rules; this is worth specific advice if you are based in the US, UK (post-Brexit), or Canada.
The forms: Modelo 211 and Modelo 210
Two forms drive the whole process:
- Modelo 211 — filed by the buyer within one month of the sale to declare and pay the 3% retention. The buyer must give you a stamped copy (the ejemplar para el transmitente). Do not leave the notary without it — you cannot claim your refund without it.
- Modelo 210 — filed by you, the seller, to declare the capital gain (or loss) and request the refund of any excess 3%. The deadline is within four months from the date of the sale.
Miss the four-month window and your refund claim becomes significantly harder — you move into a rectificación procedure rather than a routine filing.
Step-by-step: how to get your 3% back
1. Before closing
- Confirm with your abogado that the buyer (or their lawyer) understands their Modelo 211 obligation.
- Gather your original purchase escritura, proof of taxes and fees paid at acquisition, and invoices for any capital improvements.
- Obtain a Spanish NIE if you don't already have one — you cannot file Modelo 210 without it.
2. At the notary
- Verify the sale price in the escritura matches your contract.
- Collect a copy of the Modelo 211 the buyer will file (or confirmation that their lawyer will send you the stamped version once filed).
- Settle the plusvalía municipal (a municipal tax on the increase in land value) — normally the seller's responsibility, payable to the town hall within 30 days.
3. Within four months of the sale
- Have your tax advisor prepare Modelo 210 declaring the capital gain or loss.
- Attach or reference: the sale escritura, the purchase escritura, the stamped Modelo 211, proof of improvement costs, selling expenses, and your bank account details (preferably a Spanish IBAN — refunds to foreign accounts are possible but slower).
- File electronically through the Agencia Tributaria portal. A representante fiscal in Spain is strongly recommended.
4. After filing
- Expect to wait. Refunds historically take anywhere from 6 months to well over a year. Hacienda has a legal window (typically up to six months from the filing deadline) before it must pay interest on delays — but in practice, follow-up is often needed.
- If Hacienda requests additional documentation (a requerimiento), respond promptly. Ignored requirements are the single most common reason refunds stall.
Documents checklist
- Original purchase escritura and proof of ITP/VAT paid
- Sale escritura
- Stamped Modelo 211 from the buyer
- Invoices for documented improvements (with contractor IVA numbers)
- Proof of agent commission and legal fees on the sale
- Receipt for plusvalía municipal paid
- NIE certificate
- Spanish bank account details (recommended)
- Power of attorney, if your advisor is filing on your behalf
Common pitfalls
- No stamped Modelo 211. Without it, your refund claim has no anchor. Insist on it at closing.
- Undeclared improvements. Renovations paid in cash with no IVA invoice cannot be deducted from your gain. This is the single biggest source of unexpected tax bills.
- Missing the four-month deadline. It moves quickly — start the Modelo 210 process the week after closing.
- Assuming a loss means no filing. You still must file Modelo 210 to claim the refund — Hacienda does not refund automatically.
- Forgetting plusvalía municipal. This is separate from the 3% retention and the national capital gains tax. It goes to the town hall, not Hacienda.
- Wiring proceeds abroad before reconciling. Keep enough in a Spanish account to cover any shortfall if your actual tax exceeds the 3%.
Short FAQ
Can the buyer skip the 3% retention if I'm clearly selling at a loss? No. The retention is mandatory regardless of profit or loss. The refund process exists precisely for this case.
What if I bought before the euro, or decades ago? Old peseta purchase prices are converted, and historically there were inflation-adjustment coefficients and reduction coefficients (the coeficientes de abatimiento) for pre-1994 acquisitions. These rules have evolved — confirm what applies to your acquisition date with a Spanish tax advisor.
Do I need a Spanish bank account to receive the refund? Not strictly, but it is much faster and avoids rejected transfers. Many sellers keep one account open until the refund lands.
Can I claim the refund myself from abroad? Technically yes, with a digital certificate and the Cl@ve PIN system. In practice, almost all non-residents use a gestor or asesor fiscal — the cost is modest compared to the risk of a rejected filing.
How long does the refund really take? Plan for 6–18 months. Treat anything faster as a pleasant surprise.
Spanish tax law, rates, and procedures change. The figures and timelines above reflect the framework generally in force as of 2026, but you should confirm current rules with the Agencia Tributaria or a licensed Spanish asesor fiscal before relying on them for a transaction.