US Substantial Presence Test 2026: How the Weighted Formula Actually Works
Most mobile professionals know there is a day limit for US tax residency. Few know how the formula actually works. The common assumption, "stay under 183 days this year and you will not be a US tax resident," is incomplete.
The US Substantial Presence Test does not look at this year alone. It uses a weighted count that reaches back three years. Days you spent in the US in 2024 and 2023 are still affecting your 2026 SPT calculation. A year with only 60 US days can still tip you over the threshold.
This guide explains the formula, the carry-forward trap, the days that do not count, and the filing step to discuss with your tax professional if you plan to claim closer connection.
Jetseen helps you track days. Always consult a qualified tax, legal, or immigration professional for advice specific to your situation.
Who the SPT Applies To
The Substantial Presence Test applies to non-US citizens who are not green card holders and who spend time in the United States. If you are a US citizen or permanent resident, your worldwide income is taxed regardless of where you live. The SPT is irrelevant to you.
If you are a foreign national who travels to the US periodically, for business, extended visits, or family reasons, the SPT determines whether you are treated as a US resident alien for tax purposes.
Meeting the SPT means the IRS treats you as a resident alien for that calendar year. Resident aliens are taxed on worldwide income, not just US-sourced income. That is the practical consequence.
The SPT Formula: Exactly How It Works
To meet the Substantial Presence Test, you must satisfy two conditions:
- You must have been present in the US for at least 31 days during the current calendar year.
- The weighted total of US days across three years must equal 183 or more.
The weighted total is calculated like this:
- Current year days count at 100%
- First prior year days count at 1/3
- Second prior year days count at 1/6
The IRS provides this example to illustrate how the formula works:
Example from the IRS:
- Current year: 120 US days × 1.0 = 120
- Prior year: 120 US days × 1/3 = 40
- Second prior year: 120 US days × 1/6 = 20
- Total: 180 days, below 183, not a US resident that year under the SPT formula
Notice what this shows: 120 US days in the current year is not enough on its own. But if prior years also had US presence, those days carry forward. Now change the numbers slightly:
The carry-forward trap:
- Current year: 60 US days × 1.0 = 60
- Prior year: 180 US days × 1/3 = 60
- Second prior year: 180 US days × 1/6 = 30
- Total: 150 days, still below 183
Push it a little further:
- Current year: 80 US days × 1.0 = 80
- Prior year: 180 US days × 1/3 = 60
- Second prior year: 180 US days × 1/6 = 30
- Total: 170 days, still below 183
Now add a heavier prior year:
- Current year: 60 US days × 1.0 = 60
- Prior year: 240 US days × 1/3 = 80
- Second prior year: 240 US days × 1/6 = 40
- Total: 180 days, below 183, but only just
If that current-year number is 63 instead of 60, you cross the line.
The formula runs on the US calendar year, January 1 through December 31. If you are tracking mid-year, the calculation uses partial-year counts to project your end position.
Jetseen helps you track days. Always consult a qualified tax, legal, or immigration professional for advice specific to your situation.
Days That Do NOT Count
Not every day you spend in the US counts toward the SPT. The IRS recognizes several exempt categories.
Transit days: Days spent in the US in transit to another country, with less than 24 hours in the US, are not counted.
Regular commuters from Canada or Mexico: If you commute regularly from Canada or Mexico to work in the US, those commuting days are excluded.
Medical condition days: If a medical condition develops while you are in the US and prevents you from leaving, those days are exempt. This applies only to conditions that develop in the US. A pre-existing condition that worsens is not covered.
Students on F, J, M, or Q visas: Students temporarily present on these visas can be exempt individuals if they substantially comply with visa requirements. If the IRS exempt-individual rules apply, those days do not count toward SPT.
Teachers and trainees on J or Q visas: Teachers and trainees temporarily present on J or Q visas can also be exempt individuals if they substantially comply with visa requirements.
Foreign government officials on A or G visas: Exempt.
Professional athletes in charitable sporting events: Days competing in charitable events are excluded.
If any of these categories apply to you, those specific days should be removed from your count before running the formula.
If you exclude exempt-individual days or medical-condition days, IRS guidance requires Form 8843 unless an exception applies.
The Closer Connection Exception
If you meet the SPT formula but spent fewer than 183 days in the US in the current year, the IRS says you may still be treated as a nonresident of the United States for US tax purposes if you qualify for the closer connection exception.
To qualify, you must meet these conditions:
- You were present in the US for fewer than 183 days in the current year.
- You maintained a tax home in a foreign country during the entire year. The IRS defines your tax home as the place of your main business or employment. It must have been available to you continuously throughout the year, not just for short stays.
- You had a closer connection to that foreign country than to the US.
- You had not taken steps toward lawful permanent resident status and did not have an application pending for lawful permanent resident status.
The IRS looks at several factors when determining "closer connection": where your permanent home is, where your family lives, where your personal belongings are, the country that issued your driver's license, where you are registered to vote, and what country you designate on official forms and documents.
Form 8840: You Must File It
Claiming the closer connection exception requires filing Form 8840 with the IRS by the due date for your US tax return. This is not optional. It is not automatic. If you do not timely file Form 8840, you generally cannot claim the exception unless the IRS late-filing relief standard applies.
Missing this form is a common and serious error. If you believe the closer connection exception applies to your situation, confirm the deadline and filing requirements with a qualified tax professional.
Practical Checklist for Mobile Professionals
Track your US days in all three years. The formula reaches back to your first and second prior years. A short current-year stay can still push you over 183 when prior years had heavy US presence.
Know your exempt categories. If you spent days in the US on an F, J, M, or Q student visa, or as a regular commuter from Canada or Mexico, those days may not count. Confirm the filing requirements before removing them from your total.
Check whether the closer connection exception applies. If you spent fewer than 183 current-year days in the US, you may qualify, but only if you maintained a continuous foreign tax home and can demonstrate closer ties to that country.
File Form 8840 before the deadline if you are claiming closer connection. Do not assume the exception applies automatically. Confirm the filing requirement with a tax professional.
Do not guess. The formula is precise. Approximate calculations can leave you on the wrong side of the line. Know your exact day count.
How Jetseen Tracks the SPT Weighted Formula
Jetseen includes a built-in US Substantial Presence Test tracker. It applies the weighted three-year formula to your logged trips and shows your running total against the 183-day threshold. You enter your trips. Jetseen calculates where you stand.
The tracker does not calculate tax liability. It shows day counts. Those counts are what you need to monitor before the IRS calculates them for you.
Jetseen tracks residency days across 13 rule types. If you split time between the US and other jurisdictions, you can monitor Schengen 90/180, UK tax-year, UAE, custom rolling, and custom calendar-year trackers in the same app.
The 14-day free trial includes the full US SPT tracker. After the trial, $119 Lifetime Access covers everything permanently.
FAQ
If I stay under 183 US days this year, am I safe? Not necessarily. The SPT formula is weighted across three years. If you had significant US presence in the prior two years, the carry-forward portion of those days counts toward this year's total. You could meet SPT with 70 or 80 current-year days if prior years were heavy. Run the three-year calculation.
I was on an F-1 student visa last year. Do those days count? Often, but only if the IRS exempt-individual rules apply. Students must be temporarily present under the relevant visa and substantially comply with visa requirements. Confirm Form 8843 and any relevant limits with a tax professional before excluding those days.
What happens if I meet SPT? You are treated as a US resident alien for tax purposes for that calendar year. Resident aliens are taxed on worldwide income. Depending on your country of residence and any applicable tax treaty, there may be treaty provisions that affect your liability. Consult a qualified tax professional to understand your specific situation.
Can I claim the closer connection exception every year? The closer connection exception can be claimed in multiple years if you qualify each time. You must file Form 8840 separately for each year you claim it. Meeting the criteria one year does not carry over automatically.
Does Jetseen submit my records to the IRS? No. Jetseen's CSV reports are for your personal use and for sharing with your tax advisor. They are not submitted to the IRS or any government body.
Sources
- IRS - Substantial Presence Test - IRS official guidance. Page last reviewed or updated 14-Mar-2026.
- IRS - Closer Connection Exception to the Substantial Presence Test - IRS official guidance. Page last reviewed or updated 15-Jul-2025.
- IRS - Instructions for Form 1040-C - IRS official instructions. Page last reviewed or updated 30-Apr-2026.
Jetseen helps you track days. Always consult a qualified tax, legal, or immigration professional for advice specific to your situation.
Last updated: May 8, 2026
Disclaimer: This article is for informational purposes only and does not constitute legal or tax advice. Tax residency rules change frequently. Consult a qualified tax professional for advice specific to your situation.