Selling your home in Spain as a non-resident: taxes, the 3% withholding and deadlines
The 3% withholding, Non-Resident Income Tax (IRNR), municipal capital gains tax and Form 210 deadlines — with real examples and figures.
Introduction
If you own a home in Spain but are a tax resident abroad, selling your property follows different tax rules than for residents: the buyer must withhold 3% of the price, you are taxed under Spain's Non-Resident Income Tax (IRNR) instead of regular income tax, and the filing deadlines are strict. This guide — written by Yolanda González, real estate advisor in Madrid, economist and court-certified property expert — explains the entire process with real examples and concrete figures.
Who counts as a “non-resident” when selling?
You are a non-tax-resident in Spain if you meet neither of these criteria: spending more than 183 days per year in Spain, or having your main economic activity or vital interests based here.
The three most common seller profiles I advise:
Profile
The Spaniard who emigrated
You work in Germany, Switzerland or the UK and are selling the home you kept in Spain.
Profile
The relocated expat
You lived in Spain for work, your company has transferred you, and you are selling your home.
Profile
The international investor
You bought as a non-resident and are now exiting the investment.
In all three cases, the tax regime for the sale is the same: Spain's Non-Resident Income Tax (IRNR). Also bear in mind that Spain has double taxation treaties with most countries: check the treaty with your country of residence to understand how it applies to your specific case.
The 3% withholding: the surprise nobody warns you about
When the seller is a non-resident, the buyer is legally required to withhold 3% of the sale price and pay it to the Spanish Tax Agency (Form 211) within one month of completion. It is not an extra tax: it is an advance payment of the tax on your capital gain. In practice, it means that on signing day you will receive 97% of the price, not 100%.
Example
You sell for €450,000. The buyer hands you €436,500 and deposits €13,500 with the Tax Agency in your name. Those €13,500 are later deducted from your final tax bill — or partially refunded if too much was withheld.
Two practical consequences every non-resident seller should plan for:
- Liquidity: if you were counting on 100% of the price to cancel a mortgage or reinvest, adjust your numbers to 97%.
- Paperwork: request a copy of the filed Form 211 from the buyer. You will need it for your own tax return and to recover any excess.
Non-Resident Income Tax (IRNR): how much you will pay on the gain
As a non-resident, your capital gain is taxed under the IRNR at a flat 19% — the rate currently in force, which legislation may change in future years — regardless of your country of residence.
The gain is not simply “sale price minus purchase price”: the law allows you to adjust both values, and this is where a well-prepared calculation saves thousands of euros.
Acquisition value
Purchase price + purchase costs and taxes (transfer tax or VAT, notary, land registry, agency fees) + documented improvements.
Transfer value
Sale price − selling costs borne by you as seller (agency fees including VAT, municipal capital gains tax, energy certificate, mortgage cancellation).
Full example
| Item | Amount |
|---|---|
| Purchase price (2010) | €300,000 |
| Purchase costs and taxes (transfer tax, notary, registry) | €24,000 |
| Acquisition value | €324,000 |
| Sale price (2026) | €450,000 |
| Agency fees (5% + VAT) | €27,225 |
| Municipal capital gains tax (plusvalía) | €3,480 |
| Certificates and other costs | €295 |
| Transfer value (450,000 − 31,000) | €419,000 |
| Capital gain (419,000 − 324,000) | €95,000 |
| IRNR (19%) | €18,050 |
| 3% withholding already paid | −€13,500 |
| Payable with Form 210 | €4,550 |
Note the detail: without adjusting both values with deductible costs, the gain would have been €150,000 and the tax €28,500. Properly documenting costs saved €10,450 in this example. Keep every invoice: from the original purchase years ago and from the current sale. Both the transfer tax paid on purchase and the municipal capital gains tax are deductible under Spanish Tax Agency criteria.
Form 210: deadlines that show no mercy
As a non-resident seller, your obligation is to file Form 210 declaring the gain:
Deadline
3 months counted from the end of the buyer's 1-month period to pay in the withholding. In practice: 4 months from completion.
Tax payable
If 19% of your gain exceeds the 3% withheld, you pay the difference (as in the example: €4,550).
Refund due
If you sold with a small gain or at a loss, the withholding exceeds the tax and the Tax Agency refunds the excess. The refund is not immediate: in practice it usually takes 6 to 12 months — and if the Tax Agency takes longer than 6 months, it must pay you late-payment interest.
Refund example
You bought in 2007 for €400,000 (adjusted acquisition value: €430,000) and sell in 2026 for €440,000 with €15,000 in costs (transfer value: €425,000). Result: a €5,000 loss — no tax due. The €13,200 withheld (3% of €440,000) must be refunded in full. Without filing Form 210, that money stays with the Tax Agency.
Municipal capital gains tax (plusvalía): two methods, and how to choose
The municipal tax on the increase in urban land value (“plusvalía municipal”) is also due on sale, and since 2021 you can choose between two calculation methods, legally keeping whichever is cheaper:
Objective method
Cadastral land value × a coefficient based on years of ownership (set by each town hall within state limits, updated yearly) × the municipal tax rate.
Real method
The actual increase in value (difference between the deed values of sale and purchase) × the land's share of the total cadastral value × the municipal rate.
Example (home in Madrid city, owned for 16 years)
| Item | Calculation | Tax |
|---|---|---|
| Total cadastral value (of which land: €80,000 · 50%) | — | €160,000 |
| Objective method | 80,000 × 0.15 × 29% | €3,480 |
| Real method | 150,000 × 50% × 29% | €21,750 |
| Method chosen | Objective | €3,480 |
Choosing the method is not a formality: in this example it is the difference between paying €3,480 or €21,750. And if you sold at a loss, no plusvalía is due — but you must prove it; it is not automatic.
The non-resident particularity: the buyer pays
When the seller is a non-resident, the law requires the buyer to settle the municipal capital gains tax: the buyer acts as “substitute taxpayer” before the town hall and is solely responsible for the filing and payment.
Between the parties, however, it is negotiable: the buyer may deduct that cost from the final price or claim it back from you, depending on what is agreed in the deed. That is why, in a non-resident sale, the plusvalía must be calculated under both methods and agreed in writing before completion — one of the pieces of the tax pre-calculation I prepare in every transaction.
The main-residence reinvestment exemption
If you are resident in an EU or EEA country, you may qualify for the main-residence reinvestment exemption — the same one residents enjoy — provided you meet all of these requirements:
Main residence
The home you sell must have been your actual, permanent residence for at least three years, and held that status within the two years prior to the sale.
Reinvestment period
You must reinvest the proceeds in buying or renovating another main residence within two years, before or after the sale.
New home
The new property must also be your main residence, and may be located in Spain or in your country of residence.
Partial exemption
If you reinvest only part of the proceeds, the exemption applies proportionally.
Residents outside the EU/EEA cannot claim this exemption.
Mistakes I see sellers make (that cost real money)
- 01
Accepting an offer without calculating the taxes first. The gross price is not your money: between IRNR, plusvalía and costs, the ranking of two offers can flip after tax.
- 02
Not gathering the invoices from the original purchase. Every undocumented cost from years ago is fictitious gain taxed at 19%.
- 03
Missing the Form 210 deadline — especially sellers due a refund, who believe they “don't need to do anything”.
- 04
Not agreeing in the deposit contract who bears the plusvalía and how the withholding is handled, creating friction days before completion.
- 05
Selling in a rush because of a relocation. Urgency can be sensed — and it gets discounted from the price. A well-planned remote sale mandate prevents underselling.
How I handle a non-resident sale
The entire process can be done without you travelling to Spain: power of attorney (granted before a Spanish notary, or in your country with The Hague apostille), completion by representation, and communication by video call in your time zone.
My method includes what makes the difference in these sales: a personalised tax pre-calculation — before setting the price, you know exactly how much you will receive net after IRNR, plusvalía and costs, with both plusvalía methods compared. No surprises on signing day.
Frequently asked questions
What is the 3% withholding when selling as a non-resident?
A mandatory advance payment: the buyer withholds 3% of the sale price and pays it to the Spanish Tax Agency (Form 211) within one month. It is later deducted from the final tax on your gain, declared on Form 210.
Can I recover the 3% withholding?
Yes, fully or partially, if the tax on your actual gain is lower than the amount withheld — for instance, if you sold with a small gain or at a loss. You claim it by filing Form 210; refunds usually take 6 to 12 months, and beyond 6 months the Tax Agency must add late-payment interest.
What tax do I pay on the gain as a non-resident?
Spain's Non-Resident Income Tax (IRNR) at a flat 19% (the rate currently in force, subject to legislative change) on the capital gain: transfer value minus acquisition value, both adjusted with deductible costs, whatever your country of residence.
What is the deadline to file Form 210?
Three months from the end of the buyer's period to pay in the withholding — in practice, four months from the completion date.
Who pays the municipal capital gains tax (plusvalía) if the seller is a non-resident?
The law places the obligation on the buyer, who acts as substitute taxpayer: before the town hall, the buyer is solely responsible for filing and payment. Between the parties it can be deducted from the price or claimed back as agreed in the deed — which is why it must be calculated and agreed before completion.
Can I sell my home in Spain without travelling?
Yes. With a power of attorney (granted in Spain, or in your country of residence with The Hague apostille) I can coordinate the entire sale by representation: viewings, negotiation, deposit contract and deed, with communication by video call.
Does the main-residence reinvestment exemption apply to non-residents?
Only to EU/EEA residents, meeting the requirements: the home sold was your main residence (three years of actual residence, holding that status within the two years before the sale), reinvestment within two years, and the new home — in Spain or your country — is also your main residence. Partial reinvestment gives a proportional exemption.
What documents do I need to sell as a non-resident?
The purchase deed and its cost invoices, property tax (IBI) receipts, energy performance certificate, a valid NIE number, a certificate of tax residence if required, and the power of attorney if selling by representation. I provide a complete personalised checklist when we begin the mandate.
Request your non-resident sale study
Market valuation + full tax estimate (IRNR, plusvalía and net proceeds after tax), free and with no obligation.