Glossary term
Substantial Presence Test
The substantial presence test is an IRS day-count test used to determine whether a non-U.S. citizen is a U.S. resident alien for income tax purposes.
Updated
Read time
What Is the Substantial Presence Test?
The substantial presence test is an IRS day-count test used to determine whether a non-U.S. citizen is a U.S. resident alien for federal income tax purposes. A person who meets the test is generally treated as a U.S. tax resident unless an exception or treaty position applies.
The test matters because U.S. tax residency can change what income must be reported. Resident aliens are generally taxed like U.S. citizens on worldwide income, while nonresident aliens are generally taxed on U.S.-source income and certain effectively connected income.
Key Takeaways
- The substantial presence test counts days of physical presence in the United States.
- The formula uses all current-year days, one-third of prior-year days, and one-sixth of second-prior-year days.
- The person must generally be present at least 31 days in the current year and reach 183 weighted days across the three-year formula.
- Some days may be excluded for exempt individuals, medical conditions, or other specific rules.
- Meeting the test can create resident alien status, dual-status filing, or reporting obligations.
The Basic Formula
In this formula, D0 is the number of U.S. presence days in the current year, D1 is the number from the previous year, and D2 is the number from the second previous year. The taxpayer generally meets the test if the weighted total is at least 183 and the taxpayer was present for at least 31 days in the current year.
For example, a person present for 120 days in each of three consecutive years would count 120 days for the current year, 40 days for the prior year, and 20 days for the second prior year, for a weighted total of 180 days. That is below 183, so the person would not meet the test on those facts alone.
Days That May Not Count
The day count can be less straightforward than it looks. IRS rules may exclude certain days for exempt individuals, including some students, teachers, trainees, diplomats, and professional athletes temporarily in the United States for charitable sports events. Days can also be excluded in some medical-condition situations if the person was unable to leave the United States.
The term exempt individual can be confusing. It does not necessarily mean exempt from tax. It usually means exempt from counting certain days for substantial presence purposes.
Resident Status and Exceptions
Meeting the substantial presence test can make a person a U.S. resident alien for tax purposes. However, closer-connection rules, treaty residency positions, and first-year residency rules can affect the final answer. A person who becomes a resident partway through the year may have a dual-status tax year.
The test should also be kept separate from immigration status. Someone can be physically present enough to be a U.S. tax resident without having a green card.
Documentation Matters
The day count should be supported by travel records, visa history, employer records, school records, passport stamps, and any forms used to claim excluded days or closer-connection treatment. A rough memory of travel dates is risky because one short trip can change the weighted total or the residency starting date.
Where People Get Tripped Up
Many mistakes come from counting only current-year days, ignoring partial prior-year weighting, or assuming visa status alone controls the tax result. Others come from missing excluded-day forms or not recognizing that a person can become a resident alien for tax purposes without becoming a lawful permanent resident.
The Bottom Line
The substantial presence test turns physical presence into a tax residency calculation. The formula is simple on the surface, but exceptions, excluded days, treaty rules, and residency starting dates can materially change the tax result.