Who Is Considered a Resident Alien in the US?

Under U.S. tax law, you are considered a resident alien in the US if you are not a citizen but meet one of three tests set out in 26 U.S.C. §7701(b): you hold a green card, you pass the substantial presence test based on days spent in the country, or you make a first-year election to be treated as a resident.1Office of the Law Revision Counsel. 26 U.S. Code 7701 – Definitions The label matters because a resident alien is taxed by the IRS the same way a citizen is, on income earned anywhere in the world, while a nonresident alien generally pays U.S. tax only on income from U.S. sources.2Internal Revenue Service. Publication 519 (2025), U.S. Tax Guide for Aliens

The Green Card Test

If USCIS has issued you a Permanent Resident Card (Form I-551) and that status was in effect at any point during the calendar year, you are a resident alien for tax purposes for the entire year. It makes no difference whether you actually lived in the United States for the full year or spent most of it abroad.3Internal Revenue Service. U.S. Tax Residency – Green Card Test

The status also does not lapse on its own. You remain a resident alien for tax purposes until you voluntarily surrender the card to USCIS and formally renounce your immigrant status, USCIS administratively revokes your status, or a federal court orders the revocation.4Internal Revenue Service. Residency Starting and Ending Dates Letting the card expire or moving abroad, without more, does not end tax residency.

One caution for long-term green card holders considering giving it up: if you held the card for at least 8 of the last 15 years, expatriation tax rules may apply, potentially treating your worldwide assets as sold on the day you relinquish status.4Internal Revenue Service. Residency Starting and Ending Dates

The Substantial Presence Test

You can become a resident alien with no green card at all, simply by spending enough time in the country. The test has two parts, and you must meet both. First, you must be physically present in the U.S. for at least 31 days during the current year. Second, your weighted day count over the current year and the two prior years must reach 183.5Internal Revenue Service. Substantial Presence Test

The weighting works like this:

  • Every day in the current year counts as a full day.
  • Each day in the first preceding year counts as one-third of a day.
  • Each day in the second preceding year counts as one-sixth of a day.

Someone in the U.S. for 120 days a year for three straight years counts 120 + 40 + 20 = 180 weighted days, and does not meet the test. At 125 days a year, the count reaches 125 + 42 + 21 = 188 and crosses the threshold.

Days That Don’t Count

Certain people can exclude their U.S. days from the calculation entirely. These “exempt individuals” include foreign government personnel on A or G visas (with narrow exceptions for A-3 and G-5), teachers and trainees on J or Q visas, students on F, J, M, or Q visas, professional athletes competing in a charitable sports event, and people who intended to leave but couldn’t because of a medical condition that arose while they were in the country.5Internal Revenue Service. Substantial Presence Test

The student and teacher exemptions run out. Teachers and trainees cannot exclude days if they were already exempt for any part of 2 of the 6 prior calendar years. Students lose the exemption after being exempt for any part of more than 5 calendar years, unless they can show they don’t intend to live in the U.S. permanently. Claiming exempt status requires filing Form 8843; miss it and the IRS can count all your days.6Internal Revenue Service. Form 8843 – Statement for Exempt Individuals and Individuals With a Medical Condition

The Closer Connection Exception

Meeting the substantial presence test isn’t always the end of the analysis. If you were physically in the U.S. for fewer than 183 actual days during the current year, you may still avoid resident alien classification by claiming the closer connection exception. You must have maintained a tax home in a foreign country for the entire year, had stronger ties to that country than to the United States, and taken no steps toward getting a green card.7Internal Revenue Service. Closer Connection Exception to the Substantial Presence Test

The IRS weighs concrete facts to decide where your closer connection lies: the location of your permanent home, your family, your personal belongings, where you vote, where you hold a driver’s license, and which charities you support.7Internal Revenue Service. Closer Connection Exception to the Substantial Presence Test To claim the exception you file Form 8840 by the due date of your return (with extensions). Filing late means losing the exception, and you may be treated as a U.S. resident.8Internal Revenue Service. Form 8840 – Closer Connection Exception Statement for Aliens

Choosing Residency: The First-Year Election

You can also opt in. If you arrive partway through the year and don’t yet meet the substantial presence test, the first-year election lets you be treated as a resident alien for the portion of the year you were in the country. You must have been physically present for at least 31 consecutive days in the current year and for at least 75% of the days from the start of that 31-day period through the end of the year. Up to 5 days of absence count as days of presence for the 75% calculation.9Internal Revenue Service. Tax Residency Status – First-Year Choice

The election is worth considering when you want to file jointly with a U.S. citizen or resident spouse, claim credits limited to residents, or take the standard deduction that dual-status filers can’t use. The price is reporting your worldwide income for the resident portion of the year.

When a Tax Treaty Overrides the Result

Even after you qualify as a resident alien under these rules, a tax treaty between the U.S. and your home country may reassign you. Many treaties contain tie-breaker provisions that decide residency when both countries claim you, typically looking at your permanent home, center of vital interests, habitual abode, and nationality, in that order.

If a tie-breaker treats you as a resident of the other country, you can file as a nonresident alien for U.S. tax purposes. You must disclose the position by attaching Form 8833 to your return, and disclosure is mandatory if your income exceeds $100,000. Failing to file Form 8833 when required triggers a $1,000 penalty for each failure.10Internal Revenue Service. Claiming Tax Treaty Benefits

What Being a Resident Alien Means for Your Taxes

Once you fall into resident alien status, the IRS treats you essentially the same as a U.S. citizen for income tax. You owe federal income tax on your worldwide income, whether it comes from a U.S. paycheck, a foreign rental, overseas investments, or anywhere else. You file Form 1040 and have access to the same deductions, credits, and filing statuses as citizens.11Internal Revenue Service. Alien Taxation – Certain Essential Concepts

Wages earned in the U.S. are subject to Social Security and Medicare withholding at the standard rates of 6.2% and 1.45%. Students and trainees on F-1, J-1, M-1, or Q-1 visas who were previously exempt from FICA lose that exemption once they become resident aliens. If the U.S. has a totalization agreement with your home country, you may remain covered by that country’s system instead.12Internal Revenue Service. Aliens Employed in the U.S. – Social Security Taxes

If you’re a resident alien married to a nonresident alien, you can elect under IRC §6013(g) to file jointly by treating your spouse as a resident. Both spouses must agree, and the election continues in future years until terminated. The upside is the married-filing-jointly standard deduction ($32,200 for 2026) and more favorable brackets. The downside is that your spouse’s worldwide income becomes taxable in the U.S. for the entire year.13Internal Revenue Service. Nonresident Aliens14Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026

Estate and gift tax follow a different but related concept. Resident aliens considered U.S. domiciliaries are subject to federal estate and gift tax on their worldwide assets. For 2026, the estate tax exemption is $15,000,000. Nonresident aliens receive only a $60,000 exemption and are taxed only on U.S.-situated assets.15Internal Revenue Service. What’s New – Estate and Gift Tax Domicile for estate purposes turns on where you intend to remain permanently, which does not always match the income tax tests above.

Foreign Accounts and Assets

Becoming a resident alien pulls you into two separate foreign-reporting regimes. If your foreign financial accounts combined exceeded $10,000 at any point during the year, you must file FinCEN Form 114 (the FBAR) electronically. The threshold is based on the aggregate of all your accounts, not each one. Civil penalties for non-willful violations can exceed $16,000 per account per year.16Financial Crimes Enforcement Network. BSA Electronic Filing Requirements for Report of Foreign Bank and Financial Accounts (FinCEN Form 114)

You may also need to file Form 8938 with your tax return under FATCA. For resident aliens living in the U.S., the thresholds are more than $50,000 on the last day of the year or more than $75,000 at any point during it (single or married filing separately), and more than $100,000 or $150,000 respectively (married filing jointly).17Internal Revenue Service. Do I Need to File Form 8938, Statement of Specified Foreign Financial Assets Failure to file carries an initial penalty of $10,000, with additional penalties for continued non-compliance after IRS notice.18eCFR. 26 CFR 1.6038D-8 – Penalties for Failure to Disclose The FBAR and Form 8938 are separate obligations with different thresholds and different filing destinations; many people owe both.

Dual-Status Years and Ending Residency

The year you arrive or leave often produces a dual-status tax year: nonresident alien for part of it, resident alien for the rest. Only U.S.-source income is taxed during the nonresident portion; worldwide income is taxed during the resident portion.19Internal Revenue Service. Taxation of Dual-Status Individuals The main sting is that dual-status filers cannot claim the standard deduction. For 2026, that means giving up $16,100 (single) or $32,200 (married filing jointly) and itemizing instead.14Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026

How residency ends depends on how it started. For green card holders, the termination date is the first day you’re no longer a lawful permanent resident, provided you can show a foreign tax home and closer connection to that country for the rest of the year. For those who qualified under the substantial presence test, the termination date is the last day of U.S. presence during the calendar year, again subject to establishing the foreign tax home and closer connection. A de minimis rule allows up to 10 days of U.S. presence after your intended departure without resetting the date. If you’ll be a resident for any part of the following year as well, you’re taxed as a resident straight through the end of the current year with no early termination.20eCFR. 26 CFR 301.7701(b)-4 – Residency Time Periods