Sometimes. The IRS says days can be excluded when you intended to leave the United States but could not because of a medical condition or problem that arose while you were there. A pre-existing condition you knew about, a return trip for treatment, or staying beyond a reasonable departure-arrangement period does not fit that exclusion. Source 1
The question is not whether you were ill at some point during the trip. It is which specific planned departure days were blocked and why. Official-source check: September 21, 2026.
The IRS test is tied to intended departure
Publication 519 says not to count the days you intended to leave but could not leave because a medical condition arose while you were in the United States. Whether you intended to leave on a particular day depends on all the facts and circumstances. Source 1
That wording has two dates to reconstruct: when the condition arose and when you planned to leave. A hospital visit alone does not identify which days qualify. Keep the itinerary and any later changes together with the medical evidence.
The IRS lists medical-condition days among the categories excluded from its substantial presence test. For days that do count, the test generally uses at least 31 days in the current year and a weighted 183-day total across three calendar years. Source 2
Which situations the IRS excludes from this exclusion
Publication 519 gives three clear limits. You cannot exclude days under this medical rule when you were initially unable to leave, later became able to leave, but stayed beyond a reasonable period for arranging departure. You cannot exclude days after returning to the United States for treatment of a condition arising on a previous trip. You also cannot exclude days when the condition already existed before arrival and you knew about it, even if you did not need treatment on entry. Source 1
That is narrower than "my doctor advised rest" or "my flight was inconvenient." Do not remove a whole visit from the tracker simply because one part involved treatment.
| Question for the record | Evidence to preserve |
|---|---|
| What date did you plan to leave? | Original ticket, booking, itinerary, or dated correspondence |
| When did the condition arise? | Dated clinical records and appointment notes |
| Which days could you not depart? | Medical advice and changed travel arrangements |
| When could you reasonably leave? | Discharge advice and available departure arrangements |
| Did you know about the condition before entry? | Relevant prior medical and travel records for professional review |
This is a recordkeeping checklist, not a claim that any one document is sufficient proof.
A worked timeline without assuming eligibility
Imagine a traveller planned to leave on October 4. A new medical problem arose during the U.S. stay on October 2, and the traveller could not leave on October 4. The original booking, treatment record, and later departure details are the facts an adviser would need to evaluate. Publication 519 requires attention to intended departure and when the condition arose. Source 1
Now suppose the traveller later became able to fly but remained for an unrelated extension. Publication 519 says days beyond a reasonable period for arranging departure cannot be excluded under this medical rule. The example therefore cannot be answered by simply subtracting every day between October 2 and the final flight. Source 1
The exact qualifying span is a factual and tax question. The app should retain actual physical-presence dates even if an adviser later identifies excluded days for the IRS calculation.
Does a condition that existed before arrival qualify?
The IRS says no when the condition existed before arrival and you were aware of it. It adds that needing no treatment at entry does not change that result. Source 1
The answer may depend on medical facts that a travel tracker cannot establish. Keep the date chronology intact and discuss any borderline case with a qualified U.S. tax professional rather than recoding the trip as absent.
What does Form 8843 do?
The IRS says Form 8843 explains the basis for excluding days when someone could not leave the United States because of a medical condition or problem. Publication 519 says a person claiming this medical exclusion must file a fully completed Form 8843. Source 3 Source 1.
The IRS substantial presence page warns that failing to file Form 8843 on time can prevent excluded-day treatment, subject to its stated clear-and-convincing-evidence exception for reasonable compliance efforts. Source 2
Use the form and instructions for the tax year in question. This article does not give a filing deadline or decide whether a late-filing exception applies.
What should remain in the travel log?
Leave the actual arrival and departure events in your history. Add a separate note marking the dates proposed for exclusion, the reason, the original intended departure, and the documents reviewed. That keeps the factual trip separate from a later legal classification.
Jetseen can help preserve the physical-presence timeline and export it for an accountant. It cannot make the medical determination, prepare Form 8843, or decide tax residence. The broader Form 8843 excluded-days guide explains the form's role, and the U.S. substantial presence calculator shows the ordinary weighted calculation.
Optional GPS-assisted entry is off by default. Jetseen has a 14-day free trial and a $119 one-time lifetime purchase, with no subscription. Source 4
Frequently asked questions
Can I exclude every day from the first medical appointment onward?
No automatic blanket exclusion exists in the cited IRS wording. Publication 519 focuses on the days you intended to leave but could not and limits days after a reasonable departure-arrangement period. Source 1
What if I came to the United States for treatment?
This guide does not treat the visit as excluded. Publication 519 specifically rules out returning for treatment of a condition that arose during a prior U.S. stay and rules out a known pre-arrival condition under this medical exclusion. Source 1
Is a doctor's note enough by itself?
The IRS says intended departure is determined from all the facts and circumstances. Preserve the original itinerary, changed bookings, and dated medical record for an adviser to review. Source 1
Official sources
Jetseen is a recordkeeping and calculation tool, not legal, immigration, medical, or tax advice.
References
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.






