Short answer: you are tax resident in Spain if you spend more than 183 days here in a calendar year, or if the main centre of your economic interests is in Spain. Either one is enough on its own.
Days of actual presence in Spanish territory are counted within the calendar year, 1 January to 31 December. It is not a rolling twelve-month period, unlike some other countries.
Sporadic absences also count towards the total unless you can prove tax residency elsewhere with a certificate issued by that country’s tax authority. A three-week trip abroad does not by itself break the count.
Even with fewer than 183 days, you are resident if the main core or base of your activities or economic interests is in Spain. What matters here is where your income sources, assets and professional activity are located.
Unless proved otherwise, you are presumed resident in Spain if your legally non-separated spouse and dependent minor children habitually live here. The presumption can be rebutted, but you have to rebut it.
| Status | What you declare | Form |
|---|---|---|
| Tax resident | Worldwide income: pensions, rent, dividends and gains from any country | Spanish income tax return, plus Forms 720 and 721 where required |
| Non-resident | Only Spanish-source income | Form 210 |
This is not a technicality. A British retiree who crosses the 183-day threshold goes from declaring around €400 on a property to declaring their entire pension, rental income and investments in Spain.
With the certificate of tax residency issued by the Spanish tax agency on request. It is the document foreign administrations ask for before stopping withholding at source, and the one the Spanish tax office will want if you claim residency elsewhere.
Registering on the padrón is not the same as being tax resident. The padrón is a municipal register; tax residency is determined by the income tax act. You can be on one and not the other, in either direction.
It happens more often than people expect. Where two countries both treat you as resident, the double taxation treaty between them applies a ranked series of tie-breaker tests: permanent home available to you, centre of vital interests, habitual abode and finally nationality.
If you live near the threshold, keep boarding passes, utility bills, bank statements and anything else evidencing where you were. In an audit the burden of proof falls on you, and reconstructing a whole year three years later is very hard.