Bounded

How do I get a US tax residency certificate (Form 6166)?

The Bounded TeamTax · United StatesOctober 2026

Short answer: You apply on Form 8802, Application for United States Residency Certification, and the IRS issues Form 6166 — a letter on Treasury letterhead certifying that you were a US resident for tax purposes in the year requested. Individuals pay a $105 user fee per application (for applications postmarked on or after 1 October 2026; it was $85 before) through Pay.gov or by cheque, then mail or fax the form to the IRS Philadelphia residency certification unit, or file it through the IRS online form. Allow at least 45 days; requests for the coming year cannot be postmarked before 1 December.

Two forms, one certificate

People search for "US tax residency certificate", but the IRS uses two numbers. Form 8802 is the application you fill in. Form 6166 is the certificate you receive: a computer-generated letter on US Department of the Treasury letterhead, signed in facsimile by the Field Director of the Philadelphia Accounts Management Center, stating that you (or your company) are a resident of the United States for federal income tax purposes for the year named. It is the US version of the tax residency certificate every treaty partner issues.

You request certificates by calendar year and by country, and say how many you need for each. The certification period is generally one year, so a new year means a new application.

When you need Form 6166

  • Treaty benefits. Many US treaty partners require the IRS to certify that the person claiming treaty benefits is a US resident. You send Form 6166 to the foreign withholding agent: some countries then withhold at the reduced treaty rate when paying, others withhold at their full rate and refund the excess once they have proof of US residence.
  • VAT exemption. Form 6166 can also serve as proof of US tax residence when claiming an exemption from a foreign country's VAT. It certifies only your US federal income tax status, not that you meet the other conditions for the exemption.

It cannot be used to prove that US tax was paid when claiming a foreign tax credit.

Who can request US tax residency certification

The IRS issues Form 6166 when it can verify that, for the year requested, you were subject to US tax as a resident — by citizenship, green card, or the Substantial Presence Test — and filed the return that status required. In practice that means:

  • US citizens and green-card holders who filed Form 1040 for the year.
  • Resident aliens who met the Substantial Presence Test and filed Form 1040 as residents.
  • For a year whose return is not yet due, anyone in these groups who filed the most recent return that was due.
  • Individuals with income below the filing threshold, provided they attach proof of income and a statement explaining why no return was required (under penalties of perjury if a US citizen).

You are not eligible for the year if:

  • You did not file a required US return.
  • You filed as a nonresident — Form 1040-NR or a US territory return.
  • You are a dual resident who has used, or intends to use, a treaty tie-breaker to be treated as a resident of the other country. You cannot claim to be a nonresident of the US for the treaty and a resident of the US for the certificate in the same year.
  • You were a dual-status alien (resident for part of the year, nonresident for the rest). You can still apply, but instead of the calendar year you enter the exact start and end dates of your US residency period for each year.

Living abroad? A US citizen or green-card holder who filed Form 2555 (the foreign earned income exclusion) for the year, a dual resident, or a bona fide resident of a US territory must attach a statement and documentation explaining why they should be certified. Under many US treaties, citizens and green-card holders without a substantial presence, permanent home or habitual abode in the United States are not entitled to treaty benefits, and a dual resident may be refused unless they show they are a US resident under the treaty tie-breaker. Check the specific treaty before applying.

How to apply, step by step

  1. 1Download the current Form 8802 and instructions from the IRS. Check the revision date printed on the form; the instructions are revised periodically and the fee, addresses and fax numbers live there.
  2. 2Pay the user fee. For applications postmarked on or after 1 October 2026, individuals pay $105 per Form 8802, regardless of how many countries or years the application covers, and non-individual applicants pay $230 (previously $85 and $185). The fee is generally non-refundable. Pay on Pay.gov (search 'IRS Certs') — since 29 September 2024 you must upload a PDF of your completed Form 8802 when paying, for reconciliation only — or enclose a cheque or money order.
  3. 3Complete the form: your name and TIN as they appear on your return, the tax year(s) and the country(ies) certification is for, the number of certificates you want for each country (line 11), and the applicant type (line 4a for individuals — US citizen, green-card holder, or resident under the Substantial Presence Test). Dual-status aliens enter their residency dates instead of the calendar year on line 7.
  4. 4For the current calendar year, or any year whose return is not yet due, add the penalties-of-perjury statement from Table 2 of the instructions on line 10 — you declare that you are a US resident and will remain one for the rest of the year.
  5. 5Submit. If you paid electronically, write the Pay.gov confirmation number on page 1 and mail the form to Department of the Treasury, Internal Revenue Service, Philadelphia, PA 19255-0625, or fax it (up to 10 forms, 100 pages) to 877-824-9110 (US only) or 304-707-9792. If you enclosed a cheque, mail everything to Internal Revenue Service, US Residency Certification, Philadelphia, PA 19255-0625.
  6. 6Wait. The IRS asks for at least 45 days before you need the certificate and will contact you after 30 days if there is a delay; the public status page only shows which month's receipts are being processed. Applications for a coming year postmarked before 1 December of the current year are returned unprocessed.

Since 28 September 2025 individual applicants (not businesses) can also use the IRS mobile-friendly version of Form 8802, signed through an IRS Online Account. The fee, eligibility rules and 45-day guidance are the same.

Information and tax periods to prepare

  • Which year.

    Ask the foreign payer which year they need certified: the current year (perjury statement required) or a past year. You can request the current year and any number of prior years on one form.
  • How many copies.

    One per payer or per treaty country, plus a spare — the IRS charges per application, not per certificate.
  • Your filed return.

    If the IRS has not yet posted your return when it handles Form 8802, it will ask you for a signed copy of your most recent return. If you filed recently, enclosing a copy marked "COPY — do not process" can speed things up.
  • Third-party appointee.

    If an accountant or the foreign payer is to receive the certificate, attach Form 2848 or Form 8821.

Residence and travel records behind the application

For a citizen or green-card holder, residence follows from status and the IRS checks the return, not your travel. For a resident alien under the Substantial Presence Test, the certificate rests on a day count: the year you are certifying must be one in which you met the weighted 183-day test and filed as a resident. If a foreign tax authority later disputes the certificate — arguing you were resident there under its rules — the question becomes where you actually were, day by day, and which country's tie-breaker applies.

Keep the day log for the certified year with the certificate: entry and exit dates, and the running weighted total. The Substantial Presence Test calculator produces that total from your US trip dates, and an exported travel report gives you the dated evidence a foreign authority may ask for.

Common mistakes

  • Applying before the return is filed. For a past year, the return for that year must be filed; for the current year, you need the most recent return that was due plus the current-year perjury statement.
  • Paying on Pay.gov without uploading the form, or uploading it and never mailing or faxing it. The upload validates the payment; it is not the submission.
  • Requesting a treaty position both ways. If you have used, or intend to use, a treaty tie-breaker to be treated as a resident of the other country, you cannot get Form 6166 for that year.
  • Postmarking a next-year request before 1 December. It comes back unprocessed and you lose the weeks.
  • Asking for too few copies. The fee is per application, not per certificate, so request enough certificates for every payer and country on the first application rather than paying another fee later.
US Substantial Presence Test CalculatorThe IRS weighted day count — current year plus ⅓ and ⅙ of the two before.
The full ruleUnited States — Substantial Presence Test

Related questions

This rule is tracked automaticallyinBounded

  • Automatically tracks your days for this rule
  • Shows your weighted day count against the 183-day line
  • Records border-crossing days in both countries
  • Runs alongside your other visa, tax, and residency rules
Get the app

Sources

Spot a mistake or an outdated rule on this page?

For information only. This page is a plain-English summary of publicly available rules, not tax, legal, or immigration advice. Rules change and depend on your personal circumstances — always confirm with the official source above and a qualified professional before acting.