How the 183-Day Rule Works, Country by Country
Jurisdiction-specific claims checked against primary sources: official tax authorities and the OECD. Last reviewed . This is general information, not tax or legal advice.
Most people believe tax residency comes down to a single number. Spend 183 days in a country and you become a tax resident there. Stay under it and you are safe. Both halves of that belief are wrong more often than people expect.
Here is the short version. The 183-day rule is a threshold that many countries use as one signal that you have become a tax resident. In a lot of places, being physically present for 183 days or more in the relevant year makes you resident by default. The reverse does not hold. Staying under 183 days does not reliably keep you out, because most countries apply other tests alongside the count, and some do not lead with a day count at all. Counting your days helps you understand your position. It does not, by itself, prove where you were. That gap between what you counted and what you can show is where a lot of avoidable trouble starts.
This guide explains what the rule actually is, why the number is 183, how different countries count, the tests that override a close count, what happens when two countries both claim you, and why documenting your presence is a separate job from tallying it.
183 days isn't the answer. It's where the analysis starts.
- Day countHow many days? A threshold, not a verdict.
- Domestic lawDoes another test make you resident anyway?
- Dual residence?If two countries both claim you, a treaty tie-breaker decides.
- EvidenceWhatever the answer, can you support the facts behind it?
Why 183 days, and where the number comes from
The logic behind 183 is simple arithmetic. A year has 365 days. Half of that, rounded up, is 183. The idea is that if you spend more than half the year in one place, that place has a strong claim to treat you as one of its residents for tax purposes. It is a rough proxy for “this is where your life mostly happens.”
The number turns up in two very different legal settings, and confusing them causes a lot of the misunderstanding around this topic. Many countries write a 183-day presence test into their domestic law as one way to establish residence. Separately, the 183-day figure appears in tax treaties, in the article dealing with income from short-term employment abroad. Those are not the same rule and they do not do the same job. We will come back to the treaty version later, because people routinely cite it as if it decided their residence, and it does not.
For now, hold on to three things that count days but answer completely different questions:
- Domestic residence law decides whether a single country treats you as its tax resident.
- Tax treaties only step in to allocate you between two countries when both of them claim you at once.
- Immigration limits (like the Schengen area’s ninety days in any hundred and eighty) govern your right to be present, not your tax position at all.
People conflate them because all three involve counting days. Staying inside an immigration limit does not make you tax non-resident, and becoming tax resident does not grant you any immigration status. They answer different questions and are enforced by different authorities.
How the day count actually works
If a country uses a day count, the next question is how it counts. This is less obvious than it sounds, and the details differ enough between countries that a habit learned in one place can quietly betray you in another.
Calendar year, tax year, or a rolling window
The first variable is the period you are counting across. Spain counts presence across the calendar year, from 1 January to 31 December. Ireland also uses a tax year that runs on the calendar. The United Kingdom uses its own tax year, which runs from 6 April to 5 April. Australia measures across the income year, 1 July to 30 June. Some countries look at a rolling twelve-month window rather than a fixed year, so the clock never fully resets on 1 January.
The practical consequence is that the same travel pattern can put you over the line in one country’s accounting and under it in another’s. A stretch of days that straddles a year boundary might be split harmlessly across two calendar years in one system and captured inside a single rolling window in another.
Do arrival and departure days count
The second variable is how a country treats the days you enter and leave. There is no shared convention.
The United States and Ireland count any day on which you are physically present at any point, so both the arrival day and the departure day usually count. The United Kingdom generally applies a midnight test, meaning a day counts if you are in the country at the end of it, so an arrival day before midnight tends to count and a same-day departure tends not to. Australia counts all days of physical presence in the income year, including the days you arrive and leave. This single detail can swing a borderline case by several days over a year of frequent travel, which is exactly the range where borderline cases live.
Partial days, transit, and presumed presence
Related to the above, countries differ on partial days and transit. Where the rule is “present at any time in the day,” a two-hour layover on the ground can register as a full day, though several systems specifically exclude time spent airside in international transit. Some countries also disregard days you could not leave because of circumstances outside your control, such as a medical emergency or a cancelled flight, but the relief is narrow and has to be documented to be useful.
There is also the concept of presumed or deemed presence, where a country will treat you as present, or as resident, based on factors other than a headcount of days, which leads directly into the next point.
Sporadic absences
Some systems close the obvious loophole of stepping across a border to break a count. Spain, for example, adds short absences back into your Spanish day count unless you can prove tax residence in another country during those absences. In other words, a weekend trip out of the country does not automatically subtract from your Spanish days. It only helps if you can show you were genuinely tax resident somewhere else. This is the first clear sign that in many places the day count is not a mechanical tally you control by watching a calendar, but a figure the authority can adjust based on the wider picture of your life.
The table below summarises how a few countries handle the mechanics. Treat it as an orientation, not a substitute for the rules that apply to your own situation.
| Country | Counting period | Arrival and departure days | Notable mechanic |
|---|---|---|---|
| United States | Calendar year, weighted over three years | Any day of physical presence counts | 183 is reached through a weighted formula, not a simple single-year count |
| United Kingdom | UK tax year, 6 April to 5 April | Midnight test, present at end of day counts | 183 days is only one of several tests |
| Spain | Calendar year | Presence-based, no midnight rule stated | Sporadic absences added back unless residence elsewhere is proven |
| Portugal | Rolling 12-month period beginning or ending in the tax year | Presence-based, consecutive or interrupted days | A habitual home held with intent to occupy can establish residence on a shorter stay |
| Ireland | Tax year, on the calendar | Any part of a day counts | Also a 280-day test across two consecutive years, with a 30-day floor |
| Australia | Income year, 1 July to 30 June | Arrival and departure days both count | 183-day test is one of four residency tests |
| Canada | Tax year, on the calendar | Each day or part of a day counts, commuting days excluded | 183 or more days makes a deemed resident only if there are no significant ties and no treaty residence elsewhere; significant ties can make you resident on fewer days |
| Germany | Not a fixed annual count | Not the primary basis | Residence turns on a home kept for use, or a continuous stay over six months |
Last verified 6 August 2026 against the tax authorities and legislation cited in the sources section. Rules change; confirm before relying on any single row.
If you want to see how a given pattern of travel lands against the basic threshold, the 183-day rule calculator is a quick way to sketch it out. Use it to understand your position, then keep reading, because the count is only the first of several things that matter.
There is no single universal rule
The phrase “the 183-day rule” makes it sound like one law that applies everywhere the same way. It is closer to a family of loosely related rules. Each country writes its own definition of residence, chooses its own counting period, and decides how much weight the day count carries against other factors. A few countries barely use a day count at all.
A short tour of how eight countries define residence
The United States is the outlier most people get wrong. US citizens and lawful permanent residents, the green card holders, are taxed on their worldwide income regardless of how many days they spend anywhere. For everyone else, the US uses a Substantial Presence Test. That test is where the 183 figure appears, but not as a simple single-year count. You meet it if you are present at least 31 days in the current year and at least 183 days across a three-year window, where the current year counts fully, the prior year counts as one third, and the year before that counts as one sixth. A person can be well under 183 days in the current calendar year and still be a US resident once the weighting is applied. There is also a closer-connection exception for someone present under 183 days in the current year who keeps a tax home and closer ties abroad.
The United Kingdom does not have a simple 183-day rule at all, even though 183 days appears in it. Its Statutory Residence Test works in three ordered layers. First there are automatic overseas tests that can make you non-resident on very few days. Then there are automatic UK tests, one of which is spending 183 days or more in the UK tax year. Then, if nothing above settles it, there is a sufficient ties test that combines the number of days you spend with connecting factors such as family in the UK, available accommodation, UK work, and time spent in earlier years. Someone can be UK resident on far fewer than 183 days once enough ties are present.
Spain uses a cleaner single-year count, more than 183 days in the calendar year, but pairs it with two independent routes to residence. You can be resident because the main base of your economic activities or interests sits in Spain, whatever your day count. And there is a presumption that you are resident if your not-legally-separated spouse and dependent minor children habitually live in Spain, unless you prove otherwise. Either of those can make someone resident who never crosses 183 days.
Australia treats the 183-day test as one of four tests, and not the main one. The primary test asks, in ordinary terms, whether you reside in Australia. There is also a domicile test and a test tied to Commonwealth superannuation membership. Even the 183-day test carries an exception, since you are not caught by it if your usual place of abode is outside Australia and you do not intend to take up residence there.
Ireland runs a 183-day test in the tax year, plus a second test of 280 days across the current and previous tax year combined, with years of 30 days or fewer disregarded. Since 2009 a day counts if you are present for any part of it. Separate concepts of ordinary residence and domicile then affect how widely Ireland can tax you.
Portugal counts differently again. Its rule looks at more than 183 days, consecutive or interrupted, across any twelve-month period that begins or ends in the tax year, so a travel pattern that stays under the line in each calendar year viewed on its own can still cross it inside a rolling window. Portugal also treats a home held with a clear intention to keep and occupy it as a habitual residence as enough to establish residence on a shorter stay, which is a direct example of a sub-183-day route to becoming resident.
Canada leans on ties rather than the count. Spending 183 days or more in the tax year makes you a deemed resident, but only if you do not have significant residential ties to Canada and are not treated as a resident of a treaty country. Where significant ties exist, a home, a spouse, or dependents in Canada, you can be a factual resident on far fewer days. Canada counts each day or part of a day of presence and excludes days spent commuting from the United States.
Germany shows that a day count is not universal. German unlimited tax liability turns on whether you keep a home under circumstances suggesting you will hold and use it, or on a habitual abode, which is presumed from a continuous stay of more than six months. There is no headline “183 days in the calendar year” rule of the Spanish kind.
Eight countries, eight different machines. The only safe generalisation is that many jurisdictions use a threshold near 183 days as one input, and that the details around it vary enough to change the answer.
The tests that decide residence when the count is close
Because staying under a threshold does not settle the question, it helps to know what else authorities look at. These factors come up again and again, both in domestic law and, in a specific form, in tax treaties. They matter most when your day count is close to the line or split across countries.
Permanent home
A home you keep available for your continuous use, as opposed to a place you take for a short stay, is one of the strongest signals of where you belong. It does not matter whether you own or rent it. What matters is that it is there for you at any time, not booked for a single trip. Keeping a home available in a country you claim to have left is one of the most common ways people undermine their own position.
Centre of vital interests
This is the question of where your personal and economic life is centred, taken as a whole. Family and social relations, your occupation, where your business is run from, where your assets are managed, and your political and cultural connections all feed into it. If you set up a second home abroad but keep your family, your main work, and your possessions in the country you have always lived in, that weighs toward the original country regardless of a day count.
Habitual abode
Where a home or centre of interests does not decide the matter, authorities look at where you actually spend your time in a regular, habitual way, across a long enough period to see the pattern. This is closer to a day count in spirit, but it is about the rhythm of where you live rather than a single year’s tally.
Family and economic ties
Many systems give specific weight to where your immediate family lives and where your income and assets are concentrated. Spain’s family presumption is one codified example. The general principle is broader. If the money and the people are in one country, telling a tax authority you live somewhere else is an uphill argument.
Domicile and registration
Some countries layer on concepts of domicile, a deeper and stickier notion of your permanent home base that can persist even when you are physically elsewhere, and give weight to formal registration, such as being on a local register or holding local residence paperwork. These do not decide residence on their own everywhere, but they shape the picture.
The table below groups the factors that commonly sit beside or above the day count.
| Factor | What the authority is really asking | Why it can outweigh the day count |
|---|---|---|
| Permanent home | Is a home kept available for your continuous use here | Availability signals belonging even on modest day counts |
| Centre of vital interests | Where is your personal and economic life centred | Captures the whole of your life, not a single tally |
| Habitual abode | Where do you regularly and habitually spend time | Looks at pattern across years, not one boundary |
| Family location | Where do your spouse and dependent children live | Some countries presume residence from family presence |
| Economic interests | Where is your income earned and your wealth managed | Can establish residence independently of days |
| Domicile and registration | What is your deeper permanent base, and where are you registered | Persists across absences and supports other factors |
These factors appear across domestic laws and, in a specific ordered form, in tax treaties. Their exact weight is jurisdiction specific.
When two countries both claim you: treaty tie-breakers
Apply all of the above and you get an uncomfortable possibility. Two countries can each conclude, under their own law, that you are their tax resident for the same year. That is dual residence, and it is more common than people assume for anyone mid-move or genuinely splitting life between two places.
This is where tax treaties earn their keep. Where two countries have a double taxation treaty, and most major economies have a network of them, the treaty contains a tie-breaker that assigns you to one country for the purposes of that treaty. Most treaties follow the structure of the OECD Model Tax Convention, though no two treaties are word for word identical, and you should always read the specific one.
The tie-breaker cascade
The OECD model resolves individual dual residence through an ordered sequence. You only move to the next step if the current one fails to decide.
You only move to the next step if the current one fails to decide:
- Permanent home. You are treated as resident where you have a permanent home available to you. A home in both (or neither in a way that settles it) moves you on.
- Centre of vital interests. The country with which your personal and economic relations are closer.
- Habitual abode. If that cannot be determined, where you actually spend your time in a regular way.
- Nationality. If you have a habitual abode in both or neither, the country whose national you are.
- Mutual agreement. If you are a national of both or of neither, the two tax authorities settle it between themselves.
- 1Permanent homeWhere is a home kept available for your continuous use
- 2Centre of vital interestsWhere your personal and economic life is centred
- 3Habitual abodeWhere you regularly and habitually spend time
- 4NationalityThe country whose national you are
- 5Mutual agreementThe two tax authorities settle it between themselves
Notice what is doing the work here. The day count barely features. The cascade is built almost entirely from the home, life-centre, and habitual-presence factors described above. A treaty tie-breaker is not decided by who counted to 183 first.
A worked example
Consider a hypothetical. Assume a software engineer, call her Ana, who is a national of Country A. In one year she keeps her apartment in Country A, where her partner and children stay and where she returns most weekends, and she also rents a flat near a long client engagement in Country B, where she spends a slight majority of her nights that year. Both countries, under their own law, conclude she is resident. Country B points to her days. Country A points to her family and home.
Under the cascade, the day count does not settle it, because Ana has a permanent home available in both countries. The next step, centre of vital interests, looks decisive. Her family, her long-term home, and her deeper personal and economic ties sit in Country A. On these assumed facts, the treaty would most likely treat her as resident of Country A for the year, despite Country B holding the higher day count. This example is illustrative only. Change the facts, for instance if Ana’s family had moved with her, and the answer can flip.
The trap of being resident nowhere
There is a mirror-image problem that catches perpetual travellers. People sometimes try to be tax resident nowhere, spending too little time in any one country to trigger residence. The difficulty is that treaty protection generally only helps a person who is resident somewhere. If you are resident nowhere, you may have no treaty to shelter behind, and countries can tax income arising within their borders on a source basis without a residence tie-breaker to override them. Being resident nowhere can leave you more exposed, not less. It is a strategy that looks clever on a spreadsheet and frays on contact with real tax authorities.
A different 183-day rule you will hear about
Earlier we flagged that 183 days appears in tax treaties too. It is worth separating cleanly, because it is often quoted as if it governed residence, and it does not.
In the OECD model, the article on income from employment contains its own 183-day rule. It says that a country where you carry out short-term work may not tax that employment income only if all three of these conditions are met:
- you are present there for no more than 183 days in any twelve-month period tied to the tax year concerned;
- your employer is not resident in that country; and
- your pay is not borne by a permanent establishment your employer has there.
This is a rule about whether a country can tax the wages of a visiting worker who remains resident elsewhere. It is not a rule about becoming a resident. A person relying on it is, by design, not a resident of the country they are working in.
The reason this matters for a reader counting days is simple. Meeting the treaty employment condition does not make you non-resident anywhere, and failing it does not make you resident. Different rule, different job. The recent OECD update adopted in November 2025 added guidance in this employment area for short-term cross-border remote work, which is worth watching if you work remotely across borders, but it does not turn the employment rule into a residence rule.
Counting, documenting, and proving are three different things
Everything so far has been about which rules decide residence. Now the practical core. There is a difference between counting your days, keeping records, and being able to prove your presence to an authority that has decided to challenge you. People collapse these three into one and get caught by the gap.
- 1CountingA tally you keep yourself. Tells you roughly where you stand. It is a claim, not evidence.
- 2DocumentingBoarding passes, statements, screenshots. Each has a gap an audit tends to find. Better than nothing, weak on its own.
- 3ProvingA contemporaneous record tying a verified identity to a place and date, hard to alter later. The standard a challenge actually needs.
What the rule can and cannot tell you
The 183-day rule, and day counting generally, is a useful planning instrument. It tells you where you roughly stand and where the risk is. It cannot, on its own, do several things people expect of it. The table sets out the boundary.
| What the 183-day rule can tell you | What it cannot tell you or do |
|---|---|
| A rough sense of whether you are near a residence threshold in a given country | Whether you are actually resident, once other tests are applied |
| Where to focus attention when you split time across countries | That staying under 183 days keeps you non-resident |
| A planning figure to discuss with an advisor | Which country wins when two both claim you, which the treaty tie-breaker decides |
| A prompt to start keeping records early | Anything about the quality of your evidence if you are audited |
| The same threshold everyone quotes | That the threshold, period, and counting method are identical across countries |
The rule is a starting point for understanding, not a verdict on residence and not a substitute for evidence.
Who has to prove what
Here is the part that surprises people. In many residence disputes, once an authority challenges your position or applies a statutory presumption, the practical burden of substantiating where you were falls on you, not on the tax office. Spain’s family-presence presumption is a clear example: it treats you as resident unless you prove otherwise. The exact rules on burden and presumptions vary by country, but the pattern is common enough to plan around, and it inverts the intuition most people carry from criminal law. It changes what “keeping track” needs to mean.
A count you kept yourself is a claim, not evidence. When an authority asks you to support it, the question is what independent, hard-to-fake record confirms where you physically were on the days in question. This is where many otherwise careful people discover their records do not hold. They counted diligently and still cannot prove the count.
What documentation can actually help
If the burden is on you, the sensible move is to build a record that a third party would find credible, and to build it as you go rather than reconstructing it under pressure a year or two later when memories and receipts have faded.
Consider how the usual evidence performs. A boarding pass shows you bought a seat, not that you boarded, and not where you were for the rest of that day or the days around it. Passport stamps are patchy, and inside travel areas without routine border stamping, such as much of Europe’s Schengen area, they may not exist for a given trip. Credit card statements place a card, not necessarily you, and they go quiet on the days you spend cash or stay put. A location history from your phone can be rich but is easy to dispute, since it can be edited, switched off, or simply lost, and a screenshot of it carries little weight. A spreadsheet you maintain is the count itself, the claim that needs support, not support for the claim.
None of these is worthless. The problem is that each has a gap, and an audit tends to find the gap. What strengthens a position is a contemporaneous record, made at the time rather than after the fact, that ties a verified identity to a place and a date in a way that is hard to alter later. That is a higher standard than most people’s evidence meets, and it is the standard the count itself never reaches.
Knowing your count is the first step. Being able to support it is a different problem. If you want to understand what actually stands up when an authority pushes, our guide on whether your proof will hold up walks through how different records perform under challenge.
Three situations, and how the day count plays out
The following are hypothetical illustrations, not real cases, and they assume simplified facts to make a point. Your own outcome depends on the specific countries and rules that apply to you.
Take an expat who moved abroad mid-year and assumes the move is clean because they spent fewer than 183 days in their old country after leaving. If they kept an available home there, left their family there for the school year, and ran their business from there, the old country may still treat them as resident through its home, family, or economic-interest tests, and a treaty tie-breaker could land them back there for the year. The low day count did not settle it.
Take a digital nomad who spends four to five months each in two countries and a scattering of weeks elsewhere, deliberately staying under every threshold. They may believe they are resident nowhere. Depending on the countries, one of them may still assert residence through a habitual-abode or ties analysis, and even if none does, the nomad may find themselves without treaty protection and taxed at source on various income. Under nowhere is not the safe harbour it looks like.
Take a cross-border professional who lives near a border and works on the other side. Their residence may be clear, but a treaty’s employment rule, the separate 183-day rule discussed above, and specific cross-border worker provisions may govern where their salary is taxed. Here the day count matters for the income question, not the residence question, which is a distinction worth getting right before filing.
Take, finally, someone whose count is genuinely correct. Assume a consultant records 181 days in one country and 184 in another, and the arithmetic is right. Three years later the first country opens a review and asks how the dates were established. The consultant still has the spreadsheet but has changed phones twice and deleted most of the booking emails. The count was never the weak point. The evidence behind it was, and it decayed quietly while nobody was looking. A correct count is only as defensible as the evidence behind it.
In each of these, the pattern repeats. The day count is where the analysis starts. The other tests, the treaty, and the evidence are where it is actually decided.
A practical rhythm for people who move between countries
None of this requires living in fear of a calendar, but it does reward a habit:
- Before the year starts. List every country that could plausibly claim you, not only the one you spend the most time in. Note the test each one applies and the period it runs on, since a UK clock and an Australian clock do not start on the same day.
- During the year. Record movements as they happen rather than reconstruct them later, and keep the source material (confirmations, records), not only the running total, because the total is the part that is easiest to challenge. Flag overnight journeys and transit days while you still remember them; those are the days a counting rule can treat in more than one way.
- Before you file. Reconcile the count against independent records, and give the non-day factors an honest look, a home you kept, where your family lived, where your work was run from, because those are what an authority looks at when the days are close.
- If questions ever come. Preserve the original records exactly as they are, explain the gaps rather than paper over them, and get advice specific to the country asking.
Reconstruction under pressure is the weakest position to be in, and it is the one this habit is designed to avoid.
Where ResidenceSafe fits
If the theme of this guide is that counting is not proving, the practical response is to make your presence provable while it is happening. That is what ResidenceSafe is for. It helps internationally mobile people create contemporaneous, verifiable records of physical presence, combining identity verification, certified geolocation, and technical sealing of the record, so that a day you spent somewhere is captured at the time in a form built to be shown later.
To be clear about what that does and does not mean, no product can guarantee how a particular tax authority will treat any given evidence, and no record removes the need for proper advice on your own residence position. What a strong contemporaneous record changes is the starting point of any challenge. Instead of trying to reconstruct where you were from fragments, you have a dated, identity-linked record you built as you went. It moves you from asserting a count to being able to support it.
If you have been tracking days in a spreadsheet, that is a reasonable way to understand your position. It is not a way to prove it. You can see how ResidenceSafe works and how it protects your data, and there are tailored overviews for expats and for tax advisors who need better documentation from their clients. For country-specific rules, the country guides go deeper than this pillar can.
Sources and last verified
This article was checked against the primary sources listed in the accompanying source table on 6 August 2026. Tax rules change, sometimes with each national budget, and treaty networks are updated periodically. Nothing here is tax or legal advice. Confirm the rules that apply to your own situation with a qualified adviser before acting.
Frequently asked questions
Is the 183-day rule the same in every country?
No. A threshold near 183 days is common, but countries differ on the counting period, on how they treat arrival, departure, and partial days, and on the other tests they apply. Some, like Germany, do not lead with a fixed annual day count at all. Treat 183 as a widely used starting point, not a universal law.
Does staying fewer than 183 days mean I am not tax resident?
Not reliably. Many countries can still treat you as resident on a lower day count through tests such as a permanent home, centre of vital interests, habitual abode, family presence, or economic interests. In some systems, short absences are even added back into your count unless you prove residence elsewhere. A low count helps your position but does not settle it.
Do the day of arrival and the day of departure count?
It depends on the country. The United States and Ireland count any day on which you are present for any part of it, so both usually count. The United Kingdom generally counts a day if you are present at midnight, so an arrival day tends to count and a same-day departure tends not to. Australia counts both arrival and departure days. Check the rule for the specific country.
Can two countries both consider me tax resident?
Yes. Each country applies its own law, so two can claim you for the same year. Where a double taxation treaty exists, its tie-breaker assigns you to one country for treaty purposes, working through permanent home, centre of vital interests, habitual abode, nationality, and finally agreement between the two authorities.
What happens if I cannot prove where I was?
In a residence dispute the burden of proof is usually on you, not the tax authority. If you cannot support your day count with credible evidence, the authority may rely on its own presumptions, which can lead to being assessed as resident, to back taxes, interest, and penalties, or to double taxation while matters are resolved. This is why contemporaneous evidence matters more than the count itself.
Is a spreadsheet enough?
A spreadsheet is the count, which is the claim you may be asked to support. It is not evidence of where you physically were. It is a fine planning tool and a poor defence on its own. If your position could ever be challenged, pair the count with independent, contemporaneous records.
Does a tax residency certificate settle the issue?
A tax residency certificate from one country is useful evidence that the country regards you as resident, and it can help when applying a treaty. It does not automatically bind another country that claims you under its own law, and it does not by itself resolve a dual-residence conflict, which is what the treaty tie-breaker is for. It is one document in a larger picture, not a final answer.
What if my family stays in another country?
Family location is one of the factors many authorities weigh heavily, and some, such as Spain, apply a presumption of residence when your spouse and dependent minor children live there. Leaving your family behind while claiming to have moved your residence is one of the weaker positions you can take, because it points your centre of vital interests back at the country you say you left.
Does the 183-day rule apply to US citizens?
Not in the way it applies to others. US citizens and green card holders are taxed on worldwide income regardless of days spent anywhere. The US day-count test, the Substantial Presence Test, is used to decide residence for people who are not citizens or green card holders, and it uses a weighted three-year calculation rather than a simple single-year count.
How many days can I spend in a country before I become tax resident?
There is no single number that works everywhere. In some countries crossing 183 days in the relevant period creates residence by default. In others you can become resident on far fewer days once ties are counted, and in a few the count is not the primary test at all. Use the threshold as a warning line, then check the specific country's full set of tests.
Does the rule work differently for digital nomads and remote workers?
The same rules apply, but nomads hit the edge cases more often, because they spread time across countries and lean on the hope of being resident nowhere. That hope frequently fails, either because one country asserts residence anyway or because being resident nowhere removes treaty protection. Remote workers should also watch the separate treaty employment rule and any cross-border worker provisions, which affect where salary is taxed.
Should I count days in the calendar year or a rolling twelve months?
Count according to whichever period the country in question uses. Spain and Ireland run on the calendar year, the UK on its 6 April to 5 April tax year, Australia on the 1 July to 30 June income year, and some countries on a rolling twelve-month window. If you are exposed to more than one country, you may need to track more than one clock at once.