INTERNATIONAL TAX

Substantial Presence Test: Are You a U.S. Tax Resident?

Learn the 31-day and weighted 183-day substantial presence test, which days may be excluded, and how resident, nonresident, and dual-status tax filing can differ.

By Stefano Tavella, CPAPublished Updated 8 min read

DIRECT ANSWER

What to know first

A person generally meets the substantial presence test for a calendar year after being physically present in the United States for at least 31 days in the current year and 183 weighted days over the current year and prior two years. Count all current-year days, one-third of the preceding year's days, and one-sixth of the second preceding year's days. Excluded days, the closer-connection exception, treaty provisions, green-card status, and residency starting or ending rules can change the result.

Calculate the weighted day count

A day generally counts when the person is physically present in the United States at any time during the day. Keep travel records, passport history, Forms I-94, calendars, employer records, and other contemporaneous support rather than estimating from memory.

Days used in the substantial presence calculation
PeriodDays included in the weighted totalWhat to verify
Current calendar yearAll countable U.S. daysAt least 31 countable days are required in the current year.
First preceding yearOne-third of countable U.S. daysUse actual countable days before applying the fraction.
Second preceding yearOne-sixth of countable U.S. daysUse actual countable days before applying the fraction.

Identify days that may be excluded

The IRS lists several categories of days that may not count, including certain days in transit, regular commuting from Canada or Mexico, days when a medical condition prevents departure, and days for an exempt individual. In this context, exempt individual describes a day-count category and does not mean the person is exempt from U.S. tax.

Form 8843 may be required to claim excluded days for an exempt individual or a medical condition. Visa type, years previously treated as exempt, substantial compliance, and timely filing can affect the analysis.

  • Certain foreign-government-related individuals in qualifying A or G status
  • Certain teachers or trainees in qualifying J or Q status
  • Certain students in qualifying F, J, M, or Q status
  • A professional athlete temporarily present for a charitable sports event

Review exceptions and residency dates after the math

A person who meets the weighted calculation may still qualify for a closer-connection exception if all statutory requirements are met, including limits on current-year presence, a foreign tax home, closer connections, and timely Form 8840 filing. A treaty tie-breaker can involve a different analysis and may require Form 8833 disclosure.

A person can also be a resident for only part of an arrival or departure year. Green-card status, the first-year choice, residency starting and ending dates, a treaty position, and elections involving a spouse can create resident, nonresident, or dual-status filing consequences.

Keep tax residency separate from immigration status

The IRS states that immigration status under U.S. immigration law and residency status under federal tax law are different. A visa category can affect the day count or a tax exception, but this calculation does not grant, extend, or interpret immigration status.

Tavella CPA Group provides tax services, not immigration legal advice. Questions about visas, immigration filings, lawful status, or employment authorization should be directed to an authorized immigration attorney or accredited representative.

Stefano Tavella, CPA

AUTHOR

Stefano Tavella, CPA

Stefano Tavella, CPA leads Tavella CPA Group, a cloud-based CPA firm serving individuals and small businesses with tax preparation, planning, notice assistance, and related services.

PRIMARY GUIDANCE

Sources

KEEP READING

Browse all tax guides