How to Fill Out IRS Form 1040-NR (w/Examples) + FAQs

You file IRS Form 1040-NR if you are a nonresident alien who earned income from a U.S. source, ran a U.S. trade or business, or owe a special tax during the tax year. The form replaces the standard Form 1040 for nonresidents and follows different rules for income, deductions, and credits under Internal Revenue Code §871.

Filing wrong is common and costly. The Treasury Inspector General for Tax Administration found that the IRS processed over 700,000 Form 1040-NR returns in a recent year, and a sizable share contained errors tied to treaty claims, dual-status status, and missing Schedule OI entries.

Here is what you will learn in this guide:

  • 📋 How to know if you must file Form 1040-NR for the 2025 tax year
  • 🧾 A line-by-line walkthrough of the form, Schedules OI, NEC, A, and P
  • 🌍 How tax treaties cut your tax bill and which forms back the claim
  • 👩‍🎓 Real examples for F-1 students, H-1B workers, landlords, and dual-status filers
  • ⚠️ The top mistakes that trigger IRS notices, penalties, and visa headaches

Who Must File Form 1040-NR

You must file Form 1040-NR if you are a nonresident alien who was engaged in a U.S. trade or business during 2025, even if you had no income, no income from U.S. sources, or your income is exempt under a treaty. This rule comes from IRC §6012(a)(1)(A) and the matching Treas. Reg. §1.6012-1(b).

You also file if you owe any special tax, such as the alternative minimum tax, the additional tax on a health savings account, or household employment taxes. The IRS instructions for Form 1040-NR list every trigger in plain language.

Nonresident Alien Test

A nonresident alien is any person who is not a U.S. citizen and does not pass either the green card test or the substantial presence test. The substantial presence test counts days you were physically in the United States across a three-year window.

You meet the test if you were in the U.S. at least 31 days in 2025 and 183 weighted days across 2023, 2024, and 2025. The weighting counts current-year days fully, prior-year days as one-third, and two-years-prior days as one-sixth, under IRC §7701(b). The consequence of miscounting is that you file the wrong form and may owe tax on worldwide income you thought was exempt.

A common misconception is that any visa holder is a nonresident. F, J, M, and Q visa holders get an “exempt individual” carve-out under IRS Publication 519, but only for a set number of years.

Income From U.S. Sources

The IRS taxes nonresidents on two income buckets. The first is income effectively connected with a U.S. trade or business, called ECI, which is taxed at graduated rates. The second is fixed, determinable, annual, or periodic income, called FDAP, which is taxed at a flat 30% rate or a lower treaty rate under IRC §871(a).

Wages, self-employment income, and most business profits land in the ECI bucket. Dividends, interest, royalties, and rental income land in the FDAP bucket unless you elect to treat real property income as ECI under IRC §871(d). The consequence of mixing the buckets on the form is double taxation or a denied deduction.

A real example helps. Maria, a Brazilian software contractor, earns $40,000 from a U.S. client for work performed remotely from São Paulo; that income is foreign-source under IRC §861 and is not taxed by the U.S.

Special Filing Triggers

You file even with zero income if you want to claim a refund of over-withheld tax, claim a treaty benefit, or report a scholarship or fellowship grant. Students and trainees on F, J, M, or Q visas often file for this reason.

Estates and trusts of nonresident aliens file Form 1040-NR too, but they follow the trust filing rules in IRC §641. The consequence of skipping a zero-income return is losing your treaty claim and your refund forever after the three-year statute of limitations under IRC §6511.

Form 1040-NR Filing Deadlines for 2025

Your filing deadline depends on whether you received U.S. wages subject to withholding. If you did, the deadline is April 15, 2026, the same as the standard Form 1040 deadline under IRC §6072.

If you did not receive U.S. wages, the deadline is June 15, 2026, per Treas. Reg. §1.6072-1(c). You can request a six-month extension to October 15, 2026 by filing Form 4868 before the original due date.

Penalties for Late Filing

The failure-to-file penalty is 5% of unpaid tax per month, capped at 25%, under IRC §6651(a)(1). The failure-to-pay penalty is 0.5% per month on top, and interest compounds daily at the federal short-term rate plus 3%.

A real example shows the sting. Anil, an H-1B engineer, files six months late and owes $8,000; his combined penalties hit $2,160 plus interest, almost a third of his bill.

A common misconception is that no income means no penalty. The IRS can deny treaty claims if your return is more than 16 months late under Treas. Reg. §1.874-1, which can turn a $0 return into a tax bill in the thousands.

Documents You Need Before Filing

You need every income statement that reports a U.S. payment. The most common are Form W-2 for wages, Form 1042-S for treaty-exempt or FDAP income, Form 1099-NEC for self-employment, and Form 1099-DIV/INT for investment income.

You also need your passport, visa, and U.S. entry/exit dates. The IRS uses these for the substantial presence test and for Schedule OI. The consequence of missing a single 1042-S is an IRS CP2000 notice that recalculates your tax and adds a 20% accuracy penalty under IRC §6662.

ITIN or SSN Requirement

Every filer needs a Social Security Number or an Individual Taxpayer Identification Number. If you do not have either, you apply for an ITIN with Form W-7 attached to your first 1040-NR.

ITIN applications take 7 to 11 weeks under current IRS service times. The consequence of filing without an ITIN or SSN is rejection of the return and loss of refundable credits.

Step-by-Step Line-by-Line Walkthrough

Form 1040-NR has three pages plus schedules. The form follows the same general flow as Form 1040 but adds nonresident-only items.

Filing Status (Lines 1–6)

You pick from five filing statuses, and they are narrower than for citizens. Most nonresident aliens file as single nonresident alien or married filing separately nonresident alien, because joint filing is barred under IRC §6013(a)(1) unless one spouse is a U.S. resident and you elect to be treated as a resident.

A qualifying surviving spouse status is open only to nonresidents from Canada, Mexico, South Korea, or to U.S. nationals, under the dependent rules in IRS Publication 501. The consequence of picking the wrong status is denial of the standard deduction and a higher tax bill.

Dependents (Lines 7a–7c)

You claim dependents only if you are a resident of Canada, Mexico, South Korea, or a U.S. national, or a student or business apprentice from India under Article 21(2) of the U.S.–India tax treaty. Other nonresidents cannot claim any dependents.

For each dependent, you list the name, SSN or ITIN, relationship, and check the Child Tax Credit or Credit for Other Dependents box if they qualify. A common misconception is that paying for a child’s support qualifies them as a dependent on a 1040-NR; the residency rule blocks the claim outright.

Income (Lines 1a–9)

This block reports all ECI. Line 1a is wages from your W-2, line 1b is household employee wages, and line 1k captures treaty-exempt wages reported on Form 1042-S.

Line 2a is tax-exempt interest, line 2b is taxable interest, line 3a is qualified dividends, and line 3b is ordinary dividends. Lines 4 through 8 cover IRA distributions, pensions, capital gains from Schedule D, and other income from Schedule 1. Line 9 is your total ECI.

A real example clarifies. Priya, an Indian PhD student on F-1, has $28,000 of W-2 wages and a $5,000 treaty exemption under Article 21(1); she enters $28,000 on line 1a and $5,000 on line 1k.

Adjusted Gross Income (Lines 10–11)

Line 10 is adjustments to income from Schedule 1, Part II. Common adjustments are the student loan interest deduction under IRC §221, self-employed health insurance, and contributions to a SEP-IRA.

Line 11 is your adjusted gross income, which is line 9 minus line 10. The consequence of a wrong AGI is a cascade of errors on the standard deduction, itemized deduction phase-outs, and credit limits.

Deductions (Lines 12–15)

Line 12 is your itemized deductions from Schedule A (Form 1040-NR). Nonresident aliens cannot take the standard deduction unless they are students or business apprentices from India under the treaty; this rule is in IRC §63(c)(6)(B).

Line 13a is the qualified business income deduction under IRC §199A, and line 13b is the exemption for an estate or trust. Line 14 sums those deductions, and line 15 is taxable income.

Tax and Credits (Lines 16–24)

Line 16 is tax computed from the 2025 tax tables or tax rate schedules. Line 17 is the amount from Schedule 2, line 3, which adds AMT and excess advance premium tax credit repayment.

Lines 19 through 21 cover the Child Tax Credit, the Credit for Other Dependents, and credits from Schedule 3. Line 23a is the tax on the FDAP income from Schedule NEC, and line 23c is transportation tax under IRC §887. Line 24 is total tax.

Payments (Lines 25a–33)

Line 25a is federal income tax withheld from W-2s, 25b is from 1099s, and 25g is from 1042-S. Line 26 is 2025 estimated tax payments. Line 27 is the Earned Income Tax Credit, which is not available to nonresident aliens for any part of the year under IRC §32(c)(1)(D).

Line 28 is the additional child tax credit, line 29 is the American Opportunity Credit refundable portion, line 31 is amounts from Schedule 3, and line 33 is total payments. The consequence of skipping a 1042-S withholding entry is leaving thousands of dollars unrefunded.

Refund or Amount Due (Lines 34–37)

Line 34 is your overpayment, line 35a is the refund you want sent, and line 35e is for foreign account direct deposit information added in 2019. Line 36 lets you apply your refund to 2026 estimated tax.

Line 37 is the balance due. You can pay through IRS Direct Pay, debit/credit card, or check. The consequence of not paying by the deadline is the failure-to-pay penalty plus interest.

Schedule OI: Other Information

Schedule OI is mandatory and asks for your country of citizenship, visa type, current immigration status, and U.S. day counts for the last three years. The IRS uses this for the substantial presence test and for treaty validation.

Item L is the most important and often-skipped section. You must list each treaty article, the country, the income type, the amount exempted, and confirm whether you are a beneficial owner. The consequence of leaving Item L blank is automatic denial of treaty benefits under Treas. Reg. §301.6114-1.

A real example makes it real. Chen, a Chinese researcher on J-1, claims a $10,000 exemption under Article 19; he writes “China” in column (a), “19” in column (b), “compensation for research” in column (c), and “$10,000” in column (d).

Schedule NEC: Tax on Income Not Effectively Connected

Schedule NEC reports FDAP income taxed at a flat rate. The columns are 10%, 15%, 30%, and “other” rates, the last for treaty rates that fall outside the standard buckets.

Line 1 is dividends, line 2 is interest, line 9 is gambling winnings, and line 12 is capital gains and losses from U.S. real estate or 183-day gains under IRC §871(a)(2). The consequence of putting FDAP income on the main form instead of Schedule NEC is taxation at graduated rates and loss of treaty rate caps.

A common misconception is that you can deduct expenses against FDAP income. You cannot, except for very narrow cases under the withholding regulations.

Schedule A: Itemized Deductions

Schedule A for nonresidents is shorter than the resident version. Allowed deductions are state and local income taxes, charitable contributions to U.S. 501(c)(3) organizations, casualty and theft losses tied to U.S. property in a federally declared disaster area, and a narrow list of job expenses and other miscellaneous deductions.

The state and local tax deduction is capped at $10,000 under IRC §164(b)(6). The consequence of itemizing gifts to a foreign charity is a denied deduction; only U.S. charities qualify under IRC §170(c)(2)(A).

Schedule P: Foreign Partner’s Reconciliation

Schedule P is for nonresident partners in a U.S. partnership that engaged in U.S. trade or business. It reconciles withholding under IRC §1446 with the partner’s actual tax due.

You list each partnership, the EIN, your share of ECI, and the §1446 withholding from Form 8805. The consequence of skipping Schedule P is double counting of the withholding credit and an IRS adjustment notice.

Tax Treaties: How They Slash Your Bill

The U.S. has income tax treaties with over 65 countries. Treaties cut withholding rates on dividends, interest, and royalties, and they exempt certain wages, scholarships, and pensions.

You claim treaty benefits on Schedule OI, Item L, and on Form 8833 when the position cuts your U.S. tax by more than $10,000. The consequence of not filing Form 8833 when required is a $1,000 penalty per failure under IRC §6712.

Common Treaty Articles

The U.S.–India treaty, Article 21(2), lets Indian students take the standard deduction. The U.S.–China treaty, Article 20, exempts $5,000 of student wages with no time limit, even after the student becomes a U.S. resident, due to a saving-clause exception.

The U.S.–Canada treaty, Article XV, exempts wages of $10,000 or less for short-term workers. The U.S.–U.K. treaty, Article 20A, exempts teachers and researchers for two years.

Three Common 1040-NR Scenarios

The next three tables show how the most-common nonresident situations play out. Each table is two columns and walks the action and the tax outcome.

Scenario 1: F-1 Student With Scholarship and On-Campus Job

Filing Action Tax Outcome
Receives $20,000 scholarship; $14,000 covers tuition and fees $14,000 is tax-free under IRC §117; $6,000 for room and board is taxable
Earns $9,000 wages on campus $9,000 is ECI on line 1a; FICA does not apply for first 5 calendar years on F-1
Claims $5,000 China treaty exemption Reports on line 1k and Schedule OI Item L; reduces taxable income
Pays no Social Security or Medicare tax Saves 7.65% under IRC §3121(b)(19)

Scenario 2: H-1B Engineer in First Year of U.S. Work

Filing Action Tax Outcome
Arrived August 2025; in U.S. 150 days Fails substantial presence test for 2025; files Form 1040-NR
Earns $60,000 in U.S. wages All $60,000 is ECI on line 1a
Cannot take standard deduction Itemizes state tax on Schedule A; loses about $14,600 deduction
Cannot file jointly with nonresident spouse Files single nonresident; higher marginal rate applies

Scenario 3: Nonresident Landlord With U.S. Rental Property

Filing Action Tax Outcome
Owns Florida condo; collects $24,000 rent Default 30% withholding on gross rent under IRC §1441
Files §871(d) election with Form W-8ECI Treats rent as ECI; deducts mortgage interest, depreciation, taxes
Net rental income is $4,000 after expenses Pays graduated tax on $4,000 instead of 30% on $24,000
Sells property for $50,000 gain FIRPTA withholding under IRC §1445 of 15% on gross sale price

Three Named Examples in Detail

Each example below pairs a person, a goal, and a real filing outcome.

Example 1: Sofia from Spain on a J-1 Research Visa

Sofia comes to Boston in March 2025 for a two-year postdoc paying $52,000 a year. She is exempt from the substantial presence test for two calendar years as a J-1 researcher under IRS Publication 519, Chapter 1, so she files Form 1040-NR for 2025 and 2026.

Sofia claims the U.S.–Spain treaty Article 22, which exempts research compensation for two years. She enters $52,000 on line 1k, files Schedule OI Item L, and gets a full refund of withholding for both years.

Example 2: Wei from Taiwan With Dividend Income

Wei lives in Taipei and owns $200,000 of U.S. stocks generating $6,000 in 2025 dividends. The default withholding rate is 30%, but the U.S.–Taiwan tax agreement is not yet a full treaty, so Wei pays the full 30%, or $1,800.

Wei files Form 1040-NR with Schedule NEC, reports the dividends in the 30% column, and confirms the $1,800 withholding from Form 1042-S on line 25g. He owes nothing extra and gets no refund.

Example 3: Rajiv from India on F-1 With OPT Income

Rajiv graduates in May 2025 and works on Optional Practical Training from June through December, earning $42,000. He is in his fourth calendar year on F-1, so he is still a nonresident under the exempt-individual rule.

Rajiv claims the U.S.–India standard deduction of $15,000 under Article 21(2). He owes about $3,070 in federal tax on $27,000 taxable income, files Schedule OI Item L, and avoids FICA withholding under IRC §3121(b)(19).

Dual-Status Returns

You are a dual-status alien if you are both a nonresident and a resident in the same calendar year. This usually happens in the year of arrival or departure.

You file Form 1040 for the resident period and Form 1040-NR for the nonresident period, and you label one as a “Statement” attached to the other under Publication 519, Chapter 6. The consequence of filing one combined return is rejection or recalculation by the IRS.

Dual-status filers cannot take the standard deduction or file jointly unless they make the §6013(g) election to be treated as a U.S. resident for the full year. The election is binding for future years until revoked.

Mistakes to Avoid

Each mistake below comes with the negative outcome it triggers. Knowing them early saves money, time, and immigration trouble.

  • Filing Form 1040 instead of 1040-NR. The IRS recharacterizes the return, and you lose nonresident protections like FICA exemption.
  • Skipping Schedule OI Item L. Treaty benefits are denied, and you owe tax on income you thought was exempt.
  • Claiming the EITC. The credit is barred for nonresidents under IRC §32(c)(1)(D), and the IRS adds a 20% accuracy penalty.
  • Taking the standard deduction without an India treaty. The deduction is disallowed under IRC §63(c)(6), creating a balance due plus interest.
  • Forgetting to attach Form 8843. Students and trainees must file Form 8843 every year, even with no income; missing it can hurt future green card applications.
  • Mishandling the §871(d) election. Without it, your rental income is taxed at 30% of gross with no expense deductions allowed.
  • Filing jointly with a nonresident spouse. Joint filing is barred unless both spouses elect resident status; the IRS will reject the return.
  • Counting all U.S. days for substantial presence. Days as an exempt individual under F, J, M, or Q visas do not count, and miscounting can flip your residency status.
  • Ignoring FIRPTA withholding on real estate sales. A 15% withholding on the gross sale price under IRC §1445 is mandatory, and the buyer is liable if it is missed.
  • Using the wrong tax rate on Schedule NEC. Putting FDAP income in the 10% column without a treaty backing it triggers an IRS adjustment and penalties.

Do’s and Don’ts

The list below is a quick filter before you e-file or mail your return.

  • Do confirm your nonresident status with the substantial presence test before filing, because the wrong form costs hundreds of dollars to fix.
  • Do file Form 8843 every year you are an exempt individual, because immigration officers ask for it during status changes.
  • Do keep Form 1042-S, W-2, and 1099 statements for at least three years, because the IRS audit window under IRC §6501 runs that long.
  • Do use IRS Free File or commercial nonresident software such as Sprintax, because manual calculations often miss treaty rates.
  • Do file even with zero income to claim a refund, because waiting more than three years forfeits your refund permanently under IRC §6511.

  • Don’t file electronically without confirming your software supports Form 1040-NR, because mainstream consumer products often do not.

  • Don’t claim the Recovery Rebate or any pandemic-era resident-only credit, because they trigger automatic IRS letters.
  • Don’t ignore IRS notices in English if your home country language is different, because deadlines run from the notice date.
  • Don’t mix ECI and FDAP income on the same line, because the rates and deductions are different.
  • Don’t assume your employer withheld correctly, because many payroll systems default to resident withholding tables.

Pros and Cons of Form 1040-NR

The form has built-in trade-offs. Knowing them helps you plan your move, your investments, and your departure.

  • Pro: You pay U.S. tax only on U.S. source income, not worldwide income.
  • Pro: Treaty benefits can drop withholding on dividends from 30% to 15% or 10%.
  • Pro: F, J, M, Q visa holders skip FICA for up to five calendar years, saving 7.65% of wages.
  • Pro: You can elect ECI treatment for U.S. real estate to deduct expenses.
  • Pro: Interest from U.S. bank deposits is generally tax-free under IRC §871(i).

  • Con: You cannot take the standard deduction unless you are an Indian student under treaty.

  • Con: You cannot file jointly with a nonresident spouse, often raising your marginal rate.
  • Con: You cannot claim the EITC, even with U.S. earned income and U.S. children.
  • Con: You cannot deduct most expenses against FDAP income.
  • Con: Capital gains on U.S. stocks are tax-free for nonresidents, but capital losses are not deductible to offset other income.

Key Entities and Their Roles

Several actors shape your 1040-NR experience. Knowing each role helps you find the right contact when something goes wrong.

The Internal Revenue Service processes returns and issues refunds. The U.S. Department of the Treasury negotiates tax treaties. The Social Security Administration issues SSNs.

The U.S. Citizenship and Immigration Services tracks visa status and looks at your tax filings during green card and naturalization steps. The Designated School Official at your university certifies F-1 status. The Responsible Officer certifies J-1 status. Sprintax and Glacier are private tools many universities use to help nonresidents file correctly.

State Tax Nuances

States do not follow federal nonresident rules. California taxes you on California-source income regardless of federal residency, under California R&TC §17041. New York requires Form IT-203 for nonresidents and counts days at “office or habitual place” of work.

Texas, Florida, Nevada, Washington, South Dakota, Wyoming, Alaska, Tennessee, and New Hampshire impose no broad personal income tax, so a nonresident there often files only the federal return. The consequence of skipping a state filing in California or New York is a state penalty plus a referral to the Multistate Tax Commission database.

Court Rulings to Know

A handful of cases shape how courts read 1040-NR rules. Park v. Commissioner, 25 F.3d 1289 (5th Cir. 1994), held that a nonresident’s gambling winnings are FDAP and cannot be netted against losses, a position later softened by Rev. Proc. 2007-49 for treaty residents.

Rev. Rul. 91-58 clarifies that scholarship grants from U.S. sources are taxable to nonresidents unless covered by IRC §117. The consequence of ignoring these rulings is a clear-cut audit loss.

How to File and Pay

You can file Form 1040-NR electronically through approved providers such as Sprintax, TaxSlayer Pro, or OLT.com, or mail a paper return to the address in the 1040-NR instructions. Mailing addresses differ by whether you enclose a payment.

Pay through IRS Direct Pay from a U.S. bank account, by debit or credit card through authorized processors, or by international wire transfer through the federal tax wire instructions. The consequence of paying from a foreign account in foreign currency is a likely rejection and a late-payment penalty.

Frequently Asked Questions

Can I file Form 1040-NR jointly with my spouse?

No. Joint filing is barred for nonresident aliens under IRC §6013(a)(1) unless one spouse is a U.S. resident and you both elect to be treated as full-year residents under §6013(g) or §6013(h).

Can a nonresident alien claim the standard deduction?

No. Nonresidents cannot take the standard deduction, except for students and business apprentices from India under Article 21(2) of the U.S.–India tax treaty, who can claim the full amount.

Do I file Form 1040-NR if I had no U.S. income?

Yes. You still file if you were engaged in a U.S. trade or business or if you want to claim a treaty-based exemption or refund of over-withheld tax.

Can I e-file Form 1040-NR for the 2025 tax year?

Yes. The IRS accepts electronic filing of Form 1040-NR through approved providers such as Sprintax, TaxSlayer Pro, and a small group of commercial vendors listed on IRS.gov.

Does a nonresident pay Social Security and Medicare tax?

No. F, J, M, and Q visa holders are exempt from FICA under IRC §3121(b)(19) for the years they are nonresidents, while H-1B, L-1, and O-1 workers do pay FICA from day one.

Can I claim the Earned Income Tax Credit on Form 1040-NR?

No. The EITC is barred for any taxpayer who was a nonresident alien for any part of the tax year, under IRC §32(c)(1)(D), with no treaty exception.

Do I need an ITIN to file Form 1040-NR?

Yes. You need an SSN or ITIN, and you can apply for an ITIN with Form W-7 attached to your first 1040-NR if you do not already have either number.

Is U.S. bank interest taxable to a nonresident alien?

No. Portfolio interest and U.S. bank deposit interest are generally exempt from U.S. tax under IRC §871(h) and §871(i), so banks issue 1042-S with zero withholding.

Are capital gains on U.S. stocks taxable to nonresidents?

No. Capital gains from U.S. stocks are tax-free unless you are present 183 days or more in the U.S. during the tax year, under IRC §871(a)(2), or the gain is ECI.

Can I amend Form 1040-NR if I made a mistake?

Yes. You file Form 1040-X within three years of the original filing or two years from when you paid the tax, whichever is later, under IRC §6511.

Do I file a state tax return with my Form 1040-NR?

Yes. Most states with income tax require a nonresident state return if you earned income there, and rules and forms vary by state, with California, New York, and Massachusetts being the strictest.

Can I claim the Child Tax Credit on Form 1040-NR?

Yes. You can claim the Child Tax Credit only if you are a resident of Canada, Mexico, South Korea, or a U.S. national, and the child has an SSN issued before the return due date.

Does filing late hurt my visa or green card application?

Yes. USCIS asks for tax transcripts during adjustment of status, and a missing or late return can be treated as evidence of poor moral character or visa noncompliance.

Are scholarships taxable to F-1 students?

No. Amounts used for tuition, fees, books, and required equipment are tax-free under IRC §117, but amounts used for room, board, and travel are taxable and reported on Form 1042-S.