Market intelligence
Buying a Home in Spain: How Your Tax Residency, and the Seller's, Changes What You Must Do
At purchase, the seller's tax status decides whether you must file Modelo 211 (Form 211).
Global Property Compass Research
- Published
- Methodology
- How this was researched →
Listen to this analysis
11 min
Contents (9)
- Two residencies matter when you buy, not one
- Which residency drives what
- If the seller is non-resident: your Modelo 211 duty
- Staying non-resident: how Spain taxes the home
- Moving to Spain: what changes when you become resident
- Checking your own residency
- Before you sign: five checks
- Sources
- Related GPC intelligence
Two residencies matter when you buy, not one
At purchase, the seller's tax status decides whether you must file Modelo 211 (Form 211) [1]. The Agencia Tributaria (Spanish Tax Agency) publishes this form. Your own residency decides how Spain taxes you once you own the home [3][5].
The seller's status has two parts. The first is whether they are tax resident in Spain. The second is whether they have a permanent establishment there. That is a tax term for a fixed business presence in Spain.
Say the seller is non-resident and has no permanent establishment. Then you must file Modelo 211 [1]. That applies whether you are resident or not [1]. You also withhold an amount toward the seller's tax [2]. Withholding means you keep money back and pay it to the Tax Agency for them. The seller later offsets that amount against their own tax [2].
If you are tax resident in Spain, you pay IRPF (Personal Income Tax) on your worldwide income [3]. If you are not, income from your Spanish home falls under IRNR (Non-Resident Income Tax) [5][4]. The Tax Agency publishes the forms and guidance for both [1][3][5].
It is easy to assume only your own status counts at purchase. It does not. The seller's status creates the filing duty [1].
Tax forms and their instructions change. Check the current version on the Tax Agency website before you act.
Which residency drives what
| Situation | What applies | Sources |
|---|---|---|
| The seller is non-resident, with no permanent establishment in Spain | You file Modelo 211 and withhold an amount toward the seller's tax. This applies whether you are resident or not. | [1][2] |
| You are tax resident in Spain | You are an IRPF taxpayer on your worldwide income | [3] |
| You are not tax resident in Spain | Income from your Spanish home falls under IRNR | [5][4] |
| You become resident by moving to Spain | You may be able to opt for IRNR rules while staying an IRPF taxpayer, if conditions are met | [10][9] |
If the seller is non-resident: your Modelo 211 duty
The buyer must file. That means anyone who buys real estate in Spain from a non-resident without a permanent establishment [1]. The buyer may be resident or non-resident. The buyer may also be a person or a company [1].
Whether a seller has a permanent establishment in Spain is a technical tax question. Ask the seller, or their adviser, to confirm it.
The duty includes withholding. You keep back an amount and pay it toward the seller's tax [2]. The Tax Agency calls this an amount 'withheld or paid on account' by the buyer [2]. 'On account' means an advance against the seller's final tax.
The seller then declares the sale on Modelo 210 (Form 210) [2]. They pay any final tax due. They offset the amount you withheld [2].
Confirm the amount to withhold and the filing deadline before completion. Use the current Modelo 211 instructions, or ask your adviser.
Find out the seller's tax status before you sign.
Staying non-resident: how Spain taxes the home
Income from property in Spain is subject to IRNR [5]. Spain's domestic law on this tax is the revised Non-Resident Income Tax Act. Legislative Royal Decree 5/2004, of 5 March, approved that revised text [4]. The Tax Agency gives separate guidance for non-residents with and without a permanent establishment [6].
Rent. Say you let the home to an individual. The tenant pays the rent outside any business activity. The Tax Agency gives rent like that as an example of income declared on Modelo 210 [2]. Its guidance on rental income for non-residents cites article 13.1.g of the Non-Resident Income Tax Act [7]. If your tenant is a business, ask your adviser how the rent is declared.
Imputed income. Imputed income is income the tax rules attribute to you, rather than money you actually receive. The Tax Agency's non-resident guidance lists it alongside rent and gains [5]. Ask your adviser whether and how it applies to you.
Selling later. If you sell the home while non-resident, the gain falls under IRNR [5][8].
Your own buyer. The duty also runs the other way. You may sell while non-resident and without a permanent establishment in Spain. If so, your buyer must file Modelo 211 [1].
Moving to Spain: what changes when you become resident
Once you are tax resident in Spain, you are an IRPF taxpayer [3]. You must declare your worldwide income in Spain, not only your Spanish income [3].
Some people who move have an option. It is the régimen especial de impatriados (special regime for inpatriates). It sits under article 93 of the Personal Income Tax Law [9].
The option covers people who become tax resident by moving to Spain. They may choose to pay tax under IRNR rules [10]. They remain IRPF taxpayers while they do [10]. The choice depends on conditions being met [10]. The Tax Agency describes the option in its instructions for Modelo 151 (Form 151) [10]. Those instructions cover 2023 and later years [10].
Ask a tax adviser which conditions apply to you. Do it before you move.
Do you have income from abroad? The Tax Agency publishes brochures for Spanish tax residents with foreign income, country by country [11][12]. Two examples cover income from the United States and from Germany [11][12]. The Tax Agency says these brochures are for information only [11][12].
Checking your own residency
The Tax Agency explains when an individual counts as resident in Spain. Its page 'Individual resident in Spain' deals with this question [13]. Read it against your own facts.
Ask the Tax Agency, or a Spanish tax adviser, before you rely on a day count.
You may need a certificado de residencia fiscal (tax residence certificate) to prove your status. Ask the Tax Agency whether it can issue one in your case, and how to apply.
Before you sign: five checks
These are steps to take, not advice on whether to buy.
- Find out whether the seller is tax resident in Spain. Ask whether they have a permanent establishment there.
- If the seller is non-resident, confirm the current Modelo 211 withholding amount and deadline.
- Work out which tax status you expect to hold once you own the home.
- If you plan to move to Spain, ask a tax adviser about the inpatriate regime conditions. Do this before you move.
- If you will let the home while non-resident, ask your adviser how to declare the rent. Rent from an individual tenant outside any business activity is the Tax Agency's example of Modelo 210 income.
A qualified Spanish tax adviser can tell you how each check applies to your case.
Sources
- [0] Agencia Tributaria. Non-resident Income Tax. https://sede.agenciatributaria.gob.es/Sede/en_gb/vivienda-otros-inmuebles/tributacion-arrendador-viviendas-otros-inmuebles/tributacion-alquiler-apartamentos-turisticos/impuesto-sobre-renta-no-residentes.html
- [1] Agencia Tributaria. Specific issues regarding real estate taxation: Income from leased properties. https://sede.agenciatributaria.gob.es/Sede/en_gb/no-residentes/irnr-sin-establecimiento-permanente/cuestiones-especificas-sobre-tributacion-inmuebles/rendimientos-inmuebles-arrendados.html
- [6] Agencia Tributaria. Modelo 211: Instructions. https://sede.agenciatributaria.gob.es/Sede/en_gb/todas-gestiones/impuestos-tasas/impuesto-sobre-renta-no-residentes/modelo-211-irnr______es-no-residentes-permanente_/instrucciones.html
- [7] Agencia Tributaria. Obtaining foreign income, general rules. https://sede.agenciatributaria.gob.es/Sede/en_gb/ciudadanos-familias-personas-discapacidad/residentes-rentas-procedentes-extranjero/obtencion-rentas-extranjeras-reglas-generales.html
- [9] Agencia Tributaria. Individual resident in Spain. https://sede.agenciatributaria.gob.es/Sede/en_gb/no-residentes/residencia-personas-fisicas-juridicas/persona-fisica-residente-espana.html
- [10] Agencia Tributaria. Non-residents: taxation of real estate. https://sede.agenciatributaria.gob.es/Sede/en_gb/vivienda-otros-inmuebles/no-residentes-tributacion-inmuebles.html
- [11] Agencia Tributaria. Residents' brochures with foreign income: The United States. https://sede.agenciatributaria.gob.es/Sede/en_gb/ayuda/manuales-videos-folletos/folletos/folletos-residentes-rentas-extranjeras/estados-unidos.html
- [13] Agencia Tributaria. Residents' brochures with foreign income: Germany. https://sede.agenciatributaria.gob.es/Sede/en_gb/ayuda/manuales-videos-folletos/folletos/folletos-residentes-rentas-extranjeras/alemania.html
- [14] Agencia Tributaria. Modelo 151: Instructions for completion, 2023 and subsequent years. https://sede.agenciatributaria.gob.es/Sede/en_gb/todas-gestiones/impuestos-tasas/impuesto-sobre-renta-personas-fisicas/modelo-151-decla_____los-trabajadores-desplazados-espanol_/instrucciones-cumplimentacion-ejercicio-2023-siguientes.html
- [15] Agencia Tributaria. Capital gains from the sale of real estate. https://sede.agenciatributaria.gob.es/Sede/en_gb/ayuda/manuales-videos-folletos/manuales-practicos/manual-tributacion-no-residentes/capitulo-03-tributacion-rentas-comunes-nr/ganancias-patrimoniales/ganancias-patrimoniales-derivadas-venta-inmuebles.html
- [17] Agencia Tributaria. Modelo 210: Instructions. https://sede.agenciatributaria.gob.es/Sede/en_gb/todas-gestiones/impuestos-tasas/impuesto-sobre-renta-no-residentes/modelo-210-irnr______a-no-residentes-permanente_/instrucciones.html
- [20] Agencia Tributaria. Special regime for inpatriates, art. 93 Personal Income Tax Law. https://sede.agenciatributaria.gob.es/Sede/en_gb/ayuda/manuales-videos-folletos/manuales-practicos/manual-tributacion-no-residentes/regimenes-opcionales/regimen-especial-impatriados.html
- [23] Agencia Tributaria. Specific issues regarding property taxation: Types of income from property. https://sede.agenciatributaria.gob.es/Sede/en_gb/no-residentes/irnr-sin-establecimiento-permanente/cuestiones-especificas-sobre-tributacion-inmuebles.html
Ask Anna about Spain
Practical answers from the published Guides, with their sources. Anna is an AI assistant; not personal advice.
Sources & methodology
How sources are selected, ranked and verified: sources and methodology.
- 01
Tax Agency: Instructions
Primary authority· sede.agenciatributaria.gob.es· ES
- Last verified
- 2026-10-13
- 02
Tax Agency: Instructions
Primary authority· sede.agenciatributaria.gob.es· ES
- Last verified
- 2026-11-04
- 03
Tax Agency: Obtaining foreign income, general rules
Primary authority· sede.agenciatributaria.gob.es· ES
- Last verified
- 2026-11-17
- 04
Tax Agency: Personal Income Tax for Non-Residents
Primary authority· sede.agenciatributaria.gob.es· ES
- Last verified
- 2026-11-18
- 05
Tax Agency: Specific issues regarding property taxation - Types of income from property
Primary authority· sede.agenciatributaria.gob.es· ES
- Last verified
- 2026-10-12
- 06
Tax Agency: Non-residents: taxation of real estate
Primary authority· sede.agenciatributaria.gob.es· ES
- Last verified
- 2026-11-04
- 07
Tax Agency: Specific issues regarding real estate taxation - Income from leased properties
Primary authority· sede.agenciatributaria.gob.es· ES
- Last verified
- 2026-10-12
- 08
Tax Agency: Capital gains from the sale of real estate
Primary authority· sede.agenciatributaria.gob.es· ES
- Last verified
- 2026-10-12
- 09
Tax Agency: Special regime for inpatriates art. 93 Personal Income Tax Law
Primary authority· sede.agenciatributaria.gob.es· ES
- Last verified
- 2026-10-12
- 10
Tax Agency: Instructions for completion of the 2023 and subsequent years
Primary authority· sede.agenciatributaria.gob.es· ES
- Last verified
- 2026-10-12
- 11
Tax Agency: The United States
Primary authority· sede.agenciatributaria.gob.es· ES
- Last verified
- 2026-10-12
- 12
Tax Agency: Germany
Primary authority· sede.agenciatributaria.gob.es· ES
- Last verified
- 2026-10-12
- 13
Tax Agency: Individual resident in Spain
Primary authority· sede.agenciatributaria.gob.es· ES
- Last verified
- 2026-10-12
Editorial intelligence only. Not legal, tax, financial or investment advice. Laws, regulations and market conditions may change. Verify material decisions with qualified local advisers. Full disclaimer.
Continue your research

