Skip to content
Back to guides

Updated

Qualified Medical Treatment Days: The Presence Test's Narrow Medical Exception

A hospital stay on the mainland does not have to break your Puerto Rico day count. The presence test counts days of qualifying medical treatment as presence days, but the rule is narrower than most people assume: physician supervised, inpatient, overnight. Here is what qualifies, who the accompanying rule covers, and the six records the IRS expects within 30 days of asking.


A hospital stay on the mainland feels like it should cost you presence days. Often it doesn't. The presence test carves out days of qualifying medical treatment: spend them in a stateside hospital under the right conditions and they still count as days in Puerto Rico. The carve out is real, it sits inside the same regulation as the 183 day rule, and it is narrower than most people assume. This guide covers what qualifies, who the accompanying rule reaches, what never counts, the documentation file the IRS expects, and how these days feed your annual count.

What makes a medical absence qualify

The rule comes from IRS Publication 570 and the regulation behind it, 26 CFR 1.937-1. Both define qualifying medical treatment the same way: medical treatment provided by, or under the supervision of, a physician for an illness, injury, impairment, or physical or mental condition.

Two patterns of care are covered:

  1. Any period of inpatient care in a hospital or hospice, plus any period immediately before or after that inpatient care to the extent it is medically necessary.
  2. Any temporary period of inpatient care in a residential medical care facility for medically necessary rehabilitation services.

The bright line: inpatient means overnight

One sentence in the regulation settles most arguments. Under 1.937-1(c)(4)(ii), inpatient care means care requiring an overnight stay in a hospital, hospice, or residential medical care facility. No overnight stay, no qualifying treatment, no presence day.

The "immediately before or after" language matters too. A medically necessary day of pre surgical testing before an admission, or a monitored recovery period right after discharge, can ride along with the inpatient stay. What ties them together must be medical necessity, documented by the treating physician. Convenience doesn't count.

The accompanying rule: whose treatment counts

You don't have to be the patient. Under 1.937-1(c)(3)(i)(B), a day also counts when you are outside Puerto Rico to accompany, on a full time basis, a parent, spouse, or child who is receiving qualifying medical treatment. The child definition follows section 152(f)(1), which includes adopted children, stepchildren, and eligible foster children.

Read the list closely, because it is short. Siblings aren't on it. Neither are grandparents, grandchildren, or in laws. If you spend a week in Florida while your brother has surgery, those days are ordinary absence days, whatever the emotional reality.

The phrase "on a full time basis" is doing real work too. The rule contemplates presence at and around the treatment itself. A trip that mixes two hospital days with a week of errands and visits is not a full time accompaniment, and counting all seven days would be hard to defend. Where your facts sit near the edge, consult your advisor before you count the days.

What does not qualify

Most medical travel falls outside the exception:

  • Outpatient appointments, including specialist consultations, imaging, and second opinions with no overnight admission.
  • Same day procedures, however serious, where you are discharged that evening.
  • Elective wellness travel, checkups, and preventive screenings.
  • Telehealth from a mainland location. You are simply outside Puerto Rico that day.

Recovery time at a relative's house after discharge is a common gray zone. The regulation covers periods immediately after inpatient care only to the extent they are medically necessary. A physician documented recovery requirement is one thing; a comfortable week with family is another. Genuinely unsettled situations deserve professional judgment, not optimistic counting. Consult your advisor.

The documentation file the IRS expects

The medical exception is one of the few places where the regulation spells out an exact evidence list. Under 1.937-1(c)(4)(iii), you must prepare or obtain, and maintain, six things:

  1. The patient's name and, if you were accompanying, the patient's relationship to you.
  2. The name and address of the hospital, hospice, or residential medical care facility.
  3. The name, address, and telephone number of the physician who provided or supervised the treatment.
  4. The dates the treatment was provided.
  5. Receipts of payment.
  6. A signed certification from the providing or supervising physician stating the patient's name, a description of the treatment, the dates, and the medical facts supporting necessity.

You must be able to produce this file within 30 days of a request from the IRS or the Puerto Rico tax authority. Thirty days is a short window to reconstruct a hospitalization from two years ago. Build the file while the treatment is happening instead: ask for the physician certification before discharge, keep the receipts together, and label the days in your calendar as you go. One83 approaches this the same way, turning your calendar into a day by day presence ledger so an off island medical day carries its label and dates from the start. Pair the ledger with the six records above and the file is ready before anyone asks. For the broader evidence picture, see documenting presence for an audit.

How medical days fit into the presence test

Qualifying medical days count as days of presence in Puerto Rico. That feeds directly into the five ways to satisfy the presence test under Publication 570:

  • At least 183 days of presence in Puerto Rico during the tax year.
  • At least 549 days over the current and two preceding tax years, with at least 60 days in each of those years.
  • No more than 90 days of presence in the United States during the tax year.
  • U.S. earned income of $3,000 or less, with more days present in Puerto Rico than in the United States.
  • No significant connection to the United States during the tax year.

A ten day qualifying hospitalization in Miami therefore does double duty: it adds ten days to your Puerto Rico count and keeps those days out of trouble on the 90 day U.S. limit path. The general counting rules, including travel day treatment, are covered in what counts as a day in Puerto Rico.

One timing note for movers: in a year your bona fide residency begins or ends, and your worldwide gross income exceeds $75,000, you must also file Form 8898 by your Form 1040 due date. The penalty for failing to file is $1,000 absent reasonable cause.

Frequently Asked Questions

Do days spent off island for medical treatment count toward the Puerto Rico presence test?

Yes, when the treatment qualifies. Days outside Puerto Rico count as presence days when you are receiving qualifying medical treatment, or accompanying a parent, spouse, or child who is receiving it on a full time basis. The treatment must be physician provided or supervised and involve inpatient care requiring an overnight stay, per Publication 570 and 26 CFR 1.937-1.

Does an outpatient doctor visit on the mainland qualify?

No. The regulation defines inpatient care as care requiring an overnight stay in a hospital, hospice, or residential medical care facility. A same day appointment, however serious, leaves that day an ordinary absence day.

Can I count days when I accompany a family member for treatment?

Yes, for a parent, spouse, or child as defined in section 152(f)(1), and only when you accompany them on a full time basis while they receive qualifying medical treatment. Siblings and other relatives are not covered.

What records do I need to keep for medical treatment days?

Six things: the patient's name and relationship to you, the facility's name and address, the physician's name, address, and phone number, the treatment dates, payment receipts, and a signed physician certification of the medical facts. You must be able to produce them within 30 days of an IRS request.

The bottom line

The medical exception is real, but it is a scalpel, not a wide door: physician supervised, inpatient, overnight, documented. Treat every off island treatment day as a small evidence project. Get the certification before you fly home, keep the six records together, and let your day ledger carry the labels. The habit that wins an audit is the file you built at the time, not the one you reconstruct later.

One83 is a tracking tool, not tax advice. Consult a licensed tax professional about your situation.

One83 is a tracking tool, not tax advice. Confirm your position with a qualified adviser.

Back to guides