On Form 1042-S, the recipient’s country code is a two-letter code from the IRS list at IRS.gov/CountryCodes, and it goes in Box 13b.1Internal Revenue Service. Instructions for Form 1042-S (2026) The code must match the country of tax residency the recipient certified on their Form W-8. Get it wrong and you can invalidate a treaty rate, take on liability for the tax shortfall under IRC Section 1461, and face per-form information return penalties.
Where to Find the Official List
The IRS publishes a dedicated country code document listing every recognized country and territory with its two-letter code. The same list is used across other IRS international forms, including Forms 926, 1118, 3520, and 8805.2Internal Revenue Service. Country Codes for Form 1042-S You can pull it up at IRS.gov/CountryCodes or through the Instructions for Form 1042-S.
Some codes are what you’d expect: CA for Canada, GB for the United Kingdom, JP for Japan. Others surprise people. U.S. territories such as American Samoa (AQ) and Guam (GQ) each have their own code and appear as separate jurisdictions on the list, not folded under a “United States” entry.2Internal Revenue Service. Country Codes for Form 1042-S If you’re paying a recipient who resides in a U.S. territory, use the territory’s specific code.
Which Box the Country Code Goes In
Form 1042-S has three country code fields, and mixing them up is one of the most common filing errors.
- Box 12f is the withholding agent’s country code (that’s you, the payer).
- Box 13b is the recipient’s country code (the foreign person receiving the income).
- Box 15f is the intermediary or flow-through entity’s country code, when one sits in the payment chain.
Box 13b is the field the IRS uses to verify whether a claimed treaty rate lines up with a valid treaty partner.1Internal Revenue Service. Instructions for Form 1042-S (2026) An older version of the form put the recipient’s country code in a different spot, so if you’re working from a prior-year template or old reference materials, verify against the current form layout before you file.
Matching Box 13b to the W-8 on File
The country code in Box 13b must match the country of residence the recipient claimed on their Form W-8. Individuals certify residency on Form W-8BEN; entities use Form W-8BEN-E.3Internal Revenue Service. About Form W-8 BEN You don’t decide the country independently. You take it from the valid W-8 in your records.
For entities, the code should reflect the jurisdiction under whose laws the entity claims treaty benefits. Usually that’s the country of incorporation or organization, but not always. Some entities are treated as tax residents of a different country under that country’s domestic law, and the W-8BEN-E captures the distinction. Your code follows whatever the entity certified.
A mismatch between the W-8 and Box 13b creates real problems. If the recipient certified Germany on their W-8BEN but you enter France on the 1042-S, the IRS’s automated matching system will flag it. Even if the withholding itself was correct, an inconsistent filing can trigger inquiries and force an amendment. If the mismatch suggests you applied a treaty rate without proper documentation, you can be held personally liable under IRC Section 1461 for the tax you should have withheld.4Office of the Law Revision Counsel. 26 U.S. Code 1461 – Liability for Withheld Tax
Using the OC Code, and When to Leave Box 13b Blank
Two situations fall outside the standard code list.
Enter “OC” (Other Country) if the recipient’s country of residence doesn’t appear on the IRS list. Use “OC” as well when the payment goes to an international organization such as the United Nations.1Internal Revenue Service. Instructions for Form 1042-S (2026) “OC” should be rare in practice. The IRS list covers essentially every sovereign nation and territory, so a jurisdiction that isn’t on it is unusual.
If you cannot determine the recipient’s country of residence at all, leave Box 13b blank. The instructions are explicit: don’t fabricate a code to fill the field.2Internal Revenue Service. Country Codes for Form 1042-S A blank Box 13b signals to the IRS that you lacked sufficient documentation, which almost always means you don’t have a valid W-8 on file. Without that documentation you cannot apply any treaty-reduced rate, and the default 30% statutory rate applies to the full payment.5Internal Revenue Service. Tax Withholding Types The IRS reads a blank country code as a red flag for failed due diligence.
How the Country Code Drives Treaty Rates
Box 13b is the starting point for every treaty claim on Form 1042-S. The United States has income tax treaties with dozens of countries, and each treaty sets its own reduced withholding rates by income category.6Internal Revenue Service. Tax Treaty Tables If the country code in Box 13b doesn’t correspond to a treaty partner, no reduced rate is justifiable regardless of what the recipient wrote on the W-8.
The code has to be internally consistent with other fields on the form. Box 1 identifies the income type using a numeric income code (dividends, interest, royalties, and so on). Boxes 3a and 4a hold the exemption code explaining why a reduced rate applies. Code 04, for example, indicates the rate is reduced under a tax treaty. Boxes 3b and 4b show the applicable tax rate. Box 7a shows the federal tax actually withheld, and it must be completed even when the amount is zero.1Internal Revenue Service. Instructions for Form 1042-S (2026) Enter a country code for a nation with no U.S. treaty while also entering an exemption code claiming treaty benefits, and the matching system will catch it.
Treaty rates commonly range from 0% to 15% depending on the income type and the specific treaty. Some modern treaties fully exempt certain categories such as interest or royalties. The default without a treaty is 30% of the gross payment.7Internal Revenue Service. Fixed, Determinable, Annual, or Periodical (FDAP) Income Before applying any reduced rate, confirm the specific treaty article that supports it. The IRS treaty tables cross-reference income codes with treaty rates by country, which is the fastest way to check you’re pairing the right rate with the right income type.6Internal Revenue Service. Tax Treaty Tables
Fixing an Incorrect Country Code
If you find a wrong country code after filing, submit an amended Form 1042-S. The steps are the same whether you filed on paper or electronically.1Internal Revenue Service. Instructions for Form 1042-S (2026)
- Check the “Amended” box at the top of the form and enter the amendment number. Use “1” for the first correction, “2” for the second, and so on.
- Enter all correct information, not just the changed fields. That means the recipient’s name, address, income amounts, all codes, and the corrected country code.
- Use the same unique form identifier as the original filing so the IRS can match the amendment to the original.
- File the amended form with the IRS and furnish a corrected copy to the recipient. If you send a corrected copy to the recipient, you must also file the amended form with the IRS.
For paper amendments, include Form 1042-T as the transmittal. Do not include Form 1042-T when you file the amendment electronically.8Internal Revenue Service. Discussion of Form 1042, Form 1042-S and Form 1042-T
One quirk: if you already gave copies to the recipient but haven’t yet filed with the IRS, and you catch an error, don’t check the “Amended” box. File the original with the correct information. The “Amended” designation is only for forms that have already been submitted to the IRS.1Internal Revenue Service. Instructions for Form 1042-S (2026)
Penalties for a Wrong Country Code
A wrong country code counts as an incorrect information return, and the per-form penalty escalates the longer the error stands. For returns due in calendar year 2026:9Internal Revenue Service. 20.1.7 Information Return Penalties
- Corrected within 30 days of the due date: $60 per form.
- Corrected after 30 days but on or before August 1: $130 per form.
- Corrected after August 1 or not corrected at all: $340 per form.
If the IRS determines you intentionally disregarded the filing requirements, the penalty jumps significantly and carries no maximum cap.10Internal Revenue Service. Penalties Related to Form 1042-S Separate penalties apply for failing to furnish correct statements to recipients on time.
Penalties can be waived for reasonable cause. You’ll need to show you acted responsibly before and after the failure: that you tried to prevent the problem, requested extensions where appropriate, and corrected the error as quickly as possible. The IRS also weighs mitigating factors such as first-time filer status, overall compliance history, and circumstances beyond your control.11Internal Revenue Service. Penalty Relief for Reasonable Cause Catching a country code error inside the first 30-day window is the cheapest outcome and the strongest evidence of good faith if the IRS questions the filing.