---
title: "Federal Income Tax: Newcomer Basics in the United States"
country: "united-states"
service: "federal-income-tax-basics"
category: finance
difficulty: moderate
estimated_time: "Working out your residency status from your own day-count and visa facts takes most newcomers under an hour to read through; the actual filing happens later, on the IRS annual schedule."
cost_range: $0
last_verified: 2026-05-29
canonical: https://publicservices.guide/united-states/federal-income-tax-basics/
status: current
confidence: low
tags:
  - "federal-tax"
  - "income-tax"
  - "tax-residency"
  - irs
  - "substantial-presence"
  - newcomer
sources:
  - https://www.irs.gov/individuals/international-taxpayers/determining-alien-tax-status
  - https://www.irs.gov/individuals/international-taxpayers/substantial-presence-test
  - https://www.irs.gov/individuals/international-taxpayers/taxation-of-resident-aliens
  - https://www.irs.gov/individuals/international-taxpayers/taxation-of-nonresident-aliens
  - https://www.irs.gov/individuals/international-taxpayers/dual-status-aliens
  - https://www.irs.gov/forms-pubs/about-form-8843
  - https://www.irs.gov/forms-pubs/about-form-1040-nr
  - https://www.irs.gov/individuals/international-taxpayers/closer-connection-exception-to-the-substantial-presence-test
---

# Federal Income Tax: Newcomer Basics in the United States

**Country:** 🇺🇸 United States  
**Last verified:** 2026-05-29  
**Estimated time:** Working out your residency status from your own day-count and visa facts takes most newcomers under an hour to read through; the actual filing happens later, on the IRS annual schedule.  
**Cost:** $0

## Costs

- **Determining your tax-residency status:** 0 USD — The substantial presence test is a self-applied rule the IRS publishes; there is no charge to read it, apply it, or file Form 8843 or Form 8840 to claim an exclusion or exception.
- **Filing a federal income tax return:** 0 USD — The IRS charges no fee to file a federal income tax return itself. Any tax actually owed depends entirely on your individual circumstances, which only the IRS or a qualified professional can determine.

## Steps

### 1. Check the Green Card Test First

- If you are a lawful permanent resident — you hold a green card — at any time during the calendar year, you are a resident alien for tax purposes for that year
- The day count does not change this; the green card test settles your status on its own
- If this applies to you, you can stop the residency analysis here and move to mapping your status to a return

> **Tip:** The green card test is the simpler of the two resident tests: permanent-resident status establishes tax residency regardless of how many days you were physically present in the country.

### 2. If You Have No Green Card, Count Your Days

_Applies when: If you are not a lawful permanent resident_

- First check the current-year minimum: you must be present in the United States on enough days this year to even be in range of the test
- A day of presence is broad — any day you are physically in the country at any time during the day generally counts
- If you fall below the current-year minimum, you do not meet the substantial presence test and are a nonresident alien on this test

> **Tip:** The IRS substantial presence test has two parts that both must be satisfied: presence "at least 31 days during the current year" and a weighted "183 days during the 3-year period" that includes this year and the two before it.

### 3. Apply the Three-Year Weighting

_Applies when: If you met the current-year day minimum_

- Add all of your days present in the current year
- Add one-third of your days present in the first year before the current year
- Add one-sixth of your days present in the second year before the current year
- If the weighted total reaches 183, you meet the substantial presence test and are a resident alien on this test

> **Tip:** Prior-year days still count at reduced weight, so someone who was in the US in earlier years can cross the 183 threshold sooner than a single-year glance suggests.

### 4. Subtract Days That Do Not Count

- Remove days you regularly commuted to work in the US from a residence in Canada or Mexico
- Remove days in transit through the US for under 24 hours between two places outside the US, and days you were here as a crew member of a foreign vessel
- Remove days you could not leave because of a medical condition that arose while here, and any days you were an exempt individual

> **Tip:** Exempt individuals include foreign-government-related people on A or G visas, teachers and trainees on J or Q visas, students on F, J, M, or Q visas, and certain professional athletes — but their days are excluded only with a timely filing.

### 5. File Form 8843 If You Are an Exempt Individual

_Applies when: If you are a student, scholar, or other exempt individual excluding days_

- Exempt individuals exclude their US days from the count by filing Form 8843, Statement for Exempt Individuals and Individuals with a Medical Condition
- The same form is used by individuals who could not leave the US because of a medical condition
- File it on time; the exclusion is not automatic

> **If this fails:** If you skip Form 8843, your days are counted, which can make you a resident by accident. The IRS is explicit: "If you do not timely file Form 8843, you cannot exclude the days." This single paperwork miss can flip a student or scholar from nonresident to resident.

### 6. Map Your Status to a Return

- Resident alien: file Form 1040 or Form 1040-SR, the same returns US citizens use, reporting worldwide income
- Nonresident alien: file Form 1040-NR, U.S. Nonresident Alien Income Tax Return, reporting US-source income
- Changed status mid-year: file a dual-status return as described in IRS Publication 519

> **Tip:** This guide ends at which return your status points to. It does not walk through completing that return; your actual filing should follow the IRS instructions or a qualified professional's guidance.

### 7. Get a Tax ID If You Do Not Have One

- Any of these returns requires a US tax identification number — either a Social Security number or an Individual Taxpayer Identification Number (ITIN)
- If you are eligible for a Social Security number, you use that; if you are not eligible for an SSN but have a US filing requirement, you obtain an ITIN
- Determining your status tells you whether you have a filing obligation; obtaining the SSN or ITIN is the separate step that lets you actually file

> **Tip:** The tax-ID step is load-bearing: a person who discovers a filing obligation but holds neither an SSN nor an ITIN must obtain the one they are eligible for before they can file.

## FAQ

### Does this guide tell me how much tax I will owe?

No. It explains how the United States decides whether you are a tax resident and which return that points you to; it does not compute liability or tell you what you personally owe. This is general information, not tax advice — consult the IRS or a qualified tax professional for your situation.

### I have a green card. Do I still need to count days?

No. A lawful permanent resident is a resident alien for tax purposes regardless of days present — the green card test settles it on its own, and the substantial presence day count does not change that result.

### What is the substantial presence test in one line?

Presence "at least 31 days during the current year" and a weighted "183 days during the 3-year period" — all of the current year's days, plus one-third of the first prior year's days, plus one-sixth of the second prior year's days. If that weighted total reaches 183, you meet the test.

### I am a student here all year on an F visa. Am I a resident?

Students on an F, J, M, or Q visa are exempt individuals whose US days do not count toward the substantial presence test — but only if Form 8843 is filed on time. Without a timely filing the days count, which can make a student a resident by accident.

### Which form does each status file?

A resident alien files Form 1040 or Form 1040-SR, the same returns US citizens use. A nonresident alien files Form 1040-NR, U.S. Nonresident Alien Income Tax Return. Someone who changed status partway through the year files a dual-status return as described in IRS Publication 519.

### I arrived partway through the year. What am I?

You are likely a dual-status alien — a nonresident for part of the year and a resident for the rest, which usually happens in the year of arrival or departure. That points to a dual-status return. The detailed income-splitting mechanics live in IRS Publication 519 and are beyond what an orientation guide can resolve for your situation.

### Do I need a Social Security number or ITIN to file?

Yes — a return requires one tax ID. Use a Social Security number if you are eligible; otherwise obtain an Individual Taxpayer Identification Number (ITIN). See the Social Security number guide and the ITIN guide for how to get each.

### Is there a fee to figure out my status or to file?

No. The residency tests are public IRS rules you apply to your own facts at no charge, and the IRS charges no fee to file a federal income tax return itself. Any tax actually owed is a separate matter that depends on your circumstances.

### Can I be treated as a nonresident even if my day count is high?

Possibly, through the closer-connection exception, claimed on Form 8840. It has four conditions, including being present under 183 days in the year and maintaining a tax home in a foreign country, and it is unavailable to anyone who applied for, or has pending, lawful-permanent-resident status. Whether you qualify is a determination for the IRS or a professional, not this guide.

## Local tips

- This guide is orientation, not preparation: it answers whether the US treats you as a tax resident and which return that status points to. It does not calculate your tax, recommend a filing position, or interpret a tax treaty for your situation. This is general information, not tax advice — consult the IRS or a qualified tax professional for your situation.
- The single most important early fact is your status, because it decides both what income the US can tax and which form you file. A resident alien is taxed on worldwide income on Form 1040; a nonresident alien is taxed only on US-source income on Form 1040-NR. Settle the status question before anything else.
- If you arrived partway through the year, you may be a dual-status alien — a nonresident for part of the year and a resident for the rest. The detailed income-splitting mechanics live in IRS Publication 519; an orientation guide cannot resolve them for your facts.
- Students and scholars on F, J, M, or Q visas are often exempt individuals whose US days do not count toward the substantial presence test — but only if they file Form 8843 on time. Missing it can flip you to resident purely on a paperwork slip.

## Sources

- [Internal Revenue Service (IRS)](https://www.irs.gov/individuals/international-taxpayers/determining-alien-tax-status) — accessed 2026-05-29 — _T1_ — A noncitizen is treated as a nonresident of the United States for tax purposes unless they meet the green card test or the substantial presence test for the calendar year. The statutory categories of resident alien and nonresident alien themselves exist under the Internal Revenue Code at 26 U.S.C. § 7701(b); this IRS guidance supplies the operational determination. A person whose status changes during the year is a dual-status alien who files a dual-status return.
- [Internal Revenue Service (IRS)](https://www.irs.gov/individuals/international-taxpayers/substantial-presence-test) — accessed 2026-05-29 — _T1_ — The substantial presence test has two parts that both must be met: presence at least 31 days during the current year, and 183 days over the 3-year period counting all current-year days, one-third of first-prior-year days, and one-sixth of second-prior-year days. A day of presence is any day physically present in the US at any time. Commuting, transit-under-24-hour, foreign-crew, medical-condition, and exempt-individual days are excluded; if Form 8843 is not timely filed, those exempt days cannot be excluded.
- [Internal Revenue Service (IRS)](https://www.irs.gov/individuals/international-taxpayers/taxation-of-resident-aliens) — accessed 2026-05-29 — _T1_ — U.S. residents are generally taxed in the same way as U.S. citizens, on worldwide income, and should file Form 1040, U.S. Individual Income Tax Return, or Form 1040-SR. This page is the live IRS guidance for taxation of US residents; an earlier guessed slug containing the resident-aliens form returned a dead link and is not cited.
- [Internal Revenue Service (IRS)](https://www.irs.gov/individuals/international-taxpayers/taxation-of-nonresident-aliens) — accessed 2026-05-29 — _T1_ — A nonresident alien is an alien who has not passed the green card test or the substantial presence test, and is taxed only on US-source income. Nonresident aliens required to file an income tax return must use Form 1040-NR, U.S. Nonresident Alien Income Tax Return.
- [Internal Revenue Service (IRS)](https://www.irs.gov/individuals/international-taxpayers/dual-status-aliens) — accessed 2026-05-29 — _T1_ — A dual-status individual is one who changes their tax status during the current year, which usually occurs in the year of arrival or departure, and must file a dual-status return as described in Publication 519, U.S. Tax Guide for Aliens.
- [Internal Revenue Service (IRS)](https://www.irs.gov/forms-pubs/about-form-8843) — accessed 2026-05-29 — _T1_ — Form 8843, Statement for Exempt Individuals and Individuals with a Medical Condition, is used by exempt individuals to exclude days of US presence from the substantial presence test, and by individuals who could not leave the US because of a medical condition.
- [Internal Revenue Service (IRS)](https://www.irs.gov/forms-pubs/about-form-1040-nr) — accessed 2026-05-29 — _T1_ — Form 1040-NR is the U.S. Nonresident Alien Income Tax Return — the federal return for nonresident aliens with a US filing requirement.
- [Internal Revenue Service (IRS)](https://www.irs.gov/individuals/international-taxpayers/closer-connection-exception-to-the-substantial-presence-test) — accessed 2026-05-29 — _T1_ — The closer-connection exception, grounded in Internal Revenue Code Section 7701(b)(1)(B), lets a person who meets the day count still be treated as a nonresident if they were present under 183 days, maintained a tax home in a foreign country during the entire year, had a closer connection to that country, and had not applied for or pending lawful-permanent-resident status. It is claimed on Form 8840, Closer Connection Exception Statement for Aliens.

---

Verification pending — see the canonical page for the latest trust state.
Canonical: https://publicservices.guide/united-states/federal-income-tax-basics/
