How federal residency status changes your tax picture
Federal residency determines the universe of income you must report to the IRS, which tax form you’ll use, and what deductions and credits you can claim. Resident aliens file like U.S. citizens (generally on Form 1040) and are taxed on worldwide income. Nonresident aliens file on Form 1040-NR and are taxed primarily on U.S.-source income and certain effectively connected income. (See IRS Publication 519 for the official rules: https://www.irs.gov/publications/p519.)
Below I walk through the two tests, common exceptions, practical implications for filing, and steps to reduce surprises when tax season arrives. I’ve guided clients through these rules for 15+ years; clear records and early planning avoid costly errors.
The two main federal residency tests
1) Green Card Test
If you were a lawful permanent resident of the United States at any time during the calendar year — in other words, you held a U.S. green card — you meet the Green Card Test for that year and are treated as a resident alien for tax purposes. That classification generally makes you liable for U.S. tax on worldwide income for the entire year.
Practical note: The tax residency begins the day you are granted lawful permanent resident status. If you surrender or lose the green card during the year, other rules (including dual-status considerations) can apply.
2) Substantial Presence Test
You meet the Substantial Presence Test and are treated as a resident if both of these are true:
- You were physically present in the U.S. at least 31 days during the current year, and
- The total of the weighted days across three years equals 183 or more. The formula is: days present in the current year + 1/3 of days in the first preceding year + 1/6 of days in the second preceding year >= 183.
Example: 120 days in current year + 120/3 (40) + 120/6 (20) = 180 — not enough. You’d need three more counted days to meet the threshold.
Counted days include most days you’re physically present in the U.S. (midnight-to-midnight). There are important exclusions: days you commute from Canada or Mexico for work, brief transit days, days you are unable to leave because of a medical condition that arose while in the U.S., and days as an exempt individual (see below). See IRS Publication 519 for details: https://www.irs.gov/publications/p519.
Common exceptions and special rules
-
Exempt Individuals: Certain visa types (commonly F-1, J-1, M-1, Q) may be ‘‘exempt individuals’’ for a limited period and do not count days toward the Substantial Presence Test. Exempt does not mean immune from tax — it only affects day counting. Exempt individuals still may owe tax on U.S. income and may need to file Form 8843 (Statement for Exempt Individuals and Individuals With a Medical Condition): https://www.irs.gov/forms-pubs/about-form-8843.
-
Closer Connection Exception: If you meet the days test but have a closer connection to a foreign country and maintain a tax home there, you might avoid residency under the Closer Connection Exception. This requires Form 8840 in many cases and careful documentation.
-
First-Year Choice: If you do not meet the Substantial Presence Test for an entire year but become a resident in the latter part of the year, you may make a first-year choice to be treated as a resident for part of the year; rules are nuanced and have timing requirements.
-
Dual-Status Tax Years: If you change status during the year (for example, nonresident in first part of year and resident later), you may be a dual-status alien. Dual-status returns follow special rules, often requiring both Form 1040 and Form 1040-NR reporting principles. The Federal Filing Requirements for Nonresident Aliens and Dual-Status Aliens guide on FinHelp explains filing steps in detail.
How residency status affects what you file and what you report
- Resident aliens: File Form 1040 and report worldwide income. You can claim most deductions and credits available to U.S. citizens (subject to other rules).
- Nonresident aliens: File Form 1040-NR and report U.S.-source wages, effectively connected income, and certain investment income. Deductions and credits are more limited. See When to Use Form 1040-NR for Nonresident Aliens for when a 1040-NR is required.
Tax treaties: Many countries have tax treaties with the U.S. that can modify residency outcomes or change how income is taxed. Treaty benefits can override statutory rules in certain cases but usually require disclosure of the treaty position on your return and possibly Form 8833. Always check the treaty text and IRS guidance; misapplied treaty benefits cause penalties.
State residency: Don’t assume federal residency equals state residency. States have their own residency rules and tax consequences. For mobile taxpayers, state residency planning can be as important as federal planning.
Real-world examples (anonymized)
-
Student on F-1 visa: A long-term student who stayed under five calendar years may be an exempt individual and therefore a nonresident for federal days-counting. They typically file Form 8843 even if no U.S. income is reportable.
-
Employee on H-1B: A software engineer on H-1B present more than 183 weighted days will usually meet the Substantial Presence Test and file Form 1040 as a resident for that year.
-
Green card holder who left the U.S.: If you had a green card for any part of the year, you are a resident for that year unless you take steps to relinquish or terminate residency; consult an immigration attorney and tax advisor before changing status.
Practical checklist for taxpayers
- Track and record every day you enter and leave the U.S. (passport stamps, boarding passes, employer records).
- Keep copies of visa documents and any green card paperwork.
- File Form 8843 if you may be an exempt individual or if the Closer Connection Exception applies.
- If you qualify as a resident, plan for worldwide income reporting — gather foreign bank and investment records early (FBAR and FATCA rules may apply).
- If you think you meet the Substantial Presence Test, run the 3-year weighted-day calculation before year-end and consult a tax pro to evaluate treaty claims or a first-year choice.
Common mistakes and how to avoid them
- Not counting days accurately: Small miscounts can flip residency status. Use a calendar and evidence files.
- Assuming visa type equals tax status: Visa category affects counting rules, but tax residency is governed by the tests, not by visa labels alone.
- Missing treaty disclosures: Claiming treaty benefits without proper disclosure (Form 8833 or appropriate box entries) can trigger questions or penalties.
When to consult a professional
If your presence patterns are complex (frequent travel, multiple visas, dual-status years, treaty claims, or significant foreign assets), professional help reduces risk. In my practice I see avoidable misfilings when clients try to self-determine residency without complete records.
Useful FinHelp resources
- Federal Filing Requirements for Nonresident Aliens and Dual-Status Aliens
- When to Use Form 1040-NR for Nonresident Aliens
- How the IRS Defines and Verifies Tax Residency
Authoritative sources and further reading
- IRS Publication 519, U.S. Tax Guide for Aliens: https://www.irs.gov/publications/p519
- Form 8843, Statement for Exempt Individuals and Individuals With a Medical Condition: https://www.irs.gov/forms-pubs/about-form-8843
- Form 1040-NR, U.S. Nonresident Alien Income Tax Return: https://www.irs.gov/forms-pubs/about-form-1040-nr
Professional disclaimer
This article is educational and does not constitute tax or legal advice. Rules for residency, treaties, and reporting change; consult a licensed tax professional or the IRS for guidance tailored to your circumstances.
Final thought
Residency status can be the single biggest driver of your U.S. tax obligations. Track days, document ties to other countries, and get early advice when your immigration or travel pattern changes to reduce surprises at filing time.

