The 3% Retention on a Non-Resident Property Sale
Key facts
- It is 3% of the agreed price, not of your profit. The base is the consideration in the deed — not the gain, and not the cadastral value.
- It is withheld by the buyer, not charged by anyone. The obligation sits on the buyer, who pays it over to the tax authority instead of to you.
- It is a payment on account, not a tax in itself. Your actual liability is calculated on your gain, which is taxed at a different rate on a different number.
- It can exceed what you owe, and then the excess is repayable — but only if you file for it.
- Selling at a loss does not exempt you from the withholding. It changes what you reclaim, not whether it happens.
- It applies because of tax residence, not nationality. A Spanish national living abroad can be caught; a foreign national tax resident here is not.
If you sell Spanish property and you are not tax resident in Spain, you will not receive the whole price. The buyer is obliged to withhold 3% of the agreed price — the retention — and pay it directly to the Spanish tax authority on account of your tax on the gain.
It is not a fee, it is not lost, and it is not optional for either side. It is a payment on account. Whether you get part of it back, all of it back, or end up paying more, depends entirely on what the sale actually did.
Why the buyer withholds
For the usual case of a non-resident taxpayer selling Spanish property without acting through a permanent establishment in Spain, the buyer must withhold 3% of the agreed sale price. That is the scope of the rule, and almost every private sale by someone who has moved away falls inside it.
Spain's problem is practical: once a non-resident seller has the money and has left, collecting tax on the gain is difficult. So the obligation is moved to the party that is still here and still identifiable — the buyer, who must withhold the retention from the price and pay it to the tax authority rather than to the seller. The obligation sits on the buyer whether or not the buyer is resident in Spain.
Two consequences worth understanding before you negotiate:
The buyer cannot waive it, and will not — and the reason is in the statute. If the retention is not paid over, the transferred property itself becomes charged with the amount owed — the lesser of the retention or the corresponding tax — and penalties may follow. The buyer is not being difficult. A seller asking a buyer to hand over the full price and trust the seller to settle up is asking the buyer to accept a charge on the property they have just bought.
It comes off the price, not off your costs. The withheld sum is part of the price you agreed. It is not an additional charge, and it should not come as a surprise at the notary — though it very often does.
There is one statutory exception, and it is narrow: no payment on account is due where real property is contributed on the incorporation of, or an increase of capital in, a company resident in Spanish territory. An ordinary sale to an ordinary buyer is not covered by it.
Two percentages, on two different numbers
This is the distinction that decides whether you are owed money or owe it, and it is the one most often collapsed. The retention and the tax are not the same percentage, and they are not applied to the same figure.
Table 1
| The 3% retention | The tax on your gain | |
|---|---|---|
| Rate | 3% | 19% |
| Applied to | The agreed price in the deed | Your gain — broadly, sale price less purchase price and allowable costs |
| What it is | A payment on account, taken up front | The actual liability the retention is paid against |
| Who deals with it | The buyer withholds and pays it | You, by filing a return |
Source: Real Decreto Legislativo 5/2004, texto refundido de la Ley del Impuesto sobre la Renta de no Residentes (BOE-A-2004-4527) — art. 25.2 for the 3% retention on the agreed consideration, and art. 25.1(f).3.º for the 19% rate on capital gains arising on transfers. Verified against the consolidated text, October 2026.
So 19% is never charged on your sale price, and 3% is never your final tax. On a substantial gain, 19% of that gain is usually more than 3% of the price, and a further payment follows. On a small gain or a loss, the retention exceeds the liability and part or all of it comes back.
What happens next: the three outcomes
The retention is an estimate taken before anyone has worked out your gain. Which row you are in depends on that gain, and nothing about the withholding itself.
Table 2
| If your actual liability is | Then | What you have to do |
|---|---|---|
| Less than what was withheld — including where you sold at a loss | The excess is repayable to you | File a return claiming it, within the time allowed, with the evidence of your purchase and sale |
| About the same as what was withheld | It is settled | File the return anyway. The retention does not close the matter by itself |
| More than what was withheld | You owe the balance | File and pay the difference |
The common misunderstanding is that the withholding settles the tax. It does not. In every one of the three cases above, a return is required.
The Agencia Tributaria states the position plainly: the retention has, for the seller, the character of a payment on account of the tax corresponding to the gain on the transfer, and where the retention is greater than the tax due, the excess can be refunded.
Who files what
The statute creates the obligation to declare but leaves the form and the deadline to be set administratively. The Agencia Tributaria's current published guidance for non-resident property sales sets them out:
The buyer pays the 3% over using modelo 211, within one month from the date of the transfer, and gives the seller a copy — which is what allows the seller to credit it against their own liability.
The seller declares the gain on modelo 210, under the subapartado for gains on the transfer of property.
Ask for the modelo 211 copy at completion. Without it the credit you are entitled to is a document you have to chase a stranger for, months later, from another country.
The part that costs people money
Not filing. A seller who sold at a loss, or at a modest gain, and assumes the retention was simply a cost of selling in Spain, leaves money with the tax authority. It is reclaimable, and it is reclaimed by filing — not by waiting.
Missing the window. There is a period within which the claim must be made. Miss it and the position is much worse.
Having no evidence of what you paid. Your gain is the difference between what you sold for and what you bought for, adjusted for allowable costs. If you cannot evidence the purchase — the deed, the taxes you paid on it, the fees — you cannot substantiate the loss or the smaller gain. For a property bought twenty years ago by someone who has since moved house twice, this is the real problem, and it is solved before the sale, not after.
Assuming it is the only charge. A sale may also engage a municipal tax on the increase in land value, which is a different charge with different rules and a different recipient. Do not plan on the basis that the 3% and the 19% are the whole tax picture.
What to do before you sell
Find the original purchase deed and the completion file. Including the taxes and fees paid at the time. This single step determines whether a reclaim is straightforward or impossible.
Establish your tax residence position in writing, because the whole mechanism turns on it rather than on your passport.
Work out roughly which side of the line you are on. 3% of the price against 19% of the gain is arithmetic you can do before you accept an offer, and it tells you whether to expect a refund or to keep money back for a further payment.
Appoint someone to file for you. A non-resident reclaiming from abroad, in Spanish, to a deadline, is exactly the task a gestor or tax adviser exists for, and the fee is small against what is being reclaimed. What a property lawyer does covers the professional's role on the transaction itself.
Budget on the net figure. If the sale proceeds are funding something — a purchase elsewhere, a move — plan on what will actually arrive, not on the headline price.
What this page will not tell you
Your allowable costs, or your number. What you may deduct from the gain, how a property acquired by inheritance or before certain dates is treated, and what any of it comes to in your case are determinations about your circumstances. The rates are general; your liability is not.
The municipal land-value charge. It is a different tax with a different recipient, set by each municipality, and no rate for it appears here.
Any filing deadline for the seller's return. The one-month deadline on this page is the buyer's, for paying the retention over. The seller's filing periods are set administratively and differ by circumstance — check them for your own sale rather than carrying a number off this page.
Whether you are tax resident. That is a determination about your circumstances, not a fact we can supply, and it is the thing the whole page turns on.
Frequently asked questions
What is the 3% retention?
A withholding the buyer must take from the agreed price when the seller is not tax resident in Spain, and pay to the tax authority on account of the seller's tax on the gain. It is set by article 25.2 of Real Decreto Legislativo 5/2004 (BOE-A-2004-4527).
Is the 3% my tax bill?
No. It is a payment on account. The tax is charged on your gain, at 19% under article 25.1(f).3.º — a different percentage on a different number.
Do I get it back?
If it exceeds your actual liability — including if you sold at a loss — the excess is repayable. You have to file for it; it does not come back automatically.
What if the 3% is less than my tax?
Then you pay the difference when you file. On a substantial gain this is the normal outcome, because 19% of a real gain is usually more than 3% of the price.
What if I sold at a loss?
The withholding still happens. You reclaim it by filing, with evidence of what you originally paid.
Can the buyer just pay me the full price?
No. The obligation is the buyer's, and if the retention is not paid over the property itself becomes charged with the amount owed. They have no reason to accept that.
Does it apply if I am a Spanish national living abroad?
The test is tax residence, not nationality. A Spanish national who is not tax resident here can be caught.
Is this the only tax on selling?
No. A sale may also engage a municipal charge on the increase in land value, which is separate, with its own rules.
This is general information, not legal or tax advice. Rules change — for advice on your situation, speak to a qualified professional.
Keep going
Property in Spain
The buyer's journey in the order you'll face it, from whether to buy at all to who protects you.
More in propertyBuying property in Spain: the complete guide for foreign buyers
The process, the costs and the risk control.
More in propertyThe Buying-in-Spain Checklist
Every check, stage by stage — before you search, viewing, offer, legal, completion and your first month as…
More in propertyHow Buying a Property in Spain Actually Works
How buying in Spain actually works: every stage from offer to keys, how long each commonly takes, and what…
More in propertyWhat Does Buying Property in Spain Really Cost?
What buying in Spain really costs on top of the price — taxes, notary, registry, legal fees and the costs…
More in propertyThe Taxes You Pay When Buying in Spain
Transfer tax, IVA and stamp duty, by region.