Many retirees do not sell the Spanish home on the same day they leave Spain. They move back to the United States first, let the apartment sit while they test the return, rent it for a season, or wait for a better market. That delay is often sensible commercially, but it changes the tax mechanics. Once you are no longer Spanish tax resident, the sale stops being an ordinary resident IRPF sale and becomes a non-resident IRNR sale. The notary closing then has a feature US sellers rarely expect: the buyer withholds 3% of the full price, not 3% of the gain, and pays it to the Agencia Tributaria as a payment on account of your tax.
The trap is psychological. Sellers see the money withheld at notary and think the tax has been handled. It has not. The 3% is only the deposit. You still need the buyer's Modelo 211 receipt, your own Modelo 210 for the capital gain or loss, the town-hall plusvalía municipal, final IBI/community/utility clean-up, and, for US citizens, a US tax calculation on the same sale. The point of this page is to put those pieces in the correct order.
On this page
Resident sale or non-resident sale? The 3% withholding is not the final tax Modelo 211 and Modelo 210: who files what How the non-resident gain is calculated Plusvalía municipal is separate Before completion: documents and power of attorney After completion: refunds, bank and bills The US tax layer Frequently asked questions
"The 3% retention is where non-resident sellers relax too early. It is only a payment on account. The real file is closed later, with the Modelo 210, the plusvalía and the proof of every cost you want deducted."
— Jacob Salama · International Tax lawyer, Ilustre Colegio de Abogados de Málaga (nº 11294)
Resident sale or non-resident sale?
The first question is not the asking price. It is which tax status you will have on the date of sale. If you sell while still Spanish tax resident, the gain is reported in your resident income tax return, normally Modelo 100, and taxed under the resident capital-gains rules. Depending on your facts, that can open resident-only planning points: main-home reliefs, over-65 rules, reinvestment questions or a final resident tax year that must be coordinated with your wider exit. If you sell after leaving Spain and becoming non-resident, the gain is reported under the non-resident income tax regime, IRNR, through Modelo 210, and the buyer's 3% withholding applies.
For a US retiree moving back to the US after Spain, the choice can be deliberate. Selling before you cross the exit line may mean one more resident tax year but a cleaner home-sale treatment. Selling afterward may give you time and market flexibility, but it brings the withholding, a refund process if the 3% is too high, and non-resident property filings while you still own the home. There is no universal best answer; there is a sequence to model before you choose.
The 3% withholding is not the final tax
When the seller is non-resident, Spanish law generally makes the buyer retain 3% of the agreed consideration and pay it to the tax authority. It is a payment on account of the seller's tax, not a tax rate and not a cap. A sale for EUR 500,000 produces a EUR 15,000 withholding even if the real taxable gain is tiny, and even if there is a loss. That is why sellers often have money sitting with the tax office after completion.
Think of the withholding as a security deposit. If your actual IRNR tax on the gain is lower than the 3%, you claim back the excess on Modelo 210. If your actual tax is higher, you pay the difference. If there is no gain, the return is still the way you ask for the refund. What you should not do is treat the notary statement as the end of the matter, because the tax authority has received money in your name but not yet your calculation.
Modelo 211 and Modelo 210: who files what
The buyer and seller have different jobs. The buyer files Modelo 211 and pays the 3% withholding, normally within one month from the transfer. You need a copy of that filing receipt, because it proves the amount already paid on your behalf and is credited against your final calculation. If the buyer fails to pay it, the problem can rebound into the closing file, so the withholding and receipt should be handled explicitly by the notary, buyer's lawyer and your representative.
The seller then files Modelo 210 for the capital gain or loss. The official filing period for income from the transfer of real estate is three months after the one-month period from the transfer date has passed. In practical terms, diarise a four-month post-completion deadline: one month for the buyer's Modelo 211 window, then the seller's three-month Modelo 210 window. That Modelo 210 is also the route to request the refund where the 3% exceeded the real tax.
| Form | Who handles it | What it does | Timing |
|---|---|---|---|
| Modelo 211 | Buyer | Pays 3% of the agreed price to AEAT on account of the seller's IRNR | One month from transfer |
| Modelo 210 | Seller | Declares the real capital gain or loss and credits the 3% withholding | Three months after that first month |
| Plusvalía municipal | Usually seller | Town-hall tax on urban land-value increase | Short municipal deadline, often 30 working days |
| US Form 1040 layer | US seller | Reports the sale for US tax purposes, subject to US rules and credits | US filing calendar |
How the non-resident gain is calculated
The national tax is on the capital gain, not the gross sale price. In broad terms, you compare the transfer value with the acquisition value. The acquisition side normally starts with the deed price you paid, plus transaction costs and taxes you can properly evidence, plus qualifying improvements. The sale side normally starts with the sale price, less selling expenses that are legally deductible and properly documented. The resulting gain for a non-resident real-estate sale is taxed at the IRNR rate applicable to that gain; current Agencia Tributaria guidance states that the applicable rate for capital gains from real-estate sales is 19%.
Evidence matters. A US retiree who bought in Spain five years ago may have the deed but not the invoices: notary, registry, ITP or VAT/AJD, estate-agent commission, lawyer fees, architect certificates, refurbishment invoices and proof of payment. If the file is thin, the 3% refund is harder to support. If there were improvements, separate them from ordinary repairs. If the property was inherited, gifted, bought in stages or owned by spouses in different shares, the calculation needs to follow the real acquisition history, not a shortcut.
Plusvalía municipal is separate
The plusvalía municipal is not included in the 3% withholding and is not paid on Modelo 210. It is a local council tax on the increase in the value of the urban land component of the property. It is filed with the ayuntamiento, not the Agencia Tributaria, and the deadline is short. Many councils use a window around 30 working days after a sale, but the exact process depends on the municipality.
The good news is that plusvalía is no longer a blind formula that always assumes a gain. Since the post-2021 reform, the taxpayer can compare the objective cadastral method with the real-gain method, and no tax should be due where there was genuinely no increase in land value. But it must be claimed and evidenced. On a non-resident sale, the best practice is to prepare the plusvalía calculation before completion, not after, so the seller knows whether the council figure is defensible and which documents must be filed.
Before completion: documents and power of attorney
If you are already back in the United States, the sale is usually run through a Spanish power of attorney. That power should be specific enough to sign the sale deed, receive notary communications, handle tax filings, obtain the Modelo 211 receipt, file plusvalía, deal with the bank and close utilities. A generic old POA may not satisfy the notary or bank; check it before the buyer is found, not the week of signing.
Before completion, gather the documents that drive both tax and closing: title deed, purchase invoices and taxes, current IBI receipt, community certificate showing no arrears, energy certificate, occupancy/licence documents where relevant, mortgage cancellation documents if there is a loan, NIE/TIE details, bank IBAN for the balance of price and a clear non-resident tax address. If a refund is expected, keep the Spanish bank account open. Getting money into a US account is easy; receiving a Spanish tax refund into a closed or blocked account is not.
After completion: refunds, bank and bills
After the notary signing, do not disappear. Confirm that the buyer's 3% was paid by Modelo 211 and obtain the receipt. File the municipal plusvalía on time. Prepare and file the seller's Modelo 210 with the acquisition-cost evidence attached or available. Keep enough money in the Spanish account for final IBI, community fees, utilities, non-resident tax, accountant or lawyer fees and any mortgage cancellation or registry costs. Then cancel direct debits only after the final invoices have cleared.
If the 3% refund is material, expect time. The tax authority may review the calculation, request documentation or offset old unpaid Modelo 210 imputed-income filings before releasing money. This is why owners who kept the property empty after returning to the US should regularise annual non-resident filings before listing the home. A small missed annual tax can delay a large refund at the moment when the seller assumes everything is finished.
The US tax layer
For a US citizen, the Spanish closing is only one side of the sale. The US still taxes citizens on worldwide income, so the Spanish home sale belongs in the US tax review too. The US basis, exchange-rate treatment, home-sale exclusion, foreign tax credit, mortgage currency issues and state residency consequences may not match Spain's treatment. If you bought and sold in euros, the US return is not just a translation of the Spanish Modelo 210 into dollars. If there was a euro mortgage, the debt can create its own currency issue, which we cover separately in our note on the US currency gain on a euro mortgage.
The practical point is simple: do the Spanish and US calculations together. A Spanish tax paid late may not credit cleanly in the right US year; a Spanish refund may reduce the credit; and a state you re-established on return may want its own view of the gain. The sale is usually a one-off event with enough money at stake to justify coordination before the deed is signed.
Frequently asked questions
What is the 3% withholding when a non-resident sells Spanish property?
When the seller is non-resident, the buyer must generally withhold 3% of the agreed price and pay it to the Spanish tax authority using Modelo 211. It is not the final tax. It is a payment on account of the seller's non-resident capital gains tax, later settled by the seller on Modelo 210.
Do I still file Modelo 210 if the buyer withheld 3%?
Yes. The withholding does not close the file. The non-resident seller uses Modelo 210 to calculate the real gain or loss, credit the 3% already paid by the buyer and either pay the difference or request a refund if the withholding exceeded the actual tax.
What is the deadline for Modelo 210 after selling Spanish property?
For income from the transfer of real estate, the filing period is three months after the one-month period from the transfer date has passed. In practical terms, diarise the seller's Modelo 210 as a four-month post-completion job, while the buyer's Modelo 211 withholding is due within one month.
Is plusvalía municipal included in the 3% withholding?
No. The 3% withholding is for national non-resident income tax on the capital gain. The plusvalía municipal is a separate town-hall tax on the increase in urban land value, usually declared within a short municipal deadline after the sale.
Should I sell before or after I stop being Spanish tax resident?
That is a planning question. Selling while still resident can mean resident IRPF treatment and possible reliefs; selling after you have left means non-resident IRNR treatment, the buyer's 3% withholding and a Modelo 210 close-out. The right answer depends on your day count, gain, age, main-home position, US tax layer and return timing.
General information, not legal or tax advice. Sources reviewed July 2026 include Agencia Tributaria guidance on Modelo 211 withholding in purchases from non-residents, Modelo 210 instructions and filing periods for income from real-estate transfers, Agencia Tributaria guidance that capital gains from real estate located in Spain are Spanish-source income taxed at 19%, and current Spanish municipal plusvalía rules as summarised in our dedicated plusvalía guide. Deadlines, rates and municipal filing mechanics must be confirmed for the property, municipality, tax year and seller's residence status.