
Guide · Living in Madrid
Spanish tax residency,
the 183-day rule.
The two tests, how the days are counted, and the certificate.
Plan with us
Two fields are enough. We read every request personally and reply in writing.
The short answer
You are tax resident in Spain for a calendar year if you spend more than 183 days in Spain in that year, counting sporadic absences unless you prove tax residence elsewhere, or if the main centre of your economic interests is in Spain. You are also presumed resident, unless you prove otherwise, when your spouse (not legally separated) and dependent minor children live in Spain. Residence covers the whole calendar year, and residents pay income tax on worldwide income.
What we arrange: the practical side of the move alongside your tax adviser: the home, the schools, the paperwork appointments and a driver for them. Ask us for it →
The two tests, and the family presumption
| Test | What the law says | In practice |
|---|---|---|
| Days | More than 183 days in Spain in the calendar year; sporadic absences count unless you prove tax residence in another country | Keep proof of where you were each day |
| Centre of economic interests | The main centre or base of your activities or economic interests is in Spain, directly or indirectly | You can be resident with fewer than 183 days |
| Family presumption | Presumed resident, unless you prove otherwise, if your spouse (not legally separated) and dependent minor children live habitually in Spain | Moving the family first changes your position |

How the 183 days are counted
Spain’s central tax tribunal (TEAC, resolution 04812/2020 of 25 April 2023) counts in three layers: days of proven presence, each counted in full with no minimum number of hours; presumed days between two proven presences, unless you prove you were abroad; and sporadic absences, added on top. The days need not be consecutive. Residence is decided for the whole calendar year: you are resident or not for all of it, whichever month you arrive.
What changes when you become resident
- Income tax. Residents pay Spanish income tax (IRPF) on worldwide income; non-residents pay non-resident income tax only on Spanish-source income.
- The special regime. People moving to Spain for work may opt for the regime for posted workers (the Beckham law), with its own conditions.
- Treaties. If two countries both claim you, the double tax treaty decides, usually by permanent home first, then centre of vital interests.
- Leaving for a tax haven. Spanish nationals who move to a non-cooperative jurisdiction remain Spanish taxpayers for the year of the move and the following four years.

Proving it: the certificate of tax residence
A Spanish resident gets the certificate of tax residence from the Agencia Tributaria’s online office (Certificates, Census), identified with Cl@ve or a digital certificate, choosing the treaty country or none; where requirements are met it is issued immediately, and in person it is requested with form 01 by appointment. For treaty purposes a certificate is valid for one year from issue. To prove you are resident elsewhere, the certificate comes from that country’s tax authority.
A year in Madrid, planned around the rule
- Decide with your adviser which side of the line you want to be on before 1 January.
- Keep a day-by-day record: flights, hotel and card statements.
- Plan the family’s move and the children’s schooling with the presumption in mind.
This guide summarises the official rules; it is not tax advice. We work alongside your tax adviser on the move itself.
The Beckham law → Non-resident tax in Spain → The US-Spain tax treaty → Wealth tax in Madrid →
Madrid, your way
The move, organised
around the rules.
Tell us your timing and your family. We handle the practical side with your adviser.
Next step
Settling in Madrid, with someone local beside you.
Tell us what you have in mind; we reply personally, in writing.
For your stay
What would make the move easier?
Choose what you would love to find waiting. Paul reads every request personally and replies in writing.
01The stay
02Arrival and drivers
03Experiences
04Private aviation
05Tables and evenings
Madrid, arranged.
Plan your move to Madrid with us
Tell us what you need. We read every request personally and reply in writing.
How it works
- Tell us what you need and when. One message is enough.
- We read every request personally and reply in writing.
- Nothing is booked until you confirm.
- We do not sell your details or use advertising cookies.
- Prefer to talk? Call or text +1 (786) 340-9201.
Related: Madrid concierge service · luxury hotel or private home in Madrid · day trips from Madrid with a private driver.
Before you fly
A few good questions.
How many days make you tax resident in Spain?
More than 183 days in the calendar year, counting sporadic absences.
Can I be tax resident in Spain with fewer than 183 days?
Yes, if your main centre of economic interests is in Spain, or by the family presumption.
Do the 183 days have to be consecutive?
No. Each proven day counts in full, consecutive or not.
How do I get a Spanish tax residence certificate?
Online at the Agencia Tributaria (Certificates, Census) with Cl@ve or a digital certificate, or in person with form 01 by appointment.
Sources
- Agencia Tributaria · Persona física residente en España · checked 2026-11-24
- Agencia Tributaria · El TEAC define el concepto días de permanencia (RG 04812/2020, 25 Apr 2023) · checked 2026-11-24
- Agencia Tributaria · Solicitud de un certificado tributario de residencia fiscal · checked 2026-11-24
- Agencia Tributaria · Certificados de residencia fiscal, preguntas frecuentes · checked 2026-11-24