Selling a property as a non-resident: the 3 % withholding

Selling as a non-resident? The buyer withholds 3 %. What to declare on form 210, how to recover any excess and how municipal capital gains tax works.
If you're selling in Vilanova i la Geltrú, we'll work out what you'll keep in your own case: ask for a free valuation, or see how we sell in Vilanova.
If you live outside Spain and sell a property you own here, the transaction has a particularity that surprises many owners: on the day of signing you don't receive the full price. The buyer keeps 3 % and pays it to the Spanish tax authority (Hacienda) in your name. We explain why this happens, what you have to declare afterwards and how to recover anything that was withheld in excess.
Key points
The buyer withholds 3 %. When the seller is not resident in Spain, the buyer must keep 3 % of the agreed price and pay it to Hacienda as an advance payment of the seller's tax (Non-Resident Income Tax Law (IRNR), art. 25.2).
They have one month to pay it in. They do so using form 211, within one month of the date of sale, and give you a copy.
You declare the gain. With form 210 you declare the actual gain, which is taxed at 19 %, and deduct the 3 % already withheld.
If too much was withheld, it is refunded. If the 3 % exceeds the tax you owe, or if you made a loss on the sale, you can apply for a refund of the excess.
Municipal capital gains tax also changes. If the seller is a non-resident individual, the buyer becomes the substitute taxpayer before the town council (TRLRHL, art. 106.2).
Who is considered a non-resident?
Tax residence doesn't depend on your nationality or on owning a property here. According to the personal income tax law (IRPF), you are resident in Spain if either of these conditions is met (art. 9.1):
you spend more than 183 days of the calendar year in Spanish territory, or
Spain is where the main centre of your activities or economic interests is located.
The law also presumes that you are resident if your spouse (not legally separated) and your dependent minor children habitually live here, unless you prove otherwise. If you don't meet any of these conditions, you are taxed as a non-resident, and that is what triggers the 3 % withholding.
In the Garraf, and especially in Sitges, it isn't unusual to find owners who bought a second home and live in another country, or people who left for work and kept their flat. If that's your case, you may also be interested in our article on living in Sitges, which explains what people who want to settle there are looking for.
How the 3 % withholding works
The rule is set out in the consolidated text of the Non-Resident Income Tax Law: when a non-resident without a permanent establishment sells a property located in Spain, the buyer is obliged to withhold and pay in 3 % of the agreed consideration (art. 25.2). It isn't a new tax, but an advance payment of the tax you will have to pay on the gain.
In practice, it is settled at the notary's office:
The buyer pays you 97 % of the price at the time of signing.
They keep the remaining 3 % and pay it to Hacienda with form 211, within one month of the date of sale.
They give you a copy of that form, which you will need for your own tax return.
An example with round numbers: if the sale closes at 300.000 €, the buyer pays you 291.000 € and withholds 9.000 €. That 9.000 € counts towards whatever you have to pay on the gain.
The 3 % is calculated on the price, not on the gain. That is why it often doesn't match the final tax: it can fall short or exceed it.
What happens if the buyer doesn't pay in the withholding?
It is, above all, a risk for the buyer. If the withholding isn't paid in, the property remains liable for the lesser of that withholding and the tax that was due, without prejudice to any penalties (IRNR Law, art. 25.2). In other words: the debt follows the property, and the buyer could end up being held liable for it.
That is why the simplest approach is to deduct the withholding from the price in the deed itself and record it there. If there is more than one owner in the sale and only some are non-residents, the withholding is calculated only on the part of the price that corresponds to the non-resident, as the Spanish Tax Agency explains in the instructions for form 211.
Your tax return: form 210
The withholding doesn't release you from filing a return. As a non-resident seller, you file form 210 for the capital gain. The deadline is three months, starting when the month the buyer has to pay in the withholding ends; in practice, about four months from signing. It must be filed whether it results in a payment or a refund.
How it is calculated, according to the Spanish Tax Agency's manual on non-resident taxation:
Gain = transfer value − acquisition value. As for a resident, the purchase price is added to the costs and taxes of the acquisition, and the expenses you pay as the seller are deducted from the sale price.
Rate: the gain is taxed at 19 % (IRNR Law, art. 25.1.f).
Final amount: from the resulting tax you deduct the 3 % withheld by the buyer.
If the result is positive, you pay the difference. If the withholding was higher than the tax, or if you sold at a loss, you can apply for a refund of the excess on the same form 210. If you are a married couple who are both non-residents and the property belongs to both of you, the Tax Agency allows you to file a single return.
The concepts of acquisition value and transfer value are the same ones we explain in our article on personal income tax when selling a home, and you can find the expenses you can deduct in what it costs to sell a home in Catalunya.
If you live in the European Union and are going to buy another main home
There is an exemption designed for those who live in another country of the European Union, or of the European Economic Area with effective exchange of tax information. If you sell what was your main home in Spain and reinvest the full amount in a new main home, the gain may be excluded from taxation. If you reinvest only part of it, the proportional part is excluded (IRNR Law, seventh additional provision).
Two important points:
It must be the property that was your main residence, not a second home.
Even if you claim the exemption, the buyer still withholds 3 % and you still file form 210. It is in that return that the exemption is applied and, where relevant, what was withheld is recovered.
Municipal capital gains tax when a non-resident sells
Municipal capital gains tax (plusvalía municipal) is calculated in the same way as in any sale, but who answers to the town council changes. When the seller is an individual who is not resident in Spain, the buyer is treated as the substitute taxpayer (consolidated text of the Local Taxation Law, art. 106.2). That is, the buyer pays it to the town council, even though the tax is yours.
That is why, in these sales, the usual approach is to calculate the plusvalía before signing and deduct it from the price as well, just like the 3 %. The deadline to declare it in a sale is thirty working days from signing (art. 110.2). How it is calculated, and when it doesn't have to be paid because there was no gain, we explain in our article on municipal capital gains tax.
What to have ready before selling
A sale by a non-resident involves more paperwork to coordinate between the notary, the buyer and, often, a tax adviser in your country. It helps to have to hand:
Your NIE or tax identification number in Spain, which you will be asked for at the notary's office and in the tax returns.
The purchase deed and the invoices for the acquisition costs and for any improvements you can document: without them you won't be able to calculate the gain properly.
A tax residence certificate from your country, especially if you are going to apply the reinvestment exemption or the double taxation treaty.
A bank account where you can receive the price and, if applicable, the refund.
If you left the property empty or available for use while you lived abroad, also remember the imputed income (renta imputada) for the years you were the owner, which is declared with the same form 210. The Tax Agency has changed the calendar: imputed income for 2026 is declared between 1 April and 31 December 2027.
And in your country of residence?
Selling in Spain doesn't always end here. Depending on where you live, your country may ask you to declare the sale as well and apply the double taxation treaty it has with Spain so that you don't pay twice on the same thing. Each treaty is different, so it's worth reviewing it with an adviser in your country before setting the price, because it affects what you will be left with after tax.
If you live abroad and are thinking of selling your home in the Garraf, we can take care of the sale and coordinate the withholding and the plusvalía with the notary's office so that you don't have to travel more than necessary. Tell us about your case.
Keep reading
Thinking of selling?
We call you, come and see it, and tell you what it's worth and how we'd sell it.


