The medical expense deduction under IRC Section 213 lets you subtract qualifying out-of-pocket medical costs from your taxable income, but only the portion that exceeds 7.5% of your adjusted gross income (AGI), and only if you itemize instead of taking the standard deduction.1Internal Revenue Service. Topic No. 502, Medical and Dental Expenses For 2026, the standard deduction is $16,100 for single filers and $32,200 for married couples filing jointly, so your medical costs plus other itemized deductions have to clear that bar before the deduction does anything for you.2Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 Most people who benefit have had an unusually expensive year or ongoing care that adds up fast.
What Counts as a Medical Expense
Section 213(d) covers amounts paid for diagnosing, treating, or preventing disease, and anything that affects a structure or function of the body.3Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses That umbrella takes in payments to doctors, surgeons, dentists, chiropractors, psychologists, and psychiatrists. Prescription medications and insulin qualify. Over-the-counter drugs you can grab off the shelf without a prescription do not, even if a doctor recommends them.4Internal Revenue Service. Publication 502, Medical and Dental Expenses
Health insurance premiums you pay out of pocket count, including Medicare Part B and Part D, Medigap policies, and qualified long-term care insurance.3Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses Long-term care premiums are capped on an age-based scale that adjusts each year; for 2026 the limits run from $500 at age 40 and under to $6,200 at age 71 and older. Premiums paid through an employer plan with pre-tax dollars don’t count, since that money was never taxed to begin with.
Prescribed equipment qualifies: hearing aids, wheelchairs, crutches, prosthetics. Long-term care services for a chronically ill person are deductible when they follow a plan of care from a licensed practitioner and the patient can’t perform at least two activities of daily living for 90 days or longer, or needs substantial supervision because of severe cognitive impairment.5Office of the Law Revision Counsel. 26 USC 7702B – Treatment of Qualified Long-Term Care Insurance
Travel, Mileage, and Lodging
Getting to and from care is itself deductible. Bus fares, ambulance charges, hospital parking, and tolls count. If you drive your own car, you can deduct actual out-of-pocket costs like gas and oil, or use the IRS standard medical mileage rate of 20.5 cents per mile for 2026.6Internal Revenue Service. IRS Sets 2026 Business Standard Mileage Rate at 72.5 Cents per Mile, Up 2.5 Cents Insurance and depreciation are never part of the medical mileage figure.
Lodging while traveling for medical care is deductible up to $50 per night per person. A parent traveling with a sick child is capped at $100 per night combined.3Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses The lodging can’t be lavish, care has to happen at a licensed hospital or equivalent facility, and the trip can’t have a significant vacation element. Meals on the trip are not deductible.4Internal Revenue Service. Publication 502, Medical and Dental Expenses
Home Modifications
Permanent changes to your home can qualify when made to accommodate a disability or medical condition. The deduction turns on whether the improvement adds property value. Install a swimming pool for physical therapy that costs $25,000 and adds $20,000 in value, and only the $5,000 difference is deductible.4Internal Revenue Service. Publication 502, Medical and Dental Expenses
Some modifications are presumed not to increase home value, so their full cost is deductible. The IRS lists them:
- Entrance changes such as ramps, widened doorways, and grading for wheelchair access
- Interior work such as widened hallways, modified stairways, and different door hardware
- Bathroom fittings such as grab bars, support rails, and modified fixtures
- Kitchen changes such as lowered cabinets and repositioned equipment
- Safety items such as modified fire alarms and smoke detectors, porch lifts and other lifts, and relocated electrical outlets
Ongoing costs of operating and maintaining a qualifying improvement remain deductible as long as medical care is the primary reason for the upkeep, even if the original installation was only partly deductible.4Internal Revenue Service. Publication 502, Medical and Dental Expenses
Nursing Homes, Assisted Living, and Special Schools
The rule turns on primary purpose. If someone is in a nursing home mainly to receive medical care, the whole cost is deductible, including room and board.7Internal Revenue Service. Medical, Nursing Home, Special Care Expenses If the primary reason is personal, meaning the person needs a place to live and happens to receive some medical attention, only the medical portion of the bill qualifies and room and board don’t. The same test applies to assisted living, and the facility’s billing office can usually separate the two components.
Tuition at a specialized school for a child with a physical or mental disability can qualify when the child attends primarily to receive medical care in the form of special education aimed at the condition. The school needs a professional staff able to deliver that curriculum, ordinary education has to be incidental to the medical purpose, and a doctor or qualified professional must diagnose the condition.
What Doesn’t Qualify
Cosmetic procedures are excluded unless they correct a deformity from a congenital abnormality, an accident or trauma, or a disfiguring disease.3Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses Teeth whitening, elective nose jobs, and cosmetic liposuction fail the test.
General health spending is out unless tied to a specific diagnosed condition. Gym memberships, nutritional supplements, and most weight-loss programs don’t qualify. A weight-loss program can qualify only if a physician diagnoses a specific disease such as obesity, hypertension, or heart disease and the program treats that condition.4Internal Revenue Service. Publication 502, Medical and Dental Expenses Special food is deductible only if it doesn’t satisfy normal nutritional needs, alleviates an illness, and a physician substantiates the need.
Dual-use items trip people up. If something is ordinarily used for personal purposes, you can only deduct it when it’s used primarily to prevent or treat a disability or illness. When you need a special version of an everyday item to accommodate a condition, only the cost difference between the special version and the standard one counts.
Whose Expenses You Can Include
You can deduct qualifying costs you pay for yourself, your spouse, and your dependents. Section 213 is more generous than other parts of the code on who counts as a dependent for this purpose: the gross income test that normally disqualifies higher-earning relatives is waived.3Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses So you can deduct medical bills you pay for an elderly parent even if that parent earns too much to be your dependent for other tax purposes. The relationship and support tests still apply.8eCFR. 26 CFR 1.213-1 – Medical, Dental, Etc., Expenses A non-relative who lives in your home all year can also qualify if you provide more than half of their support and the arrangement doesn’t violate local law.4Internal Revenue Service. Publication 502, Medical and Dental Expenses
Divorced or Separated Parents
For a child of divorced or separated parents, the code treats the child as a dependent of both parents for medical expense purposes. Whichever parent actually pays the bill claims the deduction, regardless of custody or who claims the child for other credits.3Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses
Multiple Support Agreements
When several relatives share the cost of supporting someone, they can file a multiple support agreement naming one of them as the person who claims the dependent. For medical expenses, though, only the person who actually paid the bill can deduct that payment. If one sibling writes the checks for a parent’s medical care and the others reimburse three-quarters of it, only the quarter the paying sibling absorbed is that sibling’s deductible expense.4Internal Revenue Service. Publication 502, Medical and Dental Expenses
How the Deduction Is Calculated
Add every qualifying expense you paid out of pocket during the year. Subtract insurance reimbursements and any distributions from tax-advantaged accounts that covered those expenses. Multiply your AGI by 0.075. Only the amount above that figure is deductible.1Internal Revenue Service. Topic No. 502, Medical and Dental Expenses
A worked example: with an AGI of $80,000, your floor is $6,000. Pay $10,000 in qualifying costs and $4,000 is deductible. Pay $5,500 and you get nothing.
That $4,000 then stacks with your other itemized deductions, such as state and local taxes, mortgage interest, and charitable gifts. The combined total has to exceed the standard deduction for itemizing to pay off. For 2026 that’s $16,100 single, $32,200 married filing jointly.2Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 People already close to that threshold from other deductions are the ones most likely to benefit.
When the Payment Counts
Medical expenses are deductible in the year you pay, not the year of the care or the year you’re billed. Have surgery in December but pay in January and the deduction lands on next year’s return.
Credit cards follow a friendlier rule: the expense counts in the year you charge it, not the year you pay off the balance.4Internal Revenue Service. Publication 502, Medical and Dental Expenses A December 30 credit card charge for medical care counts this year even if you carry the balance.
Prepaying for care far in the future generally doesn’t work. Payments for care to be provided substantially beyond year-end are not deductible in the year of payment.4Internal Revenue Service. Publication 502, Medical and Dental Expenses The exception is lifetime care arrangements, such as an entrance fee to a continuing care retirement community.
If you deduct expenses one year and receive an insurance reimbursement for them the next, report the reimbursement as income on the later return, up to the amount that actually reduced your tax. If the deduction didn’t reduce your tax, the reimbursement isn’t taxable.4Internal Revenue Service. Publication 502, Medical and Dental Expenses
HSAs, FSAs, and Self-Employed Premiums
An expense already paid or reimbursed through a Health Savings Account, Flexible Spending Arrangement, or Health Reimbursement Arrangement cannot also be deducted under Section 213. Those accounts already deliver a tax benefit; claiming the same cost again would be double-dipping.4Internal Revenue Service. Publication 502, Medical and Dental Expenses HSAs and FSAs can reimburse over-the-counter medicines without a prescription, but Section 213 still requires a prescription for medicines other than insulin.3Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses The practical move: use the account for OTC purchases, because they won’t earn a Section 213 deduction.
If you’re self-employed, Section 162(l) usually beats Section 213 for health insurance premiums. It’s an above-the-line deduction, so you get the benefit whether or not you itemize, and it covers you, your spouse, your dependents, and children under age 27.9Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses You can’t run the same premiums through both sections, and the 162(l) deduction is limited to net self-employment income from the business that established the plan. It’s also unavailable for any month you were eligible for an employer-subsidized plan, including one through a spouse’s employer. Most self-employed filers take the above-the-line deduction for premiums and route remaining medical costs through Section 213.
Records to Keep
Save itemized receipts showing the date of service, the provider, and the nature of the care. Credit card statements and cancelled checks show you paid. For travel, keep a log with dates, destinations, mileage, and the medical purpose of each trip. For home modifications, get an appraisal documenting property value before and after.
A letter of medical necessity from your doctor is worth having for anything that isn’t obviously medical: home modifications, special diets, weight-loss programs, and dual-use equipment. Without one, the IRS has an easy basis to disallow the deduction on audit. Keep supporting documents at least three years from the date you file or two years from the date you pay the tax, whichever is later.10Internal Revenue Service. How Long Should I Keep Records