Selling property in Spain
as a non-resident

When a non-resident sells a Spanish home, part of the price never reaches their account: the buyer keeps 3% and pays it to Hacienda. Whether that's too much, too little or exactly right depends on your real gain. Here's how it works, and how to get back what you overpaid.

  1. At the notary3% withheldThe buyer keeps it back
  2. Within a monthPaid to HaciendaBy the buyer (Modelo 211)
  3. Town hallPlusvalíaLocal tax on the land
  4. Within 4 monthsYour returnModelo 210: pay or reclaim
At a glance
  • The buyer withholds 3% of the sale price and pays it to Hacienda on your behalf. It's an advance on your tax, not the final bill.
  • Your real tax is 19% of the gain, the same rate whether you live in the EU or not.
  • You then file a Modelo 210: you pay the difference, or claim back the excess if the 3% was more than you owe.
  • The town hall charges plusvalía separately, and it's usually the seller who pays it.

Selling a home in Spain from abroad is mostly about the notary, the buyer and the keys. The tax side tends to get left for later, and that's where money is lost. Not because the rules are hidden, but because the 3% withholding looks like the end of the story when it's really the beginning.

Here's the full picture, in the order it happens.

The 3% withholding

When the seller is not a Spanish tax resident, the law makes the buyer responsible for securing part of the seller's tax. At the signing, the buyer keeps back 3% of the agreed price and pays it to Hacienda within one month, using Modelo 211.

Three things to keep in mind:

  • It's calculated on the sale price, not on your profit. A €300,000 sale means €9,000 withheld, whether you made a large gain, a small one or a loss.
  • The notary will normally check it's applied, and you'll receive a copy of the Modelo 211. Keep it: you'll need it for your own return.
  • If the buyer doesn't pay it, Hacienda can claim it from them, and even from the property itself. That's why buyers' lawyers never skip it.

Working out your gain

Your taxable gain is what you received, minus what the property really cost you. Both sides include more than just the price:

StepWhat it includes
Sale valueThe sale price, minus your selling costs: estate agent, notary and registry fees you paid, and the plusvalía if you paid it
Acquisition valueWhat you paid, plus your purchase costs: ITP or VAT, notary, registry, legal fees, and improvements you can prove with invoices
DepreciationIf you rented the property out and deducted its depreciation, that amount reduces the acquisition value
GainSale value minus acquisition value

The gain is taxed at 19%. Unlike rental income, this rate is the same for EU and non-EU residents. If the result is a loss, there's no tax to pay, and the whole 3% can be reclaimed.

Your Modelo 210

With the gain calculated, you file a Modelo 210 for the sale. Its result can go two ways:

  1. The tax is more than the 3%

    You pay the difference. The deadline is three months after the end of the buyer's one-month period to pay the 3%, so in practice around four months from the sale.

  2. The tax is less than the 3%

    You claim back the excess. This is the common case when the gain is modest, the property was bought at a high price or the sale makes a loss. Hacienda refunds it to a bank account, usually after checking the figures, which can take several months.

Each owner files their own return for their share. A couple who own 50/50 file two Modelo 210s, each claiming half of the 3% withheld.

A worked example

An owner living in the UK sells a flat they bought in 2015. Purchase price €220,000, plus €18,000 of purchase costs and improvements. Sale price €260,000, with €8,000 of agency and other selling costs.

Illustrative example · sale at €260,000

Withheld vs
actually owed

3% withheld by the buyer€7,800
19% of a €14,000 gain€2,660
€5,140 to reclaim from Hacienda, but only if the Modelo 210 is filed
Gain = (€260,000 − €8,000) − (€220,000 + €18,000) = €14,000. Simplified example for illustration; real figures depend on your documents and situation.

In this case, the buyer withheld almost three times the real tax. Without a return, those €5,140 simply stay with Hacienda.

Selling from abroad?

I calculate the gain, file the Modelo 210 and claim back any excess, and explain each step in English.

Get in touch

Plusvalía: the town hall's tax

Separately from Hacienda, the town hall charges the plusvalía municipal (IIVTNU), a tax on the increase in value of the land the property sits on. It's usually paid by the seller, unless the contract says otherwise.

  • It's calculated from the cadastral value of the land and the years you've owned it. Since 2021 you can choose between two methods, and the cheaper one applies.
  • If you can show there was no real increase in value, for example selling for less than you paid, it isn't due.
  • It has its own deadline with the town hall, normally 30 working days after the sale. Some town halls let the notary or the buyer handle it, but it's still your tax.

Other loose ends

A few things that are easy to forget once the keys are handed over:

  • Imputed income for the year of the sale. If you didn't rent it out, the annual Modelo 210 for imputed income is still due for the days you owned it that year.
  • Rental returns up to the sale date. If it was rented, the rent until the sale needs to be declared as usual.
  • IBI and community fees. Agree in the contract how the year's IBI is split, and leave the community up to date.
  • Your country of residence. The gain may also be taxable where you live. Most tax treaties give you credit for what you paid in Spain, but you'll need the Spanish returns to prove it.
  • A tax residence certificate. If your home country is in the EU, keep an official certificate of tax residence at hand. It's often requested to support your situation.

Five mistakes I see when non-residents sell

  1. Thinking the 3% is the final tax. It's only an advance. Too much or too little, the Modelo 210 settles it.
  2. Never claiming the refund. When the gain is small or there's a loss, the excess stays with Hacienda unless someone files the return.
  3. Losing the purchase paperwork. Without the deeds and invoices for costs and improvements, the gain looks bigger than it is.
  4. Forgetting the plusvalía. It's a different tax, with a different administration and its own deadline.
  5. Leaving the year half-closed. Imputed income or rental returns for the months before the sale are still due.

If you're still at the stage of owning, renting or keeping the property empty, the guide to Modelo 210 explains what you pay each year until you sell.

This article is general information about Spanish tax rules as of November 2026 and does not replace advice on your own situation. Rules, rates and deadlines change, and some cases (inheritances, companies, very old purchases) have their own rules. Deadlines move to the next working day when they fall on a weekend or holiday.

Oriol Sureda
Written by

Oriol Sureda

Independent tax advisor and accountant in Barcelona, working online and in English with foreigners who live, work or own property in Spain.