Taxes

The 183-Day Rule: Myths and How It Really Works

Illustration of a calendar with days marked and a counter showing 183, representing day-counting rules for tax residency.

General information, not advice. This guide explains how things usually work. Fees, rules and products change and depend on your country and situation, so check the provider's or authority's own page before you act. See our disclaimer.

Some links may be affiliate links. They never change what we recommend. How we make money.

“Stay less than 183 days and you don’t pay tax there.” It is probably the most repeated piece of tax advice among digital nomads and remote workers, and it is wrong more often than it is right. The number 183 does appear in many tax laws and treaties, but it means different things in different places, it is counted in different ways and, crucially, it is rarely the only test.

This guide explains where the 183-day rule comes from, the two very different rules that share the name, how days are actually counted and the myths that get people into trouble.

The short answer

  • There are two different “183-day rules”: one in national residency laws and one in tax treaties for employment income. People constantly confuse them.
  • In residency laws, 183 days is usually a threshold that makes you resident if you exceed it. Staying under it does not make you non-resident if another test applies, such as having a home or your centre of interests there.
  • Countries count days differently: calendar year or any 12 months, and partial days included or not.
  • The treaty rule can keep an employee’s salary taxable only at home during a short work stay abroad, under strict conditions. It generally does not apply to the self-employed in the same way.

Rule 1: the 183-day test in national residency law

Many countries say that you become a tax resident if you are physically present for more than 183 days (roughly half a year) in a given period. Exceeding it is usually sufficient to make you resident. It is rarely necessary: most countries have other tests that can make you resident with fewer days. We explain those in tax residency explained.

Calendar year or any 12 months?

Approach How it works Example
Calendar or tax year Days are counted within one tax year. 150 days at the end of one year and 150 days at the start of the next may keep you under the threshold in both years. Spain counts days in the calendar year. Thailand uses 180 days in the calendar year.
Any 12-month period Days are counted in any rolling 12 months. A stay that crosses two calendar years can still trigger residency. Portugal looks at more than 183 days in any 12-month period.
Weighted over several years Days in previous years count partially. The US substantial presence test (see below).

What counts as a day?

This detail can change the result:

  • Some countries count any part of a day you are present.
  • The UK generally counts a day if you are in the country at midnight, with exceptions for transit.
  • Portugal counts any day that includes an overnight stay.
  • Some countries count days of temporary absence (holidays abroad) as days of presence unless you prove residency elsewhere. Spain, for example, includes “sporadic absences” in the count.

Worked example: the US substantial presence test

For people who are not US citizens or green card holders, the US uses a weighted formula. You are resident if you are present at least 31 days in the current year and the following total is 183 or more:

All days this year + one third of the days last year + one sixth of the days the year before.

Days in the US each year Calculation Total Resident?
120 days in each of 2024, 2025, 2026 120 + 40 + 20 180 No
130 days in each of 2024, 2025, 2026 130 + 43.3 + 21.7 195 Yes, unless an exception applies

So someone who never spends more than four months a year in the US can still become a US tax resident. Exceptions exist, for example the “closer connection” exception for people with a tax home and closer ties to another country, which requires a filing with the IRS. Read the IRS guidance on determining tax residency status.

Rule 2: the 183-day rule in tax treaties

The second rule lives in tax treaties based on the OECD Model, in the article on income from employment. It answers a different question: if you are resident in country A and an employee who goes to work in country B for a while, can country B tax your salary?

Under the usual treaty wording, your salary for work done in country B stays taxable only in your country of residence if all three conditions are met:

  1. You are present in country B for no more than 183 days in any 12-month period (or tax year, depending on the treaty).
  2. Your salary is paid by, or on behalf of, an employer that is not resident in country B.
  3. The salary is not borne by a permanent establishment (such as a branch) that the employer has in country B.

If any condition fails, country B may tax the salary for the days worked there, and your home country gives relief. See double taxation treaties explained.

Why freelancers should be careful

The treaty 183-day rule is about employees. Self-employed income is usually dealt with under the business profits article: country B can generally tax it only if you have a permanent establishment or fixed base there. Some older treaties have a separate article for “independent personal services” with its own day count. Either way, the employee rule cannot simply be applied to a freelancer.

The most common myths

Myth 1: “Under 183 days, I owe no tax there”

Only if no other residency test applies. A home available to you, your family living there or your main business being based there can make you resident with far fewer days.

Myth 2: “If I spend under 183 days everywhere, I am not resident anywhere”

Your home country often keeps its claim, especially if you never formally became resident elsewhere and still have ties there. Being “tax resident nowhere” is rare and hard to prove.

Myth 3: “183 days means six months”

It depends on the counting method. 183 days over a rolling 12-month window can catch stays that look like “two short stays” in calendar terms.

Myth 4: “The treaty rule protects my freelance income”

The treaty 183-day rule is for employment income. Freelance income follows different articles, usually based on permanent establishment.

Myth 5: “Days are easy to count”

Arrival and departure days, transit days, midnight rules and temporary absences all change the total. Keep a log.

How to track your days properly

  1. Keep a simple day log per country: date in, date out, and where you slept.
  2. Save evidence: boarding passes, passport stamps, accommodation bookings and receipts.
  3. Use each country’s own counting method, not a generic tracker setting.
  4. Watch rolling windows, not just the calendar year.
  5. Plan ahead when you are close to a threshold, and remember other tests may already apply.

Frequently asked questions

Is the 183-day rule the same in every country?

No. The number is common, but the counting period, what counts as a day and the other tests that apply differ by country.

Does a day of arrival count as a full day?

In many countries, yes, but not in all. The UK, for example, generally counts days by presence at midnight. Check the specific rule.

Can I become tax resident with fewer than 183 days?

Yes. Many countries also look at your home, family and economic interests, and some have lower day thresholds in combination with other ties.

Does the 183-day rule apply to remote workers employed abroad?

The treaty version can, if all its conditions are met. But a remote employee working for a foreign employer can also create tax and social security obligations for the employer in the country where they work, so check before a long stay.

Do US citizens benefit from the 183-day rule?

Not for US tax. US citizens are taxed on worldwide income wherever they live. Day counts matter for some US reliefs, such as the physical presence test for the foreign earned income exclusion (330 full days abroad in a 12-month period).

Final thoughts

Treat 183 days as a warning light, not a safe harbour. Know which of the two rules you are dealing with, count days the way each country counts them, and remember that homes and ties often matter as much as days. When you are close to the line in more than one country, get advice before you book the next flight. For the bigger picture, read do digital nomads have to pay taxes?.

This article is general information, not tax, legal or financial advice. Rules change and vary by country. Information reviewed October 23, 2026.

Sources and further reading

Official pages and primary sources where you can check the rules, fees and rates discussed in this guide. They are updated by their publishers, so check them for the current figures before you decide.

  1. Substantial presence test (IRS (US))
  2. Statutory Residence Test guidance (RDR3) (HMRC, GOV.UK)
  3. Determining an individual’s tax residency status (IRS (US))
  4. Income taxes abroad (Your Europe (European Union))
  5. Foreign earned income exclusion (IRS (US))

Written and reviewed by the Borderless Money Guide Editorial Team

We research each guide from official sources and provider documentation, and review it when fees or rules change. How we research and review our guides. Spotted an error? Tell us.

Related guides

All Taxes guides →