Study guide

7.1 Resident vs. Nonresident Alien Status, Visas & Treaty Withholding

Certified Payroll Professional CPP

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: Worker Classification, Section 530 & FLSA Hours

1.1 Worker Status & Common Law Classification Tests 1.2 Statutory Employees, Statutory Non-Employees & Section 530 Relief 1.3 FLSA Hours Worked, Travel Time, On-Call & Waiting Time 1.4 Public Sector Payroll, Government Contract Acts & Youth Employment

2 Chapter 2: FLSA Exemptions, Pay Frequency & Wage Payments

2.1 FLSA White-Collar Exemptions & Salary Basis Test 2.2 Pay Frequency Laws, Direct Deposit & NACHA Compliance 2.3 Payroll Cards, Paycheck Delivery & Constructive Receipt

3 Chapter 3: Employment Taxes & Core Benefit Concepts

3.1 Federal Employment Taxes: FICA, FUTA & Federal Income Tax 3.2 Section 125 Cafeteria Plans, FSA & HSA Mechanics 3.3 Third-Party Sick Pay, Disability & Professional Payroll Ethics 3.4 Benefit Law Compliance: ACA, COBRA, HIPAA, FMLA, ERISA & Workers' Compensation

4 Chapter 4: Withholding Forms, I-9 Verification & Information Returns

4.1 Form W-4 Withholding Certificates & Lock-In Letters 4.2 Form I-9 Employment Eligibility, E-Verify & Nonresident Aliens 4.3 Form W-2, W-3 & 1099 Year-End Information Reporting

5 Chapter 5: Payroll Tax Returns, Deposit Schedules & Multi-State Compliance

5.1 Federal Payroll Tax Returns: Forms 941, 944, 940 & Schedule B 5.2 Federal Tax Deposit (FTD) Schedules, Lookback Periods & EFTPS 5.3 Multi-State Taxation, Nexus & SUI Localization 5.4 New Hire Reporting, Common Paymaster, Pay Agents & Multiple Worksite Reporting

6 Chapter 6: Recordkeeping, Escheatment & Statutory Penalties

6.1 Payroll Recordkeeping Requirements & Retention Schedules 6.2 Escheatment Laws & Unclaimed Property Compliance 6.3 Information Return Penalties & IRC § 6672 Trust Fund Recovery Penalty

7 Chapter 7: Global Payroll, Nonresident Aliens & International Compliance

7.1 Resident vs. Nonresident Alien Status, Visas & Treaty Withholding 7.2 Expatriate Payroll: Tax Equalization, Hypothetical Tax, Shadow Payroll & Currency 7.3 Totalization Agreements, GDPR & Global Payroll Governance

8 Chapter 8: Regular Rate of Pay & FLSA Overtime Calculations

8.1 Regular Rate of Pay Determination & Statutory Exclusions 8.2 Weighted-Average Overtime for Multiple Pay Rates 8.3 Special FLSA Overtime Methods: Fluctuating Workweek & 8/80 Rule 8.4 Tipped Employees: Tip Credit, Tip Pooling, Overtime & Form 8027

9 Chapter 9: Supplemental Wages, Fringe Benefits & Vehicle Valuation

9.1 Supplemental Wage Withholding: Flat vs. Aggregate Methods 9.2 Employer-Provided Vehicles & Fringe Benefit Valuation 9.3 Group-Term Life Insurance & Section 79 Imputed Income

10 Chapter 10: Involuntary Deductions & Garnishment Administration

10.1 Child Support Withholding & CCPA Maximum Limits 10.2 Federal Tax Levies & Form 668-W Calculations 10.3 Creditor Garnishments, Student Loans & Order Priority

11 Chapter 11: Pre/Post-Tax Deductions, Gross-Up & Special Payments

11.1 Voluntary Deductions: Pre-Tax vs. Post-Tax Ordering & Limits 11.2 Gross-Up Calculations for Net Pay Guarantees 11.3 Final Pay, PTO Payouts & Deceased Employee Wage Processing

12 Chapter 12: Master File Architecture, Processing Controls & Timekeeping

12.1 Employee Master File Setup, Maintenance & Data Integrity 12.2 End-to-End Payroll Processing Cycle & Pre/Post Controls 12.3 Time and Attendance Systems, Rounding & Exception Management

13 Chapter 13: ACH Direct Deposit, Software Migration & Systems Security

13.1 Direct Deposit Operations: ACH Files, Returns & Reversals 13.2 Payroll System Selection, Implementation & Data Migration 13.3 Business Continuity Planning & Disaster Recovery

14 Chapter 14: Policies, Procedures, Department Design & Management

14.1 Standard Operating Procedures (SOPs), Policies & Compliance Governance 14.2 Payroll Department Structure, Staffing & Capacity Planning 14.3 Change Management, M&A Harmonization & Employee Communication

15 Chapter 15: Customer Service, Cross-Functional Alignment & Vendor Governance

15.1 Payroll Customer Service Delivery, SLAs & Inquiry Resolution 15.2 Cross-Functional Alignment: HR, Benefits, Finance & IT 15.3 Third-Party Vendor Management & Payroll KPI Benchmarking

16 Chapter 16: Internal Controls, Fraud Detection & Operational Audits

16.1 Internal Control Frameworks, Segregation of Duties & Governance 16.2 Payroll Fraud Schemes, Detection Techniques & Forensic Auditing

17 Chapter 17: Regulatory Audits, SOX 404 & SOC 1 Reports

17.1 Regulatory Audits: IRS, DOL, State Agencies & Penalty Defense 17.2 SOX 404 Internal Controls & SOC 1 Type II Report Governance

18 Chapter 18: Payroll Accounting Basics, Journal Entries & Accruals

18.1 Double-Entry Payroll Accounting: Gross Wages, Deductions & Taxes 18.2 Employer Payroll Tax Liabilities, FUTA/SUTA & Benefit Costs 18.3 Month-End Wage Accruals & ASC 710 Vacation/PTO Accounting

19 Chapter 19: Reconciliations, Clearing Accounts & Variance Resolution

19.1 Payroll Clearing Accounts, Zero-Balance Accounts & Bank Tie-Outs 19.2 General Ledger to Form 941/W-2 Reconciliations & Variances

7.1 Resident vs. Nonresident Alien Status, Visas & Treaty Withholding

Key Takeaways Explain This Topic AI

The substantial presence test is met with 31 days in the current year and 183 weighted days counting current-year days in full, prior-year days at one-third, and second-prior-year days at one-sixth.

F, J, M, and Q students are exempt individuals for five calendar years and J or Q teachers and trainees for two of the prior six years, so their days do not count toward substantial presence.

A nonresident alien completing Form W-4 must select Single or Married filing separately, may not claim exemption from withholding, and writes NRA in the space below Step 4(c); the employer then adds the Publication 15-T nonresident alien amount to wages before using the withholding tables.

Form 8233 claims a treaty exemption from withholding on compensation for personal services; Form W-8BEN covers non-service income and cannot be used for wages.

Treaty-exempt and other reportable nonresident alien payments go on Form 1042-S with Form 1042 and Form 1042-T, due March 15, not on Form W-2.

Last updated: August 2026

Resident vs. Nonresident Alien Status, Visas & Treaty Withholding

The Global sub-topic of the CPP content outline carries sixteen separate knowledge statements, more than any other lettered item on the outline, and every one of them depends on a single upstream determination: is this worker a resident alien or a nonresident alien for U.S. tax purposes? Immigration status and tax residency are different questions decided under different bodies of law. A person can be lawfully present and still be a nonresident alien; a person can be out of status and still be a resident alien.

1. The Two Residency Tests

A foreign national is a resident alien for a calendar year if they satisfy either the green card test or the substantial presence test.

The Green Card Test

An individual who has been lawfully admitted for permanent residence at any time during the calendar year is a resident alien from the first day of that presence, and remains one until the status is formally rescinded or judicially or administratively abandoned.

  • The Substantial Presence Test +-----------------------------------------------------------------------------+
  • | SUBSTANTIAL PRESENCE TEST (IRC Sec. 7701(b)) |
  • | |
  • | BOTH conditions must be satisfied: |
  • | |
  • | 1. At least 31 days of physical presence in the CURRENT calendar year; |
  • | AND |
  • | 2. A 3-year weighted total of at least 183 days: |
  • | |
  • | (Current-year days x 1) |
  • | + (First prior-year days x 1/3) |
  • | + (Second prior-year days x 1/6) |
  • | ------------------------------------ |
  • | = weighted total; 183 or more means RESIDENT ALIEN |
  • +-----------------------------------------------------------------------------+

Worked example. An engineer was present 130 days in 2026, 180 days in 2025, and 180 days in 2024.

  • Current year: 130 × 1 = 130.0
  • First prior year: 180 × 1/3 = 60.0
  • Second prior year: 180 × 1/6 = 30.0

Weighted total: 220.0 days. The 31-day current-year condition is met and 220 exceeds 183, so the engineer is a resident alien for 2026 and is taxed on worldwide income exactly like a U.S. citizen.

Exempt Individuals: Days That Do Not Count

An exempt individual is not exempt from tax; they are exempt from counting days toward substantial presence.

  • Visa Category Exempt Individual Period
  • F-1, M-1, J-1, Q-1 students Any part of 5 calendar years (lifetime, cumulative)
  • J-1 and Q-1 teachers, trainees, researchers 2 of the preceding 6 calendar years
  • Foreign-government-related individuals (A and G visas) Indefinite while in that status
  • Professional athletes competing in a charitable sports event Days of competition

A calendar year counts in full even if the individual held the status for a single day. The exempt individual must file Form 8843 to substantiate the exclusion. H-1B, L-1, TN, O-1, and E visa holders are never exempt individuals , so they typically become resident aliens during their first or second year in the United States.

2. Withholding on Nonresident Alien Wages

Nonresident alien wages for services performed inside the United States are U.S.-source income subject to graduated withholding, but with three modifications set out in IRS Notice 1392 and Publication 15-T :

The employee must check Single or Married filing separately in Step 1(c) of Form W-4, regardless of actual marital status. (Residents of Canada, Mexico, South Korea , and students and business apprentices from India under the applicable treaty article may claim additional adjustments.)

The employee may not claim exemption from withholding on Form W-4.

The employee writes "Nonresident Alien" or "NRA" in the space below Step 4(c) .

Before entering the withholding tables, the employer adds the annual nonresident alien amount from the Publication 15-T table for the current year to the employee's taxable wages. This offsets the standard deduction that is built into the tables but that a nonresident alien is not entitled to claim.

Important

The nonresident alien add-back is a withholding-computation adjustment only . It is not paid to the employee, is not reported as wages, and never appears in Form W-2 Box 1. Its size changes each year, so verify it against the current Publication 15-T rather than carrying it forward.

FICA and FUTA on Nonresident Aliens

Population Social Security & Medicare FUTA

Nonresident alien F-1, J-1, M-1, Q-1 performing services allowed by their status, while still a nonresident alien Exempt under IRC § 3121(b)(19) Exempt

  • Nonresident alien on H-1B, L-1, TN, O-1 Subject Subject
  • Resident alien in any status Subject Subject
  • Nonresident alien performing services entirely outside the United States Not U.S. wages at all Not subject
  • H-2A agricultural worker Exempt from FICA; no FITW unless voluntarily agreed Exempt

The § 3121(b)(19) exemption is lost the moment the student becomes a resident alien under the substantial presence test -- typically at the start of the sixth calendar year -- which is why the exempt-individual clock must be tracked in the master file and not in a spreadsheet.

3. Income Tax Treaty Claims

The United States maintains income tax treaties with roughly seventy countries. For payroll, the relevant articles are those covering dependent personal services , teachers and researchers , and students and trainees . Treaty benefits are not automatic ; the employee must claim them on the correct form.

Form Used For Key Mechanics

Form 8233 Exemption from withholding on compensation for personal services of a nonresident alien Requires a U.S. TIN; employer must forward a copy to the IRS and wait 10 days for objection before honoring it; must be renewed annually

Form W-8BEN Non-service income (royalties, scholarships beyond tuition, interest) Cannot be used for wages; generally valid three calendar years after the year signed

Form W-9 U.S. persons, including resident aliens Used with the saving clause exception for a resident alien claiming a treaty student article

Form 673 U.S. citizens or resident aliens abroad claiming the § 911 exclusions Lets the employer stop FITW on excludable foreign earned income

Most treaties contain a saving clause that lets the United States tax its own residents as if the treaty had not entered into force. Exceptions to the saving clause -- notably for students, teachers, and trainees -- are what allow a foreign national who has become a resident alien to keep claiming a treaty article; the claim is then made on Form W-9 with an attached treaty statement rather than on Form 8233.

Treaty-exempt wages are not reported on Form W-2. They are reported on Form 1042-S using the appropriate income and exemption codes. When an employee's treaty article caps the exemption at a dollar amount, wages up to the cap go on Form 1042-S and wages above the cap go on Form W-2 for the same employee in the same year.

4. The Form 1042 Series

Form Purpose Due Date

Form 1042-S Foreign Person's U.S. Source Income Subject to Withholding -- one per recipient per income/exemption code March 15 to the recipient and the IRS

  • Form 1042 Annual withholding tax return summarizing all 1042-S amounts and deposits March 15
  • Form 1042-T Paper transmittal accompanying Forms 1042-S March 15

Withholding on amounts reported on Form 1042-S is deposited under the same-day, monthly, or quarter-monthly rules of Treas. Reg. § 1.6302-2 , which are not the Form 941 lookback rules -- an easy place to build the wrong deposit calendar. The default withholding rate on U.S.-source fixed or determinable annual or periodical income paid to a nonresident alien is 30% unless a treaty or a statutory exemption reduces it. Chapter 4 (FATCA) reporting shares the same form.