If you earned money in the United States but you are not a citizen or a permanent resident, the IRS may still expect a return from you when tax season comes around. The form for that job is Form 1040-NR, and the name sounds heavier than the work actually is. This tax guide breaks it down so you know where you stand, including who has to file, how the form differs from the regular Form 1040, and how to keep your bill as low as the rules honestly allow.
Form 1040-NR is the U.S. Nonresident Alien Income Tax Return, the tax form a nonresident uses to report US income and figure out what is owed or refunded. Filing this nonresident alien tax return is how you tell the agency what you earned from activity inside the country, not the money you made back home. A citizen files the standard 1040, formally the U.S. Individual Income Tax Return, and reports worldwide income. Yours only covers US-sourced income.
You may also see it written as Form 1040NR without the hyphen, but it is the same federal tax return. An older short version called the 1040-NR-EZ was retired after 2019, so everyone now uses this single form no matter how simple or complex the tax situation is.
This question decides everything else, so settle it before you touch any form. The agency runs two checks.
The green card test is the simple one. If you held that card at any point in the year, you count as a resident alien, which means you file Form 1040 instead. The substantial presence test looks at days spent in the country. It adds all your days this year, a third of last year's days, and a sixth of the days from the year before. Cross 183 on that weighted total and you are treated as a resident too.
Fail both checks and you are a nonresident, which is when this form enters the picture. One wrinkle worth knowing: students and scholars on F, J, M, or Q visas are usually "exempt individuals" for a set period, so their days do not count and they often stay nonresident well past 183 days. If that is you, you still file Form 8843 to record your status, even with no income at all.
You must file Form 1040-NR if you are a nonresident with income from US sources that the tax rules touch, or if you were engaged in a trade or business here during the tax year. If you earn income inside the country, the minimum threshold that lets low-earning citizens skip filing does not apply to you. Even a small payment can mean you must file, and even a business that ran at a loss can still require it.
Common triggers include:
You should also file to claim a refund of tax that was over-withheld. And as noted, F, J, M, and Q visa holders must file Form 8843 even when their income is zero.
The differences between Form 1040 and Form 1040-NR come down to reach. The standard 1040 reports worldwide income. The nonresident return reports only US-sourced income, and that one difference drives most of the others.
A few more things change on the nonresident version:
The quick way to know which one is yours: passing either residency test sends you to the standard 1040. Neither, and you file the nonresident return.
How much you owe depends on which of two buckets your income falls into.
Effectively connected income is money tied to running a trade or business in the country, like wages or business profits. The tax on income here uses the same graduated rates residents pay, and you can subtract allowable costs first. FDAP income covers passive earnings such as dividends, interest, rents, and royalties. This gets taxed at a flat 30 percent, with nothing subtracted, and you report it on Schedule NEC. That 30 percent can drop if a treaty applies, which is coming up shortly.
Capital gains sit on their own. Spend fewer than 183 days here, with gains not tied to a US business, and they often are not taxed at all. US real estate is the main exception. Stay 183 days or more and those gains can face that flat rate.
Here is the part that catches people: most nonresidents cannot take the standard deduction. So you miss the automatic slice of tax-free income that citizens enjoy.
What you can often claim are itemized write-offs on Schedule A, like state tax you paid and certain charitable gifts, plus costs tied to your effectively connected income from the bucket above. Students and business apprentices covered by the US-India treaty are a notable exception, since the rules let them claim that allowance anyway.
Credits run tighter too. The child tax credit and similar benefits are mostly restricted, with fuller access for residents of Canada and Mexico and partial access for India and South Korea.
The US holds tax treaties with dozens of countries, and they can lower or even erase the tax on certain income. They are one of the most useful tools available to nonresident aliens, and plenty of filers forget to use them.
Depending on your country's agreement, a treaty might trim the flat 30 percent on dividends or interest, exempt some scholarship or teaching income, or stop the same income being taxed in two places at once. To claim the benefit, you report the position, usually through Form 8833 and Schedule OI, so the agency can see why you are paying less. Relief differs a lot by country, so check the specific treaty that applies to you rather than copying someone else's setup.
Now the practical stuff, starting with the question everyone has: when is it due?
Need more time? File Form 4868 by your due date for an automatic extension of time to file, which moves the paperwork deadline to October 15. It does not move what you owe, so pay by the original date. If a chunk of your income arrives without tax withholding, you may also owe quarterly estimated payments through the year instead of one lump sum.
To file at all, you need a taxpayer ID, either a Social Security number or an Individual Taxpayer Identification Number if you are not eligible for one. Some tax software supports filing Form 1040NR electronically, though many people still file 1040-NR on paper, so check before you assume you can do it online. Made an error? Fix it by filing Form 1040-X. And file within 16 months of the due date, because past that point the Internal Revenue Service can throw out your write-offs and credits.
Getting a nonresident return right pulls residency tests, income sourcing, and treaty rules into one place, and small mistakes get costly fast. If you would rather hand your tax obligations to people who do this daily, that is the kind of work our outsourced tax preparation team supports for CPA firms and their clients.
Any nonresident with US-sourced income the tax rules reach, or anyone who ran a US trade or business that year. There is no minimum income amount like citizens get, so even a small US paycheck or one rental property can trigger it. You also file to claim back tax that was over-withheld.
The standard return reports worldwide income and is used by citizens and residents. The nonresident version reports only US-sourced income and limits your filing status and write-offs. In short, residents use one, nonresidents use the other.
In most cases, no. You itemize instead. The main exception is students and business apprentices from India, who can claim it under the US-India agreement.
Returns with wage withholding are due in mid-April, and others get until mid-June. An extension moves the filing date to October, but the tax itself is still owed by the original date.
Sometimes. Certain tax software handles it electronically, but not all does, and many filers still mail a paper copy. Confirm your software supports the form before counting on e-filing.
You need some taxpayer ID. If you qualify for an SSN you use that. If not, you apply for an ITIN and use that instead.
Treaties between the US and your home country can lower or remove tax on specific income, like trimming the 30 percent on dividends or freeing certain scholarship money. You claim the benefit by reporting the position on your return, often with Form 8833.
Late filing brings penalties and interest, and going past 16 months from the due date can cost you your write-offs and credits entirely. If you already filed and spotted an error, correct it with an amended return on Form 1040-X.

Single-entry vs double-entry bookkeeping made simple: how each accounting system works, the key differences, and which one your small business needs.
%2075-100%20(12).png)
CPA vs EA (enrolled agent) vs tax attorney: how each tax professional differs, who can represent you to the IRS, and which fits your tax needs.
%2075-100%20(9).png)
Learn how tax professionals should respond to a data breach, report theft to the IRS and states, notify clients, meet FTC rules, and prevent future attacks.