Tax Residency

IRS Form 8840 and the Closer-Connection Exception: Day-Counting Notes

Form 8840 is not a Substantial Presence Test calculator. It is the IRS statement used to claim the closer-connection exception when the facts support it.

Sarah

UK Statutory Residence Correspondent

July 24, 20266 min read
International travellers waiting with luggage in a spacious modern airport immigration queue.

Checked against IRS sources on July 24, 2026.

IRS Form 8840 is not a Substantial Presence Test calculator.

It is the form the IRS describes for claiming the closer-connection exception when someone meets the Substantial Presence Test but may still be treated as a nonresident for U.S. tax purposes because the required facts support that exception.

Short answer: first get the day count right, then let a qualified tax professional evaluate whether Form 8840 and the closer-connection exception fit your facts.

Jetseen helps you track days. Always consult a qualified tax, legal, or immigration professional for advice specific to your situation.

What is Form 8840?

The IRS About Form 8840 page describes Form 8840 as the closer connection exception statement for aliens.

In practical terms, Form 8840 is connected to a narrow question:

QuestionWhat it asks
Did the person meet the Substantial Presence Test?The weighted IRS day-count formula
Can the closer-connection exception still apply?A separate IRS exception with its own conditions
How is the exception claimed?IRS says Form 8840 must be filed to claim it

Filing the form is not the same as qualifying for the exception.

How does the Substantial Presence Test work?

The IRS says the Substantial Presence Test is met when both of these are true:

  1. You were physically present in the United States for at least 31 days in the current year.
  2. Your weighted total is 183 days or more over the current year and the two prior years.

The weighted formula counts:

YearWeight
Current yearAll U.S. days
Prior yearOne-third of U.S. days
Second prior yearOne-sixth of U.S. days

The IRS also says a day generally counts when you are physically present in the United States at any time during the day, subject to listed exceptions.

That any-part-of-day rule is why travel records need exact dates.

Where does the closer-connection exception fit?

The closer-connection exception comes after the day-count question.

The IRS closer-connection page says a person who meets the Substantial Presence Test may still be treated as a nonresident for U.S. tax purposes if the exception conditions are met.

The IRS closer-connection page identifies four source-backed conditions:

IRS closer-connection conditionWhy it matters for records
Less than 183 days present in the United States during the yearThis is a current-year physical day count
A closer connection to a foreign country than to the United StatesThis is a facts-and-circumstances review
A foreign tax home during the entire yearThis needs professional analysis
No steps toward lawful permanent resident statusThe guide uses only this IRS-backed wording

Do not use this guide to decide that you qualify. Use it to understand which day records a tax review may need.

Why less than 183 current-year days matters

The Substantial Presence Test can be met with fewer than 183 actual U.S. days in the current year because prior-year days carry into the weighted formula.

The closer-connection exception has a separate current-year condition. The IRS closer-connection page says the person must be present in the United States for less than 183 days during the year.

Those are different numbers:

NumberWhat it means
183 weighted daysThe Substantial Presence Test formula threshold
Less than 183 current-year U.S. daysOne IRS closer-connection condition

That distinction is where bad spreadsheets create risk. A weighted count and an actual current-year count answer different questions.

Does Form 8840 guarantee nonresident treatment?

No.

IRS source material does not support that claim.

IRS source material says Form 8840 is used to claim the closer-connection exception. It does not say that filing the form guarantees the result.

Avoid three shortcuts:

  • "I filed Form 8840, so I am automatically a nonresident."
  • "I had fewer than 183 current-year days, so I automatically qualify."
  • "My weighted SPT result does not matter because I have a foreign address."

The tax question depends on the IRS conditions and your facts.

Why timing matters

The IRS closer-connection page says Form 8840 must be filed to claim the exception.

IRS wording also says late filing generally prevents claiming the exception unless clear and convincing evidence shows reasonable actions to know and comply with filing requirements.

That makes recordkeeping and timing part of the risk picture.

Keep:

  • actual U.S. entry and exit dates
  • current-year physical presence count
  • weighted SPT count
  • possible excluded-day records, if relevant
  • foreign tax-home records for advisor review
  • Form 8840 filing-status notes from your tax professional

This guide does not provide filing instructions.

What should you track before tax review?

Use a record that separates the calculation from the exception.

RecordWhy it matters
Current-year U.S. daysNeeded for the 31-day minimum and the less-than-183 condition
Prior-year U.S. daysNeeded for the weighted 183-day SPT formula
Partial daysIRS says any part of a day generally counts, subject to exceptions
Excluded-day notesSome days may be excluded only under IRS rules
Foreign tax-home notesNeeded for advisor review of closer-connection facts
Filing deadline notesForm 8840 has filing consequences

Do not rebuild the story months later from bank statements and calendar guesses if you can avoid it.

Where Jetseen fits

Jetseen includes a built-in U.S. Substantial Presence Test tracker as one of its 13 rule types. It helps users track U.S. days, notes, alerts, documents, trip simulation, and CSV exports.

A practical Form 8840 review setup:

  • track U.S. days for the current year
  • keep prior-year U.S. days visible for the weighted formula
  • add notes for days you plan to ask a tax professional about
  • attach travel records and advisor notes
  • export CSV records before tax review
  • keep the Form 8840 question separate from the day-count calculation

Jetseen does not determine Form 8840 eligibility, file IRS forms, give tax advice, replace an advisor, or guarantee nonresident status.

If the closer-connection exception is part of your U.S. tax review, Try Jetseen Free for 14 Days and keep the day-count record clean before the tax analysis starts.

Jetseen helps you track days. Always consult a qualified tax, legal, or immigration professional for advice specific to your situation.

Sources

Disclaimer: This article is for informational purposes only and does not constitute legal or tax advice. Tax residency rules change frequently. Consult a qualified tax professional for advice specific to your situation.