Exempt · Medical · Military

Medical, Exempt & Military Days: Official Rules by Jurisdiction

The medical day exception tax residency rule, exempt-individual days, and military days each cut your taxable count under the IRS SPT, US states, and UK SRT.

10 min read

Most day-count rules let you subtract days you were stuck somewhere for a medical emergency, days you held a specific exempt status, and, for the military, days served on active duty under orders. Under the US Substantial Presence Test, days you couldn't leave because of a medical condition that arose while in the US don't count, and certain people (students, diplomats, some teachers) are "exempt individuals" whose days never count at all. The exact mechanics differ by jurisdiction, so the rule that saves you depends on which clock you're trying to beat.

These exceptions matter because residency usually turns on a hard day threshold, 183 weighted days for the IRS, a fixed count in most US states, day bands in the UK Statutory Residence Test. A handful of subtracted days can be the difference between resident and nonresident. Below is how the three big categories, medical, exempt-status, and military, actually work, jurisdiction by jurisdiction.

The IRS medical condition exception

Under the SPT, you do not count any day you intended to leave the United States but could not because of a medical condition that arose while you were here. The key word is arose: the condition has to develop during your US stay. If you flew in specifically for treatment of a pre-existing problem, those days generally still count.

  • The condition must have begun while you were present in the US, not before you arrived.
  • You must have intended to leave on a normal schedule and been physically unable to.
  • Days are excluded only for the period you genuinely couldn't travel, once you're cleared to fly, the clock restarts.
  • You claim the exclusion on Form 8843, attaching a physician's statement describing the condition and the dates.

Elective procedures and chronic conditions you traveled to the US to treat do not qualify. Neither does a problem that simply makes travel inconvenient, the standard is that you were medically unable to leave.

The medical exclusion stacks with the SPT's other carve-outs: days you commute from Canada or Mexico for work, days in transit between two foreign points (under 24 hours), and days as a crew member of a foreign vessel. Run the remaining days through the SPT calculator to see whether the subtractions drop you under 183 weighted days.

Exempt-individual days (the bigger lever)

"Exempt individual" is the most powerful US carve-out and the most misunderstood. It does not mean exempt from tax, it means your days don't count toward the SPT at all, so you file as a nonresident. Four groups qualify, each with its own clock:

StatusWhoHow long days are exempt
F, J, M, Q studentStudents on these visasFirst 5 calendar years (cumulative, not consecutive)
J / Q teacher or traineeTeachers, researchers, traineesGenerally 2 of the prior 6 calendar years
Foreign government / diplomatA-visa and G-visa holders, plus householdWhile in qualifying status
Professional athleteCompeting in a charitable sports eventDays of the event only

Each exempt status has conditions, the teacher rule, for example, looks back over the prior six years and can be lost if you've been a student or teacher too recently. You report exempt status on Form 8843 even in years you have no US income. For the full student timeline, see our walkthrough of the F-1 to OPT to H-1B transition.

Track exempt years explicitly. The day your exemption ends, typically year six as a student, your SPT clock starts at that year's day one. A clean record of which years were exempt keeps the count defensible if you're ever asked.

Military days: federal and state

Active-duty service members get protections that civilians don't, but they live mostly at the state level, not the federal SPT. The federal residency tests still apply to where in the world you're taxed; the military rules govern which US state can tax a service member who's stationed away from home.

Under the Servicemembers Civil Relief Act (SCRA), a service member doesn't lose or change their state of legal residence (domicile) just because military orders move them to another state. Days spent in a duty station under orders generally don't make that state your domicile. The Military Spouses Residency Relief Act extends similar protection to spouses, who can typically keep the service member's domicile for tax purposes.

  • Federal SPT: US active-duty days are normal US days, there is no military exclusion from the substantial presence count itself.
  • State domicile: orders-driven presence in a new state generally doesn't create domicile there under SCRA.
  • Statutory residency: some states still apply a day-count "statutory resident" test; check whether military days are carved out before assuming you're safe.
  • Spouses: can usually elect to match the service member's domicile, keeping a single home state for both.

If you're a service member juggling a home state like Florida with a duty station elsewhere, the practical task is proving your days abroad or out-of-state were under orders, which is exactly the kind of contemporaneous record an automatic day counter is built to keep.

How US states treat medical and exempt days

States that use a 183-day statutory-residency test don't all follow the IRS playbook on medical days, the rules are state-specific and often stricter. New York is the most cited example: it counts any part of a day you're physically present as a full day, with a narrow exception for days you were in the state solely to receive medical treatment for yourself or a family member in a hospital or similar facility.

That carve-out is deliberately tight. A day you were in New York for treatment but also stopped by the office, or stayed at your apartment rather than the hospital, can fail the test. Other states have their own day-counting quirks, some count midnights, some count any presence, so a medical day that's excluded in one state may be fully counted in another. When a state line is close, check the specific rule, not the federal one.

State statutory-residency tests run parallel to domicile. Even if a state can't claim you as a domiciliary, spending too many counted days there can still make you a statutory resident, which is why subtracting valid medical days can matter just as much at the state level as it does federally.

The UK and other day-count systems

Outside the US, the closest analogue is the UK's exceptional circumstances rule. Under the Statutory Residence Test, you can disregard days you were in the UK at the end of the day because of circumstances beyond your control, serious illness, a sudden family emergency, or events like a national emergency that prevented you from leaving. The relief is capped at 60 days per tax year, and HMRC applies it narrowly: you must have intended to leave and been genuinely prevented.

  • UK SRT: up to 60 disregarded days a year for exceptional circumstances; run the rest through the 183-day calculator.
  • Schengen: the 90/180 rule has no medical exclusion, an overstay is an overstay, so use the Schengen calculator to stay clear.
  • Many other countries: apply a flat 183-day test with no medical carve-out at all, meaning a hospital stay still counts as presence.

The takeaway across every system: exceptions exist, but they're specific and evidence-driven. Keep dated records and supporting documents, a physician's letter, deployment orders, proof you were prevented from leaving, and apply the right jurisdiction's rule rather than assuming the IRS version travels. Tax Days lets you flag exempt, medical, and orders days so your defensible count is the one that shows up when the threshold gets close.

FAQ

Frequently asked questions

Do hospital days count toward the Substantial Presence Test?

Not if the medical condition arose while you were already in the US and prevented you from leaving as planned. You exclude those days on Form 8843 with a physician's statement. Days you traveled to the US specifically to get treatment generally do count.

What is the medical condition exception for the SPT?

It lets you subtract US days where you intended to leave but couldn't because of a medical condition that began during your stay. The condition must have arisen while present, and you must have genuinely been unable to travel. Elective and pre-existing conditions don't qualify.

Does active-duty military change my state residency?

Generally no. Under the Servicemembers Civil Relief Act, orders that move you to another state don't change your legal domicile. Your home state stays your home state, and spouses can usually elect to match it. The duty-station state typically can't claim you as a domiciliary just for being stationed there.

Are military days exempt from the federal day count?

No. There is no military exclusion from the Substantial Presence Test itself, US days are US days. The military protections operate at the state level, governing which state can treat you as a resident, not the federal count.

Does the UK have a medical day exception?

Yes, under the Statutory Residence Test's exceptional circumstances rule. You can disregard up to 60 days a year where events beyond your control, including serious illness, kept you in the UK against your intention to leave. HMRC applies it narrowly. See taxdaysresidencytracker.com/tools/183-day-calculator.

Who counts as an exempt individual for US tax purposes?

Generally F/J/M/Q students (first five calendar years), J/Q teachers and trainees (about two of the prior six years), foreign government and diplomatic personnel, and athletes competing in a charitable event. Their days don't count toward the SPT, and they report status on Form 8843.

Sources & further reading

Every rule on this page is drawn from primary sources. Verify the current law before making a residency decision.

  1. [1]Substantial Presence TestIRS
  2. [2]Exempt Individual, Who Is a Student or Teacher/TraineeIRS
  3. [3]Form 8843, Statement for Exempt IndividualsIRS
  4. [4]Publication 519, U.S. Tax Guide for AliensIRS
  5. [5]New York income-tax residencyNY Dept. of Taxation & Finance
  6. [6]RDR3: Statutory Residence Test guidanceHMRC