Pillar guide

US federal tax residency for non-citizens

For non-citizens, US tax residency turns on two tests: the green-card test and the Substantial Presence Test. The SPT is a three-year weighted day count, and meeting it makes you taxable on your worldwide income, just like a citizen, unless you can claim the closer-connection exception or a treaty tie-breaker.

Around those tests sit the rules that trip people up: students and trainees on F-1 and J-1 visas are 'exempt individuals' whose days don't count for a limited window; H-1B days count from day one; the first-year choice and dual-status returns govern your arrival year; and the exit tax governs your departure. This hub links the federal guides, the SPT calculator, and the glossary.

FAQ

Frequently asked questions

Who has to pass the Substantial Presence Test?

Non-citizens who aren't green-card holders. If your weighted three-year day count reaches 183 (and you were present at least 31 days this year), you're a US tax resident unless an exception or treaty applies.

Do days on an F-1 or H-1B visa count toward the SPT?

F-1 and J-1 students/trainees are 'exempt individuals' for a limited number of years, so their days don't count during that window. H-1B days count from the first day. After the exempt window closes, student days start counting too.

Track all of it in one app

Tax Days runs every rule in this guide on your iPhone, a live day count across US states, federal SPT, Schengen, and 200+ countries.

Download Tax Days on the App Store