Tax Residency & Personal Status

What is Closer Connection Test?

A US tax rule that lets you avoid being a US resident under the Substantial Presence Test if you can prove a closer connection to a foreign tax home for the year.

Last updated
Updated May 9, 2026
Reading time
2 min read

The Closer Connection Test is the escape hatch from the Substantial Presence Test. If you tripped the day count but kept your real life in another country, the IRS will accept that you stay a non-resident alien for the year — provided you file the right form on time.

How it works

Three conditions must all be true for the calendar year:

  1. Fewer than 183 days of US presence in the current year (so the weighted formula alone tripped you, not the headline 183).
  2. A tax home in a foreign country for the entire year — generally where your regular or principal place of business sits, or, if you have no fixed business, where you maintain a regular abode.
  3. A closer connection to that foreign country than to the United States.

The IRS evaluates "closer connection" against a list of specific facts: location of your permanent home, where your family lives, where personal belongings (cars, furniture, jewellery, clothing) are kept, where banks and brokerage accounts are held, voter registration, social/political/religious/cultural ties, business activities outside US tasks, the country issuing your driver's licence, and the residency you claim on official forms (visa applications, lease contracts). No single factor is decisive — they look at the cluster.

You claim the position by filing Form 8840 ("Closer Connection Exception Statement for Aliens"). For non-residents with no US wages subject to withholding, the form is filed standalone or attached to Form 1040-NR by the due date — generally June 15 of the year following the tax year, with extensions available. Miss the deadline and the position is forfeited; the IRS treats you as a resident for the year.

Who can't use it

Two categories are blocked from the closer-connection escape:

  • Green card holders (lawful permanent residents) — they are US tax residents from issuance until the green card is formally relinquished, regardless of presence.
  • Anyone with a pending application for lawful permanent resident status during the year, or who has taken affirmative steps to apply for adjustment of status.

You also can't use it if you spent 183 or more actual days in the US in the current year — at that point, only a treaty tie-breaker can save you, not Form 8840.

Common mistakes

  • Filing late or not at all. Form 8840 is not optional or retroactive. An audit notice the following year is too late if June 15 passed without the form.
  • Maintaining a US residence year-round. Keeping a Manhattan apartment available even when unused weakens the closer-connection claim. The IRS reads availability of a US home as a tie.
  • Mixing it up with treaty residency. If you are a tax resident under a US treaty (Canadian, French, German, etc.), Form 8833 and the treaty tie-breaker are usually the cleaner play — different criteria, different outcomes than Form 8840.
  • Ignoring state tax. California and New York run their own residency tests independent of the federal closer-connection test. You can clear the IRS hurdle and still owe state income tax on the same days.

Frequently asked questions

How do I claim the Closer Connection Test?

By filing IRS Form 8840 with your 1040-NR for the relevant tax year, before the deadline.

Can I claim it if I have a US green card?

No — green card holders are US residents from day one and the Closer Connection Test is unavailable.

Ready to act on Closer Connection Test?

IRS Tax Filing

Professional U.S. tax return preparation and filing for individuals and LLCs.

Get started with IRS Tax Filing