Paying a nonresident alien on a US payroll is where international tax rules land on top of everyday payroll processes. The IRS treats nonresident aliens differently from US citizens and resident aliens at almost every step: different W-4 instructions, different withholding tables, a separate year-end tax form, and a separate set of treaty analyses to run. Companies that do this routinely build dedicated NRA payroll workflows. Companies that do it once or twice a year without one tend to over-withhold, under-withhold, or miss the Form 1042-S filing entirely. The compliance stakes are real: incorrect withholding on NRA payments generates IRS penalties plus interest, and the employer usually bears the cost of the shortfall.
Who Qualifies as a Nonresident Alien The IRS uses two tests to decide US tax residency. The green card test: anyone holding a lawful permanent resident card on any day of the tax year is a resident alien. The substantial presence test: anyone present in the US for at least 31 days in the current year and 183 days over a three-year weighted calculation is a resident alien. Fail both tests and the person is a nonresident alien for US tax purposes.
Students on F-1 visas, scholars on J-1 visas, and teachers on specific exchange visas get favorable rules that usually keep them in NRA status for several years even when their physical presence would otherwise make them residents.
How Wage Withholding Actually Works The employer runs wages through the normal federal income tax withholding system with modifications. The NRA submits a Form W-4 following the NRA instructions, which require Single filing status regardless of actual marital status and prohibit claiming the standard deduction. The employer also adds an amount to the employee's wages before running withholding tables (the 2026 amount is set annually by the IRS and accounts for the standard deduction that nonresident aliens cannot claim). FICA (Social Security and Medicare) generally still applies, though specific visa categories (F-1, J-1, M-1, Q-1 students and scholars) are exempt.
What's the Difference Between Form W-2 and Form 1042-S? Nonresident aliens receive both forms when applicable. The W-2 reports wages subject to graduated withholding. The 1042-S reports non-wage US-source income such as independent contractor payments, scholarship and fellowship amounts, royalties, and treaty-exempt wages. The 1042-S is also what the IRS uses to match the employer's 30 percent flat withholding on payments to foreign persons.
Tax Treaties and the Form 8233 Process The US has income tax treaties with roughly 70 countries, and many treaties reduce or eliminate withholding on specific categories of income for residents of those countries. A treaty benefit isn't automatic: the NRA must submit Form 8233 to the employer before the payment, claiming the treaty position, and the employer must forward the form to the IRS for approval. Once approved, the employer withholds at the treaty rate instead of the statutory rate.
Treaty benefits on wages usually apply only to specific occupations or amounts (teachers for two years, students up to a treaty-specified dollar limit), so the same person might qualify for treaty exemption on part of their income and standard withholding on the rest.
Running a Nonresident Alien Payroll Process That Actually Works Four practices separate clean NRA payrolls from the ones that generate IRS notices. Identify NRA status on the first day of employment, using the IRS residency tests rather than visa category alone. Capture Form W-4 with the NRA instructions and Form 8233 for any treaty claim before the first payment. Track FICA exemption eligibility by visa type and date (the exemption usually expires after five calendar years of US presence for F-1 and J-1 status). Process Form 1042-S filings by March 15 each year, separately from the payroll cycle that produces W-2s. Keep the IRS Publication 515 (Withholding of Tax on Nonresident Aliens and Foreign Entities) current and reference the IRS tax treaty tables for the specific rates and eligibility rules that apply to each worker's country of residence.