What Form 1040-NR is and who files it

Form 1040-NR is the U.S. tax return for nonresident aliens — people who are not U.S. citizens, not permanent residents (green card holders), and do not meet the substantial presence test. You file this form instead of the standard 1040 if you earned income in the United States during the tax year and owe federal tax on it.

The IRS uses three tests to decide whether you are a resident or nonresident alien for tax purposes. The citizenship test is straightforward: you must not be a U.S. citizen. The green card test asks whether you held a green card at any point during the calendar year. The substantial presence test counts your days in the U.S. over the current year and two prior years, weighted so that current-year days count fully, prior-year days count one-third, and the year before that counts one-sixth. If your weighted total reaches 183 days, you are treated as a resident alien for tax purposes, even if you are not a citizen or green card holder.

If you do not meet any of these tests, you file 1040-NR. The form itself is longer and more complex than 1040 because it separates U.S.-source income (which is taxable) from foreign-source income (which may or may not be taxable depending on your visa status and tax treaties).

Key Takeaways

  • Form 1040-NR is for nonresident aliens who earned U.S. income and owe federal tax, not for all foreign nationals living in the U.S.
  • You file 1040-NR if you are not a U.S. citizen, do not hold a green card, and did not spend enough days in the U.S. to meet the substantial presence test.
  • The form requires you to report U.S.-source income separately from foreign-source income because tax treatment differs by visa type and by treaty.
  • Certain visa holders (F-1 students, J-1 exchange visitors, and some others) are exempt from the substantial presence test for a limited number of years.
  • You must file 1040-NR even if no tax is owed, if you had U.S. income and your employer did not withhold enough tax.

How income is reported differently on 1040-NR

The 1040-NR divides your income into two categories: U.S.-source income and foreign-source income. U.S.-source income includes wages from a U.S. employer, self-employment income from a U.S. business, rental income from U.S. property, and investment income (dividends, interest, capital gains) from U.S. sources. This income is always taxable to a nonresident alien.

Foreign-source income — money you earned outside the U.S. — is generally not taxable to a nonresident alien, with exceptions. If you are on an H-1B visa or L-1 visa and your employer is a U.S. company, foreign-source income from that employer may be taxable. If you have a tax treaty between your home country and the U.S., the treaty may change which income is taxable and at what rate. For example, some treaties exempt certain types of income (like scholarship income for students) or reduce the tax rate on investment income.

The 1040-NR form itself has separate lines for different types of U.S.-source income and asks you to identify your visa status and home country so the IRS can explore the correct treaty rules. You will also need to attach Form 8833 if you are claiming a treaty benefit that would otherwise violate U.S. tax law.

Visa status and tax residency are not the same thing

A common source of confusion: your immigration visa status does not automatically determine your tax residency. You can be a nonresident alien for tax purposes while holding a valid work visa, and you can be a resident alien for tax purposes while on a tourist visa (if you pass the substantial presence test).

However, certain visa holders are exempt from the substantial presence test. F-1 students and J-1 exchange visitors are treated as nonresident aliens for their first five calendar years in the U.S., even if they spend more than 183 days here. This exemption applies only if you are in valid status and have not previously claimed resident alien status. M-1 vocational students have a similar exemption for their first two years. Q-1 visa holders (cultural exchange visitors) have an exemption for their first 15 days.

If you hold one of these visas, you still file 1040-NR during the exemption period, but you do not count your days in the U.S. toward the substantial presence test. Once the exemption expires, you revert to the standard three-part test.

Withholding, estimated tax, and filing important date

If you are a nonresident alien with U.S. wages, your employer must withhold federal income tax from your paycheck using the rules for nonresident aliens. This withholding is usually higher than for resident aliens because nonresident aliens cannot claim the standard deduction and have fewer deductions available. Your employer should give you a Form W-2 showing the income and withholding.

If you have self-employment income or other income with no withholding, you may owe estimated tax. Nonresident aliens pay estimated tax using the same Form 1040-ES schedule as resident aliens, but the calculation is different because your tax rate and available deductions differ. Estimated tax is due in four installments: April 15, June 15, September 15, and January 15 of the following year.

Form 1040-NR is due on the same date as Form 1040: April 15 of the year following the tax year, or the next business day if April 15 falls on a weekend or holiday. If you need more time, you can request an automatic extension using Form 4868, which gives you until October 15. An extension to file is not an extension to pay — any tax owed is still due by April 15.

Deductions and credits available to nonresident aliens

Nonresident aliens cannot claim the standard deduction. Instead, you must itemize deductions on Schedule A, and only certain deductions are available to you. You can deduct state and local taxes (SALT) paid on U.S.-source income, mortgage interest on U.S. property, charitable contributions, and certain business expenses. You cannot deduct personal exemptions or claim most credits that resident aliens can claim.

The child tax credit and earned income tax credit are not available to nonresident aliens. However, some nonresident aliens can claim the education credits (American Opportunity Credit or Lifetime Learning Credit) if they meet the requirements and the income is U.S.-source. You also cannot claim the standard deduction even if you have no itemized deductions, which often results in a higher tax bill than a resident alien would pay on the same income.

If you are married to a U.S. citizen or resident alien, you can elect to be treated as a resident alien for the entire tax year by filing Form 8288 with your return. This election allows you to file jointly and claim the standard deduction, but it also makes your worldwide income taxable to the U.S. and locks you into resident alien status for future years unless you revoke the election.

Tax treaties and Form 8833

The U.S. has tax treaties with over 60 countries. These treaties reduce or eliminate double taxation by specifying which country has the right to tax certain types of income. For example, a treaty might say that wages earned in the U.S. are taxed by the U.S., but investment income is taxed only in your home country, or at a reduced rate.

If you are claiming a treaty benefit that would reduce your U.S. tax below what the law otherwise requires, you must attach Form 8833 (Treaty-Based Return Position Disclosure) to your 1040-NR. This form tells the IRS which treaty article you are relying on and why. Failure to file Form 8833 when required can result in penalties, and the IRS may disallow the treaty benefit.

To find out whether a treaty applies to your situation, you can search the IRS website for your home country or consult a tax professional. Treaties are country-specific and income-specific, so you may may have access to for treaty benefits on some income but not others.

When you must file 1040-NR even with no tax owed

You must file Form 1040-NR if you had U.S.-source income during the year and your employer did not withhold enough tax to cover what you owe. You must also file if you want to claim a refund of taxes withheld. Even if you owe no tax, filing allows you to recover any overpayment.

If you had no U.S.-source income and no U.S. tax withholding, you generally do not need to file. However, if you had foreign-source income and want to claim a treaty benefit or a foreign tax credit, you should file to document that claim. Nonresident aliens cannot claim the foreign earned income exclusion (which is available only to U.S. citizens and resident aliens abroad), but they can claim a foreign tax credit for taxes paid to another country on U.S.-source income.

Frequently Asked Questions

Do I file 1040-NR or 1040 if I am on an H-1B visa?

It depends on whether you meet the substantial presence test. If you have been in the U.S. for fewer than three years and have not spent 183 weighted days here, you file 1040-NR. If you have been here longer or have spent enough days to meet the test, you file 1040 as a resident alien. Your visa status alone does not determine which form you use.

Can I claim a dependent on 1040-NR if my child lives in my home country?

No. Nonresident aliens cannot claim dependent exemptions or the child tax credit. Your dependent must be a U.S. citizen, national, or resident alien, and you must provide their Social Security number or ITIN. If your child does not meet these requirements, you cannot claim them on your U.S. return.

What happens if I file 1040 instead of 1040-NR by mistake?

The IRS may reject your return or correct it and send you a bill for additional tax. If you discover the error, file an amended 1040-NR (Form 1040-X) as soon as possible. The sooner you correct it, the lower the penalties and interest will be.

Do I need an ITIN to file 1040-NR?

Yes. Nonresident aliens must have an Individual Taxpayer Identification Number (ITIN) to file a U.S. tax return. You can explore for an ITIN on Form W-7 at the same time you file your return, or you can explore in advance through an IRS office or an authorized acceptance agent.

If I leave the U.S. mid-year, do I still file 1040-NR for the whole year?

Yes. You file 1040-NR for the entire calendar year if you were a nonresident alien on January 1. The form covers all income earned while you were in the U.S. and any foreign-source income subject to U.S. tax under your visa status or a tax treaty. Your departure date does not change the tax year.