International

Form 8840: Closer Connection Exception Statement for Aliens

Filed by aliens who meet the substantial presence test but have a closer connection to a foreign country and want to be treated as nonresidents for U.S. tax purposes.

Overview

IRS Form 8840, Closer Connection Exception Statement for Aliens, allows certain foreign nationals who technically meet the substantial presence test (SPT) to avoid being classified as U.S. residents for federal income tax purposes. The SPT treats an individual as a U.S. resident if they are present in the United States for at least 31 days during the current year and a weighted total of 183 days over the current and two preceding years. Without relief, such individuals would be taxed on their worldwide income as U.S. residents under IRC § 7701(b).

The closer connection exception, codified in IRC § 7701(b)(3)(B), provides that an alien who otherwise meets the SPT will nonetheless be treated as a nonresident alien if they maintained a tax home in a foreign country during the year and had a closer connection to that foreign country than to the United States. Filing Form 8840 is the mechanism by which a taxpayer formally claims this exception with the IRS, documenting the specific ties — permanent home, family, social, economic, and legal connections — that anchor them to the foreign jurisdiction.

This form is particularly relevant for frequent business travelers, individuals on temporary work assignments, academics, athletes, and others who spend significant time in the U.S. each year without intending to establish U.S. residency. It is worth noting that the closer connection exception is not available to individuals who have applied for, or have a pending application for, lawful permanent resident status (a green card). Additionally, the exception generally cannot reduce U.S.-source days below 183 if the individual was present for 183 or more days in the current year alone. Proper and timely filing is critical; failure to file may result in the IRS treating the individual as a U.S. resident, triggering worldwide income taxation.

Who Files This Form?

Form 8840 must be filed by any alien individual who satisfies the substantial presence test for the calendar year but believes they qualify for the closer connection exception. To meet the SPT, an individual must be present in the United States for at least 31 days during the current calendar year and a combined weighted total of at least 183 days, counting all days in the current year, one-third of days in the immediately preceding year, and one-sixth of days in the second preceding year.

To claim the exception, the taxpayer must establish two things: (1) they maintained a tax home — generally their principal place of business or, if no fixed place of business, their regular place of abode — in a single foreign country during the entire year, and (2) they had a closer connection to that foreign country than to the United States. The IRS considers factors such as location of permanent home, family, personal belongings, social ties, professional affiliations, jurisdiction where the taxpayer pays personal income taxes, and the country of a driver's license and bank accounts.

Important exclusions apply. The closer connection exception is not available to individuals who: (a) were present in the U.S. for 183 or more days in the current calendar year (note: this is current-year days only, not the weighted total); (b) have applied for, taken affirmative steps toward, or have a pending application for adjustment of status to lawful permanent resident; or (c) have been issued an immigrant visa. Individuals who are exempt from counting days — such as those on certain visa categories (F, J, M, Q students and teachers under IRC § 7701(b)(5)) — generally do not need Form 8840, as they may be exempt from the SPT altogether and should consider Form 8843 instead. Dual-status and treaty-position filers should evaluate whether Form 8840 or a treaty tie-breaker claim is the more appropriate path.

Key Fields

Part I – Tax Home Country

The taxpayer identifies the single foreign country where their tax home was located for the entire calendar year. The country must be consistent throughout the year; if the tax home shifted between countries or was in the U.S. at any point, the exception is not available. Dual tax homes or an ambiguous home location commonly trigger IRS scrutiny.

Part I – Days of U.S. Presence (Current and Prior Two Years)

The taxpayer reports actual days of U.S. presence for the current year and the two preceding years to demonstrate they meet the SPT threshold. CPAs should verify whether certain days can be excluded (medical emergencies, transit days, exempt-individual days) before completing this section to avoid overstating presence.

Part II – Closer Connection Factors (Permanent Home)

This section asks where the taxpayer maintained a permanent home — owned or rented — available for their use at all times during the year. A permanent home is a strong indicator of connection; a rented apartment or family home in the foreign country carries significant weight, while lacking any fixed foreign residence weakens the claim considerably.

Part II – Location of Family

The taxpayer indicates where their spouse and minor children (or closest family members if not married) resided during the year. Family location is one of the most heavily weighted factors in determining connection; a spouse and children living in the U.S. with the taxpayer will substantially undermine an otherwise viable closer connection claim.

Part II – Personal Belongings and Automobile

The taxpayer reports where their household goods, personal effects, and automobile are located. These items signal where someone actually lives day-to-day. A taxpayer who ships furniture to the U.S. or registers a car here will struggle to argue closer connection to a foreign country.

Part II – Social, Cultural, Religious, and Professional Organizations

Memberships and participation in organizations — clubs, religious institutions, charities, professional associations — are reported for both the foreign country and the U.S. A robust foreign organizational life alongside minimal U.S. involvement supports the closer connection claim.

Part II – Bank and Business Activity Location

The taxpayer discloses where their banking relationships are maintained and where business activities occur. Holding the primary bank account in the foreign country and conducting business primarily there strengthens the exception. Routing substantial funds through U.S. accounts or maintaining a U.S. business office weakens it.

Part II – Driver's License and Voting Registration

The taxpayer indicates the jurisdiction issuing their driver's license and whether they are registered to vote anywhere. A foreign driver's license and absence of U.S. voter registration are favorable factors; a U.S. driver's license suggests deeper connection to the United States.

Part II – Tax Home in Foreign Country (IRC § 911 Cross-Reference)

The form requires a statement that the taxpayer's tax home was not in the U.S. at any time during the year. This mirrors the 'tax home' concept used in IRC § 911 for the foreign earned income exclusion, and CPAs familiar with that provision will find the analysis analogous. Consistency between any Form 2555 and Form 8840 positions is essential.

Part III – Signature and Penalties of Perjury Declaration

The taxpayer signs under penalty of perjury, certifying the accuracy of all information. If a paid preparer signs, they must also complete their preparer information block. Note that filing this form is an affirmative representation to the IRS, and a false closer connection claim carries both civil penalties and potential criminal exposure.

Filing Deadlines

Due Date

June 15

Late Filing Penalty

Failure to file may result in the taxpayer being treated as a U.S. resident for tax purposes.

Step-by-Step Instructions

  1. 1

    Verify that the taxpayer actually meets the substantial presence test by computing the weighted day count for the current and two preceding years — using only countable days after excluding any days the taxpayer qualifies to exclude (e.g., medical condition days, transit days). If the SPT is not met, Form 8840 is unnecessary.

  2. 2

    Confirm the taxpayer is not disqualified from the closer connection exception: check for pending or approved green card applications, immigrant visas, or current-year presence of 183 days or more. If any disqualifier applies, evaluate treaty tie-breaker positions under a tax treaty instead.

  3. 3

    Identify the single foreign country where the taxpayer maintained their tax home for the entire calendar year. Document this with supporting evidence such as foreign lease agreements, utility bills, employment contracts, and foreign tax filings, as the IRS may request substantiation.

  4. 4

    Gather evidence of closer connection factors for Part II: permanent home location, family domicile, location of personal belongings and vehicles, bank and financial account locations, driver's license jurisdiction, social and professional organization memberships, and the country where the taxpayer files and pays personal income taxes.

  5. 5

    Complete Part I of Form 8840, entering the tax home country, the taxpayer's U.S. days of presence for the current year and the two prior years, and confirming the taxpayer does not fall into any disqualifying category.

  6. 6

    Complete Part II by answering each closer connection factor. For each factor, select the correct country or indicate U.S./foreign/both as applicable. Where a factor points toward the U.S., note it accurately — the IRS evaluates the totality of the facts, and a single unfavorable factor is not necessarily fatal if the overall picture is clearly foreign.

  7. 7

    Review the completed form against any positions taken on related filings — particularly Form 1040-NR, Form 8843, or any Form 2555 — to ensure internal consistency. Inconsistencies across filings are a common audit trigger for international clients.

  8. 8

    File Form 8840 by the applicable deadline. For most taxpayers, this is June 15 of the year following the tax year (the automatic extension date for U.S. nonresident returns). If the taxpayer files a Form 1040-NR with an extension to October 15, attach Form 8840 to that return. The form can also be filed as a standalone document sent to the IRS address specified in the Form 8840 instructions.

  9. 9

    Retain a copy of the filed Form 8840 and all supporting documentation for at least six years, as the IRS may audit the taxpayer's residency status in later years, particularly if the taxpayer later applies for a visa or green card.

Common Mistakes to Avoid

Filing Form 8840 when the taxpayer was present in the U.S. for 183 or more actual days in the current year, which is a hard disqualifier for the closer connection exception.

Track current-year U.S. presence separately from the weighted SPT count; if current-year days reach or exceed 183, pivot immediately to a treaty tie-breaker analysis rather than filing Form 8840.

Omitting Form 8840 entirely because the taxpayer (or preparer) mistakenly believes the taxpayer's visa category exempts them from the SPT, when in fact their visa no longer provides an exemption.

Verify the taxpayer's current visa status each year; certain visa categories (e.g., former F or J students who have transitioned to H-1B) lose their exempt-individual status, triggering the need to count days and potentially file Form 8840.

Claiming a closer connection to two different foreign countries in the same year, which the IRS does not allow — the exception requires a single foreign country as the tax home.

If the taxpayer split time between two foreign countries, determine which country was the dominant tax home based on objective factors and file accordingly, noting the other country only where the form specifically provides for it.

Filing Form 8840 late or not at all because the taxpayer assumed it was optional, then being assessed U.S. worldwide income tax as a deemed resident for that year.

Treat Form 8840 as a mandatory protective filing whenever the SPT is met; calendar the June 15 deadline prominently and obtain all necessary information from the client well in advance of year-end.

Providing answers on Form 8840 that are inconsistent with positions taken on the taxpayer's foreign country tax return or their Form 1040-NR, creating conflicting representations to tax authorities.

Coordinate the Form 8840 preparation with the foreign country return and any U.S. nonresident return; document the tie-breaker reasoning in the file so all positions are defensible under a single factual narrative.

Failing to account for the closer connection exception when a green card application is already pending, which automatically disqualifies the taxpayer from using Form 8840.

Ask clients annually whether they or their employer have initiated any immigration proceedings; if a green card application is pending, consult an international tax attorney about treaty positions or other residency planning strategies.

Frequently Asked Questions

Form 8840 is generally due by June 15 of the year following the tax year in question, which is the automatic extended due date for nonresident alien returns. If the taxpayer obtains a further extension to file their Form 1040-NR, Form 8840 should be attached to that return by the extended October 15 deadline. Filing late — or not at all — can result in the IRS treating the taxpayer as a U.S. resident for that year, with potentially significant tax consequences.

Related Forms

TaxScout.ai extracts Form 8840 automatically

AI-powered extraction with 5-layer validation. No manual data entry.