HomeGuidesUS tax residency

Which days are excluded from the Substantial Presence Test?

Separate physical presence from countable SPT days. Check student and teacher categories, filing requirements, and what this site's calculator includes.

Prepared by Tax Residency Days · Official sources checked

Some physically present days may be excluded from the SPT calculation if the applicable conditions are met. Exempt means excluded from day counting, not automatically free of US tax. The travel ledger counts physical presence; the separate adjusted calculator applies only exclusions you explicitly confirm.

Calculate with confirmed exclusions

Physical presence and countable days

A date generally counts when you are physically in the US for any part of it. The IRS identifies exceptions for eligible Canada/Mexico commuters, qualifying transit under 24 hours, certain foreign-vessel crew, a medical condition arising during the visit that prevents departure, and exempt individuals.

Keep an accurate travel record and a separate explanation of each claimed exclusion. An overnight flight, a visa label or working remotely does not by itself establish that a day can be excluded.

F-1 and J-1: check the actual category

Qualifying students temporarily present on F, J, M or Q status may exclude days, subject to compliance and calendar-year rules. The IRS student guidance generally stops student exemption after parts of more than five calendar years in the specified exempt categories, unless the additional conditions are established. A partial calendar year can use one of those years.

A J-1 teacher or trainee follows different rules from a J-1 student. The teacher/trainee guidance generally uses exempt status in two of the six preceding calendar years, with a qualifying foreign-employer exception. Check your purpose, prior status and earlier calendar years before choosing an exclusion.

A worked example: why deductions must be year-specific

Assume a traveller records 150 physical days in 2026, 90 in 2025 and 60 in 2024. The calculator's unadjusted total is:

150 + 90/3 + 60/6 = 190

They meet both numeric SPT conditions on those inputs: at least 31 current-year days and a weighted total of at least 183.

Now assume 20 of the 2026 days are independently confirmed as excludable, with all relevant conditions and filing requirements met, and no exclusions in the other years. The separate adjusted calculation is:

(150 − 20) + 90/3 + 60/6 = 170

That adjusted total is below 183. This illustrates arithmetic only; it does not establish eligibility for the 20-day exclusion. Exclusions in an earlier year would be applied to that year's count before its one-third or one-sixth weighting.

Continue with these numbers

Load the 150 / 90 / 60-day example

The tool opens with 20 proposed exclusions in 2026 and none in 2025 or 2024. The confirmation box starts unchecked, so the first result is 190 weighted days. For this illustrative case, check the box to reproduce 170, with 130 current-year countable days. The 31-day condition is still met, but the weighted 183-day condition is no longer met.

Then try 30 excluded days in 2025 as well: 130 + (90 − 30)/3 + 60/6 = 160. Confirm the changed annual totals again. Removing 30 prior-year dates reduces the weighted total by 10.

Official guidance checked 5 October 2026. Loading or editing this example leaves your saved draft and travel ledger unchanged. Enter your own annual totals, use Save draft to return later, or export the result as CSV.

Form 8843 and the next check

Form 8843 explains exclusions claimed as an exempt individual or because of a qualifying medical condition. The IRS instructions cover filing even when no income-tax return is required. Late filing can affect the ability to exclude days, subject to the stated relief conditions; use the current instructions rather than assuming an exclusion applies automatically.

The Closer Connection Exception is a separate possible exception after meeting the numerical test. It has requirements concerning current-year presence, a foreign tax home, closer connections and permanent-residence steps. It does not simply subtract days from the weighted formula.

How to use this site's result

  • Use the calculator for physical day totals, overlaps and the unadjusted three-year formula.
  • Review potential exclusions against the linked IRS guidance before relying on a residency conclusion.
  • Use the adjusted calculator for independently confirmed annual exclusions. Its category/history review does not approve an exemption or file Form 8843; your original travel ledger stays intact.
  • Check other residency routes and filing obligations separately. A result below the SPT threshold does not establish that no US return is due.

Common questions about exempt days

Does F-1 status make every year nonresident?

No. Prior calendar years, continued qualification and other residency routes matter. Once the ordinary student exclusion stops applying, countable presence may meet the SPT.

Can I deduct all days just because I have J-1 status?

No. Establish whether the student, teacher or trainee rules apply to your circumstances and which years and dates qualify.

Will the calculator file Form 8843 or confirm my exemption?

No. It provides a day-count calculation. It does not file forms, check immigration compliance or decide exclusion eligibility. Read the full US residency overview for the other tests and exceptions.

Official sources & review

Checked against the linked official guidance on 5 October 2026. Worked examples are illustrative calculations with stated assumptions. This guide does not determine an individual's tax residency or immigration entitlement.