Per the IRS Instructions for Form 1040NR U.S. Nonresident Alien Income Tax Return (click the link and view the entire publication for additional details regarding the items below), page 6:
Who Must File Form 1040NR
You must file Form 1040NR if any of the following conditions apply to you.
- You were a nonresident alien engaged in a trade or business in the United States during 2016. You must file even if:
However, if you have no gross income for 2016, do not complete the schedules for Form 1040NR. Instead, attach a list of the kinds of exclusions you claim and the amount of each.
- You have no income from a trade or business conducted in the United States,
- You have no U.S. source income, or
- Your income is exempt from U.S. tax under a tax treaty or any section of the Internal Revenue Code.
- You were a nonresident alien not engaged in a trade or business in the United States during 2016 and:
- You received income from U.S. sources that is reportable on Schedule NEC, lines 1 through 12, and
- Not all of the U.S. tax that you owe was withheld from that income.
- You owe any special taxes, including any of the following.
- Alternative minimum tax.
- Additional tax on a qualified plan, including an individual retirement arrangement (IRA), or other tax-favored account. (If you are filing a return only because you owe this tax, you can file Form 5329 by itself.)
- Household employment taxes. (If you are filing a return only because you owe these taxes, you can file Schedule H (Form 1040) by itself.)
- Social security and Medicare tax on tips you did not report to your employer or on wages you received from an employer who did not withhold these taxes.
- Recapture of first-time homebuyer credit. See the instructions for line 59b.
- Write-in taxes or recapture taxes, including uncollected social security and Medicare or RRTA tax on tips you reported to your employer or on group-term life insurance and additional taxes on health savings accounts. See the instructions for line 60.
- You received HSA, Archer MSA, or Medicare Advantage MSA distributions.
- You had net earnings from self-employment of at least $400 and you are a resident of a country with whom the United States has an international social security agreement. See the instructions for line 55.
- Advance payments of the premium tax credit were made for you, your spouse, or a dependent who enrolled in coverage through the Marketplace. You or whoever enrolled you should have received Form(s) 1095-A showing the amount of the advance payments.
- You are the personal representative for a deceased person who would have had to file Form 1040NR. A personal representative can be an executor, administrator, or anyone who is in charge of the deceased person's property.
- You represent an estate or trust that has to file Form 1040NR. Change the form to reflect the provisions of Subchapter J, Chapter 1, of the Internal Revenue Code. You may find it helpful to refer to Form 1041 and its instructions when completing the Form 1040NR.
Exceptions. You do not need to file Form 1040NR if you meet (1), (2), or (3) below.
- Your only U.S. trade or business was the performance of personal services; and
- Your wages were less than $4,050; and
- You have no other need to file a return to claim a refund of overwithheld taxes, to satisfy additional withholding at source, or to claim income exempt or partly exempt by treaty.
- You were a nonresident alien student, teacher, or trainee who was temporarily present in the United States under an "F," "J," "M," or "Q" visa, and you have no income that is subject to tax under section 871 (that is, the income items listed on page 1 of Form 1040NR, lines 8 through 21, and on page 4, Schedule NEC, lines 1 through 12).
- You were a partner in U.S. partnership that was not engaged in a trade or business in the United States during 2015 and your Schedule K-1 (Form 1065) includes only income from U.S. sources that you must report on Schedule NEC, lines 1 through 12.
Exception for certain children under age 19 or full-time students. If your child was under age 19 at the end of 2016 or was a full-time student under age 24 at the end of 2016, had income only from interest and dividends that are effectively connected with a U.S. trade or business, and that income totaled less than $10,500, you can elect to report your child's income on your return. To do so, use Form 8814. If you make this election, your child does not have to file a return. For details, including the conditions for children under age 24, see Form 8814.
A child born on January 1, 1993, is considered to be age 24 at the end of 2016. Do not use Form 8814 for such a child.