You found the perfect contractor. She lives in Toronto, charges half your local rate, and delivers early every time. So you wire her $4,000 a month and figure the taxes are her problem — she is not even American. Then your accountant asks one question that ruins your week: did you withhold 30 percent?
Welcome to the corner of the tax code most small businesses discover by accident. When you pay a nonresident alien — a contractor abroad, a foreign freelancer who flies in for a project, or an employee working in the United States on a visa — the IRS treats you as the withholding agent. That is a formal role with formal duties: determine the payee's status, collect the right form before the first payment, withhold at the right rate, deposit the tax, and file the right returns. If you skip any of it, the tax you failed to withhold can come out of your pocket, plus penalties and interest.
The good news is that the rules follow a clear logic. This guide walks through it from the payer's side: who counts as a nonresident alien, why the location of the work matters more than the location of the worker, how contractors differ from employees, and the paperwork that keeps you safe.
Who Counts as a Nonresident Alien?
For tax purposes, an alien is anyone who is not a U.S. citizen or U.S. national. A nonresident alien is an alien who has not passed either of the two residency tests:
- The green card test. The person held lawful permanent resident status at any point during the year.
- The substantial presence test. The person was physically present in the United States long enough under a weighted three-year day-count formula to be treated as a resident.
Fail both tests and the person is a nonresident alien for that tax year. Pass either one and they are generally taxed like a U.S. person, which puts this entire guide aside — you would treat them like any domestic payee.
Three practical notes for payers. First, visa status is not the same as tax status: someone can live and work in the United States for months on certain visas and still be a nonresident alien for tax purposes. Second, status can change from year to year as day counts accumulate, so a contractor who was clearly foreign last year may not be this year. Third, you are not expected to administer the substantial presence test yourself — you are expected to ask for documentation and keep it on file, which is where the W-8 series of forms comes in later.
The Rule That Surprises Everyone: Where the Work Happens Decides Everything
Here is the single most important concept in this guide. For personal services — the work your contractors and employees do — the source of the income is where the services are performed, not where the worker lives, not where your company is, and not where the money is wired from.
That one rule produces two opposite outcomes, and getting them confused is the most common small-business mistake in this area:
- Work performed entirely outside the United States is foreign-source income. It is generally not subject to U.S. tax, U.S. withholding, or U.S. information reporting at all. Your Toronto contractor doing everything from Toronto: no withholding, no 1099, no 1042-S.
- Work performed inside the United States is U.S.-source income. It is subject to U.S. tax rules even if the worker lives abroad, gets paid abroad, and spends only a few days on U.S. soil. That same contractor flying to Chicago for a two-week on-site engagement has U.S.-source compensation for those two weeks.
Work split across both sides of the border gets apportioned, typically by days worked in each place. Keep a simple log of work locations for every foreign payee — dates and cities — because that log is what justifies your withholding decisions if the IRS ever asks.
Paying a Foreign Contractor for Work Done in the United States
When a nonresident alien contractor performs services on U.S. soil, you are squarely in withholding-agent territory. Here is the sequence.
Withhold 30 percent unless a treaty says otherwise
U.S.-source compensation paid to a nonresident alien contractor is generally subject to 30 percent withholding, taken from the payment before it goes out. A lower rate — sometimes zero — may apply if the worker's country of residence has an income tax treaty with the United States covering that type of income. The United States maintains treaties with more than 60 countries, and the terms vary widely: some treaties exempt independent personal services entirely below a dollar threshold or day count, others only reduce the rate, and some do not cover the income at all.
Treaty benefits are never automatic. You may grant a reduced rate only when the payee gives you valid documentation claiming it, and — with narrow exceptions — only when that documentation includes the payee's U.S. taxpayer identification number. A treaty claim without a TIN on file gets no treaty rate. Withhold the full 30 percent until the paperwork is right.
Report on Form 1042-S, not Form 1099-NEC
This is the error the IRS sees constantly: a business sends a Form 1099-NEC to a foreign contractor the same way it does for domestic freelancers. Do not do that. Payments to nonresident aliens are reported on Form 1042-S, Foreign Person's U.S. Source Income Subject to Withholding, one copy filed with the IRS and one furnished to the payee, with Form 1042 filed as the accompanying annual return. Both are generally due March 15 following the calendar year. Mark that date now — it arrives a full month before the individual return deadline and sneaks up on first-time filers.
Collect Form W-8BEN before the first payment
Before you pay a foreign individual, collect a signed Form W-8BEN, Certificate of Foreign Status of Beneficial Owner. It establishes that the payee is foreign, identifies their country of residence, and — in Part II — claims any treaty benefit. If the contractor works through a foreign entity rather than as an individual, the equivalent form is Form W-8BEN-E.
If the contractor claims a treaty exemption specifically on compensation for personal services, they may instead give you Form 8233, Exemption From Withholding on Compensation for Independent (and Certain Dependent) Personal Services. Your job as withholding agent is to review it: if the facts look wrong or the eligibility looks doubtful, you must notify the IRS and start withholding. Accepting a facially valid form in good faith protects you; rubber-stamping one you should have questioned does not.
Understand what is at stake if you skip all this
The withholding agent is personally responsible to the IRS for tax that should have been withheld. That means if you paid a foreign contractor $50,000 for U.S.-based work and withheld nothing, the IRS can assess the $15,000 against you, then add failure-to-deposit penalties, information-return penalties for the missing 1042-S, and interest. You cannot fix it retroactively by asking the contractor to send the money back. Collect the forms first, withhold correctly, and the liability never attaches to you.
Paying a Foreign Contractor Who Works Entirely Abroad
Now the easier case — and the more common one for small businesses hiring remote help. When a nonresident alien performs all services outside the United States, the compensation is foreign-source, and you generally have no withholding obligation and no IRS reporting obligation. No 30 percent, no 1042-S, no 1099 of any kind.
But "no filing" does not mean "no paperwork." Protect yourself with two habits:
- Still collect a Form W-8BEN. It is your proof that you verified foreign status instead of assuming it. If the IRS ever questions why you reported nothing, a signed W-8BEN plus your work-location log ends the conversation. Without them, you are arguing from memory.
- Reconfirm status periodically. People's circumstances change — they move, they spend months visiting the United States, they form U.S. entities. A W-8BEN generally remains valid through the end of the third calendar year after signing, so build renewal into your vendor-review cycle.
One caution: the "wholly abroad" rule covers compensation for services. Other payment types follow different sourcing rules — U.S.-source royalties, dividends, interest, and rents paid to foreign persons generally do face 30 percent withholding even when the recipient never sets foot in the country. If your foreign payments go beyond contractor invoices, check the sourcing rule for each income type rather than assuming the services rule covers everything.
Hiring a Nonresident Alien as an Employee
Employees are a different track from contractors, and the rules split depending on where the employee works and whether a treaty applies.
Wages for work in the United States
Wages paid to a nonresident alien employee for services performed in the United States are taxable compensation reported on Form W-2, just like domestic wages — with two important twists at withholding time.
First, the employee must complete Form W-4 using the special instructions in IRS Notice 1392, not the standard W-4 instructions. The key differences: the employee checks Single regardless of actual marital status, writes "Nonresident Alien" or "NRA" below Step 4(c), and cannot claim the child tax credit or credit for other dependents.
Second, nonresident aliens generally cannot claim the standard deduction, but the standard withholding tables assume everyone can. To compensate, the employer adds an extra amount to the employee's wages before running the withholding calculation, using the per-pay-period figures published in Publication 15-T. Skip that add-back and you will systematically under-withhold on every NRA paycheck — a quiet error that compounds all year.
Treaty-exempt wages
Some treaties exempt certain wages from U.S. tax — commonly for students, trainees, teachers, and researchers from the treaty country, within dollar and time limits. An employee claiming such an exemption gives you Form 8233 instead of relying on the W-4 alone, and you report the exempt wages on Form 1042-S rather than Form W-2. Wages above the treaty's exempt amount go back on the W-2 track with normal NRA withholding.
A note on Social Security and Medicare taxes
Income tax withholding is only half the payroll picture. As a general rule, wages paid to nonresident alien employees in the United States are subject to Social Security and Medicare taxes under the same rules as anyone else. The major exception covers students, scholars, trainees, teachers, and researchers on F, J, M, or Q visas, who are generally exempt from those taxes during the calendar years they remain nonresident aliens. Confirm the visa category and residency status before applying the exemption — it expires as soon as the person becomes a resident alien under the substantial presence test.
Tax Treaties: The Discount You Must Claim Correctly
Treaties are where payers leave money on the table or create exposure, depending on which direction they err. A few principles keep you on solid ground:
- Look up the actual treaty article. Treaty benefits are specific to the income type and often carry day-count, dollar-cap, or purpose conditions. The IRS publishes summarized treaty tables, but the treaty text controls. Do not assume that because one country's treaty exempts consulting fees, a neighboring country's does too.
- Require the TIN. As noted above, you generally cannot grant a treaty-reduced rate to an individual payee whose documentation lacks a U.S. taxpayer identification number. Tell foreign payees early that they need an SSN or ITIN to receive treaty benefits — ITIN applications take weeks, and the full 30 percent applies in the meantime.
- Match the form to the claim. Treaty claims on personal-services compensation generally run through Form 8233; treaty claims on other income types (royalties, dividends, scholarships) run through the W-8BEN. Using the wrong form is the same as using no form.
- Watch for limits that expire mid-year. Many personal-services treaty exemptions cap out at a dollar amount or a number of days. When the cap is hit, withholding starts on the very next dollar — your payroll or AP process needs to track cumulative treaty-exempt payments per payee, not just flip a one-time switch.
Your Before-First-Payment Checklist
Turn the rules above into a repeatable routine. Before any new foreign payee's first payment clears, you should be able to answer yes to each of these:
- Do I know where the work will be performed? U.S. soil means withholding and reporting; entirely abroad generally means neither — documented either way.
- Have I collected the right form? W-9 for U.S. persons, W-8BEN for foreign individuals, W-8BEN-E for foreign entities, Form 8233 for treaty-exempt personal services.
- Is the form complete and signed, with a TIN if a treaty benefit is claimed? An incomplete form grants nothing.
- Have I applied the correct rate? Full 30 percent by default on U.S.-source payments; reduced only with valid treaty documentation.
- Do I know my deposit and filing obligations? Withheld tax is deposited electronically, and Forms 1042 and 1042-S are generally due March 15.
- Is everything filed where I can find it in three years? Forms, work-location logs, and payment records stay with the vendor or employee record.
Common Mistakes That Cost Real Money
Auditors and practitioners see the same failures repeatedly. Check yourself against this list:
- Sending a 1099-NEC to a foreign contractor. It signals to the IRS that you never determined the payee's status. Foreign payees get 1042-S or nothing at all — never a 1099.
- Withholding on fully remote foreign work. Unnecessary 30 percent withholding angers good contractors and creates refund paperwork for everyone. Verify the work location before you withhold.
- Withholding nothing on U.S.-performed work. The mirror image, and far more expensive, because the liability lands on you.
- Granting a treaty rate without a TIN. The documentation rule is explicit: no TIN on the treaty claim generally means no treaty rate.
- Forgetting the NRA add-back on employee wages. Without the Publication 15-T additional amount, every NRA paycheck under-withholds.
- Treating the contractor-versus-employee question as a withholding shortcut. Worker classification follows the same common-law rules regardless of nationality. Calling someone a contractor does not make them one, and misclassification carries its own penalties on top of any withholding failures.
Keep Your Cross-Border Payments Organized From Day One
Cross-border payments punish sloppy recordkeeping more than almost anything else in a small business: the forms expire, the treaty caps accumulate silently, and the March 15 filing deadline arrives while you are still closing the prior year. The fix is structural — give every foreign payee a complete vendor record holding their signed W-8BEN or 8233, a work-location log, and a running total of treaty-exempt payments, and reconcile your 1042-S filings back to those records before anything goes to the IRS.
Maintaining that kind of transparent, auditable trail is exactly what plain-text accounting is built for. Beancount.io gives you version-controlled books where every withholding entry, every foreign vendor balance, and every filing reconciliation is visible and reviewable — no black boxes when the IRS asks questions. Get started for free and bring your cross-border payments under the same clear ledger as everything else.





