Quick answer: spending fewer than 183 days in Spain does not automatically make you a Spanish non-resident for tax purposes. Spanish Personal Income Tax Law contains two main independent tests: spending more than 183 days in Spain during the calendar year, and having the principal centre or base of your economic activities or interests in Spain, directly or indirectly. There is also a rebuttable presumption where a non-legally-separated spouse and dependent minor children habitually reside in Spain.
This means that a relocation built around a day-count spreadsheet, while the business, income, family and economic life remain substantially connected to Spain, can be much less robust than it appears.
The useful rule is: 183 days is an important test, not a tax-residency safe harbour.
Índice
ToggleWhat Spain’s 183-day rule actually says
Article 9 of Spain’s Personal Income Tax Law treats an individual as habitually resident in Spain where either of the following applies:
- the individual spends more than 183 days during the calendar year in Spanish territory; or
- the principal centre or base of the individual’s activities or economic interests is located in Spain, directly or indirectly.
The law also contains a rebuttable presumption of Spanish residence where the individual’s non-legally-separated spouse and dependent minor children habitually live in Spain.
Therefore, someone may spend 150, 120 or fewer days physically in Spain and still need to test whether Spain remains the principal centre or base of their economic activity.
| Situation | Does the day count settle the issue? | What must be reviewed |
|---|---|---|
| More than 183 computable days in Spain | Spain treats you as resident under domestic law | Possible treaty analysis if another country also treats you as resident |
| Fewer days, but the main economic activity remains in Spain | No | Principal centre/base of economic activities or interests |
| Fewer days, while spouse and dependent minor children remain in Spain | No | Family presumption and evidence to rebut it |
| Two countries claim you as resident | No | Applicable double tax treaty, if any |
| You hold a foreign residence permit or visa | No | Actual tax residence under both countries’ rules |
The first mistake: treating “under 183 days” as an automatic non-residence rule
Spanish law does not say:
“If you spend 183 days or fewer in Spain, you are automatically non-resident.”
It says that exceeding the permanence threshold is one route to Spanish residence. Failing that test does not eliminate the separate economic-interests test.
This distinction matters especially for internationally mobile founders, freelancers and investors.
For example, a person may formally relocate abroad, spend most of the year there and still retain in Spain:
- the company from which most of their income arises;
- the operational centre of their professional activity;
- their principal business relationships;
- an economic structure that remains materially dependent on Spain.
That does not automatically make the person Spanish resident. It means the day count alone no longer answers the question.
How are days in Spain actually counted?
The analysis is more sophisticated than counting hotel nights or passport stamps.
Spain’s Central Economic-Administrative Tribunal (TEAC) has described three categories that can be relevant when determining permanence in Spain.
1. Certified presence
These are days where presence in Spain can be established through sufficiently objective evidence.
The TEAC has also stated that once presence on a particular day is established, the whole day counts; there is no minimum-hours test.
2. Presumed days
In appropriate circumstances, days between two certified presences in Spain may reasonably be treated as days in Spain unless there is evidence showing presence outside Spain during the intervening period.
This makes a bare spreadsheet of flight dates a weak substitute for a coherent record of where the person actually lived throughout the year.
3. Sporadic absences
Article 9 provides that sporadic absences may be included in the Spanish permanence calculation unless the taxpayer proves tax residence in another country.
A defensible position should therefore be able to establish not only where you travelled, but where you were genuinely tax resident.
The second test: principal centre or base of economic interests
This is the part of Spanish residence law that is often overlooked.
Spain may treat an individual as resident where the principal centre or base of their activities or economic interests is in Spain, directly or indirectly.
There is no universal statutory formula saying that “51% of income from Spain means Spanish residence”. The result depends on the facts and on how the person’s economic activity is genuinely organised.
Relevant questions can include:
- where the individual materially carries on their professional or business activity;
- where the centre from which the businesses are managed is located;
- which companies the person owns and what role they play;
- where the individual’s main categories of income arise;
- where income-producing assets are located;
- from which country key economic decisions are actually made.
Owning a Spanish company, a Spanish property or a Spanish bank account does not by itself make someone Spanish tax resident. The question is whether, looking at the economic position as a whole, Spain remains the principal centre or base of the person’s activities or interests.
Your company can make a relocation more complex
Consider a founder who relocates abroad in January, spends more than 200 days in the new country and obtains a foreign tax-residence certificate, but retains 100% of a Spanish company that generates almost all of their income.
Are they automatically Spanish resident? No.
Can the Spanish company be ignored because the founder spent fewer than 183 days in Spain? No.
The analysis may need to consider:
- how much of the owner’s income and wealth depends on the company;
- what work the owner personally performs;
- where the activities are actually directed from;
- whether meaningful business or investments exist in the new country;
- and what the applicable double tax treaty says if both countries claim residence.
There is also a separate corporate issue: a foreign company can have its own Spanish tax risks if its effective management is carried on from Spain.
Individual residence and corporate residence are different questions, but the answers need to fit together.
Are you planning to leave Spain, or have you already relocated?
Day counting is only one layer. Your company, income, family, property, investments and destination country can change the outcome. N30 Global’s International Tax Simulator can help identify whether your current position deserves a deeper review before you treat Spanish tax residence as closed.
What if your spouse and children remain in Spain?
Spanish law contains a specific presumption where the following habitually reside in Spain:
- the non-legally-separated spouse; and
- dependent minor children.
The presumption is rebuttable. It does not mean that every individual whose spouse temporarily remains in Spain is automatically resident.
But a solo relocation while the dependent family continues its habitual life in Spain deserves careful analysis.
This domestic-law presumption should also be distinguished from the centre of vital interests used in tax-treaty tie-breaker rules. They operate at different stages of the legal analysis.
Economic interests and centre of vital interests are not the same test
Spanish domestic law
The analysis first applies Article 9. One of its tests asks where the principal centre or base of economic activities or interests is located.
Double tax treaty
If another country also treats the individual as resident under its domestic rules and a tax treaty with Spain applies, a dual-residence conflict can arise.
The Spanish Tax Agency explains that treaties generally resolve individual dual residence by looking in sequence at factors such as:
- a permanent home available to the individual;
- if a permanent home exists in both states, the country with the closer personal and economic relations — the centre of vital interests;
- where the person habitually lives;
- in many treaties, nationality;
- and ultimately, where required, mutual agreement between the competent authorities.
The precise treaty must always be checked because wording can differ.
A foreign tax-residence certificate matters, but it is not the whole analysis
A certificate issued by the destination country’s tax authority is an important piece of evidence. The Spanish Tax Agency itself requests such a certificate when a change of tax residence abroad is reported through Form 030.
But it is important to understand what the document proves: the other country’s authority recognises you as tax resident under its rules.
It does not erase Spanish domestic residence tests.
If Spain can also treat you as resident under Article 9, dual residence may exist and the treaty analysis may become decisive.
Likewise, holding a:
- residence permit;
- visa;
- local ID card;
- company;
- or rental property
in another country does not necessarily resolve Spanish tax residence.
Immigration residence, tax domicile and tax residence are different concepts
| Concept | What it answers |
|---|---|
| Immigration/legal residence | Whether you are legally entitled to live in a country |
| Tax domicile | The address/location recorded for dealings with the tax administration |
| Tax residence | Which country treats you as resident for income-tax purposes, subject to domestic law and treaties |
They often align, but they do not have to.
Changing your address with the Spanish Tax Agency does not itself make you non-resident. A census filing reports a position; it does not replace the substantive residence rules.
Spain generally does not use a split-year system
This is critical when deciding when to relocate.
The Spanish Tax Agency states that the Personal Income Tax period is the calendar year and that a change of residence does not interrupt that period. As a general rule, an individual is therefore treated as resident or non-resident for the whole calendar year.
For example, someone who normally lives in Spain and relocates in September after already accumulating more than 183 computable days in Spain does not simply become Spanish non-resident for the final four months.
The Spanish non-resident position may begin from the following tax year, subject to the specific facts and any applicable treaty.
That is why the timing of a tax relocation should be planned before the flight is booked.
What changes if Spain still treats you as resident?
A Spanish tax resident is subject to Personal Income Tax on worldwide income, subject to applicable treaties and foreign-tax-relief mechanisms.
Depending on the facts, that can include:
- foreign salary or professional fees;
- business income;
- dividends;
- interest;
- foreign rental income;
- capital gains;
- other income arising internationally.
Other wealth or foreign-asset reporting obligations may also become relevant depending on the individual’s circumstances.
A non-resident, by contrast, is generally subject to Spanish tax on Spanish-source income, again subject to any applicable treaty.
A residence mistake can therefore change far more than one tax rate. It can change the entire perimeter of income and obligations that Spain expects to tax.
Four examples showing why the day count is not enough
Case 1: 140 days in Spain, but the main economic activity remains Spanish
A consultant spends 140 days in Spain, 190 days in the destination country and the remainder travelling, while retaining in Spain the structure from which almost all economic activity is organised.
The 140-day figure alone does not establish non-residence. The economic-interests test and, potentially, the treaty must be analysed.
Case 2: 120 days in Spain, while spouse and dependent children remain here
The family presumption under Article 9 becomes relevant. It can be rebutted, but the overall factual and documentary position must be coherent.
Case 3: 100 days in Spain and a substantive tax residence abroad
A founder genuinely lives and works abroad, obtains a valid local tax-residence certificate, relocates the centre of daily life and activity, and retains only some Spanish investments.
The existence of Spanish assets alone does not automatically make the individual resident. Spanish-source income may instead continue to be taxed under non-resident rules.
Case 4: more than 183 days in Spain while another country also claims residence
Spain treats the individual as resident under domestic law through the permanence test. If the other country also treats the person as resident and a treaty applies, the treaty tie-breaker must be considered.
What should a well-designed departure from Spain achieve?
Before concluding that Spanish tax residence has ended, at least four layers should align.
1. Physical presence
The real day count should support the position being taken.
2. New tax residence
The destination country should recognise the individual under its own rules and, where relevant, be able to issue an appropriate tax-residence certificate.
3. Economic centre and corporate structure
Businesses, professional activity, investments and income flows should be reviewed to determine what connections remain with Spain.
4. Personal life and treaties
Family, available homes and personal relationships can become particularly important if dual residence arises and a treaty tie-breaker is required.
N30 Global approaches these as one system. A change of tax residency is not about obtaining a foreign card or winning an argument over 183 days. It is about building a personal, economic and documentary reality that is coherent across jurisdictions.
Common mistakes when leaving Spanish tax residence
- Counting only nights: while ignoring certified presence, presumed days and sporadic absences.
- Confusing a visa with tax residence: immigration status does not necessarily determine tax residence.
- Leaving the economic activity in Spain: without reviewing the economic-interests test.
- Ignoring the family position: where a spouse and dependent minor children continue to live habitually in Spain.
- Assuming a census filing settles tax residence: substantive facts remain decisive.
- Stopping at the foreign tax certificate: dual residence may still need to be resolved under a treaty.
- Relocating too late in the year: forgetting that Spanish residence is generally determined for the whole calendar year.
- Planning individual and company tax separately: when the two structures must work together.
Frequently asked questions about Spain’s 183-day tax-residence rule
If I spend fewer than 183 days in Spain, am I automatically non-resident?
No. Spain can also treat you as resident if the principal centre or base of your activities or economic interests is in Spain. A family presumption can also apply in certain circumstances.
Is the Spanish threshold 183 days or 184 days?
The statute says “more than 183 days”. The permanence test is therefore met once computable presence exceeds 183 days during the calendar year.
Does part of a day count as a full day?
The TEAC has stated that once presence in Spain on a particular day is established, the day counts in full; there is no minimum-hours requirement.
Does owning a Spanish company automatically make me Spanish tax resident?
No. Ownership of a Spanish company alone is not an automatic personal-residence test. It can, however, be relevant to determining where the principal centre or base of economic activities or interests lies.
Does owning a home in Spain make me tax resident?
Not by itself under Article 9. An available home can, however, become relevant in a dual-residence treaty analysis and may also form part of the broader factual picture.
Does a foreign tax-residence certificate prove that Spain can no longer treat me as resident?
It is important evidence of residence in the other country. But if Spain also treats you as resident under its domestic rules, dual residence may exist and the applicable double tax treaty must be reviewed.
Can I be Spanish resident for half the year and non-resident for the other half?
As a general rule, no. Spanish individual tax residence is determined for the whole calendar year and the change of residence does not interrupt the tax period.
What happens if Spain and another country both treat me as resident?
If a double tax treaty applies, its tie-breaker provisions must be used. These commonly examine permanent home, closer personal and economic relations, habitual abode, nationality and ultimately competent-authority agreement. The exact treaty should always be checked.
Conclusion: leaving Spain requires more than a calendar
The 183-day rule matters, but treating it as the only rule can create a false sense of certainty.
A Spanish tax-residence analysis should bring together:
- actual presence;
- economic activities and interests;
- family;
- the destination country;
- foreign tax-residence certification;
- possible dual residence;
- the applicable treaty;
- and the timing of the move.
The objective should not be to make a relocation merely look international. It should be to build a position that is genuinely international in practice, is properly documented and can be explained coherently.
This is the logic behind N30 Global’s international tax approach: first we identify where your life, company and wealth really sit; only then do we decide whether a tax-residence change makes sense and how it should be implemented.
Official sources and references
- Spanish Official Gazette · Personal Income Tax Law 35/2006 — especially Article 9.
- Spanish Tax Agency · Spanish tax residence criteria.
- Spanish Tax Agency · TEAC criteria on days of presence.
- Spanish Tax Agency · Residence in two states.
- Spanish Tax Agency · Residents, non-residents and tax period.
- Spanish Tax Agency · Reporting a change of tax residence abroad.
This article provides general information. Tax residence depends on the specific facts, the domestic laws of the countries involved and, where applicable, the relevant double tax treaty.





