Which IRS publication applies to you depends on a status that Publication 17 settles in a few short paragraphs: citizen, resident alien, nonresident alien or dual-status taxpayer. This page covers chapter 1 (Filing Information, printed pages 6 to 20 of the 2025 edition) and chapter 2 (Filing Status, pages 21 to 25); the 2023 and 2024 editions keep the same chapter order. It matters most if you moved between Canada, India and the United States or keep a spouse abroad. These are unofficial study notes in our own words; the IRS publication controls.
What Pub 17 says and where it stops
Chapter 1 decides who must file by comparing gross income with a threshold; for 2025 it is $15,750 for a single filer under 65 (Table 1-1, page 7). Foreign income counts, even the part a citizen abroad may later exclude, and pages 7 and 8 send that reader to Pub 54. Page 8 defines the alien statuses and sends nonresidents and dual-status taxpayers to Pub 519. Page 11 gives the Form 1040-NR dates (April 15 with U.S. wage withholding, June 15 otherwise), and pages 11 and 12 the automatic two-month extension for people abroad.
Chapter 2 touches cross-border life twice. A couple generally cannot file jointly if either spouse is a nonresident alien at any time in the year, unless they make the choice in chapter 1 of Pub 519 (page 23). Without it, a taxpayer with a nonresident spouse can count as unmarried for head of household, but that spouse is never the qualifying person (page 24).
The 2025 edition never names Pub 901 or the FBAR. Its foreign-asset prompts are a Form 8938 reminder (page 3) and a 40 percent accuracy penalty, instead of 20, on tax tied to an undisclosed foreign financial asset (page 20).
Which IRS publication applies to you in each situation?
| Your situation | Start with | Then go to |
|---|---|---|
| Citizen or green card holder living in Canada or India | Pub 17 | Pub 54 (exclusion, extensions, estimates); Pub 514 and Form 1116 (credit) |
| Non-citizen who may be resident, nonresident or both | Pub 519, chapter 1 | Pub 17 if resident all year; Form 1040-NR instructions if not |
| Student or teacher from India or Canada | Pub 519 | Pub 901 and our students and scholars guide |
| Foreign accounts and assets | Not Pub 17 | FBAR and Form 8938; see forms Pub 17 leaves out |
The two IRS documents do not always agree. On the India student income limit for a single filer, Pub 519 (2025) prints $15,000 in chapter 7, while the 2025 Form 1040-NR instructions and the Pub 519 student worksheet use $15,750, the 2025 standard deduction. Use $15,750 and check the current instructions.
How do I find out whether I am a resident, nonresident or dual-status alien?
Citizens skip this. Everyone else works through the calendar year in order.
- Green card test. Were you a lawful permanent resident at any time in the year? Moving abroad does not end that status; it ends only when taken away or abandonment is formally determined.
- Substantial presence test. You need 31 days here this year and a weighted total of 183: every day this year, plus one-third of last year's days, plus one-sixth of the year before's. Any part of a day counts.
- Remove days that do not count: regular commuting from Canada or Mexico, a transit stop under 24 hours between two foreign places, medical-delay days, and days of an exempt individual such as an F, J, M or Q student. Exempt and medical days need Form 8843.
- Check the exits. If you meet the test but were here fewer than 183 days, keep a tax home abroad and have closer ties there, Form 8840 keeps you nonresident. A green card holder, or anyone with green card steps pending, cannot use it.
- Check for a partial year. Arriving or leaving mid-year can make you dual-status, and a newcomer who will pass the test next year may choose resident treatment for part of this year.
Canada and India apply their own tests to the same facts. See our guides to U.S. residency tests, Canadian residency and Indian residency.
What changes in a dual-status year?
- No standard deduction, no head of household rates, and no joint return unless you make the spouse choice below.
- The resident part covers worldwide income; the nonresident part only U.S.-source and business-connected income.
- A resident on December 31 files Form 1040 marked "Dual-Status Return" with a Form 1040-NR statement; a nonresident files Form 1040-NR with a Form 1040 statement. See our first-year return guide.
Which filing status works when my spouse lives in Canada or India?
- Treat the spouse as a resident. If one of you is a citizen or resident alien at year end and the other a nonresident, both may choose resident treatment for the whole year and file jointly on worldwide income. The spouse needs an SSN or ITIN; Form W-7 goes with the timely joint return if no SSN is available. Once the choice ends by revocation, death, legal separation, divorce or IRS termination, neither spouse can make it again.
- Dual-status spouse choice. A spouse who arrives mid-year and is married to a citizen or resident at year end can elect resident treatment for the whole year, once only.
- No choice. File married filing separately, entering "NRA" for a spouse with no SSN or ITIN. Head of household needs another qualifying person.
Compare the routes first: the choice pulls your spouse's income from Pune or Toronto into the U.S. return.
How does a treaty tie-breaker change the answer?
A tie-breaker applies only if you are a resident of both countries under their domestic laws. The two ladders differ where you own no home in either country.
| Step | U.S.-Canada, Article IV(2) | U.S.-India, Article 4(2) |
|---|---|---|
| 1 | Home available in one country only: that country | Same |
| 2 | Homes in both or in neither: closer personal and economic ties | Homes in both: closer ties. None in either: go to step 3 |
| 3 | Ties cannot be decided: habitual abode | Ties cannot be decided, or no home in either: habitual abode |
| 4 | Citizenship | Nationality |
| 5 | Governments settle it | Same |
If the treaty names the other country:
- You are a nonresident alien for U.S. income tax but a resident for other purposes, such as residency dates. File Form 1040-NR with Form 8833; a missing required Form 8833 can cost $1,000.
- The FBAR duty stays for a green card holder who is a treaty resident abroad.
- A long-term resident (a green card holder for at least 8 of the last 15 tax years) who ends resident status this way faces Form 8854 and possible exit tax. See an immigration lawyer first.
- Citizens gain no relief, because the saving clause lets the U.S. tax them as if the treaty did not exist, with listed exceptions. Our tie-breaker guide compares all three treaties.
By tax year: 2023, 2024, 2025 and 2026
| Tax year | Years weighted 1, one-third, one-sixth | Form 1040-NR due, wages withheld | Form 1040-NR due, no such wages | Single: standard deduction and filing threshold under 65 |
|---|---|---|---|---|
| 2023 | 2023, 2022, 2021 | April 15, 2024 | June 17, 2024 | $13,850 |
| 2024 | 2024, 2023, 2022 | April 15, 2025 | June 16, 2025 | $14,600 |
| 2025 | 2025, 2024, 2023 | April 15, 2026 | June 15, 2026 | $15,750 |
| 2026 (planning) | 2026, 2025, 2024 | April 15, 2027 | June 15, 2027 | $16,100 |
2026 planning figures; Pub 17 (2026) is not yet published. June 15 fell on a weekend in 2024 and 2025, which moved those dates. The single India student limit under Article 21(2) equals the same amount each year.
A short example
Gurpreet lives in Calgary, has no green card, keeps her home and family in Canada and winters in Arizona. Days in the United States: 90 in 2023, 135 in 2024, 165 in 2025.
- Tax year 2025 count: 165 + (135 ÷ 3) + (90 ÷ 6) = 165 + 45 + 15 = 225.
- 225 is at least 183 and she was here at least 31 days, so she meets the test.
- With fewer than 183 days here, Form 8840 can keep her nonresident. With no U.S. wages it is due June 15, 2026.
At 185 days the count would be 245 and the exception would close, leaving the treaty tie-breaker. All numbers are invented.
Mistakes to avoid
- Expecting Pub 17 to explain alien status; it points to Pub 519.
- Counting only the current year's days.
- Assuming a green card ends when you move abroad or the card expires.
- Filing jointly with a nonresident spouse without the signed choice statement.
Check yourself
Question 1 (tax year 2025): 60 days in the U.S. in 2023, 120 in 2024, 100 in 2025, no green card. Is the test met?
Answer: 100 + (120 ÷ 3) + (60 ÷ 6) = 100 + 40 + 10 = 150, below 183. Not met; this person is a nonresident alien for 2025.
Question 2 (tax year 2024): 110 days in 2024, 150 in 2023, 180 in 2022. What is the count, and when is Form 8840 due with no U.S. wages?
Answer: 110 + (150 ÷ 3) + (180 ÷ 6) = 110 + 50 + 30 = 190, so the test is met, but 110 days leaves the closer connection exception open. June 15, 2025 was a Sunday, so the form is due June 16, 2025.
Question 3 (tax year 2025): a U.S. citizen's spouse lives in Hyderabad with no U.S. income or ITIN. What are the filing options?
Answer: Married filing separately with "NRA" for the spouse, or the joint-return choice with Form W-7 and a signed statement.
Question 4 (tax year 2025): Rohan's first 31-day stay starts October 1 and he expects to pass the test for 2026. How many days of presence does the first-year choice need?
Answer: October 1 to December 31 is 92 days and 75 percent of 92 is 69. Up to 5 absence days count as present, so at least 64 days actually here.
Question 5 (tax year 2025): Mei arrives on an H-1B on May 1, stays to December 31 and was not a resident in 2024. Which form, and is the standard deduction allowed?
Answer: She has 245 days, meets the test and is a resident from May 1. She files Form 1040 marked "Dual-Status Return" with a Form 1040-NR statement, without the standard deduction.
How we can help
We are a U.S. CPA firm serving Aurora and the Fox Valley. We work out your U.S. status each year, prepare Forms 1040-NR, 8840 and 8833, and coordinate with your Canadian CPA or Indian Chartered Accountant so the three residency conclusions agree. We do not give immigration advice. See our cross-border tax and relocation and immigration tax planning pages.
Frequently asked questions
Does Pub 17 cover nonresident aliens?
No. It says different rules and forms apply to them and refers them to Pub 519.
I am a U.S. citizen living in Canada. Which publications do I need?
Pub 17, Pub 54 for the exclusion and extra filing time, and Pub 514 for the foreign tax credit. See U.S. citizens living in Canada.
Can a treaty let a green card holder avoid U.S. residency?
Only through the tie-breaker, which brings Form 8833, no standard deduction and possible expatriation rules. Involve an immigration lawyer.
Official sources
- IRS Publication 17 (2025), chapters 1 and 2
- IRS Publication 519 (2025), U.S. Tax Guide for Aliens
- IRS Publication 54 (Rev. 12-2025), Tax Guide for U.S. Citizens and Resident Aliens Abroad
- IRS Publication 514 (2025), Foreign Tax Credit for Individuals
- IRS Publication 901 (Rev. 9-2024), U.S. Tax Treaties
- U.S.-Canada income tax convention (full text)
- U.S.-India income tax convention (full text)
This page summarizes public guidance in plain language. If anything here differs from the official source, the official source controls.
General information only. It is not tax, legal, accounting or immigration advice for your situation, and rules change; confirm the current rules with the official source or a licensed professional in the relevant country.