Compliance
6 min read
Country of Tax Residence: What It Means for Form 8802
Written by
Form8802.com Team
Published on
4 May 2026
A country of tax residence is generally a country whose tax laws treat a person or entity as a resident for income tax purposes. For Form 8802, the relevant question is whether the IRS can certify that the applicant was a resident of the United States for federal tax purposes during the requested certification year.
Tax residence is not necessarily the same as citizenship, immigration status, physical location, mailing address, or the foreign country where Form 6166 will be used.
An applicant may be treated as a tax resident of more than one country under each country’s internal laws. When that occurs, an income tax treaty may use residence tie-breaker rules to determine which country treats the applicant as its resident for treaty purposes.
What Does Country of Tax Residence Mean?
Your country of tax residence is generally the country that treats you as a resident under its tax laws. A tax resident is usually subject to that country’s resident-tax rules, which may include taxation or reporting based on worldwide income.
The answer may depend on factors such as:
- Citizenship
- Lawful permanent residence
- Physical presence
- Permanent home or habitual abode
- Tax-return filing position
- Entity organization or ownership
- An applicable income tax treaty
Someone can live in one country, remain a citizen of another, and still have a different result for tax-residency or treaty purposes.
When Is the United States Your Country of Tax Residence?
For an individual, the United States may be the country of tax residence when the person is:
- A U.S. citizen
- A lawful permanent resident who meets the green card test
- A noncitizen who meets the substantial presence test
- An individual who makes a valid election to be treated as a U.S. resident
Meeting one of these domestic tax classifications does not automatically resolve every Form 8802 request. The IRS must still determine whether its records and the applicable treaty support certification for the requested year and foreign country.
A broader overview of applicant categories is available in who is eligible for a U.S. tax residency certificate.
Is Tax Residence the Same as Citizenship?
No. Citizenship and tax residence are related but different concepts.
A U.S. citizen may remain subject to U.S. federal income tax rules while living abroad. However, a U.S. citizen residing outside the United States may need to provide additional information with Form 8802, particularly when the person also claims residence in the foreign treaty country or filed Form 2555.
A person who is not a U.S. citizen may still be a U.S. resident for tax purposes by meeting the green card test, substantial presence test, or an applicable residency election.
How Does the Substantial Presence Test Work?
A noncitizen may be treated as a U.S. resident for tax purposes under the substantial presence test.
The general test requires physical presence in the United States for:
- At least 31 days during the current calendar year; and
- At least 183 weighted days during the current year and the two preceding years
The calculation counts all qualifying days in the current year, one-third of qualifying days in the preceding year, and one-sixth of qualifying days in the second preceding year.
Certain days may be excluded, including some days associated with exempt visa categories. A person who meets the numerical test may also be treated as a nonresident if a closer-connection exception or treaty position applies.
What If You Are a Tax Resident of Two Countries?
A person may be considered a resident under both U.S. law and the internal law of another country. This is commonly called dual residence.
The applicable income tax treaty may contain tie-breaker rules based on factors such as:
- Permanent home
- Center of vital interests
- Habitual abode
- Nationality
- An agreement between the two tax authorities
A dual resident who claims treaty residence in the foreign country rather than the United States is generally not eligible for Form 6166 for that period.
A dual resident claiming U.S. treaty residence may need to submit evidence establishing that result under the residence article of the applicable treaty.
Can a U.S. Citizen or Green Card Holder Living Abroad Qualify?
Possibly, but living abroad can create additional documentation requirements.
The Form 8802 instructions identify special rules for U.S. citizens and green card holders who reside outside the United States, including applicants who filed Form 2555. The applicant may need to explain why certification as a U.S. treaty resident remains appropriate.
Under some treaties, citizenship or green card status alone may not establish eligibility when the applicant lacks a substantial presence, permanent home, or habitual abode in the United States.
The result depends on the applicant’s facts and the treaty with the country for which certification is requested.
How Do Tax Returns Affect Form 8802 Eligibility?
The IRS generally issues Form 6166 when it can verify one of the following:
- The applicant filed the appropriate U.S. income tax return for the relevant period
- For a certification year whose return is not yet due, the applicant filed the most recent return that was required
- The applicant was not required to file a return and provides the required supporting documentation
Filing a U.S. return does not by itself guarantee certification. The type of return and the residency position reported must support the request.
An applicant who was not required to file may need proof of income and a written explanation of why no return was required. See Form 8802 required documents.
Who May Not Qualify for Form 6166?
The IRS generally will not issue Form 6166 when:
- A required U.S. return was not filed
- The applicant filed as a nonresident, including on Form 1040-NR
- A dual resident claims treaty residence in the other treaty country
- A U.S.-organized fiscally transparent entity has no qualifying U.S. partners, beneficiaries, or owners
- The information on Form 8802 conflicts with the IRS’s records or supporting documents
These and other issues are discussed in why Form 8802 gets rejected or delayed.
Are Partnerships and S Corporations U.S. Tax Residents?
Domestic partnerships and S corporations are generally not treated as U.S. residents under the residence articles of U.S. income tax treaties.
Treaty benefits generally depend on whether the partners or shareholders receiving the income are themselves qualifying U.S. residents. A Form 6166 issued in connection with a partnership or S corporation may identify the qualifying partners or shareholders.
S corporations also have specific shareholder-information and authorization requirements. See Form 8802 for an S corporation for the rules that apply to these requests.
Trusts and disregarded entities also have special rules. Certification may depend on the residence of the owner, grantor, beneficiary, or other person treated as earning the relevant income.
Which Country Is Entered on Form 8802?
The country entered in the certification-request section of Form 8802 is the foreign country for which Form 6166 is requested.
That is not necessarily a statement that the applicant is a tax resident of that foreign country. Form 8802 is asking the IRS to certify U.S. residency so that the certificate can be presented in the listed foreign country.
For example, an applicant requesting Form 6166 for use in Germany lists Germany as the destination country while asking the IRS to certify residency in the United States.
Summary
Country of tax residence generally means the country that treats a person or entity as a resident under its tax laws. For Form 8802, the IRS must be able to verify that the applicant qualifies as a U.S. resident for the requested certification period and purpose.
Citizenship, green card status, physical presence, tax filings, entity classification, foreign residence, and treaty tie-breaker rules can all affect the result.
Applicants ready to proceed may prepare Form 8802 online using a guided workflow. Form8802.com does not determine treaty eligibility or provide legal or tax advice.