Financial research concept

183-Day Rule: U.S. Substantial Presence Test and Tax-Residency Context

The phrase 183-day rule is shorthand for several different tax-residency tests. In the United States, the substantial presence test generally requires at least 31 days in the current year and 183 weighted days across the current year and two preceding years, subject to exclusions, exceptions, and treaty rules.

By Lee BaileyPublished Sep 8, 2026

What does the 183-day rule mean?

There is no single worldwide 183-day rule that determines tax residency everywhere. Different countries use different domestic residence tests, and tax treaties can change the result when two countries both treat a person as resident.

In U.S. federal tax discussions, “183-day rule” often refers to the substantial presence test for determining whether a non-U.S. citizen is treated as a U.S. resident alien for tax purposes.

For the U.S. substantial presence test, an individual generally must be physically present in the United States for at least:

  1. 31 days during the current calendar year; and
  2. 183 weighted days during the three-year period consisting of the current year and the two preceding years.

The weighted calculation counts:

  • all qualifying days in the current year;
  • one-third of qualifying days in the immediately preceding year; and
  • one-sixth of qualifying days in the second preceding year.

Both parts of the test matter. A weighted total of 183 by itself is not enough if the person does not also satisfy the 31-current-year-day requirement.

Example of the U.S. weighted calculation

Suppose a person is physically present in the United States for:

  • 120 qualifying days in the current year;
  • 120 qualifying days in the preceding year; and
  • 120 qualifying days in the second preceding year.

The substantial-presence calculation is:

text
1current year:          120 × 1     = 120
2preceding year:        120 × 1/3   =  40
3second preceding year: 120 × 1/6   =  20
4                                      ---
5weighted total                         180

The person satisfies the 31-day current-year condition but has only 180 weighted days, so this example does not meet the substantial presence test.

This mirrors the type of calculation illustrated in current IRS guidance.

Some days do not count

The IRS excludes certain days of physical presence from the substantial presence calculation. Depending on the facts, examples can include:

  • certain days commuting from a residence in Canada or Mexico;
  • qualifying transit days of less than 24 hours;
  • certain days as a crew member of a foreign vessel;
  • days a person could not leave because of a medical condition that arose while in the United States; and
  • days for certain “exempt individuals,” including some students, teachers, trainees, diplomats, and professional athletes at charitable sporting events.

The category called an exempt individual is a tax-law term; it does not necessarily mean the person is exempt from U.S. tax generally.

The closer-connection exception

A person who otherwise meets the substantial presence test may still qualify to be treated as a nonresident under the closer connection exception if the statutory requirements are met.

Among other requirements, the IRS states that the person generally must have been present in the United States for fewer than 183 days in the current year, maintain a tax home in a foreign country during the year, have a closer connection to the foreign country than to the United States, and satisfy the applicable filing and immigration-status conditions.

Form 8840 is generally used to claim the closer-connection exception.

Tax treaties can change the residency result

A person can be considered resident under the domestic tax laws of both the United States and another country. Many U.S. income tax treaties contain residency tie-breaker rules for such dual-resident situations.

Those treaty rules can consider factors such as a permanent home, center of vital interests, habitual abode, and nationality, but the applicable treaty text controls. Treaty residency is not determined simply by comparing which country had more days of presence.

Other countries use different rules

Some countries do use a direct 183-day threshold as one part of their domestic residence regime, while others use materially different statutory residence tests. Even where “183 days” appears, the counting period, treatment of partial days, exceptions, and consequences can differ.

For that reason, a generic statement such as “spend fewer than 183 days in a country and you are not a tax resident” is unsafe. The correct answer depends on the jurisdiction, tax year, treaty network, and the taxpayer's facts.

Resident versus nonresident U.S. taxation

U.S. resident aliens generally use the same federal income-tax rules that apply to U.S. citizens, including broad taxation of worldwide income. Nonresident aliens generally follow a different U.S. tax regime focused on specified U.S.-source and effectively connected income.

That distinction can materially affect filing and reporting obligations, which is why substantial-presence questions should be checked against current IRS guidance rather than reduced to a simple day-count slogan.

Primary sources

This page is an educational overview, not individualized tax advice. Cross-border residency questions can turn on facts and treaty provisions that are not captured by the headline day count.

Explore more topics in the Financial Research Encyclopedia.