Back to guidesSpanish Property Tax

Selling Property in Spain as a Non-Resident: Taxes, 3% Withholding & Refunds

Published: 2026-11-02 · Updated: 2026-11-02T13:11:12.543000

Selling Property in Spain as a Non-Resident: Taxes, 3% Withholding & Refunds

Selling a property in Spain while living abroad can create tax obligations in two countries. Whether you are selling a holiday apartment, an investment property or a former family home, understanding the Spanish rules is essential.

As a non-resident individual, you will generally face 19% Spanish capital gains tax on your taxable gain. The buyer must also normally withhold 3% of the selling price, paid to the Spanish Tax Agency. These are not two separate taxes: the 3% is an advance against your final liability. You might need to pay additional tax, receive a partial refund, or recover the entire withholding—even after selling at a loss.

This guide covers the calculations, tax returns, deadlines, exemptions, municipal tax and possible taxation where you live.

What taxes apply when a non-resident sells property in Spain?

Tax or mechanismGeneral treatment
Non-resident capital gains tax (IRNR)Normally 19% of the taxable gain
Buyer's 3% withholdingAdvance payment calculated on the selling price
Municipal plusvalía (IIVTNU)Local tax linked to increases in urban land value, where applicable

Spanish tax residence, not citizenship, is the primary distinction. A Spanish citizen resident abroad may be a non-resident seller; a foreign citizen resident in Spain may be subject to resident rules instead. Your home country's rules and the applicable double-tax treaty may also matter.

How is Spanish capital gains tax calculated?

Taxable gain = Adjusted selling value − Adjusted acquisition value.

For an ordinary non-resident individual's taxable gain, Spanish tax = taxable gain × 19%, before any special relief.

The adjusted acquisition value generally starts with what you paid plus qualifying purchase taxes, notary/registry costs and eligible capital improvements. The adjusted selling value generally deducts qualifying expenses directly connected with the sale that you bear, such as estate-agent fees. Not all transaction costs qualify.

Capital improvements are not the same as routine repairs or maintenance. If the property was rented, tax depreciation rules may reduce the acquisition value and therefore increase the gain, including certain depreciation amounts even if not claimed.

Inherited properties, joint ownership, older acquisitions, particular historic exemptions and former main residences need separate analysis. A property acquired before 31 December 1994 may be affected by transitional rules. Some qualifying properties acquired between 12 May and 31 December 2012 may benefit from a partial exemption, subject to statutory conditions.

Official guidance: Spanish Tax Agency — Property capital gains.

Why does the buyer withhold 3% of the property sale price?

For an ordinary non-resident property disposal, the buyer retains 3% of the purchase consideration and pays it to the Spanish Tax Agency using Modelo 211, generally within one month after the transfer. The buyer should supply the seller with proof of withholding. The seller claims credit for that payment on Modelo 210, the subsequent non-resident property disposal tax return.

Example: On a €350,000 sale, 3% means €10,500 withheld, leaving €339,500 before any other sale costs. Unlike 19% capital gains tax, the 3% withholding applies to the entire sale consideration, even when the gain is small or negative. Statutory exceptions can apply.

Check your cross-border position: In the TaxTreaties checker, select your tax-residence country, Spain as the source country, and capital gains from real property. Results should be used only when that country pair is verified and published.

Three examples: additional tax, a partial refund, and selling at a loss

The following are illustrative calculations, not personalized tax determinations. All examples assume an individual, accurately documented eligible costs, no special exemptions and no extra depreciation adjustments.

Example A: Capital gain requiring additional Spanish tax

CalculationAmount
Selling price€350,000
Original purchase price€250,000
Eligible acquisition expenses€15,000
Eligible selling expenses€10,000
Taxable gain€75,000
Spanish tax (19%)€14,250
Withholding (3% of sale price)€10,500
Additional tax payable€3,750

Because the withholding was lower than the final tax, the seller must pay the difference when filing Modelo 210. The buyer's 3% payment does not automatically settle the Spanish liability.

Example B: Capital gain producing a partial withholding refund

CalculationAmount
Selling price€300,000
Adjusted acquisition value€280,000
Eligible selling expenses€10,000
Taxable gain€10,000
Spanish tax (19%)€1,900
Withholding (3%)€9,000
Potential refund€7,100

The advance payment exceeds the actual capital gains tax. The seller can generally request the difference through Modelo 210, subject to the tax authority's verification.

Example C: Selling Spanish property at a loss

CalculationAmount
Selling price€300,000
Adjusted acquisition value€325,000
Eligible selling expenses€10,000
Spanish tax loss−€35,000
Spanish capital gains tax€0
Withholding (3%)€9,000
Potential full refund€9,000

Even though the sale produces no Spanish taxable gain, the buyer normally still withholds €9,000. The seller may be able to recover it all.

Important: Losing money commercially is not necessarily the same as reporting a tax loss. Improvements, deductible costs and rental depreciation can change the Spanish result. Your country of residence may also calculate a gain or loss differently.

Are there exemptions when the property was your primary residence?

A former Spanish main home (vivienda habitual) may qualify for special treatment.

Under Spain's non-resident rules, sellers resident in another EU state or qualifying EEA state may qualify for full or partial relief on the gain from a former Spanish habitual residence when they reinvest in a new qualifying habitual residence. Reinvestment generally must take place within two years before or after disposal. Partial reinvestment can mean proportional relief. Detailed habitual-residence, residence-country, timing and documentary conditions apply.

Simply having lived in a property does not exempt a non-resident selling without reinvestment. Spain also has a primary-residence exemption in its resident income-tax rules for certain sellers over 65, but it generally does not transfer automatically to people who are non-resident when selling. Even where relief is available, withholding and filing requirements can remain.

Individual advice is important for sellers who recently moved abroad or have changed residency during the relevant years.

How to reclaim the 3% withholding

If the buyer withheld more than the final Spanish capital gains liability, the seller can normally claim the excess through Modelo 210. This includes a potentially full 3% refund after a genuine Spanish tax loss.

First, calculate the adjusted acquisition and sale amounts. Obtain the buyer's Modelo 211 documentation; the tax authority must be able to match the advance payment to your return. Then submit Modelo 210 with the transaction particulars, taxable gain or loss, withholding and refund account details. The Spanish Tax Agency may check the calculation and request supporting evidence. A refund is not automatically guaranteed.

Documents to gather:

  • NIE/NIF and identity details.
  • Purchase and sale deeds.
  • Purchase taxes, legal, notary and land-registration invoices.
  • Estate-agent invoices and qualifying sale expenses.
  • Improvement invoices and, if rented, depreciation/rental records.
  • Modelo 211 withholding evidence.
  • Bank and representative details where required.

You can file on your own using the Spanish Tax Agency's procedures, or appoint a qualified Spanish tax professional. Professional help may be useful for inherited property, older purchase histories, significant renovations, previous rentals or large refund amounts.

Need help recovering Spanish withholding? Compare the scope and fees of a qualified non-resident tax-filing specialist. TaxTreaties does not guarantee eligibility, processing time or a refund amount.

Modelo 210 and Modelo 211: responsibilities and deadlines

FormResponsibilityOrdinary filing period
Modelo 211BuyerOne month after transfer
Modelo 210Non-resident sellerThree-month period starting after the initial one-month period following transfer

The seller's special property-disposal filing period applies whether the outcome is additional tax, no tax or a refund. Do not confuse it with the timetable for rental or other non-resident income. Joint ownership may require consideration of multiple sellers and individual reporting responsibilities.

Begin gathering documentation at completion rather than just before the deadline. Confirm the precise calculation of deadlines and electronic filing procedures for your transaction.

Official guidance: Spanish Tax Agency — Modelo 210 filing periods.

Plusvalía municipal: is local tax payable even after a loss?

Municipal plusvalía—formally Impuesto sobre el Incremento de Valor de los Terrenos de Naturaleza Urbana (IIVTNU)—concerns changes in urban land value. It is separate from national capital gains tax, which deals with the sale of the property overall.

A loss on an apartment does not necessarily prove that the associated land value has not risen. However, Spanish law provides for non-taxation where the absence of a qualifying land-value increase is established under statutory procedures and evidence requirements.

Where the seller is a non-resident individual, the buyer generally acts as substitute taxpayer for municipal plusvalía. The property sale agreement should clarify contractual reimbursement or settlement arrangements. Calculations and procedures vary by municipality, so there is no universal figure.

Read the Spanish Local Finances Law, Articles 104–110.

Will you also owe capital gains tax in your country of residence?

Possibly. Residence countries may tax worldwide income and gains, including disposals of Spanish property. The Spanish payment is therefore not necessarily the end of the tax story.

To understand your overall position, distinguish four separate questions:

  1. What is the Spanish domestic tax on the property gain?
  2. What does the applicable double-taxation treaty say about gains from immovable property?
  3. How does your residence country's domestic law calculate and tax the gain?
  4. How does that country relieve double taxation—through a foreign tax credit, exemption or another mechanism, if available?

Treaties commonly permit Spain to tax gains from property located there. That does not automatically prohibit the country of residence from also taxing the gain. Relief depends on the actual treaty and domestic rules.

Countries can disagree about the purchase and sale values, currency conversion, deductions and depreciation. Thus, a Spanish tax loss need not be a loss in your residence country, and a Spanish tax payment is not necessarily fully creditable elsewhere.

A British resident, a Swedish resident and a German resident selling otherwise identical Spanish apartments may face materially different residence-country reporting and tax consequences.

Explore your country pair: Go to the TaxTreaties.eu checker, choose your residence country, Spain as the source, and capital gains from real property. Use only scenarios marked as verified and published. If your combination is unavailable, seek jurisdiction-specific guidance rather than assuming another country's treatment applies.

Transferring the sale proceeds outside Spain

After the sale, you may want to send euros to a bank account abroad or convert the proceeds to pounds, kronor or another currency. Compare the total cost of doing so: the exchange-rate spread, transfer fees, sending and receiving limits, settlement time and any intermediary charges. Banks and specialist international payment providers may differ, especially for large transfers.

Expect anti-money-laundering checks and possible requests for sale documentation and proof of funds. Do not assume that an advertised rate means the provider is cheapest or most suitable for your circumstances.

Frequently asked questions

Can I recover the entire 3% withholding if I sell at a loss?

Potentially yes. If the sale creates no Spanish taxable capital gain, you may claim back the full amount through Modelo 210, subject to verification.

Does the 19% rate apply to EU and non-EU residents alike?

Generally yes for an individual non-resident's gain from Spanish property. Some exemptions depend on the country of residence.

Is Modelo 210 needed if the buyer's withholding covers my tax?

Yes. The property-disposal reporting requirement also applies when there is zero further tax or a refund.

Are renovation expenses deductible?

Qualifying capital improvements may increase acquisition value; routine repairs and maintenance generally do not. Keep invoices and proof.

What if I inherited the property?

A later sale can still generate taxable gains. Acquisition value is normally determined using the relevant inheritance valuation rules and adjustments, rather than simply the deceased owner's original purchase price.

How long does a refund take?

Processing times vary. The tax authority may verify details and seek additional documentation; no fixed refund date should be assumed.

Must I report the sale at home?

Possibly. Check the residence country's worldwide-gains rules, exemptions and treaty relief, even if Spain already taxed the sale.

Can my residence country tax a gain when Spain calculated a loss?

Potentially, because acquisition values, deductions, currency conversion and depreciation rules may differ.

Can I file without an adviser?

Generally yes, provided you can comply with identification, documentation and electronic filing requirements.

Non-resident seller's checklist

  • Confirm your tax residence and ownership position.
  • Reconstruct Spanish adjusted purchase and sale values.
  • Collect eligible expenses, improvements and rental-depreciation records.
  • Check exemptions and municipal plusvalía.
  • Confirm the buyer's 3% withholding and obtain Modelo 211 evidence.
  • File Modelo 210 on time, including any refund request.
  • Check residence-country reporting and treaty relief.
  • Compare international transfer options before moving the proceeds.

The key takeaway: A non-resident Spanish property sale can generate extra tax, a partial refund or a complete refund of the 3% withholding. The ultimate cross-border outcome also depends on where you are tax-resident.

Official references

Disclaimer: General educational information, not personalized tax, legal or financial advice. Legal requirements and personal circumstances vary. Obtain professional advice where appropriate.

Primary sources

  • Spanish Tax Agency (AEAT) — Capital gains on nonresident sales: https://sede.agenciatributaria.gob.es/Sede/ayuda/manuales-videos-folletos/manuales-practicos/manual-tributacion-no-residentes/capitulo-03-tributacion-rentas-comunes-nr/ganancias-patrimoniales/ganancias-patrimoniales-derivadas-venta-inmuebles.html
  • Spanish Tax Agency (AEAT) — Modelo 210 filing deadlines: https://sede.agenciatributaria.gob.es/Sede/ayuda/manuales-videos-folletos/manuales-practicos/manual-tributacion-no-residentes/capitulo-05-declaracion-rentas-obtenidas-ep/modelo-plazo-presentacion.html
  • Boletín Oficial del Estado — Ley Reguladora de las Haciendas Locales (Articles 104–110): https://www.boe.es/buscar/act.php?id=BOE-A-2004-4214

This article is for general information only and does not constitute tax or legal advice. Always consult a qualified tax adviser.