When Can You Deduct Medical Expenses on Taxes?

You can deduct medical expenses on your taxes when your unreimbursed medical and dental costs for the year exceed 7.5% of your adjusted gross income, and only if you itemize deductions on Schedule A instead of taking the standard deduction.1Office of the Law Revision Counsel. 26 U.S.C. 213 – Medical, Dental, Etc., Expenses Only the portion of your spending above that 7.5% floor counts, and it only helps you if your itemized deductions together are worth more than the standard deduction for your filing status. Two conditions, both required.

The 7.5% AGI Floor

Your adjusted gross income is your total income (wages, investment gains, retirement distributions, and other earnings) minus certain adjustments like student loan interest and retirement contributions. Multiply that number by 7.5%, and anything you spent on qualifying medical care above that amount is potentially deductible.2Internal Revenue Service. Publication 502, Medical and Dental Expenses

Say your AGI is $60,000. Your floor is $4,500. If you paid $10,000 in unreimbursed medical bills that year, $5,500 goes toward your itemized deductions.3Internal Revenue Service. Topic No. 502, Medical and Dental Expenses A lower AGI means a lower floor, which is why people with moderate incomes and heavy medical years benefit most.

You Have to Itemize

The medical expense deduction lives on Schedule A. It’s only useful if the sum of your medical costs above the floor, state and local taxes, mortgage interest, and charitable contributions exceeds the standard deduction for your filing status.4Internal Revenue Service. Topic No. 501, Should I Itemize?

For the 2026 tax year, the standard deduction is $16,100 for single filers and married filing separately, $24,150 for head of household, and $32,200 for married filing jointly. The IRS adjusts these amounts each year for inflation.5Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 If your itemized total falls short of those numbers, you’re better off with the standard deduction and the medical expense deduction gives you nothing. A big medical year is often the thing that pushes a household past the threshold.

What Counts as a Deductible Medical Expense

Deductible costs are payments for diagnosing, treating, or preventing physical and mental health conditions. That includes:2Internal Revenue Service. Publication 502, Medical and Dental Expenses

  • Fees paid to physicians, surgeons, dentists, chiropractors, psychiatrists, psychologists, and other licensed practitioners.
  • Inpatient hospital costs (including meals during a stay) and nursing services.
  • Prescription drugs, and insulin even without a prescription.
  • Hearing aids, eyeglasses, contact lenses, prosthetic limbs, wheelchairs, and crutches.
  • Lab fees, X-rays, and other medically necessary diagnostic tests.
  • Health insurance premiums you pay with after-tax dollars. Premiums taken out of your paycheck pre-tax don’t qualify because they were never taxed to begin with.
  • Qualified long-term care services for a chronically ill person, plus long-term care insurance premiums up to age-based annual limits set by the IRS.1Office of the Law Revision Counsel. 26 U.S.C. 213 – Medical, Dental, Etc., Expenses

Travel for medical care is deductible too: bus, train, taxi, and ambulance fares, plus parking and tolls at the facility. If you drive your own car, you can deduct actual costs (gas, oil, tolls, parking) or use the IRS standard medical mileage rate, which is 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

Costs of buying, training, and maintaining a service animal that assists with a disability, including food, grooming, and veterinary care, are deductible.2Internal Revenue Service. Publication 502, Medical and Dental Expenses

Nursing home fees are fully deductible (minus insurance reimbursement) when the person is there primarily for medical care. If the stay is mainly for personal or custodial reasons, only the portion tied to actual medical treatment qualifies.7Internal Revenue Service. Medical, Nursing Home, Special Care Expenses

Home Modifications

Improvements to your home that are primarily for medical care can qualify, but the deductible amount depends on whether the change increases property value. If it does, subtract the increase in value from the cost, and only the difference is a medical expense. If it doesn’t, the full cost counts.2Internal Revenue Service. Publication 502, Medical and Dental Expenses

Common disability-related modifications generally don’t add value, so the full cost is typically deductible. These include entrance and exit ramps, widened doorways and hallways, bathroom grab bars and railings, lowered kitchen cabinets, porch lifts (elevators usually add value and are treated differently), modified fire alarms and warning systems, and grading the yard for wheelchair access. Cosmetic upgrades beyond what the medical condition requires don’t count.

What You Can’t Deduct

Several kinds of spending look medical but are excluded:

  • Anything covered by insurance, paid from a Health Savings Account, or reimbursed through a Health Reimbursement Arrangement. You can’t claim what you didn’t ultimately pay out of pocket.2Internal Revenue Service. Publication 502, Medical and Dental Expenses
  • Gym memberships, health club dues, and general fitness programs.
  • Weight-loss programs, unless a physician prescribes them to treat a specific diagnosed disease such as obesity, diabetes, or heart disease. Appearance or general wellness programs don’t qualify.8Internal Revenue Service. Frequently Asked Questions About Medical Expenses Related to Nutrition, Wellness and General Health
  • Vitamins, herbal supplements, and over-the-counter drugs, unless a doctor prescribes them for a diagnosed condition. Insulin is the exception and is always deductible.
  • Cosmetic procedures that don’t treat a condition or correct a disfigurement from injury, disease, or a congenital abnormality.
  • Medical marijuana, because it remains a controlled substance under federal law regardless of state law.2Internal Revenue Service. Publication 502, Medical and Dental Expenses
  • Funeral and burial costs.
  • Premiums for life insurance, disability income policies, or policies paying a fixed amount per week of hospitalization.

Family Members You Can Include

You can deduct medical costs you pay for your spouse and your dependents, not just for yourself.1Office of the Law Revision Counsel. 26 U.S.C. 213 – Medical, Dental, Etc., Expenses That covers children and qualifying relatives such as a parent you support. For a qualifying relative, you generally must provide more than half of the person’s total support during the year, and their gross income must fall below an annual IRS threshold.9Internal Revenue Service. Dependents

Divorced or separated parents get a special rule. A child can be treated as a dependent of both parents for medical expense purposes, so each parent can deduct the bills they personally paid, provided the child was in one or both parents’ custody for more than half the year and the parents together provided over half the child’s support.2Internal Revenue Service. Publication 502, Medical and Dental Expenses

Self-Employed Health Insurance Is Different

If you’re self-employed, you may be able to deduct health insurance premiums for yourself, your spouse, your dependents, and your children under age 27 as a direct adjustment to income, without itemizing. This above-the-line deduction goes on Schedule 1 of Form 1040 instead of Schedule A.10Office of the Law Revision Counsel. 26 U.S.C. 162 – Trade or Business Expenses

It’s often more valuable than putting premiums on Schedule A because it reduces AGI directly, which lowers the floor for other deductions and may open up other tax benefits. You can’t double up: premiums deducted above the line can’t also be included in your Schedule A medical expenses.

Which Year an Expense Counts

Medical expenses are deductible in the year you pay them, not the year you receive the care. Surgery in December 2025 that you paid off in February 2026 belongs on your 2026 return.2Internal Revenue Service. Publication 502, Medical and Dental Expenses

Credit card charges follow a different rule. You deduct the expense in the year you charge it, not when you pay the card off. Charge a $3,000 dental bill in December 2026 and pay the statement in January 2027, and the full $3,000 counts for 2026. You generally can’t prepay for care substantially beyond the end of the current year and deduct it now.

Reporting It on Schedule A

You report the deduction on Schedule A (Form 1040). Line 1 takes your total unreimbursed medical expenses. Your AGI carries over from Form 1040 and is multiplied by 7.5% on Line 3. The difference, if your spending is higher, becomes your deductible amount on Line 4.11Internal Revenue Service. 2025 Schedule A (Form 1040) – Itemized Deductions That figure combines with your other itemized deductions and flows back to Form 1040 to reduce taxable income.12Internal Revenue Service. Instructions for Schedule A (Form 1040)

Keep receipts and billing statements showing the provider, date of service, treatment, and amount paid; insurance Explanation of Benefits documents; a mileage log if you’re claiming medical travel; and canceled checks or card statements confirming payment. Hold the records for at least three years from the date you file, which matches the standard IRS audit window.13Internal Revenue Service. How Long Should I Keep Records?

Some states also allow a medical expense deduction on their income tax returns, though the AGI threshold and the list of eligible expenses can differ from the federal rules. Check your state tax agency before assuming the federal treatment carries over.