The short answer
You are a resident for tax purposes if you hold a green card or if you meet the substantial presence test, which counts days across three years. Residents report worldwide income; nonresidents report only certain United States income. Students and a few other categories are exempt from day counting for a limited number of years.
Is tax residency the same as immigration status?
No, and treating them as the same is the source of most of the confusion in this area. Immigration status is decided by the immigration agencies and describes what you may do while you are here. Tax residency is decided by the tax code and describes which income the government may tax. They use different words for similar-sounding ideas and reach different answers all the time.
A student on a temporary visa can be a nonresident for tax purposes for years while living here full time. A permanent resident who spends most of the year abroad remains a resident for tax purposes from the day the card is granted. Someone with no immigration status at all can be a resident for tax purposes and is expected to file.
The habit worth building is asking which system a question belongs to. The distinction is the same kind of category error described in the answer on why the visa and the admission record answer different questions: two documents, two systems, and a wrong assumption about which one governs.
What are the two tests that make me a resident?
There are exactly two, and meeting either one is enough.
The first is the green card test. If you are a lawful permanent resident at any point during the calendar year, you are a resident for tax purposes for that year. Nothing about where you actually live changes it. The obligation continues until the status is formally abandoned or terminated, which catches residents who move abroad and assume that leaving ended the filing duty.
The second is the substantial presence test, which counts days. You meet it if you were physically present at least thirty-one days during the current year and the weighted total across three years reaches one hundred eighty-three. The weighting is the part people get wrong: every day this year counts as a full day, each day last year counts as a third of a day, and each day the year before counts as a sixth.
| Year | Weight | Example: 120 days each year |
|---|---|---|
| Current year | All days | 120 |
| First preceding year | One third | 40 |
| Second preceding year | One sixth | 20 |
| Total | 180 — just under the threshold |
That example shows why frequent travelers should count rather than guess. Four months a year for three years sits a few days short. Five months a year crosses easily.
Some days do not count at all. Days spent here as an exempt individual, days a person was unable to leave because of a medical condition that arose while here, days commuting regularly from a neighboring country, and days in transit between two foreign points under a short layover are all excluded. Each exclusion has conditions, and each usually has to be claimed on a form rather than assumed.
Who is an exempt individual, and for how long?
Exempt individual is a term of art and does not mean exempt from tax. It means the person's days are not counted at all for the presence test, which usually leaves them a nonresident for tax purposes even though they live here.
- Students in certain academic categories, generally for a limited number of calendar years, counted as whole years however few days fall inside them.
- Teachers and trainees in exchange categories, for a shorter window measured against the preceding years.
- Foreign government-related individuals, including certain international organization employees and their immediate families.
- Professional athletes present temporarily to compete in a charitable sports event.
The exemption is not automatic in practice. It generally has to be claimed by filing a statement with the tax authority for each year, even by someone with no income at all. Students who file nothing and later assume they were exempt frequently find that they cannot document it. Anyone whose academic path involves work authorization should keep those records alongside their school file, since the same years get examined again in the context described in the answer on how practical training interacts with the full course of study rule.
What changes once I am a resident for tax purposes?
The scope of what must be reported changes completely. A resident reports worldwide income — foreign salary, foreign rental income, foreign investment income, gains on property sold abroad — whether or not any of it was brought into the country. A nonresident reports a much narrower set of United States income.
Reporting obligations for foreign financial accounts attach to residents as well, and those carry penalties that are severe relative to the amounts often involved. People who moved here with an ordinary savings account in their home country are the ones most often caught, because nothing about the account feels like a foreign holding to them.
Deductions, credits and rates differ too, and not always in the direction people expect. Residency is not automatically worse; it can open credits that a nonresident cannot claim. Spouses in categories with their own work rights, such as those described in the answer on work authorization that comes automatically with certain spousal categories, may find a joint resident return produces a better result than two separate nonresident ones.
The year of arrival and the year of departure are their own problem. A person who becomes a resident partway through a year is a nonresident for the earlier part and a resident for the rest, and the return has to reflect both. That split return is where most first-year mistakes happen, and it is worth getting help with once rather than repeating the error and amending several years later.
Can a treaty or a closer connection change the result?
Sometimes. Two mechanisms exist. A closer connection claim allows someone who meets the presence test, but was here fewer than a set number of days and maintains a tax home and stronger ties abroad, to be treated as a nonresident. It is claimed on a specific form and is unavailable to anyone who has applied for permanent residence.
The second is a treaty tie-breaker. Where two countries would both treat a person as resident, a treaty article assigns residence to one of them using a sequence of tests — permanent home, center of vital interests, habitual abode, nationality. The result can override the domestic test.
A permanent resident who claims to be a treaty resident of another country is asserting that their home is elsewhere. That assertion can be used as evidence of abandoned residence and can also affect the continuous residence requirement for citizenship. The tax saving is rarely worth the exposure.
How do tax filings affect an immigration case?
They come up directly. Naturalization applicants are asked whether they have filed required returns and whether they owe tax, and are commonly asked to bring transcripts to the interview. A willful failure to file, or an unresolved debt with no payment arrangement, can support a finding against good moral character during the statutory period. An installment agreement in good standing is generally a very different picture from silence.
The sharper risk is inconsistency. Filing as a nonresident while asserting on an immigration form that the United States is your home is the kind of contradiction that officers notice, and it is difficult to explain away years later. The same is true of an address history on returns that does not match the one in an application file. Where the returns and the immigration file already disagree, and particularly where residence itself may be questioned, people generally get immigration counsel and a tax professional working from the same set of facts before amending anything, because a correction filed in isolation can create the admission that the other case turns on.
Two related pages are worth reading alongside this one. The answer on how travel affects a pending citizenship application covers the residence rules that a tax position can quietly undermine, and the answer on what happens when a noncitizen is registered to vote by mistake deals with the other common situation where a routine form completed years ago becomes the central question at an interview.
What to remember
- Tax residency and immigration status are decided by different agencies under different rules and often disagree.
- The presence test counts all days this year, a third of last year's, and a sixth of the year before.
- Exempt individuals do not count days at all, but only for a limited number of years and only if a form is filed.
- Residents for tax purposes must report worldwide income and may have foreign account reporting obligations.
- A treaty tie-breaker can shift the result, but claiming it as a permanent resident carries immigration risk.
Other questions people ask
Does filing the wrong form ruin my immigration case?
Not by itself. Filing an amended return to correct the classification is the ordinary remedy, and voluntarily fixing an error before an interview looks better than leaving it. What creates real trouble is a pattern of not filing at all, or a claim on a return that contradicts something asserted on an immigration form.
Do I need a Social Security number to file?
Not always. People who are not authorized to work generally cannot obtain one, and they use an individual taxpayer identification number instead. That number exists solely for tax administration. It is not work authorization, it does not confer any immigration status, and holding one says nothing about a person's status.
What is a dual-status year?
It is a tax year in which you were a nonresident for part of the year and a resident for the rest, which commonly happens in the year of arrival or departure. Different rules apply to each part of the year, and the filing is more complicated than either a pure resident or pure nonresident return.
Where this comes from
- IRS — Determining an Individual's Tax Residency StatusThe green card test and the presence test explained together.
- IRS — Substantial Presence TestThe day-counting formula and the exceptions to it.
- IRS — Publication 519, U.S. Tax Guide for AliensThe full guide, including dual-status and treaty rules.
- IRS — About Form 8843The statement exempt individuals must file to exclude days.
- Legal Information Institute — 26 U.S.C. 7701(b), Definition of Resident AlienThe statutory basis for both residency tests.
- IRS — Individual Taxpayer Identification NumberWho needs one and what it does not provide.
- IRS — United States Income Tax Treaties A to ZTreaty texts, including residence tie-breaker articles.
Clear Justice is a publication, not a law firm. Reading this creates no attorney–client relationship, and nothing here is advice about your situation. Rules change and many of them differ by state — check the official source above or speak to a licensed attorney before you act.