A foreign client or bank is withholding a big chunk of tax from money they owe you, and they will only stop if you prove you are a U.S. resident. That proof does not come from your tax return.
It comes from IRS Form 8802, the Application for United States Residency Certification. Unlike most tax forms, filing Form 8802 does not report income; it proves where you live for tax. You file this form with the IRS to request Form 6166, an official letter that certifies your US residency so foreign payers will honor the lower withholding rates in a tax treaty. Get it right and you can shrink or even eliminate foreign withholding on your income. Get it wrong, or file too late, and the treaty benefits sit out of reach while your money stays stuck abroad. This guide walks through what Form 8802 does, what Form 6166 is, who needs it, and how to file without tripping over the fee or the timing.
The two forms work as a pair.
Form 8802 is the request you send in, and Form 6166 is the certificate you get back and hand to the foreign payer.
Form 8802 is the application a US taxpayer submits to the IRS to get certified as a resident of the United States for tax purposes.
On its own, the form does nothing abroad. Its entire job is to ask the Internal Revenue Service for that certificate, the document that actually carries weight with a foreign tax authority or payer. Think of Form 8802 as the order form and the certificate as the product. You complete the Form 8802 application, pay a user fee, and submit it, and once the IRS approves, it issues the residency certification you were after, confirming your tax residency and residency status.
This is purely a certification request.
It does not change your tax, lower your bill, or file anything on your behalf. It simply establishes, in the eyes of a treaty partner, that you are a US tax resident.
Form 6166 is a letter printed on US Department of the Treasury stationery stating that you are a resident of the U.S. for income tax purposes. It is a tax residency certificate, a formal certification of residency issued by the IRS.
Foreign countries that have an income tax treaty with the US will not simply take your word that you qualify for treaty benefits. They want the certificate. The US has tax treaties with dozens of countries, and with Form 6166 in hand, a foreign withholding agent can reduce withholding rates under the relevant tax treaty, which sometimes drops the withholding tax all the way to zero. That is real tax relief, one of several tax benefits the certificate unlocks. The point of the whole exercise is to avoid double taxation, so the same income is not fully taxed in two countries at once. One important limit: you cannot use it to prove US tax was paid for a foreign tax credit. That is a different question entirely.
The certificate is what unlocks the treaty.
Without it, the foreign payer defaults to the full statutory rate, and you are left chasing a refund through a foreign tax system instead.
Anyone who wants to claim treaty benefits or a VAT exemption abroad and needs to prove US residency can file.
That includes individuals, corporations, partnerships, trusts, and estates. Businesses apply under their employer identification number, and individuals use their Social Security number, so a taxpayer identification number is required either way. A fiscally transparent entity like a partnership or S corporation files under the entity, but the certification really flows to the owner or beneficiary who claims the treaty benefit, and an entity with no US owners cannot obtain a U.S. certificate at all. The people who ultimately get a U.S. residency certificate are the ones claiming benefits. If a foreign payer has asked you for proof of US residency, you are probably the one who needs to file.
Match the applicant to the income.
Whoever is actually claiming the treaty benefit is generally the party that needs to appear on the residency certification.
Every Form 8802 carries a user fee, and it has to be paid before the IRS will process anything.
The fee is $85 per application for individual applicants and $185 per application for non-individual applicants like corporations, partnerships, and trusts. That single fee covers every year and every country you request on one application, so you are not paying per certificate. You pay through Pay.gov, where you also have to upload your completed Form 8802 as a single PDF file, and the system gives you an electronic confirmation number once the payment goes through. That electronic confirmation number is your proof of payment when the application, a certification of U.S. residency, lands at the IRS.
Pay first, then send the paperwork.
The Pay.gov step validates the fee, but it does not deliver the application itself, so the upload never replaces mailing or faxing the signed form.
Completing Form 8802 means giving the IRS enough to confirm you actually filed as a US resident for the years you want certified.
You can download a blank fillable PDF or, for individuals, complete Form 8802 online through your IRS account. You provide your taxpayer identification number, the type of return from your tax filings, such as a Form 1040 or 1120, and the tax years you need covered. On line 11 you list every foreign country where you are claiming treaty relief, and the IRS prints a separate certificate for each one. You use Form 8802 this way to get a residency certificate for each country at once. Because the agency verifies that you filed the relevant tax return, your previous tax returns need to be on file, or you attach a penalties-of-perjury statement for a current year that is not yet due. Once the form is complete and the fee is paid, you mail or fax the signed application to the IRS certs unit that issues the certification, following the address that matches how you paid.
Accuracy here saves weeks.
A mismatch between the form and what the IRS has on file is the fastest way to get an application kicked back and start the clock over.
This is where most people get burned, because the process is slower than it looks.
You can also check status by phone by selecting the US residency option. The IRS tells you to submit Form 8802 at least 45 days before you need the certificate in hand, and in practice the queue often runs longer, into a couple of months during busy periods. There is also a hard front edge: a request for the current year cannot be postmarked before December 1 of the prior year. So if a foreign payer needs your certificate by spring, you want the application in early, not the week you get the request. In international tax, this federal tax paperwork is one of the few where the IRS issues nothing fast, so early IRS residency certification matters. Filing ahead is the single best thing you can do to keep treaty benefits from slipping.
Treat the 45 days as a floor, not a target.
Building in extra lead time costs nothing and protects you from a tax hit you cannot easily undo.
For a CPA firm with clients earning income across borders, Form 8802 is a small form with outsized consequences when it goes wrong.
Confirming the right applicant, matching the certification years to filed returns, handling the Pay.gov upload, and getting the package in early enough to beat a withholding deadline is detailed, deadline-driven work. At Madras Accountancy, we help US CPA firms manage Form 8802 and the broader tax preparation behind international clients, from confirming residency and filed returns to tracking each application so the certificate arrives before the foreign payer needs it, all backed by clean bookkeeping.
The goal is treaty benefits captured, not lost to a deadline.
Handle the residency certification correctly and a client keeps the reduced rate the treaty promised, instead of watching money disappear into a foreign tax account.
This article is general information, not legal or tax advice, so check the current Form 8802 instructions or a professional for your specific situation.
What is Form 8802 used for? Form 8802, the application for US residency certification, is used to request Form 6166 from the IRS. The certificate confirms that you are a US resident for tax purposes, which you need to claim income tax treaty benefits or a VAT exemption and to reduce foreign withholding.
What is the difference between Form 8802 and Form 6166? Form 8802 is the application you file with the IRS. Form 6166 is the certificate the IRS issues in response. You send in Form 8802 with the user fee, and you receive the letter you give to a foreign payer or tax authority to claim treaty benefits.
How much does Form 8802 cost? The user fee is $85 per application for individuals and $185 per application for non-individuals such as corporations, partnerships, and trusts. One fee covers every tax year and every country requested on the same application, and it is paid through Pay.gov before the IRS processes the request.
How long does Form 8802 take to process? The IRS asks you to apply at least 45 days before you need the certificate, and processing often takes closer to six to ten weeks during busy periods. Filing early is the best way to make sure it arrives before a foreign payer's deadline.
Who can file Form 8802? US residents including individuals, corporations, partnerships, trusts, and estates can file. Fiscally transparent entities apply under their own identification number, though the certification supports the owner or beneficiary claiming the treaty benefit. An entity with no US owners cannot get certified.
Can I request Form 6166 for more than one country? Yes. You list each country on Form 8802, and the IRS prints a separate certificate for each one. A single application and single user fee can cover multiple countries and multiple tax years at once, which is why the fee is charged per application rather than per certificate.
Do I need to have filed a tax return to get Form 6166? Generally yes. The IRS verifies that you filed a return for the certification year, so your previous tax returns should be on file. For a current year whose return is not yet due, you attach a penalties-of-perjury statement confirming your US residency instead.
Can Form 6166 be used to claim a foreign tax credit? No. You cannot use Form 6166 to prove US tax was actually paid, which is what a foreign tax credit claim requires. It only certifies US residency for treaty and VAT purposes. Those are separate matters with separate documentation.

The 2026 1099 reporting threshold changed: 1099-NEC and 1099-MISC now start at $2,000, and 1099-K is back to $20,000. Here is what you must file.

A plain guide to how a 2026 sales tax holiday works, which items are exempt, and the rules on price caps, refunds, and rain checks.

Form 7004 buys a 6-month extension of time to file business returns like 1065, 1120-S and 1120. Deadlines, e-file steps and the payment trap.