You can deduct medical and dental costs you paid for yourself, your spouse and your dependents, but only if you itemize deductions on Schedule A, and only the part above 7.5% of your adjusted gross income (AGI). Costs covered by insurance, reimbursed later or paid with tax-free HSA money don't count. In practice it helps most in a year with large unreimbursed bills, when your itemized deductions add up to more than the standard deduction.
How the 7.5% floor and itemizing work
Add up the qualifying medical costs you paid during the year that insurance or anyone else didn't cover. Subtract 7.5% of your AGI. What is left, if anything, is your medical deduction, entered on Schedule A along with your other itemized deductions such as state and local taxes, mortgage interest and charitable gifts.
You then compare your total itemized deductions with your standard deduction and take whichever is larger. For 2026 the standard deduction is $16,100 for single filers and married people filing separately, $24,150 for heads of household and $32,200 for married couples filing jointly, with more if you are 65 or older or blind. Our 2026 tax brackets guide lists those extra amounts.
A few timing and family rules:
- Count costs in the year you pay them, not the year you got care, and generally not prepayments for care in a future year. A charge on a credit card counts in the year of the charge, even if you pay off the card later.
- Whose costs: yours, your spouse's and your dependents', as long as the person was your spouse or dependent either when the care was given or when you paid.
- Married filing separately in a state without community property: each spouse counts only what they actually paid.
What counts, and what doesn't
Medical care, for tax purposes, means paying to diagnose, cure, ease, treat or prevent disease, or for treatment affecting any part or function of the body. IRS Publication 502 has the full list. Common examples:
| Usually counts | Usually doesn't count |
|---|---|
| Doctors, dentists, surgeons, chiropractors, psychiatrists and psychologists | Nonprescription medicines |
| Hospital care, and nursing home care when medical care is the main reason for being there | Toothpaste, toiletries and cosmetics |
| Prescription drugs and insulin | Most cosmetic surgery |
| Eyeglasses, contact lenses, hearing aids, dentures, crutches and wheelchairs | Trips or programs for general health improvement |
| Inpatient addiction treatment and smoking-cessation programs | Nicotine gum and patches that don't need a prescription |
| A weight-loss program for a disease diagnosed by a physician, including obesity | Funeral and burial costs |
| Acupuncture, and transportation to get medical care | Premiums your employer pays, or that you pay pre-tax through a workplace plan |
Home changes made mainly for medical care can count too. Ramps, wider doorways, bathroom grab bars and lowered kitchen cabinets usually don't add value to a home, so their full cost generally counts. If an improvement does raise your home's value, only the cost above the increase in value counts.
Premiums, travel and long-term care
- Health insurance premiums you pay with after-tax money count, including Medicare Part B and Part D premiums. Medicare Part A premiums count only if you enrolled voluntarily because you aren't covered under Social Security; the payroll tax for Part A is not a medical expense. See our page on Medicare.
- Marketplace plans: you can't count premiums paid by the premium tax credit, including advance payments you didn't have to pay back. Count only the part you paid yourself. See the premium tax credit page.
- Self-employed people with a net profit may deduct health insurance premiums as an adjustment to income instead, without itemizing. Any premiums you don't claim that way can go on Schedule A.
- Long-term care insurance premiums count only up to a yearly limit based on your age at the end of the year. For 2026 the limits are $500 if you are 40 or under, $930 for ages 41 to 50, $1,860 for 51 to 60, $4,960 for 61 to 70 and $6,200 for over 70.
- Driving to medical care: use your actual gas and oil costs or the standard medical mileage rate, plus tolls and parking. For 2026 the rate is 20.5 cents a mile for driving from January 1 to June 30 and 23.5 cents a mile from July 1 to December 31, after the IRS raised it mid-year because of fuel prices. Bus, taxi, train and ambulance fares count too.
- Lodging away from home for care from a doctor in a licensed hospital or similar facility can count, up to $50 a night per person, so $100 a night when a parent travels with a sick child. The trip can't be lavish or include significant vacation, and meals don't count.
Worked example
Hypothetical example: Alex is single, has 2026 AGI of $60,000 and no HSA. After insurance, Alex paid $9,800 for surgery and hospital bills, $1,200 for prescriptions and $2,600 for dental work. Alex drove 400 miles to appointments in May (400 times 20.5 cents is $82) and 600 miles in August (600 times 23.5 cents is $141), and paid $77 for parking, so transportation comes to $300. Total medical costs are $13,900. The floor is 7.5% of $60,000, or $4,500, so the medical deduction is $13,900 minus $4,500, or $9,400. Alex also paid $4,000 in state and local taxes and $6,000 in mortgage interest, so itemized deductions total $19,400. That beats the $16,100 standard deduction by $3,300. Alex's taxable income becomes $40,600, which is in the 12% bracket for 2026, so itemizing saves about $3,300 times 12%, or $396. Without the mortgage interest, Alex's itemized total would be $13,400, and the standard deduction would be the better choice.
HSAs, FSAs and reimbursements
- You can't count anything you paid with a tax-free distribution from a health savings account (HSA), and you can't count your HSA contributions as medical expenses. The same applies to an Archer MSA.
- You can't count costs your flexible spending arrangement (FSA) reimbursed in full when you funded it with pre-tax pay.
- If insurance reimburses you in a later year for costs you already deducted, you generally report the reimbursement as income, up to the amount of the earlier deduction that actually reduced your tax. If you didn't deduct the cost, the reimbursement isn't income, up to the amount of the cost.
If you have a high-deductible health plan, an HSA handles medical costs through a separate set of tax rules that don't depend on itemizing. Our HSA guide explains who can open one and the 2026 limits.
What this deduction doesn't cover, and getting help
This deduction lowers taxable income; it doesn't lower the bill itself. If you are facing large medical bills, our guide to getting help with medical bills covers itemized bills, appeals, surprise billing protections and financial assistance. People with disabilities who pay for things they need in order to work, such as a reader for a worker who is blind, can deduct them as impairment-related work expenses, which aren't subject to the 7.5% floor.
Keep receipts, explanation of benefits statements and a mileage log. The 2026 standard deduction, long-term care limits and mileage rates change every year, so check the current figures before you file. IRS-certified volunteers through VITA and TCE offer free basic return preparation to people who qualify. For a parent's nursing home costs, a divorce, or a large home modification, a tax professional can help you sort out what counts.
Spotted something wrong or out of date? Report a correction and include this page’s address.
