Capital Gains — Modelo 210
How to declare the sale of a property in Spain as a non-resident
What are capital gains?
When a non-resident sells a property in Spain, they must pay tax on the capital gain. This is the difference between the net sale price (sale price minus selling expenses) and the net acquisition cost (purchase price plus buying expenses and improvements). Positive gains are taxed; negative gains (losses) can result in refund claims.
The tax rate is 19% for all non-residents, regardless of their country of residence (same 19% for EU and non-EU, unlike rental income). This declaration is filed using Modelo 210 within 4 months after the deed is signed.
Real example: Bought for €150,000 (plus €2,000 notary fees = €152,000 cost), sold for €220,000 (minus €8,000 selling expenses = €212,000 net). Gain: €212,000 - €152,000 = €60,000. Tax: €60,000 × 19% = €11,400. However, the 3% withholding already done (€6,600) is deducted, leaving €4,800 to pay.
3% Withholding — Modelo 211
The buyer is legally obligated to withhold 3% of the gross sale price and pay it to the Tax Agency via Modelo 211 (a document the notary prepares). This withholding is an advance payment of your tax. The buyer is responsible for making this withholding and filing Modelo 211. Without Modelo 211, you cannot file the seller's Modelo 210. If the 3% exceeds your actual tax, you request a refund. If your tax is higher, you pay the difference.
Filing deadline
The declaration must be filed within 4 months following the date of the sale deed. Example: if you sold on March 1st, you must file by July 1st. This is a critical deadline: delays result in penalties and late payment interest.
Declaration process
Gather documentation
Purchase deed (with acquisition date and price), sale deed (with price and date), Modelo 211 (essential - buyer's 3% withholding), invoices for improvements made, notary/management fees, registry fees, and associated taxes from purchase and sale.
Calculate the gain
Sale price minus selling expenses = net transmission value. Purchase price plus buying expenses and improvements = net acquisition value. The difference = capital gain or loss.
File Modelo 210
Declare the gain (or loss) and calculate tax. Subtract the withholding already made (Modelo 211). If there's excess withholding, request a refund. If tax is higher, pay the difference through the AEAT online platform.
Capital Gains — Modelo 210
Indicative calculation only.
Modelo 210 capital gains examples
Tax = Gain × 19% | Withholding = Sale price × 3% | Result = Tax − Withholding
German seller (EU) with gain — sale €250,000
- Sale price
- €250,000
- Purchase price + acquisition costs
- €180,000 + €8,000
- Transmission costs
- €5,000
- Capital gain
- €57,000
- Tax rate
- 19% (Germany residence)
Tax = 57,000 × 19% = €10,830 | Withholding = 250,000 × 3% = €7,500 | Result = 10,830 − 7,500
€3,330 to pay
British seller (non-EU) with loss — full refund
- Sale price
- €160,000
- Purchase price + costs
- €220,000 + €12,000
- Capital gain
- −€72,000 (loss)
- Tax rate
- 24% (UK)
- Withholding (Modelo 211)
- 160,000 × 3% = €4,800
Tax = €0 (loss) | Withholding = €4,800 | Result = 0 − 4,800
€4,800 full refund
French co-owners 50/50 with gain
- Total sale price
- €320,000
- Purchase + total costs
- €240,000 + €15,000
- Total gain
- €65,000
- Gain per spouse (50%)
- €32,500 × 19%
- Withholding per spouse
- €4,800 (50% of €9,600)
Individual tax = 32,500 × 19% = €6,175 | Result = 6,175 − 4,800
€1,375 to pay per spouse
Frequently asked questions
Ready to file your Modelo 210?
No digital certificate. 100% online. From €30. We file it with AEAT in minutes.
Related resources
Explore more Modelo 210 and IRNR guides
Modelo 210 Hub
Guía definitiva IRNR: tipos, plazos y checklist 2026
Read the full guideIRNR Hub
Todo sobre el Impuesto de No Residentes en España
Read the full guideWhat is Modelo 210?
Pilar informativo: obligación, tipos y plazos
Read the full guideNRC Modelo 210
Número de referencia completo para pagar e identificar ingresos
Read the full guideCadastral Value
Base del cálculo de renta imputada (1,1% o 2%)
Read the full guideImputed Income
Impuesto anual por vivienda en uso propio o vacía
Read the full guideRental Income
Declarar alquileres como no residente
Read the full guideModelo 211
Retención del 3% en compraventa de inmuebles
Read the full guideModelo 211 deep guide
Artículo completo: plazos, NRC, ejemplos y devolución del 3%
Read the full guideModelo 210 definitive 2026
Guía larga que enlaza al hub /modelo-210
Read the full guide3% Refund
Recupera el exceso retenido al vender tu propiedad
Read the full guideCapital Gains
Impuesto por venta de inmueble en España
Read the full guideTax Calculator
Calcula tu cuota antes de presentar
Read the full guideUK Owners Guide
Modelo 210 post-Brexit al 24%
Read the full guideGerman Owners Guide
IRNR al 19% con deducciones UE
Read the full guideDutch Owners Guide
Impuesto no residente desde Países Bajos
Read the full guideItalian Owners Guide
Modelo 210 para ciudadanos italianos
Read the full guideCosta Blanca
IRNR en Alicante y provincia
Read the full guideBaleares
Modelo 210 en Mallorca e Ibiza
Read the full guideCosta del Sol
Impuesto no residente en Málaga
Read the full guideRegistration Guide
Cómo crear tu cuenta en SpainTaxForm
Read the full guideDeadlines 2026
Calendario de presentación IRNR
Read the full guidePenalties
Multas y recargos por retraso
Read the full guideHoliday lets
Airbnb vs largo plazo
Read the full guideOur Services
Presenta tu Modelo 210 online desde 30€
Read the full guide