A resident alien, in US tax law, is a person who is not a US citizen but is treated as a US resident for federal income tax purposes. Under rules applied by the Internal Revenue Service (IRS), a person becomes a resident alien by meeting either the green card test, which covers lawful permanent residents, or the substantial presence test. That test is met with at least 31 days in the United States in the current year and at least 183 days over three years, counting all current-year days, one-third of the prior year’s and one-sixth of those in the year before.
A resident alien is generally taxed like a citizen, on worldwide income, and files Form 1040. A nonresident alien is taxed mainly on US-source income. Certain students and diplomats do not count their days, a tax treaty tie-breaker can override residence, and someone whose status changes during a year may be a dual-status taxpayer.
Ref 1010001708