Most medical costs don't reduce your taxable income, even though they come out of your pocket

The federal tax code allows you to deduct medical expenses, but only if two conditions are met: the expense must be for diagnosis, cure, mitigation, treatment, or prevention of disease, and your total medical expenses for the year must exceed 7.5% of your adjusted gross income (AGI). That second threshold eliminates most people from deducting anything at all. But even if you clear that hurdle, entire categories of spending are permanently off-limits — not because they're below the threshold, but because the tax code straightforward doesn't count them as medical.

The IRS distinguishes between what a doctor says you need and what the tax code says you can deduct. A therapist might recommend a gym membership for your mental health. Your dermatologist might suggest a specific brand of sunscreen. Your cardiologist might advise you to move to a warmer climate. None of these are deductible, even with a doctor's note, because they fall outside the narrow definition of medical expense.

Key Takeaways

  • Cosmetic procedures, including teeth whitening and most dental work, are not deductible even if they affect your appearance or health.
  • Gym memberships, weight loss programs, and general health maintenance are not deductible, even with a doctor's recommendation.
  • Medications and supplements you buy without a prescription—including over-the-counter pain relievers, cold medicine, and vitamins—are not deductible.
  • Travel costs to receive medical care, including airfare and hotel stays, are not deductible, though some medical transportation may be.
  • You must exceed 7.5% of your AGI in total medical expenses before you can deduct any of them, which means most taxpayers deduct nothing.

Cosmetic procedures and elective dental work

The IRS treats cosmetic procedures as personal expenses, not medical ones. This includes teeth whitening, veneers, most orthodontia, hair transplants, facelifts, and Botox injections. The rule is strict: if the procedure's primary purpose is to improve appearance rather than treat a disease or injury, it's not deductible.

Dental work sits in a gray zone. Routine cleanings, fillings for cavities, and root canals are deductible because they treat tooth disease. But crowns placed purely for cosmetic reasons, or braces for adults seeking straighter teeth without a medical condition, are not. Implants are deductible if they replace teeth lost to disease or injury, but not if they're placed to improve your smile. The distinction turns on whether the work treats an existing condition or creates an improvement.

Over-the-counter medications and supplements

Any medication or supplement you buy without a prescription is not deductible. This includes aspirin, ibuprofen, acetaminophen, cold medicine, allergy tablets, antacids, and every vitamin or mineral supplement on the shelf. The rule applies even if a doctor recommends the product and even if you have a chronic condition the product treats.

Prescription medications are deductible, but the moment you switch to an over-the-counter version of the same drug—which often happens when a medication moves from prescription-only to OTC status—it becomes non-deductible. Insulin is an exception: you can deduct insulin even without a prescription, because the IRS carved out this specific drug by name in the tax code.

Gym memberships, weight loss programs, and general wellness

A gym membership is never deductible, regardless of why you joined. Even if your doctor writes a letter saying exercise is medically necessary for your heart condition or diabetes, the IRS does not count the membership as a medical expense. The reasoning is that a gym provides general health maintenance, not treatment of a specific disease.

Weight loss programs fall into the same category. Programs like Weight Watchers, Jenny Craig, and Nutrisystem are not deductible, even if your doctor referred you and even if you have a medical diagnosis of obesity. The IRS views these as general wellness rather than treatment. However, if a weight loss program is part of a broader treatment plan for a specific disease—such as a medically supervised program for severe obesity with comorbid conditions—some or all of the cost may be deductible. The distinction is difficult to prove and requires documentation from your physician that the program treats a diagnosed disease, not general health.

Travel and lodging to receive medical care

You cannot deduct the cost of traveling to a medical appointment or procedure, even if the trip is necessary and the medical care itself is deductible. Airfare, train tickets, car rental, and hotel stays are not deductible medical expenses. This applies even if you travel out of state or out of the country for specialized treatment.

The one exception is mileage. If you drive your own car to a medical appointment, you can deduct the mileage at the IRS standard rate (which changes yearly). You cannot deduct parking fees or tolls, however. The logic is that mileage is a proxy for the cost of fuel and vehicle wear, but hotels and airfare are considered personal travel expenses that happen to coincide with medical care.

Cosmetic items and personal care products

Toothpaste, mouthwash, deodorant, shampoo, and soap are not deductible, even if they treat a skin condition or dental problem. The IRS classifies these as personal hygiene items, not medical expenses. The same applies to bandages, first-aid supplies, and other over-the-counter medical supplies you might buy at a drugstore—unless they are prescribed by a doctor as part of treatment for a specific condition, in which case they may be deductible as medical equipment rather than supplies.

Hearing aids and eyeglasses are deductible because they treat a diagnosed condition (hearing loss or refractive error). But the frames, cases, and cleaning solutions are not separately deductible. Wigs are deductible only if they are prescribed by a doctor to treat hair loss caused by disease or medical treatment, not for cosmetic reasons or general baldness.

Maternity and childbirth expenses that overlap with personal costs

Prenatal care, delivery, and postpartum medical visits are deductible. But maternity clothes are not, because they are personal apparel. The line between medical and personal becomes blurry with items like maternity support garments or compression stockings prescribed for pregnancy-related circulation problems—these may be deductible if a doctor prescribes them specifically for treatment, but standard maternity wear is not.

Childbirth classes, doula services, and midwife fees vary in deductibility depending on whether they are part of a medical treatment plan or general preparation. A midwife who delivers your baby as part of licensed medical care is deductible; a doula hired for labor support is typically not, because doula services are not regulated medical care.

Frequently Asked Questions

Can I deduct the cost of a doctor's note or letter?

No. The fee a doctor charges to write a letter, fill out a form, or provide documentation is not deductible as a medical expense. It's considered an administrative cost. However, if you visit the doctor for an appointment and they write a note as part of that visit, the appointment itself is deductible.

What about prescription sunscreen or prescription moisturizer?

Prescription status does not make a product deductible if it's primarily for cosmetic use or general skin care. A dermatologist might prescribe a high-strength sunscreen or moisturizer, but the IRS still classifies these as personal care items. The exception is if the product treats a diagnosed skin disease like psoriasis or severe dermatitis; then it may be deductible as treatment for that condition.

Is therapy or counseling deductible?

Mental health treatment by a licensed therapist, psychologist, or psychiatrist is deductible as a medical expense. But life coaching, career counseling, or general wellness coaching is not, even if it improves your mental state. The distinction is whether the provider is treating a diagnosed mental health condition or offering general information.

Can I deduct the cost of a medical alert system or home modifications?

A medical alert system (like a wearable device that calls for help) is generally not deductible because it's considered a personal safety device. However, home modifications made specifically to accommodate a disability—such as a wheelchair ramp, grab bars, or a walk-in shower installed because of mobility loss—are deductible as medical equipment. The key is that the modification must be necessary to treat or accommodate a diagnosed condition, not a general improvement to your home.

If my doctor says I need something, doesn't that make it deductible?

No. A doctor's recommendation does not override the tax code's definition of a deductible medical expense. The IRS has its own rules about what counts as medical, separate from what a doctor prescribes. A doctor might recommend a vacation for stress relief, but that's not deductible. The tax code defines the boundaries, not your physician.