Closer Connection Exception to Substantial Presence Test (2026)
If you pass the Substantial Presence Test but maintain a closer connection to a foreign country, you may be able to remain a nonresident alien for tax purposes. This guide explains the closer connection exception, eligibility rules, and how to file Form 8840.
What Is the Closer Connection Exception?
The closer connection exception is a provision under IRC Section 7701(b)(3)(B) that allows certain individuals to maintain nonresident alien status even if they pass the Substantial Presence Test. The exception recognizes that some people may be physically present in the U.S. for enough days to meet the SPT threshold but still consider another country their true home.
By filing Form 8840 (Closer Connection Exception Statement), you can document your ties to a foreign country and avoid being classified as a U.S. tax resident. This means you continue to file Form 1040-NR and report only U.S.-source income.
This exception is separate from the tax treaty tie-breaker rule, which serves a similar purpose but operates under different legal authority and has different requirements.
Eligibility: Who Can Claim the Exception
To claim the closer connection exception, you must meet all of the following requirements:
- You were present in the United States for fewer than 183 days during the current calendar year.
- You maintained a tax home in a foreign country during the year.
- You had a closer connection to the foreign country where your tax home is located than to the United States.
- You have not applied for or taken steps to change your status to permanent resident (green card applicant).
The 183-day limit is for the current year only and is a strict threshold. If you were present 183 or more days in the current year, you cannot claim this exception regardless of your connections abroad.
Factors the IRS Uses to Determine Closer Connection
The IRS evaluates the totality of your circumstances to determine whether you have a closer connection to a foreign country. Key factors include:
- Location of your permanent home: Where do you maintain a home that is available to you year-round?
- Family connections: Where does your spouse and/or children live?
- Personal belongings: Where do you keep furniture, clothing, jewelry, and other personal items?
- Social connections: Where are your professional, religious, and social organizations?
- Bank accounts: Where are your primary bank accounts and financial relationships?
- Driver's license: Where were you issued a driver's license?
- Voting: Where are you registered to vote?
- Country of residence designated on forms: What country do you list as your residence on official documents?
No single factor is decisive. The IRS looks at the overall picture. If most factors point to the foreign country, you have a strong case for the closer connection exception.
Filing Form 8840: Step-by-Step Instructions
Form 8840 is the form you file to claim the closer connection exception. Here is how to complete it:
- Part I — General Information: Enter your name, address, SSN or ITIN, country of citizenship, visa type, and the number of days you were present in the U.S. during the current and prior two years.
- Part II — Closer Connection to a Foreign Country: Identify the foreign country to which you claim a closer connection. Provide the address of your tax home in that country and answer questions about your ties (family, belongings, bank accounts, etc.).
- Part III — Closer Connection to Two Foreign Countries: If you claim a closer connection to two different foreign countries during the year, complete this section. This is uncommon.
- Signature: Sign and date the form under penalties of perjury.
Form 8840 must be attached to your income tax return (Form 1040-NR) and filed by the return due date, including extensions.
Closer Connection vs Tax Treaty Tie-Breaker
Both the closer connection exception and the tax treaty tie-breaker can result in nonresident treatment, but they operate differently:
- Closer connection exception (Form 8840): Statutory provision under IRC 7701(b). Requires fewer than 183 days in the current year. Does not require a tax treaty.
- Tax treaty tie-breaker (Form 8833): Based on a bilateral tax treaty. May apply even if you were present 183+ days. Requires your treaty country to have a tie-breaker provision. Often results in being treated as a nonresident for the entire year.
If you qualify for both, the treaty tie-breaker is generally more powerful because it does not have the 183-day current-year limitation. However, the closer connection exception is available to nationals of countries that do not have a tax treaty with the United States.
Consequences of Not Filing Form 8840
If you pass the Substantial Presence Test and do not file Form 8840 to claim the closer connection exception, the IRS will consider you a resident alien for that year. The consequences include:
- You must report worldwide income — all bank interest, rental income, capital gains, and other income from your home country.
- You must file FBAR and FATCA reports for foreign financial accounts above the reporting thresholds.
- You may owe U.S. tax on income that was previously not subject to U.S. taxation.
- You lose the ability to claim the closer connection exception for that year — it cannot be filed retroactively (except in very limited circumstances).
If you believe you qualify for the closer connection exception, it is essential to file Form 8840 on time. The cost of filing the form is minimal compared to the tax consequences of being classified as a resident alien.
Frequently Asked Questions
Skip the complexity. We handle all of this for you.
H1B TaxFile supports every form in this guide — FATCA, PFIC, FTC, RSU basis correction, and 22 more H-1B-specific features. Flat price, no surprises.
H1B TaxFile Team
Written by the H1B TaxFile editorial team — tax professionals and software engineers who specialize in U.S. federal tax filing for H-1B visa holders, F-1 students, and nonresident aliens.
Reviewed by a licensed CPA with international tax experience.
Disclaimer: This guide is for educational purposes only and does not constitute tax or legal advice. Tax laws are complex and change frequently. Consult a qualified tax professional for advice specific to your situation.