What Is Considered Medical Mileage for Taxes?

For tax purposes, medical mileage is the driving — or other transportation — whose main purpose is to get you to care that diagnoses, treats, mitigates, or prevents disease, or that affects a part or function of the body. What is considered medical mileage for taxes turns on that purpose test: the trip has to be primarily for and essential to receiving medical care, not something that merely improves general health or blends care into a personal outing.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses

Trips That Qualify

Everyday medical driving qualifies when the destination provides care. That includes visits to a doctor, dentist, surgeon, psychologist, physical therapist, or other licensed practitioner. It also covers driving to a hospital or clinic for lab work, imaging, or a procedure.

Errands tied directly to your care count as well. Picking up a prescription at the pharmacy is medical mileage. So is a trip to a medical supply store to obtain equipment like crutches or a wheelchair. The through-line is that you are going somewhere to receive care, medication, or a device you cannot get at home — not that you happen to pass a health-related business while doing other things.

Trips That Do Not Qualify

Travel for general health improvement is outside the definition, even when a doctor recommends the underlying activity. The IRS specifically excludes trips taken merely for a change in environment, improvement of morale, or general health benefits.2Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses – Section: Transportation Driving to a gym, health club, yoga studio, or spa does not count, even with a physician’s written note suggesting exercise.

The test is whether the place you’re driving to actually provides diagnosis or treatment. A physical therapy clinic treating a knee injury qualifies. A fitness class your doctor thinks would help your heart does not. If the trip could reasonably be described as a lifestyle choice rather than medical care, it will not hold up.

Long-Distance and Out-of-State Travel

Traveling to another city for specialized treatment can qualify, but the standard tightens. The trip must be primarily for and essential to the medical services, with no significant element of personal pleasure, recreation, or vacation built in.3Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses – Section: Trips Flying across the country to a medical center for a procedure you cannot get locally is deductible. Flying to a resort town and fitting in a doctor visit is not.

Travel for Companions and Caregivers

If you cannot travel alone for care, a companion’s transportation may also count. The IRS allows mileage or fares for a parent who must accompany a child to treatment, and for a nurse or other person who can give injections, medications, or other treatment the patient needs during the trip.2Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses – Section: Transportation

What Else Travels With a Qualifying Trip

Once a trip qualifies, several related costs come with it. Parking fees at the medical facility and tolls along the route are deductible on top of your mileage.4Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses – Section: Car Expenses

You do not have to be behind the wheel. Fares for buses, taxis, trains, planes, and ambulance services all count when the trip is for medical care.2Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses – Section: Transportation Rideshare fares like Uber and Lyft work the same way as taxi fares here.

Lodging on a medical trip can be deductible, but the rules are strict. The cap is $50 per night per person, the lodging cannot be lavish or extravagant, the care must be provided by a doctor in a licensed hospital or equivalent facility, and the trip cannot include a significant vacation element.5Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses A parent staying overnight with a sick child brings the combined cap to $100.

Meals are treated differently, and this is where people often get tripped up. You cannot deduct meals during transit or while staying near a treatment facility. The only exception is meals included as part of inpatient hospital care, which are rolled into the hospital bill and deductible as part of that bill.6Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses – Section: Meals A companion’s meals are not deductible either.

How Much a Mile Is Worth in 2026

For the 2026 tax year, the IRS standard medical mileage rate is 20.5 cents per mile.7Internal Revenue Service. 2026 Standard Mileage Rates Multiply your qualifying medical miles by that rate and you have the deductible amount for driving.

The alternative is tracking actual expenses, but only gas and oil used on medical trips. Depreciation, insurance, general repairs, and routine maintenance are not part of this calculation.4Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses – Section: Car Expenses Most people find the standard rate simpler. Parking and tolls stack on top of whichever method you use.

Keeping a Log That Holds Up

A complete log is your defense if the IRS questions the deduction. Each entry should carry:

  • The date of the trip.
  • The provider or facility name and address.
  • A brief medical purpose, such as “knee surgery follow-up” or “prescription pickup.”
  • Starting and ending odometer readings, or GPS-tracked mileage.
  • Parking receipts, toll records, and fare confirmations filed with the entry.

Digital formats are fine. Spreadsheets, mobile tracking apps, and exported CSV or PDF files all work if they capture the information above. Log trips at or near the time they happen rather than reconstructing them later. Record your odometer at the start and end of each calendar year so you can show total annual mileage and what share was medical.

For fares, taxi rides, rideshares, ambulance charges, and public transit, keep the receipt or digital confirmation showing date, fare, and pickup or drop-off location. That documentation serves the same purpose a mileage log serves for a personal vehicle.

How the Deduction Actually Reaches Your Return

Medical mileage is part of the overall medical expense deduction claimed on Schedule A of Form 1040. It combines with copays, premiums, prescriptions, and other qualifying medical costs, and only the amount above 7.5% of your adjusted gross income is deductible.5Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses AGI appears on line 11 of Form 1040.8Internal Revenue Service. Adjusted Gross Income

Because these expenses live on Schedule A, they only reduce your taxes if you itemize instead of taking the standard deduction. For 2026, the standard deduction is $16,100 for single filers, $32,200 for married couples filing jointly, and $24,150 for heads of household.9Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 If your itemized total does not exceed that amount, itemizing yields nothing. In practice, the mileage deduction tends to matter in years with heavy medical bills.

HSAs, FSAs, and HRAs

If you have a Health Savings Account, Flexible Spending Account, or Health Reimbursement Arrangement, medical mileage is generally an eligible expense you can reimburse from those accounts, using the same 20.5-cent 2026 rate.5Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses7Internal Revenue Service. 2026 Standard Mileage Rates You don’t have to itemize to get the benefit, since the account pays with pre-tax dollars. Keep the same mileage log in case your administrator asks for documentation.

Don’t Deduct What Someone Else Paid

Reduce your deductible medical expenses by any reimbursements you receive during the year. If workers’ compensation or another source covers some medical travel, those miles can’t also go on Schedule A.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses The same rule applies to HSA or FSA reimbursements: expenses paid with tax-advantaged funds aren’t also deductible on your return.