New-build residential by the sea in Punta Prima
New: over 1000 new-build developments on the Spanish coast

Selling a Property in Spain as a Non-Resident: Taxes, 3% Withholding and Deadlines

Fiscalidad

Selling a property in Spain while living abroad involves three key tax elements you should know before listing: 19% on your profit, a 3% withholding by the buyer, and the municipal plusvalía tax. With good planning, none should catch you out. Poor planning, however, can cost thousands or leave money tied up with the tax office for months.

In a nutshell

  • As a non-resident, you pay 19% on your capital gain, whether you’re from the EU or not.
  • The buyer withholds 3% of the sale price and pays it to the Spanish tax office on your behalf (modelo 211).
  • You file modelo 210 within three months of the end of the month of sale, to settle up or claim a refund.
  • The municipal plusvalía tax is paid by the seller; if you sell at a loss, you don’t pay it.
  • Keeping invoices for improvements reduces your taxable gain—and your tax bill.

What are the costs of selling?

ItemTypical amountWhen
Estate agency commission3–5% + IVA (VAT)On completion
Municipal plusvalía taxVaries by town and years owned30 working days after sale
Energy efficiency certificate€150–300Before listing
Mortgage cancellation at Land Registry (if any)€400–1,000On or before completion
Lawyer or tax adviserVariesDuring the process
Capital gains tax (IRNR)19% of the gain3% withheld at completion + later settlement

The notary’s fee for the main deed is usually paid by the seller, and the Land Registry fee by the buyer, though this can be negotiated.

How is your gain calculated?

Your taxable gain is the difference between the sale value and the acquisition value. Both are adjusted as follows:

  • Acquisition value = purchase price + taxes paid on purchase (IVA and AJD, or ITP) + notary, registry and legal fees + documented improvements (new kitchen, renovations, pool) − depreciation claimed if you rented it out.
  • Sale value = sale price − estate agent’s commission − your selling costs.

Routine maintenance (painting, replacing appliances, repairs) doesn’t count. Improvements do, as long as you have invoices in your name.

If you rented the property and claimed depreciation, this reduces your acquisition value. This makes sense: you already got tax relief for that amount while renting.

Worked example

A new-build apartment bought in 2019 on the Costa Blanca, sold in 2026 by a Dutch-resident owner, never rented out.

ItemAmount
Purchase price (2019)€200,000
IVA, AJD, notary & registry fees€24,000
Improvements with invoices (awnings, wardrobes, air con)€8,000
Acquisition value€232,000
Sale price (2026)€290,000
Sales commission (4% + IVA)−€14,036
Sale value€275,964
Gain€43,964
Tax (19%)€8,353

At completion, the buyer withholds 3% of €290,000, i.e. €8,700. Since the actual tax is €8,353, when you file modelo 210 you claim a refund of €347. If the withholding was less than the tax due, you’d pay the difference.

Without invoices for improvements, the gain would have been €8,000 higher and the tax €1,520 more.

The 3% withholding, step by step

  1. At the notary, the buyer deducts 3% of the price and pays you 97%.
  2. Within the next month, the buyer pays that 3% to the tax office using modelo 211 and gives you a copy.
  3. You file modelo 210 within three months starting from the end of that first month. In practice, this means between the second and fourth month after the sale.
  4. If the withholding exceeds your actual tax (because you made a small gain or a loss), the tax office refunds the difference. This often takes several months.

Two key points: you only get a refund if you file modelo 210, and the tax office may offset it against any unpaid non-resident taxes from previous years (such as imputed income tax). Make sure you’re up to date before selling.

The municipal plusvalía tax

This is a local council tax on the increase in land value during your ownership. The seller pays it within 30 working days of sale. Since the 2021 reform:

  • You can choose between two calculation methods: the objective method (cadastral land value times a coefficient based on years owned) or the real method (actual gain on the land per the deeds), and pay whichever is lower.
  • If you sell at a loss, there’s no plusvalía, provided the deeds show the loss.
  • If you sell within a year, plusvalía may still apply, based on the actual gain.

As a non-resident, it’s common for the buyer or notary to withhold an estimated plusvalía amount to pay on your behalf. Agree who will handle this before signing.

What non-residents can’t claim

There are two tax breaks only available to Spanish residents:

  • Exemption for over-65s selling their main home.
  • Exemption for reinvesting in another main home, with a limited exception for EU/EEA residents selling what was their main home in Spain.

A holiday home does not count as your main residence for these purposes.

What documents will you need?

  1. Purchase deed.
  2. NIE (Spanish tax ID for foreigners) and, if you won’t travel, a power of attorney for your lawyer or trusted person.
  3. Energy efficiency certificate (required to advertise the property).
  4. Latest IBI bill (annual council tax).
  5. Certificate from the owners’ association showing fees are up to date.
  6. Invoices for purchase, costs and improvements, to calculate your gain.
  7. If you let it as a holiday rental, registration documents.
  8. If there’s a mortgage, a debt certificate from your bank.

How to pay less, legally

  • Keep all invoices from day one, in your name.
  • File your non-resident tax returns every year: this avoids delays in refunds.
  • Calculate plusvalía both ways and choose the lower amount.
  • Check your country’s tax treaty: the gain is also declared at home, but you can usually offset Spanish tax paid.

If you’re selling to buy another property on the coast, let us know before listing: we can coordinate your sale with payments on a new-build development and work out the numbers for both deals together. For the buying side, see how much it costs to buy a new home in Spain.

Want to run the numbers for a specific property? A Homiia adviser will reply in your language within 24 hours—no obligation, no fees.

Speak to an adviser · Download the free guide

Frequently asked questions

How much does a non-resident pay when selling a property in Spain?

19% on your capital gain—that is, the difference between sale value (minus selling costs) and purchase value (plus taxes, costs and documented improvements). You also pay the municipal plusvalía tax.

What is the 3% withholding?

The buyer deducts 3% of the price and pays it to the tax office using modelo 211 as an advance payment of your tax. You then settle up with modelo 210.

Can I get the 3% back if I sell at a loss?

Yes. If you file modelo 210 on time, the tax office refunds the difference between the withholding and your actual tax. If you made a loss, you get it all back, though refunds can take several months.

Do you pay plusvalía if you sell at a loss?

No. Since the 2021 reform, if the deeds show you made no gain, you don’t pay municipal plusvalía.

Sources and references

For information only: not legal or tax advice, or a guarantee of returns. Confirm the terms of your transaction with an independent professional.

See all new buildsAll articles

Keep reading