Informational only, not medical advice. Read our disclaimer.
Taxes and medical bills

Which Medical Expenses Are Tax Deductible?

Reviewed by D.P., PharmD.

A woman in her late 50s with shoulder-length gray-brown hair and reading glasses in a plum cardigan sorting blank tax forms and receipts at a dining table with a calculator and a mug of tea
Key takeaways
  • You can deduct only medical costs you paid and were not reimbursed for, only above 7.5% of your adjusted gross income, and only if you itemize instead of taking the standard deduction.
  • The 2026 standard deduction is $16,100 for a single filer and $32,200 for a married couple filing jointly. Your itemized total must beat it for the medical deduction to save you anything.
  • Prescription drugs, insulin, doctor and dentist bills, hospital care, and premiums you pay yourself, including Medicare Part B premiums, generally count. Over-the-counter medicines, cosmetics, and general health trips do not.
  • Your pharmacy can print a year-end summary of what you paid out of pocket for prescriptions in 2026. Ask for it in January and hand it to your tax preparer.
  • Money you spent from an HSA or FSA was already tax-free, so it cannot be deducted again. Self-employed filers have a separate above-the-line route for premiums.

Large medical bills do not always lead to a tax benefit, and the reason is arithmetic, not a missing form. Two gates stand between your bills and a deduction: itemizing, and a floor set at 7.5% of your income. This guide explains how each gate works, what counts and what does not under IRS Publication 502, and the 2026 figures to use when you file in the spring of 2027. It is tax education, not tax advice for your situation.

A common moment in January

You open the folder of 2026 medical receipts: pharmacy slips, a dentist bill, the Medicare premium taken from each Social Security check, a few copay receipts. The pile looks large, maybe $8,000. It feels like it must be worth something on your taxes. Whether it is depends on two numbers you have not looked at yet, your adjusted gross income and your standard deduction, and this guide works through both.

1. Gate one: you must itemize

The medical expense deduction lives on Schedule A, the itemized deductions form. If you take the standard deduction, your medical bills do nothing for your federal return, no matter how large they are. For 2026, the standard deduction is $16,100 for a single filer, $32,200 for a married couple filing jointly, and $24,150 for a head of household, according to IRS Revenue Procedure 2025-32. People 65 or older get an extra amount on top: $2,050 if unmarried, or $1,650 for each qualifying spouse when filing jointly.

That means the medical deduction only helps when all of your itemized deductions, medical costs above the floor plus state and local taxes, mortgage interest, and charitable gifts, add up to more than your standard deduction. A single filer with $4,000 of deductible medical costs and $8,000 of other itemized deductions has $12,000 total, below $16,100, so itemizing loses. The medical deduction is a piece of the itemizing decision, not a standalone refund.

2. Gate two: the 7.5% floor

Even when you itemize, only the part of your unreimbursed medical costs above 7.5% of your adjusted gross income counts. The floor is set by law and is permanent. With $60,000 of adjusted gross income, the first $4,500 earns you nothing. With $100,000, the first $7,500 earns you nothing. Only costs you paid yourself count, and only the part nobody reimbursed. Money your plan paid, money an HSA or FSA paid, and money your employer paid toward your premiums do not count.

3. What counts

IRS Publication 502 defines medical care as amounts paid for the diagnosis, cure, mitigation, treatment, or prevention of disease. Fees paid to doctors, dentists, surgeons, and other practitioners count. Inpatient hospital care counts, including meals and lodging charged by the hospital when medical care is the main reason for the stay. Insulin and prescription medicines count. Premiums you pay yourself for health insurance count, including Medicare Part B and Part D premiums. Transportation primarily for and essential to medical care counts, including the standard mileage rate, tolls, parking, and ambulance costs. Eyeglasses, contact lenses, hearing aids, crutches, and wheelchairs count. So do acupuncture and smoking-cessation programs, and a weight-loss program for a specific disease diagnosed by a physician.

Two points surprise people. Medicare Part B premiums count even though they are taken straight from a Social Security check. Publication 502 lists them as a medical expense, and your Social Security statement shows the amount. In 2026 the Part B premium is $202.90 a month, or $2,434.80 for the year, according to CMS. And dental work counts the same as medical work: cleanings, fillings, crowns, and dentures are all medical expenses under Publication 502, and a dental bill can be what pushes a household over the floor.

4. What does not count

The no list matters because the items on it are the ones people most often try to claim. Nonprescription medicines do not count, with insulin as the exception. Toothpaste, toiletries, and cosmetics do not count. Most cosmetic surgery does not count. A trip or program for the general improvement of your health does not count, and neither do funeral or burial expenses. Nicotine gum and patches that do not require a prescription do not count. Premiums treated as paid by your employer do not count, including premiums paid through a cafeteria plan, unless those premiums were included in box 1 of your W-2.

5. A worked example

Take a single filer with $60,000 of adjusted gross income in 2026. The floor is 7.5% of $60,000, which is $4,500. Her unreimbursed medical costs for the year are:

ExpenseAmount
Medicare Part B premiums, $202.90 a month$2,434.80
Part D prescription drug plan premiums$600.00
Doctor copays and the Part B deductible$2,400.00
Dental work, two crowns$1,800.00
Prescription copays at the pharmacy$1,200.00
Total unreimbursed medical costs$8,434.80
Minus the 7.5% floorMinus $4,500.00
Deductible medical expenses$3,934.80

The $3,934.80 is the medical line on Schedule A. It saves money only if her total itemized deductions, this plus state and local taxes, mortgage interest, and charitable gifts, add up to more than her $16,100 standard deduction. If they do not, she takes the standard deduction. This is a hypothetical example to show the arithmetic, not a return, and your own numbers will differ.

6. The pharmacy printout that does the tracking for you

You do not have to track drug spending yourself. Your pharmacy, a chain or an independent, can print a year-end prescription summary showing your total out-of-pocket drug costs for the year, and some pharmacies offer it in their app or patient portal too. Ask at the counter or through the portal in January, and hand the printout straight to your tax preparer. It lists what you paid at the counter and leaves out what your plan paid. For more questions worth asking at the counter, see our guide to questions to ask your pharmacist about costs.

7. Travel to care, including the mileage rate

Trips to the doctor, the pharmacy, and the hospital count when travel is primarily for and essential to medical care. The IRS lets you use a standard mileage rate instead of tracking gas and oil, and the 2026 rate changed midyear, so which rate applies depends on when you drove:

Miles driven in 2026Medical mileage rate
January 1 to June 3020.5 cents a mile
July 1 to December 3123.5 cents a mile

Five hundred miles driven in the first half of the year is worth $102.50; the same 500 miles in the second half is worth $117.50. Tolls and parking add on top, at what you actually paid. Keep a simple log, date, destination, and miles. The IRS set the first-half rate in Notice 2026-10 and raised it midyear in Announcement 2026-11.

8. Long-term care premiums have age caps

Premiums for a qualified long-term care insurance policy count as medical expenses, but only up to an age-based cap. The 2026 caps, per Revenue Procedure 2025-32, are:

Age at the end of 2026Maximum deductible premium
40 or younger$500
41 to 50$930
51 to 60$1,860
61 to 70$4,960
Over 70$6,200

The cap applies per person, so a couple can each count up to their own age-based limit. Only the capped amount joins your other medical costs, and it still has to clear the 7.5% floor with everything else. A 65-year-old paying $5,000 in premiums counts $4,960 of it, and at $100,000 of income that alone is below the $7,500 floor.

9. HSA and FSA money, and the self-employed route

Money that went through an HSA or a health FSA was already tax-free, so expenses paid from either account cannot be deducted again. Our guide to HSA vs FSA explains how each account works. Self-employed filers have a separate route. If you are self-employed with a net profit, you may deduct health insurance premiums, including a qualified long-term care policy, as an adjustment to income on Form 7206. That route skips both gates, with no 7.5% floor and no need to itemize, but it has its own limits, including a net profit for the year, so read the Form 7206 instructions before you rely on it.

10. Timing matters: the year you pay is the year that counts

The deduction follows the year you paid, not the year you received the care. A bill for December care paid in January counts in the new year, and a bill prepaid in December counts in the old one. Because the 7.5% floor resets every year, spreading $14,000 of costs evenly across two years can mean clearing the floor in neither, while grouping the same care into one year clears it once. At $80,000 of income the floor is $6,000: $7,000 of costs in each of two years leaves $1,000 deductible in each year, $2,000 total, while $14,000 in a single year leaves $8,000 deductible. This is general information about how the timing rule works, not a recommendation to move any particular procedure.

11. A short checklist before you file

Work through these five steps when you sit down with the 2026 return, due April 15, 2027.

  • Add up what you actually paid. Use the pharmacy year-end summary for prescriptions, the insurer's statements for premiums and cost sharing, and receipts for dental and other care. Leave out anything reimbursed or paid by the plan.
  • Multiply your adjusted gross income by 7.5%. That is your floor. Subtract it from your total. What is left is your deductible medical amount.
  • Compare itemizing against the standard deduction. Add the medical amount to your other itemized deductions. If the total is below $16,100 single or $32,200 joint, the standard deduction wins.
  • Check the travel and long-term care lines. Add mileage at the right rate for each half of the year, and cap long-term care premiums at the age-based limit.
  • Keep the records. Hold the pharmacy summary, premium statements, and receipts with the return. If the IRS asks, the paper is the answer.

Many households will find the standard deduction wins, and that is a useful answer too: it means the medical costs did not change the return. For the households that do clear both gates, usually after a hospital stay, major dental work, or a year of high premiums, the deduction is real money, and the records above are what make it claimable.

Not medical advice.

This guide explains how the medical expense deduction works. It is not tax advice for your situation, and it does not advise starting, stopping, or switching medication. Discuss personal medication decisions with your prescriber and pharmacist, and check with a tax professional for the rules that apply to your return. Full disclaimer.

Sources

Sources checked December 3, 2026. Prices and policies may change.