A foreign national can spend substantial time in the United States, receive a U.S. pay statement, own a U.S. investment account, and still be a nonresident alien for federal income tax purposes. That distinction drives nearly every filing decision. This guide to nonresident alien taxation explains how U.S. tax residency, income sourcing, withholding, treaty benefits, and Form 1040-NR work together.
The starting point is not citizenship, immigration status, or where an employer is headquartered. It is the Internal Revenue Code’s tax residency rules. Getting that first classification wrong can turn a limited U.S. filing obligation into an unnecessary worldwide income reporting position, or leave a taxpayer exposed to missed filing and withholding obligations.
Who Is a Nonresident Alien for U.S. Tax Purposes?
A nonresident alien is generally an individual who is neither a U.S. citizen nor a U.S. tax resident. A foreign national becomes a U.S. resident for income tax purposes by meeting either the green card test or the substantial presence test, unless a specific exception or treaty position applies.
Under the green card test, an individual is generally a resident alien if they are a lawful permanent resident of the United States at any time during the calendar year. The substantial presence test is more mathematical. It generally applies when an individual is present in the United States for at least 31 days in the current year and 183 weighted days over the current year and two preceding years. All days in the current year count, one-third of the days in the prior year count, and one-sixth of the days in the second prior year count.
Certain days do not count for this test. For example, days may be excluded for qualifying students, teachers, trainees, commuters from Canada or Mexico, and individuals unable to leave because of a qualifying medical condition. These categories have detailed requirements and often require a disclosure filing. A visa label alone does not settle the issue.
An individual who meets substantial presence may still qualify as a nonresident under the closer connection exception if they meet the applicable presence limit, maintain a tax home in another country, and establish closer connections there. A treaty tie-breaker may also permit a person treated as resident in both countries to claim nonresident treatment in the United States. Both positions require careful analysis because they can affect filing forms, information reporting, and future residency planning.
Dual-Status Years Require Separate Analysis
Arriving in or departing from the United States can create a dual-status tax year. In that situation, the individual is a nonresident alien for one portion of the year and a resident alien for another. The rules differ from a standard Form 1040 or Form 1040-NR filing, and income must be classified according to the taxpayer’s status when it was received or accrued.
A dual-status return can be especially consequential for executives relocating midyear, foreign nationals beginning U.S. assignments, and green card holders ending U.S. residence. Elections to file jointly with a U.S. citizen or resident spouse may be available in limited circumstances, but the election can bring worldwide income into the U.S. tax base. It should not be made merely because it appears administratively easier.
Guide to Nonresident Alien Taxation: Which Income Is Taxable?
Nonresident aliens are generally taxed only on certain U.S.-source income and income effectively connected with a U.S. trade or business. The distinction matters because the tax rates, deductions, filing requirements, and withholding rules are not the same.
Effectively connected income, often called ECI, is usually income connected to operating a business or performing services in the United States. U.S. wages are the most common example. ECI is generally taxed on a net basis at graduated individual tax rates, and eligible deductions may reduce taxable income. A nonresident employee may therefore need to file Form 1040-NR even when tax was withheld from every paycheck.
Fixed, determinable, annual, or periodical income, commonly called FDAP income, is generally taxed differently. Examples can include U.S.-source dividends, certain interest, rents, royalties, scholarships, and other passive-type payments. FDAP income is often subject to 30% gross-basis withholding, unless a lower treaty rate or statutory exception applies. Because tax is often collected at the source, a filing may not always be required, but filing can be appropriate when a refund, treaty claim, or other adjustment is involved.
Source Rules Are Often More Important Than the Payment Location
A payment from a U.S. company is not automatically U.S.-source income. The source rule depends on the type of income. Compensation for personal services is generally sourced where the services are physically performed. A consultant working remotely from Singapore for a U.S. company may have foreign-source service income, while that same consultant performing the work during a U.S. business trip may generate U.S.-source compensation.
Interest is generally sourced by reference to the residence of the payer, subject to important exceptions. Dividends are generally sourced by reference to the corporation paying them. Rental income is generally sourced where the real property is located. Gains from selling personal property can involve different rules, and gains connected to U.S. real property require particular attention.
This is why payroll location, bank location, currency, and the address on a contract are not substitutes for a sourcing analysis. For mobile executives, split-year assignments and workdays across several countries can require detailed travel and workday records.
Withholding, Forms, and Treaty Claims
The U.S. withholding system is designed to collect tax before a nonresident alien files a return. Employers generally use Form W-4 procedures for wages, while financial institutions and other payers often rely on Form W-8BEN or Form W-8BEN-E to document foreign status and, where relevant, treaty eligibility.
A Form W-8BEN does not itself create a treaty benefit. The taxpayer must be a resident of the treaty country under the treaty’s residence article, satisfy any applicable limitation provisions, and meet the requirements of the specific income article. Treaty benefits are fact-specific. A person who is tax resident in one country for local purposes may not necessarily qualify for the U.S. treaty rate they expect.
Treaties may reduce withholding on dividends, interest, royalties, pensions, scholarships, and certain employment income. They can also affect whether a foreign student, researcher, teacher, or trainee is exempt from U.S. tax for a defined period. The correct treaty claim depends on the individual’s visa category, days of presence, prior U.S. visits, employer arrangement, and residence status.
When a treaty position is claimed on a U.S. return, Form 8833 may be required. Failure to make required disclosures can create penalties even where the underlying treaty position is supportable.
Filing Form 1040-NR and Related Reporting
Form 1040-NR is the principal U.S. federal income tax return for nonresident alien individuals with a filing obligation. It is commonly required for a nonresident who engaged in a U.S. trade or business, had U.S. wages above the relevant threshold, owes tax on U.S.-source income, or seeks a refund of overwithheld tax.
The return is not simply a shortened Form 1040. Nonresident aliens have different rules for deductions, filing status, dependents, standard deduction eligibility, and credits. Most nonresident aliens cannot claim the standard deduction, although certain students and business apprentices from India may qualify under the U.S.-India income tax treaty. Itemized deductions may be available for qualifying state and local taxes, casualty losses, charitable contributions, and certain other permitted items.
A taxpayer without a Social Security number may need an Individual Taxpayer Identification Number, or ITIN, to file. An ITIN application is frequently submitted with the federal return when no other exception applies. Timing matters, particularly when a refund depends on treaty-based withholding relief.
State taxation must be reviewed separately. Federal nonresident status does not automatically determine state residency, and states may apply their own domicile, statutory residency, and source-income rules. An employee assigned to New York, California, or another high-tax jurisdiction can have significant state exposure even when federal treatment is straightforward.
Common Errors That Create Unnecessary Exposure
The most costly errors are usually classification errors rather than arithmetic mistakes. Taxpayers often assume a U.S. visa makes them nonresident, count every U.S. day without considering exempt-individual rules, or fail to count short business trips that push them over substantial presence.
Another recurring issue is accepting 30% withholding as the final answer. That withholding may be correct, but it may also exceed the tax due under a treaty or fail to reflect deductions available against effectively connected income. Conversely, receiving a Form 1042-S or Form W-2 does not eliminate the need to evaluate filing obligations.
Foreign financial account reporting also requires caution. A nonresident alien is not automatically subject to every international information return that applies to U.S. persons. However, a dual-status year, a residency election, or a mistaken assumption about tax residence can change the result. Information reporting should follow the residency analysis, not precede it.
Build the File Before the Filing Deadline
A defensible nonresident alien return begins with records: passport entry and exit history, visa documents, payroll records, travel calendars, work-location data, Forms W-2 and 1042-S, brokerage statements, and evidence supporting foreign tax residence or a treaty claim. For business owners and investors, entity records and property documentation may be equally important.
Nonresident alien taxation is rule-based, but the facts are rarely simple. A precise residency and sourcing analysis early in the year gives taxpayers more options than a last-minute return prepared after withholding, travel patterns, and reporting positions have already been set.