- The IRS does not create a special deduction just because treatment is across a state line. Transportation must be primarily for and essential to medical care.
- Qualifying lodging is limited to $50 for each night for each person, and meals are excluded. The facility and trip must satisfy additional conditions.
- The 7.5% of AGI floor and the choice between itemizing and the standard deduction determine whether qualifying costs change your federal deduction.
Short answer: Transportation to out-of-state care may count if the trip is primarily for and essential to medical care. Lodging has separate requirements and a $50 cap per eligible person per night. The expenses can increase your federal itemized deductions only after qualifying medical costs exceed 7.5% of adjusted gross income.
An out-of-state specialist can mean airfare, hotel nights, rental cars, tolls, and a family member’s help. The confusing part is that “I traveled for treatment” is not a complete tax test. Federal law distinguishes transportation from lodging, gives each different conditions, and then applies an income floor before any qualifying expense can increase an itemized deduction.
This guide covers the federal medical expense deduction under Internal Revenue Code §213. It generally applies to eligible costs you pay for yourself, a spouse, or a qualifying dependent. Check Publication 502 for whose expenses you may include. Your tax year’s IRS publication and facts control.
Which trips qualify as medical travel?
Publication 502 allows transportation amounts paid primarily for and essential to medical care. It describes travel to another city when the trip is primarily for and essential to receiving medical services. The IRS excludes trips for personal reasons, a change of environment, or general health improvement. A doctor's recommendation does not change that rule. IRS Publication 502.
That means an appointment in a different state is not automatically deductible, and an appointment in your own state is not automatically disqualified. The purpose, necessity, and records matter. If you choose a distant provider for personal reasons and happen to receive care, the “primarily and essential” test can be difficult. Do not build a deduction around a vacation itinerary with a medical appointment added.
Which costs may count
Which costs go into the estimate
- What to enter
- Eligible miles in each half of 2026
- What to enter
- Eligible amounts you paid
- What to enter
- Eligible amounts, counted once
- What to enter
- Amount left after nightly caps
- What to enter
- Leave out
Getting to care
Potential transportation expenses include bus, taxi, train, or plane fares; ambulance service; and a car used for medical transportation. For your own car, Publication 502 permits either eligible out-of-pocket operating costs such as gas and oil, or the optional medical mileage rate. You can add parking and tolls under either method. Do not add depreciation, insurance, general repairs, or ordinary maintenance to actual car costs under this rule.
Use 20.5 cents per mile from January through June 2026 and 23.5 cents per mile from July through December. IRS standard mileage rates. Use the rate tied to when the miles were incurred. Keep a log with date, starting point, destination, medical purpose, and miles. Add parking and toll receipts separately. A mileage estimate is not a tax deduction unless the underlying trip qualifies.
A parent’s transportation to accompany a child who needs care may count. So may transportation for a person who must accompany a patient who cannot travel alone, if that person provides required treatment. Publication 502 also has a narrow rule for regular visits to a mentally ill dependent when a doctor recommends those visits as part of treatment. These are fact-specific rules; a companion’s ordinary convenience is not enough by itself.
The mode of travel does not change the underlying test. An airfare receipt proves what you paid, not why the trip was primarily taken. For a car, log the medically related portion of the route. Exclude any miles added for personal errands or vacation detours. For public transportation or air travel, keep the itinerary and a record of the appointment or treatment dates. If another person accompanies the patient, record why the patient could not travel alone and what treatment the companion provided.
Do not assume that the longest or most expensive route is automatically necessary just because it reaches a specialist. The federal question is whether the transportation was primarily for and essential to medical care, based on the actual facts. A referral or appointment record can support the purpose, while a personal stop or independent vacation plan can complicate it. Publication 502 does not turn a tax deduction into medical advice about which provider you should choose. Keep the clinical decision and the tax documentation distinct.
Staying near treatment
Lodging away from home has extra restrictions. It must be primarily for and essential to medical care. A doctor must provide care in a licensed hospital or a facility related to or equivalent to one. The lodging cannot be lavish or extravagant under the circumstances, and the trip cannot contain a significant element of personal pleasure, recreation, or vacation.
The cap is $50 per night for each person. If a patient and one companion both qualify, the ceiling can be $100 per night. If the room costs $230, the amount you can count is limited to $50 per qualifying person. Meals are excluded. A rented apartment, family member’s home, or treatment at a freestanding clinic may raise questions about whether the specific lodging and facility meet the rule. Confirm the facts instead of assuming every hotel near a doctor qualifies.
The facility and the reason for staying should be documented separately. Save the provider’s name and location, the treatment schedule, and whatever information supports that the facility is a licensed hospital or a related/equivalent medical-care facility. Then record why the overnight stay was essential. For example, note the timing of early appointments or follow-up care. A hotel’s proximity to a medical center alone does not show either condition. A free stay with relatives has no lodging cost to deduct.
For a multi-night stay, count nights tied to the care and the eligible people rather than multiplying the hotel bill by the number of travelers. Suppose the patient qualifies for five nights and a companion qualifies for three. The ceiling is $250 for the patient plus $150 for the companion. Apply each night's cap to that night's actual qualifying charge before adding the amounts. If a family uses one room, the cap is still per person, not per room and not a way to deduct meals. Keep the hotel folio and mark which nights relate to care. An extra night added for sightseeing does not become medical lodging because it is on the same reservation.
What does not qualify as lodging under this rule
The $50 allowance is not a general travel stipend. An optional hotel stay for a checkup does not meet the essential-care requirement. Leave out meals and extra vacation nights. If you combine treatment with recreation, separate the days and costs carefully; a significant personal element can undermine lodging treatment.
The 7.5% floor changes the payoff
Even qualifying medical expenses do not generally produce a deduction dollar for dollar. Schedule A allows only the portion of eligible medical and dental expenses above 7.5% of adjusted gross income (AGI). Those expenses combine with your other qualifying medical costs for the year. Then you must compare total itemized deductions with the standard deduction available to your filing status.
Illustration. Alex has $100,000 AGI. Before medical travel, Alex has $6,000 of other qualifying medical costs. Alex drives 800 qualifying miles in the first half of 2026 and 600 in the second half. Alex pays $120 in tolls and parking. Alex and a companion qualify for four nights at $150 a night.
- First-half mileage: 800 × $0.205 = $164.
- Second-half mileage: 600 × $0.235 = $141.
- Tolls and parking: $120.
- Lodging ceiling: 4 nights × 2 people × $50 = $400, even if the hotel bill was higher.
- Total entered medical expenses: $6,000 + $164 + $141 + $120 + $400 = $6,825.
- AGI floor: $100,000 × 7.5% = $7,500.
The medical expenses do not exceed the floor, so this set of expenses adds $0 to Alex’s itemized medical deduction. If Alex had $9,000 of other qualifying medical expenses, the total would be $9,825 and the amount above the floor would be $2,325. The $2,325 is one part of the itemized deductions. Compare the full total with the standard deduction to estimate the tax effect.
The example assumes all listed costs pass the qualification rules and were paid by Alex without reimbursement. It is arithmetic, not a conclusion that the trip qualifies.
This is why the calculator asks for other medical expenses and AGI, and why its estimate must stop before estimating tax savings. A result above zero is a screening number for the medical-expense floor. Enter lodging after you apply the cap to each night and remove reimbursements. The tool uses the amount you enter and cannot determine eligibility or which deduction method saves you more. If you paid $35 for one qualifying night and $65 for another, a solo traveler enters $85 before any reimbursements. The final return calculation combines those issues with the rest of Schedule A. If a provider bill is part of the same decision, our medical-bill decision guide covers ways to verify and manage the bill before financing it. See standard deduction versus itemizing for the comparison. The medical bill estimate guide covers what to request before care.
What if you take the standard deduction?
The 7.5% floor applies to the Schedule A deduction. A health savings account (HSA) can pay eligible expenses tax-free if you incurred them after opening the account. A health flexible spending arrangement (FSA) may reimburse costs that its plan covers. Check its coverage, receipts, and claim deadlines. Taking the standard deduction does not prevent either route. Keep records of reimbursement and leave compensated amounts out of Schedule A. IRS Publication 969.
Records to keep
Keep records contemporaneously, not only when preparing the return:
- Appointment confirmation, referral, treatment record, or provider statement showing the medical purpose and dates.
- A short explanation of why the destination and overnight stay were needed for treatment, especially when a closer provider was available.
- Mileage log, transit/airfare receipts, tolls, parking, and any eligible companion’s role.
- Itemized lodging folio with dates, nightly charges, and the names of patient and companion; note separately any meals or vacation days you exclude.
- Proof of what you paid and what insurance, employer benefits, HSA, FSA, charity, or another party reimbursed. Do not deduct reimbursed costs or costs paid with tax-free account funds.
- Year-end calculation of all qualifying medical expenses, AGI, the 7.5% floor, and whether you itemized.
Publication 502 is an IRS guide, not a substitute for evidence. If your return depends on an unusual facility, companion, or combined personal/medical trip, document why the expenses satisfy the specific test.
A step-by-step filing check
- Separate transportation from lodging; do not apply lodging’s $50 limit to airfare or mileage.
- Identify the primary purpose of each trip and record the medical service received.
- Exclude personal travel, meals, ineligible lodging, and costs that were reimbursed or paid tax-free.
- For car use, compare actual eligible gas/oil with the mileage method where appropriate; add tolls and parking once. Apply the correct mileage rate for each date in 2026.
- For lodging, verify the facility relationship/equivalence, necessity, reasonable cost, absence of significant recreation, qualifying person count, and $50-per-person nightly maximum.
- Add these costs to your other eligible medical expenses for the same tax year, then subtract 7.5% of AGI.
- Compare the resulting amount plus your other Schedule A deductions with the standard deduction. Only a tax return calculation tells whether itemizing changes your taxable income.
- Check the IRS Publication 502 and Schedule A instructions for the tax year you file; do not carry a prior-year mileage rate forward.
Before filing, reconcile receipts against reimbursement records. An insurer may pay a bill later than the trip date. An employer or charity may cover part of the lodging. Record payments from a tax-free health account. Record the gross expense, payment source, reimbursement date and amount, and the remaining amount you actually bore. This prevents the same cost from being counted twice and makes a later question from a preparer or the IRS easier to answer. If the trip crosses December 31, keep the dates of the miles, lodging, and payments separately. Check each year's rules. Medical expenses generally count in the year you pay them. For a credit card, use the charge date. IRS Publication 502.
Ask a tax professional to review unusual facility or lodging facts. Bring enough detail to explain how the facility meets the hospital requirement. Provide the treatment dates, facility description, reason for the lodging, itinerary, personal activities, who traveled, and reimbursement details. Keep the explanation tied to the actual costs and appointments.
A positive calculator result means only that your entered expenses are above the AGI floor. It does not establish that the trip or lodging qualifies, or that itemizing beats the standard deduction.
Method and sources
The core rules are in IRC §213 and IRS Publication 502. The IRS announced a midyear 2026 mileage revision in Announcement 2026-11. Rules and mileage rates can change; verify them for the tax year in question. This guide provides general federal tax information. Consult a certified public accountant or tax attorney about your facts before deciding what to claim.
Sources: IRS Publication 502 (2025); IRS Topic 502; IRS standard mileage rates; Announcement 2026-11, IRB 2026-29; 26 U.S.C. §213; Schedule A instructions.
Estimate qualifying medical travel costs
Use the calculator below or open the standalone medical travel estimator. Enter only eligible costs you paid and were not reimbursed for.
Estimate potentially includible transportation and capped lodging expenses, then apply the 7.5% AGI medical-expense floor. Eligibility must be established separately.
Enter miles only for trips that independently meet the IRS medical-purpose test.
The 2026 medical rate changed July 1: 20.5¢ before July; 23.5¢ from July.
Enter eligible fares and any actual out-of-pocket car costs for miles you did not enter above. Do not count tolls or parking here.
For each qualifying night, use the smaller of the amount paid or $50 per eligible person. Add the amounts and exclude reimbursements.
Potential Medical Itemized Amount Above AGI Floor
$0
Use this result as one input in your broader Money Map, not as a one-off number.
What to do
Use this result to narrow your next financial move.
Estimates use your entered assumptions. Confirm the relevant rules before acting.
Frequently Asked Questions
Can I deduct travel to another state for medical treatment?
How much medical lodging can I deduct?
Do medical travel expenses reduce my taxes dollar for dollar?
Can I deduct an out-of-state hotel near a hospital?
Can my spouse’s hotel cost count too?
Can I deduct meals on a medical trip?
Does medical mileage include the round trip?
Will this reduce my tax bill by the amount shown?
The 5-minute money briefing
One email per week. The biggest changes in savings, money market, checking and CD rates.
Send me the weekly SwitchWize rate briefing: the biggest changes in savings, money market, checking and CD rates. Unsubscribe in one click. We never share your address.
Answer a few questions about your situation and goals. Money Map points you to the highest-value next step across savings, mortgage, cards, and debt.
Editorial review
What changed since the last update
Was this guide helpful?
Found an inaccurate, outdated, or missing claim? Report a correction. We verify reports against the relevant source before changing a guide or ranking.