"Stay under 183 days and you don't pay tax there." It's the most repeated tax rule among nomads, and it's wrong often enough to be dangerous.

Not because 183 days is made up. Many countries really do use it. The problem is everything the sentence leaves out: that countries count days differently, that some use 180 or six months instead, that a home or a visa can make you resident with far fewer days, and that one of the best-known countries in the nomad world doesn't use a day count at all.

This guide explains how tax residency actually gets decided, how days are counted, and how seven popular countries apply their rules. It builds on our pillar guide, Digital nomad taxes: how it actually works. It's general education, not personal advice.

๐ŸŒฑ Worldwide travel health insurance for nomads

Genki Traveler is a travel health insurance with worldwide cover. For you. For your friends, and family.

Summary

๐Ÿ“Œ At a glance

TopicThe short versionWatch out for
๐Ÿงญ Tax residencyDecides which country taxes your worldwide income. Each country sets its own rules.๐ŸŒ There's no single international rule
๐Ÿ“… The 183-day ruleA common residency threshold, but not universal, and not the only test.๐Ÿ”€ Often confused with the treaty rule for salaries
๐Ÿงฎ Counting daysCalendar year or rolling 12 months, part days or midnight: it varies.โœˆ๏ธ Arrival and departure days often count
๐Ÿงณ AbsencesSome countries add short trips abroad back to your days.๐Ÿ‡ช๐Ÿ‡ธ Spain, unless you prove residence elsewhere
๐Ÿ  Home, family, interestsThese can make you resident with far fewer days.๐Ÿ›๏ธ A kept home can matter more than the count
๐Ÿ“„ Visas and leasesSome countries treat a long permit or lease as intention to stay.๐Ÿ‡ฎ๐Ÿ‡ฉ Indonesia can apply this from day one
๐Ÿ‡ฒ๐Ÿ‡ฝ No day count at allMexico decides by home and center of vital interests.โŒ The online "183 days" figure isn't Mexico's test
๐Ÿ”€ Two countries claim youA treaty tiebreaker usually decides which one wins.๐Ÿ“œ Only works if a treaty exists
๐Ÿšซ Resident nowherePossible on paper, fragile in practice.๐Ÿ›ก๏ธ No treaty protection, hard to prove to banks
๐Ÿ“’ TrackingLog every entry and exit, keep the evidence for years.๐Ÿงพ Evidence wins arguments

๐Ÿงญ Tax residency in one minute

Tax residency is the status that decides which country can tax your worldwide income. If you're resident somewhere, that country usually taxes everything you earn, wherever it comes from. If you're not, it typically only taxes income that comes from inside its borders.

Every country writes its own rules for who counts as resident. That's the key to everything below: there is no single international residency rule. There are hundreds of national ones, and they can overlap. When two countries both claim you, a tax treaty between them usually decides which one wins. When none clearly claims you, you're in a fragile spot we'll come back to.

๐Ÿ“… Where the 183-day rule comes from, and the mix-up behind it

There are actually two different 183-day rules, and most nomad advice blends them together.

The first is a residency threshold in national law. Many countries say you become tax resident once you spend more than a certain number of days there. Often it's 183, but not always, and it's rarely the only test.

The second is a rule inside tax treaties. Under the OECD Model Tax Convention, which most treaties follow, an employee's salary for work done in another country can stay taxable only in their home country if they're present in the work country for no more than 183 days in a 12-month period, and two further conditions about the employer are met. That rule is about who taxes a salary. It doesn't decide where you're resident, and it was designed for business trips and short assignments, not for people who live on the road.

So when someone says "under 183 days, you're fine," they're usually stretching the treaty idea into a residency rule it was never meant to be. Neither rule says that being under 183 days everywhere makes you resident nowhere.

๐Ÿงฎ How days are actually counted

Even when two countries both use 183 days, they can count very differently. Three questions decide the count.

Which period? Some countries count within a calendar year. Spain looks at the calendar year, and Thailand uses 180 days in a calendar year. Others use any rolling 12-month period, like Portugal and Indonesia. The UK runs its tax year from April 6 to April 5. A rolling window can catch stays that straddle New Year, which a calendar-year count would split in two.

What counts as a day? For the treaty rule, the OECD's official method counts any day you're physically present for any part of it, including the day you arrive and the day you leave. Indonesia counts part of a day as a full day. The UK, by contrast, generally counts a day only if you're in the country at midnight.

Do absences count? This is the trap nobody expects. In Spain, short "sporadic absences" are added back to your days in Spain unless you can prove you're tax resident in another country. Leaving for a few weeks doesn't necessarily stop the clock.

The practical lesson: don't count days with one universal rule. Count them the way each country you spend time in counts them.

๐Ÿ  The tests beyond day counts

Day counts are the most visible test, but they're often not the decisive one. Countries commonly use one or more of these as well:

  • A home. Having a dwelling available to you can make you resident regardless of days. Germany treats any home kept available to you as a residence, with no minimum number of days. Portugal can treat you as resident if, on any day, you have a home that suggests you intend to keep it as your usual residence.
  • Center of economic or vital interests. Where your main income, business or professional activity sits. Spain uses this as a standalone test, and Mexico uses it when you have homes in more than one country.
  • Family. Spain presumes you're resident if your spouse and dependent minor children live there, unless you prove otherwise.
  • Intention to stay. Indonesia can treat you as resident from the start of a tax year if you're in the country with the intention to reside, and it accepts documents like a stay permit or a lease of more than 183 days as evidence of that intention.
  • Ties. The UK weighs ties like family, accommodation and work against your day count. The more ties you have, the fewer days it takes to become resident.

For Germans, the home test is the big one. Our guide to digital nomad taxes for Germans explains why keeping a room can keep you taxable. For Americans, residency abroad doesn't end US filing at all; see our US citizens guide.

Here's how a handful of countries nomads often spend time in define tax residency. It's a simplified overview of the main tests, not the full rules, and each country has details and exceptions this table can't capture.

CountryMain day testOther ways you can become residentNomad watch-out
๐Ÿ‡ฉ๐Ÿ‡ช GermanyHabitual abode: more than six months in a rowAny home kept available to you, with no minimum days๐Ÿ›๏ธ Keeping a room can keep you resident
๐Ÿ‡ฌ๐Ÿ‡ง United Kingdom183+ days in the tax year (Apr 6โ€“Apr 5), counted at midnightUK home test, full-time UK work, or enough UK ties for your day count๐Ÿ”— More ties means fewer days needed
๐Ÿ‡ช๐Ÿ‡ธ SpainMore than 183 days in the calendar yearMain economic interests in Spain; spouse and minor children living there๐Ÿงณ Short absences can be added back to your days
๐Ÿ‡ต๐Ÿ‡น PortugalMore than 183 days in any 12-month period starting or ending in the yearA home on any day that suggests you intend to keep it as your usual residence๐Ÿ  A home can be enough, even with fewer days
๐Ÿ‡น๐Ÿ‡ญ Thailand180 days or more in a calendar yearDay count is the main test๐Ÿ’ธ Foreign income earned since 2024 can be taxed when brought in
๐Ÿ‡ฎ๐Ÿ‡ฉ IndonesiaMore than 183 days in any 12 months; part days count as full daysBeing in Indonesia with intention to stay, e.g. a stay permit or lease of 183+ days๐Ÿ“„ A KITAS can make you resident from the start
๐Ÿ‡ฒ๐Ÿ‡ฝ MexicoNo day threshold in tax lawA home in Mexico; with homes in two countries, your center of vital interestsโŒ "183 days" isn't Mexico's residency test

A few things stand out once you put them side by side:

  • The numbers differ. 183, 180, "more than six months" and no number at all all appear on the same list.
  • Several countries can make you resident on far fewer days. Portugal through a home, Spain through your economic interests or family, Germany through any available home, the UK through ties, and Indonesia through intention, which is why our Indonesia digital nomad visa guide flags tax residency from the start of a KITAS stay.
  • Mexico has no day threshold in its tax law. Residency there turns on having a home in Mexico and, if you also have one elsewhere, on where your center of vital interests is. A 183-day figure circulates widely online, but it isn't the test written in Mexico's Fiscal Code. Our Mexico visa guide covers the immigration side.
  • Thailand changed what being resident means. Since January 1, 2024, foreign income earned by a Thai tax resident can be taxed when it's brought into Thailand. Our Thailand digital nomad visa guide covers the visa side.

๐Ÿ”€ When two countries claim you: the tiebreaker

Because every country uses its own tests, it's entirely possible to be resident in two countries at once. Spend five months in Portugal with a lease while keeping a furnished flat in Germany, and both countries may consider you resident under their own laws.

If the two countries have a tax treaty, its residency article usually settles the conflict with a fixed sequence of questions. Following the OECD model, you're treated as resident only in:

  • the country where you have a permanent home available to you; if you have one in both or neither,
  • the country where your personal and economic relations are closer (your center of vital interests); if that can't be determined,
  • the country where you habitually live; if both or neither,
  • the country of which you're a national; and if that still doesn't settle it,
  • whatever the two tax authorities agree between themselves.

Two honest caveats. First, the tiebreaker only works if both countries have a treaty with each other and at least one actually claims you. Second, a treaty limits taxing rights; it doesn't necessarily change your status under each country's own law, so you may still have filing obligations in both.

๐Ÿšซ Can you be resident nowhere?

On paper, sometimes. If you never stay long enough anywhere, keep no home and have no center of interests in any one place, it's possible that no country's tests are met in a given year.

In practice, it's the most fragile position you can be in:

  • Your origin country may disagree. Many countries keep a claim until you've clearly established residence elsewhere. Spain's rule on absences and Germany's home test are two examples.
  • You have no treaty protection. Treaties protect residents. If you aren't resident anywhere, there's no tiebreaker to invoke if a country does come after you.
  • Banks and platforms will ask. Under international reporting rules, financial institutions ask for your tax residence. "Nowhere" is hard to document.
  • Some countries target it directly. German law, for example, can extend tax liability for German citizens who aren't resident in any foreign country.

Being clearly resident in one place, and able to prove it, is almost always cheaper and calmer than defending a claim that you belong nowhere.

๐Ÿ“’ How to track your days

If a tax authority ever questions where you were, evidence wins. Keep it simple and consistent:

  • A day log: country, entry date and exit date for every stay. A spreadsheet works; so do tracking apps.
  • Supporting evidence: boarding passes, passport stamps, accommodation bookings and leases.
  • Count each country its own way: calendar year or rolling 12 months, part days or midnight, absences or not.
  • Watch the non-day tests too: note any lease, home, permit or registration you take on, since these can matter more than the count.
  • Keep it for years: tax authorities can look back several years, so keep records well beyond the current one.

โœ… The calm version

Tax residency isn't a number to stay under. It's a status you want to understand and, ideally, choose. Know your origin country's exit rules, know how each country you spend time in counts days and what else it looks at, keep clean records, and aim for one clear tax home you can prove. If more than one country could claim you, or you're unsure whether any does, that's the moment to speak to a cross-border tax professional.

โ“ Frequently asked questions

Is the 183-day rule real?

Yes, but it isn't universal. Many countries use 183 days as one residency test, others use 180 days or six months, and some, like Mexico, use no day count at all. Most countries also have tests based on your home, family or economic interests that can make you resident with fewer days.

Do I become tax resident after 183 days in a country?

In many countries, spending more than 183 days there in the relevant period makes you resident. But how the period is defined and how days are counted varies, and other tests can apply first.

Can I avoid tax by staying under 183 days everywhere?

Not reliably. Your origin country may keep treating you as resident, some countries count absences or use home and intention tests, and being resident nowhere leaves you without treaty protection.

How are days counted for the 183-day rule?

It depends on the country. For the treaty rule on salaries, the OECD counts any part of a day, including arrival and departure days. Indonesia counts part days as full days, while the UK generally counts days you're present at midnight.

Can I be tax resident in two countries at the same time?

Yes. Each country applies its own rules, so you can meet two sets of tests at once. A tax treaty between the two countries usually decides which one gets to treat you as resident for treaty purposes.

Can I be tax resident nowhere?

Occasionally, on paper. In practice it's fragile: your origin country may still claim you, you can't rely on treaties, and you'll struggle to document your tax residence for banks.

๐ŸŽฏ Conclusion

The 183-day rule is a starting point, not an answer. Countries count days differently, use other tests alongside them, and in some cases don't use a day count at all. Track your days the way each country counts them, pay attention to homes, permits and ties, and aim for one tax residence you can clearly prove.

This article is general education, not tax or legal advice. Residency rules and thresholds change, and how they apply depends on your personal circumstances. Before making decisions, consult a qualified tax professional for your situation. Last reviewed: October 2026.

Digital nomad taxes for Germans: Abmeldung, extended tax liability & what actually ends
Deregistering doesn't end your German taxes. A calm, myth-free guide for Germans going nomad: the Wohnsitz test, what Germany still taxes after you leave, the ten-year extended tax liability rule, and the exit tax trap for company owners.
Digital nomad taxes for US citizens: FEIE, FBAR & the state residency trap
Moving abroad doesn't take Americans out of the US tax system. A calm, myth-free guide to the Foreign Earned Income Exclusion, the self-employment tax most freelancers miss, FBAR and FATCA reporting, and the state residency trap.
Do US LLCs really save digital nomads on taxes?
A US LLC unlocks Stripe, PayPal, and US banking, but it won't erase your personal tax bill. The truth about the "tax-free LLC" myth, when a US LLC actually works for nomads, and the $25K filing trap most people miss.