What Is a Resident Alien? Tests, Taxes, and Reporting

A resident alien is a non-citizen who meets one of three IRS tests and, for that reason, owes U.S. federal income tax on worldwide income the same way a citizen does. The classification comes from tax law at 26 U.S.C. ยง 7701(b), and it applies year by year: you can be a resident alien one calendar year and a nonresident alien the next, depending on your immigration status and how much time you spend in the country. The distinction matters because resident aliens can claim the standard deduction, most tax credits, and joint filing, while nonresident aliens face a narrower set of deductions and a flat 30% rate on certain U.S. income.

Three Ways to Qualify

Federal tax law recognizes three paths to resident alien status in any given year: the green card test, the substantial presence test, and the first-year election.1Office of the Law Revision Counsel. 26 USC 7701 Definitions – Section: Definition of Resident Alien and Nonresident Alien Meeting any one is enough. If none applies, you’re a nonresident alien, which changes how you’re taxed, what forms you file, and which deductions you can claim.

The Green Card Test

If U.S. Citizenship and Immigration Services has granted you lawful permanent resident status, documented by a green card, you’re a resident alien. Your residency starting date is the first day you’re physically present in the United States as a green card holder.2Internal Revenue Service. Residency Starting and Ending Dates If the green card was issued while you were abroad, the clock starts the first day you set foot in the country after receiving it.

This status continues until you formally abandon it or the government revokes it. Leaving the country for an extended stretch does not end it on its own. The IRS will keep treating you as a resident alien, and keep expecting worldwide income reporting, until something changes on paper.

The Substantial Presence Test

Even without a green card, time spent in the country can make you a resident alien. You meet the substantial presence test if you were physically present in the United States for at least 31 days during the current year and your weighted day count across the current year and the two preceding years totals 183 or more.1Office of the Law Revision Counsel. 26 USC 7701 Definitions – Section: Definition of Resident Alien and Nonresident Alien

The weighting works like this:

  • Each day in the current year counts as one 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.

The formula catches people with a sustained physical connection to the country rather than those who visit often but briefly. If you spent fewer than 31 days in the U.S. during the current year, the test fails automatically, regardless of prior years.3Office of the Law Revision Counsel. 26 USC 7701 Definitions – Section: Definition of Resident Alien and Nonresident Alien

The First-Year Election

The third path is less familiar. If you don’t qualify under the other two tests for a given year but will meet the substantial presence test the following year, you can elect to be treated as a resident alien for the earlier year. You must have been present for at least 31 consecutive days during the election year and 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 forgiven.1Office of the Law Revision Counsel. 26 USC 7701 Definitions – Section: Definition of Resident Alien and Nonresident Alien The election is made on the return for the election year but cannot be filed until substantial presence for the following year is actually met. People arriving mid-year sometimes use it to unlock the standard deduction and better rates sooner.

Days That Don’t Count and Ties That Break the Test

Two rules can pull you back out of the substantial presence test even when the arithmetic looks like it should apply.

Exempt Individuals

Certain people don’t count their days of U.S. presence toward the formula at all. The IRS calls them exempt individuals, though the label refers only to the day count, not to tax liability. The categories are:4Internal Revenue Service. Substantial Presence Test

  • Foreign government-related individuals, meaning diplomats and consular officials on A or G visas (but not A-3 or G-5 holders).
  • Teachers and trainees temporarily in the U.S. on J or Q visas who comply with visa requirements.
  • Students on F, J, M, or Q visas who comply with visa requirements.
  • Professional athletes temporarily in the country to compete in a charitable sports event.

A graduate student on an F-1 visa can live in the country for years without triggering the test. Once the exempt period runs out (generally five calendar years for students, two for teachers and trainees), days start counting again.

Closer Connection Exception

Meeting the arithmetic isn’t always the last word. If you were in the U.S. for fewer than 183 actual days during the current year, kept a tax home in a foreign country all year, and can show a closer connection to that country than to the United States, you can claim an exception.3Office of the Law Revision Counsel. 26 USC 7701 Definitions – Section: Definition of Resident Alien and Nonresident Alien The IRS weighs where your permanent home is, where your family lives, where you hold a driver’s license, and where you vote. You must file Form 8840 by the tax return due date, or the exception is lost. If you had a green card application pending at any point in the year, the exception isn’t available.5Internal Revenue Service. Closer Connection Exception to the Substantial Presence Test

How Resident Aliens Are Taxed

Once you’re a resident alien for a calendar year, the IRS treats you the same as a citizen for income tax purposes. You owe federal tax on worldwide income: wages, self-employment earnings, investment returns, rental income, and anything else, regardless of the country it came from.6eCFR. 26 CFR 1.1-1 Income Tax on Individuals You file Form 1040, the same return citizens use.7Internal Revenue Service. Topic No. 851, Resident and Nonresident Aliens

Equal treatment cuts both ways. Global income is taxable, but the tax benefits available to citizens open up too:

  • The standard deduction, which is $16,100 for single filers and $32,200 for married couples filing jointly in 2026. Nonresident aliens generally cannot claim it at all.8Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026
  • The full range of itemized deductions, rather than the narrow set nonresidents may claim.
  • Tax credits including the child tax credit and earned income credit, both largely off limits to nonresident aliens.
  • Joint filing, if your spouse is a resident alien or a citizen.

If you earned income abroad before becoming a resident alien in the same year, the foreign tax credit may offset the U.S. tax and prevent double taxation. This is a common planning point for people who shift into resident alien status partway through a year.

Reporting Foreign Accounts

Resident aliens have two separate reporting obligations for financial accounts held outside the United States. They are often confused with each other, and the penalties for getting them wrong are steep.

FBAR (FinCEN Report 114)

If the combined value of your foreign financial accounts exceeds $10,000 at any point during the year, you must file an FBAR electronically through FinCEN’s BSA E-Filing System.9Internal Revenue Service. Report of Foreign Bank and Financial Accounts (FBAR) The threshold is aggregate. If three accounts together exceed $10,000 at any time, all three must be reported, even if none crosses the line on its own.10Internal Revenue Service. Comparison of Form 8938 and FBAR Requirements The FBAR is not part of your tax return and has its own deadline: April 15, with an automatic extension to October 15.

Non-willful violations can cost up to $16,536 per account per year in 2026. Willful violations can run to the greater of $165,353 or 50% of the account balance per account per year, with criminal penalties reaching $500,000 and prison time. Honest mistakes carry real exposure.

FATCA (Form 8938)

Separately, the Foreign Account Tax Compliance Act requires resident aliens living in the U.S. to report foreign financial assets on Form 8938 if their total value exceeds $50,000 on the last day of the tax year, or $75,000 at any point during the year. Those thresholds double for married couples filing jointly. Form 8938 attaches directly to your Form 1040. The two regimes overlap, but they go to different agencies and use different thresholds, so many resident aliens end up filing both.10Internal Revenue Service. Comparison of Form 8938 and FBAR Requirements

Dual-Status Years

If your status changes partway through the year, say you arrive on a green card in July or abandon residency in September, you’re a dual-status taxpayer for that year. During the resident portion, worldwide income is taxable. During the nonresident portion, only U.S.-source income is taxable.11Internal Revenue Service. Taxation of Dual-Status Individuals

How you file depends on your status on December 31. A resident at year-end files Form 1040 marked “Dual-Status Return” with a Form 1040-NR statement attached for the nonresident period. A nonresident at year-end files Form 1040-NR with a 1040 statement attached for the resident period.11Internal Revenue Service. Taxation of Dual-Status Individuals Dual-status taxpayers generally cannot use the standard deduction and cannot file jointly for that year.

How the Status Ends

The exit route depends on how you got in.

Green card holders keep the status until they formally give it up or USCIS revokes it. Voluntary abandonment requires filing Form I-407 with USCIS.12U.S. Citizenship and Immigration Services. I-407, Record of Abandonment of Lawful Permanent Resident Status USCIS reports the abandonment to the IRS, and depending on how long you held the green card and the value of your assets, an expatriation tax may apply. Long-term residents (those who held a green card for 8 of the last 15 years) should review Form 8854 and the expatriation rules before acting; the tax consequences can be significant.

For those who qualified through substantial presence, the status ends when the 183-day weighted threshold isn’t met in a later year. The residency ending date is generally the last day of physical presence in the United States during the calendar year, provided you can show a closer connection to a foreign country for the rest of that year and file the required paperwork.2Internal Revenue Service. Residency Starting and Ending Dates

For people who qualified through the first-year election, the residency period covers only the election year. Without a green card or substantial presence in later years, the status reverts to nonresident alien automatically.