A resident alien for tax purposes is a non-citizen the IRS treats like a U.S. citizen for income tax: taxed on worldwide earnings, filing Form 1040, and subject to the same reporting rules on foreign accounts and assets. You land in this category one of two ways — by holding a green card, or by spending enough time in the country to meet the substantial presence test. Immigration intent has nothing to do with it. The classification is purely a tax rule, and once it applies, it applies fully.
The Green Card Test
If you hold a Permanent Resident Card at any point during the calendar year, you’re a resident alien for that year. It doesn’t matter whether you were physically in the United States for a single day.1Office of the Law Revision Counsel. 26 USC 7701 – Definitions
The status continues until USCIS formally revokes your green card or an administrative or judicial determination finds it abandoned.1Office of the Law Revision Counsel. 26 USC 7701 – Definitions Living abroad for years does not, on its own, end your U.S. tax obligations. The IRS still expects a return reporting worldwide income for as long as your permanent resident status is on the books.
The Substantial Presence Test
Without a green card, you can still become a resident alien by being physically present in the United States long enough. The test has two parts, and you have to meet both:2Internal Revenue Service. Substantial Presence Test
- At least 31 days of physical presence in the current calendar year.
- A weighted three-year total of 183 days: every day of the current year, plus one-third of your days from the prior year, plus one-sixth of your days from the year before that.
The weighting matters. Say you were in the country 120 days in each of 2024, 2025, and 2026. That gives you 120 + 40 + 20 = 180. You’d fall just short. A handful of extra days in any of those years would push you over. Recent presence counts far more than older presence, so someone gradually spending more time in the U.S. can cross the line without noticing.
The Closer Connection Exception
Meeting the day count doesn’t automatically trap you as a resident. If you were in the U.S. fewer than 183 days in the current year, you may claim a closer connection to a foreign country and stay nonresident. You need a tax home in that country for the whole year, stronger ties there than to the U.S., and no pending green card application.3Internal Revenue Service. Closer Connection Exception to the Substantial Presence Test
The IRS looks at where your permanent home is, where your family lives, where your belongings are kept, where you vote, and where you hold a driver’s license. You claim the exception by filing Form 8840 by the Form 1040-NR deadline. Miss it and the exception is gone for that year.4Internal Revenue Service. Form 8840, Closer Connection Exception Statement for Aliens
Days That Don’t Count
Certain visa holders can spend long stretches in the country without those days feeding the substantial presence formula. The IRS excludes:2Internal Revenue Service. Substantial Presence Test
- Foreign government personnel on A or G visas (with narrow exceptions for domestic workers).
- Teachers and trainees on J or Q visas, generally for up to two calendar years.
- Students on F, J, M, or Q visas, generally for up to five calendar years.
Each exempt year requires a Form 8843. File it late and the IRS can count those days after all, which is often enough to flip someone into resident status.5Internal Revenue Service. Form 8843, Statement for Exempt Individuals and Individuals With a Medical Condition
Days you couldn’t leave because of a medical condition that arose while you were here also don’t count, so long as you didn’t come for treatment and didn’t know about the condition before arriving. A doctor has to certify it on the form.5Internal Revenue Service. Form 8843, Statement for Exempt Individuals and Individuals With a Medical Condition And if you live in Canada or Mexico and commute to a U.S. job on more than 75% of your workdays (round-trip within 24 hours), your commuting days are excluded.6Internal Revenue Service. Publication 519, U.S. Tax Guide for Aliens
Treaty Tie-Breakers
Some people qualify as tax residents of two countries at once. Where the U.S. has an income tax treaty, tie-breaker rules assign you to one country by looking at your permanent home, personal and economic ties, and habitual abode. If a treaty puts you on the foreign side of that line, you can be taxed as a nonresident here, but you have to disclose the position on Form 8833 with a U.S. return, even if you’d otherwise owe no return at all.7eCFR. 26 CFR 301.6114-1 – Treaty-Based Return Positions Skip the disclosure and the IRS can disregard the treaty claim and tax you as a resident.8Internal Revenue Service. About Form 8833, Treaty-Based Return Position Disclosure Under Section 6114 or 7701(b)
What Resident Alien Status Actually Means
You file Form 1040 and report income from everywhere in the world, not just from U.S. sources. That’s the same rule that applies to citizens.9Internal Revenue Service. U.S. Residents Nonresident aliens, by contrast, report only U.S.-source income on Form 1040-NR.10Internal Revenue Service. Taxation of Nonresident Aliens
The upside is that you get the same deductions and credits citizens do: the standard deduction, the Child Tax Credit, the Earned Income Tax Credit, and the foreign tax credit that keeps you from paying twice on income already taxed abroad.6Internal Revenue Service. Publication 519, U.S. Tax Guide for Aliens
Foreign Account and Asset Reporting
This is where resident aliens most often get caught out. Two separate rules apply, and complying with one does not excuse the other.
The FBAR (FinCEN Report 114) is required if the combined value of your foreign financial accounts exceeded $10,000 at any point in the year. It’s filed electronically with FinCEN, due April 15 with an automatic extension to October 15. Non-willful failure carries a civil penalty of up to $16,536 per violation, and willful failure runs to the greater of $100,000 or 50% of the account balance.11eCFR. 31 CFR 1010.821 – Penalty Adjustment and Table
Form 8938, filed with your tax return under FATCA, covers a broader set of specified foreign financial assets. For someone living in the U.S., the thresholds start at $50,000 in assets at year-end (or $75,000 at any point in the year) for single filers, and $100,000 year-end (or $150,000 at any point) for joint filers. The initial penalty for failing to file is $10,000, with more piled on if you don’t file after the IRS asks.12eCFR. 26 CFR 1.6038D-8 – Penalties for Failure to Disclose
Social Security and Medicare
Wages earned by resident aliens are subject to FICA on the same basis as citizens: 6.2% Social Security and 1.45% Medicare, matched by the employer, with self-employed people paying both halves.13Internal Revenue Service. Alien Liability for Social Security and Medicare Taxes
If you’re transitioning from nonresident to resident, this is a real change. Nonresident aliens on F-1, J-1, M-1, and Q-1 visas are generally exempt from FICA; that exemption ends when your status flips. One narrow relief valve: if your home country has a Social Security totalization agreement with the United States, a coverage certificate from that country’s social security authority can keep you on its system and out of double taxation.14Social Security Administration. International Programs – Country List
When Residency Starts, Ends, or Splits a Year
Residency can begin or end mid-year, producing a dual-status tax year. During the resident portion you’re taxed on worldwide income; during the nonresident portion, only on U.S.-source income. Your residency start date is generally the first day of physical presence that triggers the substantial presence test or the first day you hold a green card.6Internal Revenue Service. Publication 519, U.S. Tax Guide for Aliens Dual-status filers cannot take the standard deduction and must itemize.15Internal Revenue Service. Taxation of Dual-Status Individuals
If you don’t meet either test in your arrival year but expect to next year, the first-year choice lets you elect resident treatment for part of that first year. You need 31 consecutive days of presence in the election year and presence for at least 75% of the days from the start of that 31-day stretch through year-end, with up to five days of absence counted as presence.16Internal Revenue Service. Tax Residency Status – First-Year Choice Couples often use this to file jointly with a U.S.-citizen or resident spouse.
Going the other direction, if you give up your green card or leave permanently, your residency ends on that date, and post-departure income is taxed only if it’s U.S.-source. Documenting the date carefully matters, because the IRS can push back and tax you as a resident for the full year if the record is unclear.
The Exit Tax for Long-Term Green Card Holders
Giving up a green card is not always a clean break. If you’ve held one for at least 8 of the last 15 tax years and you formally abandon that status, the expatriation tax rules can treat you as a “covered expatriate,” deeming you to have sold all your worldwide assets at fair market value the day before you left. Unrealized gain above an exclusion amount is taxed.17Internal Revenue Service. Expatriation Tax
You’re automatically covered if your net worth is $2 million or more, if your average annual net income tax for the five prior years exceeds the 2026 threshold of $211,000, or if you can’t certify five years of full tax compliance. That last trigger is the one that catches people who assumed the annual filing rules didn’t really reach them — the exit tax collects what the yearly returns didn’t.