English-speaking property lawyers in Mallorca, Menorca, Ibiza and FormenteraLegal advice in English · Español · Deutsch · +34 680 464 800
Sales & non-residents

Capital Gains Tax for Non-Residents Selling Property in Spain: The 3% Retention and Form 210

Capital gains tax for a non-resident seller in Spain works differently from the system for residents. When a non-resident sells a property in Mallorca, Menorca, Ibiza or Formentera, the buyer must retain 3% of the price and pay it to the Spanish tax authority. The seller then files a return calculating the actual gain, paying any difference or claiming a refund.

  • Advice in English, Spanish and German
  • Mallorca, Menorca, Ibiza & Formentera
  • Fixed-scope quote in writing

This guide explains the mechanism step by step for sellers and buyers.

The 3% retention

When the seller is not tax resident in Spain, the buyer must withhold 3% of the agreed price and pay it to the tax authority using Form 211 within one month of the sale. The notary records the retention in the deed. If the buyer fails to pay it, the property itself remains answerable for the seller's tax up to that amount, which is why buyers' lawyers insist on it. For sellers, the retention is a payment on account, not the final tax.

Calculating the gain

ElementWhat is included
Transfer valueSale price, less costs of sale paid by the seller (agent, plusvalía, notary items)
Acquisition valuePurchase price plus purchase taxes and costs (notary, registry, legal fees)
ImprovementsCapital improvements with invoices, not maintenance
DepreciationDeducted if the property was rented
GainTransfer value minus acquisition value

The gain is taxed at 19% for non-residents. Inflation adjustment coefficients no longer apply to individuals for current sales. For properties acquired before 31 December 1994, transitional reduction rules may apply to part of the gain.

Filing Form 210

The seller files Form 210 declaring the gain, generally within three months after the end of the one-month period the buyer had to pay the retention. If the tax due is higher than the 3% retained, the seller pays the difference. If it is lower, or there is a loss, the seller requests a refund of the excess. Refunds are paid to a bank account and can take some months. A fiscal representative or lawyer in Spain usually handles the filing.

Avoiding problems with the retention

  • Provide the buyer with your NIE; without it, the retention cannot be filed correctly.
  • Make sure the buyer's lawyer or notary sends you proof of payment of Form 211.
  • Keep the original purchase deed and invoices for costs and improvements.
  • Check whether you were really non-resident: if you are Spanish tax resident, provide a certificate to avoid the retention.

Exemptions and special cases

Some situations change the calculation:

  • Former main home reinvestment: in limited cases, EU/EEA residents selling what was their main home may apply a reinvestment exemption.
  • Inherited properties: the acquisition value is the value declared for inheritance tax.
  • Gifted properties: the acquisition value is the value declared in the gift.
  • Properties held in companies: a company sale follows corporate tax rules.

A worked example

Imagine a non-resident who bought a villa in Ibiza for €1,000,000, paid €90,000 in purchase taxes and costs, later invested €150,000 in a documented renovation, and now sells for €1,600,000, paying €80,000 of agency fees and plusvalía. The transfer value is €1,520,000 and the acquisition value €1,240,000, so the gain is €280,000 and the tax at 19% is €53,200. The buyer will have retained 3% of €1,600,000, which is €48,000, so the seller pays the €5,200 difference with Form 210. Without the renovation invoices, the gain would be €150,000 higher and the tax correspondingly larger. The figures are illustrative, but the lesson is real: keep every invoice.

Rented properties and depreciation

If the property was rented, the depreciation that was deductible (or could have been deducted) reduces the acquisition value, increasing the gain. Owners who let their home in Mallorca for years should calculate this before agreeing a price. The rules for rental periods are explained in rental income tax for non-resident landlords.

Your home country

Your country of residence may also tax the gain, usually giving credit for the Spanish tax under the relevant double tax treaty. Exchange rates, different cost bases and timing can cause differences, so coordinate with your home adviser.

Plusvalía: the municipal tax

Separately, the seller normally pays the municipal tax on the increase in urban land value (plusvalía). When the seller is a non-resident individual, the buyer is legally the substitute taxpayer, so the buyer will usually retain the estimated plusvalía from the price as well. See plusvalía municipal tax explained.

Preparing for the sale

  1. Gather the purchase deed, invoices and tax receipts.
  2. Calculate the estimated gain and tax before agreeing the price.
  3. Check for outstanding non-resident annual tax and IBI, which must be up to date.
  4. Agree in the contract how retentions and costs will be handled.
  5. Appoint a representative to file Form 210 and receive any refund.

For the full seller process, read selling property in Mallorca as a non-resident.

Official sources

Rules and administrative practice change. Check the current version of each source for your property and date.

This guide is general information, not legal or tax advice on a specific transaction. This is the property practice of Castell.law, the English-speaking side of the Castell group of law firms in Palma.

Before you pay a deposit, ask a lawyer

Send us the listing or the document you have been asked to sign. An English-speaking property lawyer will tell you what needs checking and what it could cost you not to.

Frequently asked questions

Do non-residents pay capital gains tax in Spain?

Yes. Non-residents pay 19% on the gain from selling Spanish property.

Is the 3% retention the final tax?

No. It is a payment on account. The seller files Form 210 to pay the difference or claim a refund.

What if I sell at a loss?

You can claim a refund of the full 3% retention by filing Form 210 showing the loss.

Who pays the 3% to the tax office?

The buyer, using Form 211, within one month of the sale.

Can I deduct renovation costs?

Capital improvements with valid invoices can be added to the acquisition cost. Routine maintenance cannot.

Found the property? Let us check the law

Call, WhatsApp or email us with the listing, the reservation document or your question. We will explain the legal position in plain English and the next step to take before your money is at risk.