This article is provided for general informational and educational purposes only. It is not legal, tax, accounting, immigration, financial, investment, or other professional advice. Laws, rules, and individual circumstances may change. Verify the current requirements with the relevant official authority and consult a qualified professional before making decisions. Reading this article does not create a professional-client relationship.
A US day count can meet the substantial presence test without settling the tax-residency question. For some non-US citizens who spent fewer than 183 actual days in the United States during the calendar year, the IRS offers a closer connection exception. Claiming it requires Form 8840 and evidence of a foreign tax home and stronger ties abroad. The weighted day total alone does not establish eligibility.
Who this question is for
This article concerns the US federal income-tax closer connection exception, as described by the IRS and its current Form 8840 guidance checked on 30 September 2026. It is for a non-US citizen considering whether the substantial presence test would otherwise make them a resident alien for tax purposes. It is separate from visa permission and admission periods. US state tax residency has different day-count rules.
The IRS closer connection guidance sets several conditions together. You must have spent fewer than 183 actual days in the United States in the year, maintained a tax home in a foreign country throughout the year, and had a closer connection to that country than to the United States. There is a specific route for a change of tax home between two foreign countries. A green card or steps toward lawful permanent residence can also rule out this exception. Fewer than 183 actual US days is a gate, not a complete claim.
The two day counts are different
The substantial presence test uses a weighted count covering the current year and the preceding two years. Form 8840's closer connection condition asks a different question: were you physically in the United States for fewer than 183 days in the current calendar year? The IRS form instructions put these tests alongside each other. Meeting the weighted test while staying below the actual-day ceiling can make the exception relevant; crossing the actual-day ceiling makes this particular exception unavailable. Exclusions from the substantial presence count have their own rules, so check the IRS instructions before treating a travel timeline as the final tax count.
For example, a traveller could have a weighted total that meets the substantial presence test while having fewer than 183 actual US days this year. That fact invites a closer connection analysis. It does not prove that the traveller has a qualifying foreign tax home, stronger foreign ties or a timely filing.
A tax home is more than an address
The Form 8840 instructions describe a tax home as generally the area of a main place of business, employment or duty. Where work has no regular base, the place where someone regularly lives may matter. For this exception, the tax home must have existed throughout the year in the foreign country or countries claimed. Merely listing an overseas mailing address does not answer that question.
The IRS looks at the relative strength of contacts. Its closer connection guidance mentions the location of a permanent home, family, belongings, business activities, driving licence and voting, as well as the residence country stated on official forms. No single item is presented as a universal shortcut. Part IV of Form 8840 asks detailed questions about these contacts, including routine banking, documents and income sources. The answers should reflect the actual year, rather than a preferred result.
A move between two foreign countries has a narrower route. The IRS requires a tax home in the first country from the start of the year, a change to the second country, and a tax home there for the rest of the year. The person must have had a closer connection to each country during its respective period and meet the foreign-resident tax condition stated in the IRS guidance. Form 8840 has a separate part for this situation. A sequence of travel stops does not, by itself, satisfy it.
Filing is part of the claim
The IRS says a person claiming this exception must file Form 8840. If filing a US federal income-tax return, the form is attached to that return. If no return is required, the IRS says to send the form to the address in its instructions by the applicable return-filing due date. Check the form edition and its instructions for the tax year concerned, including any applicable extension, instead of assuming one deadline for everyone.
A late or missing form can prevent the exception unless the person meets the IRS's demanding exception for showing reasonable steps to learn and comply with the filing requirement. The IRS explanation describes that evidentiary standard. Eligibility on the facts and the filing step both matter.
The closer connection exception is also distinct from treaty residence claims and from the special rules for some foreign students. The IRS student guidance discusses a separate student exception and Form 8843. A traveller should identify the rule actually relevant to their status before choosing a form.
Keep the dates; check the legal conclusion
A useful preparation record separates actual US days, days used in the weighted substantial presence calculation, and the documents that show where a tax home and personal ties were maintained. Check entry and exit dates against independent travel records and the IRS instructions. Countly can keep an editable, on-device timeline of country stays, making the travel part easier to review. It cannot decide whether your tax home or closer connection meets the IRS test.
Sources checked
Checked 30 September 2026: IRS closer connection exception, IRS substantial presence test, Form 8840 and its instructions, IRS Form 8840 page, and IRS foreign-student guidance.