IRS Publication 502: Guide to Medical & Dental Expenses

ARUN KP

11/11/2026

Introduction: What is Publication 502?

IRS Publication 502, officially titled Medical and Dental Expenses, is the federal government’s comprehensive guide to deducting healthcare costs. Medical care is one of the largest living expenses for American families, and high out-of-pocket bills can strain any household budget. To provide tax relief, the Internal Revenue Code allows taxpayers who itemize their deductions to write off qualifying healthcare expenditures.

The primary purpose of Publication 502 is to explain which medical and dental expenses qualify for a federal tax deduction and which expenses are disallowed. It establishes the baseline rules for calculating the medical deduction floor, clarifies whose medical bills you are permitted to deduct, and details the recordkeeping needed to support your claim.

Because healthcare touches everything from prescription eyeglasses and routine dental cleanings to specialized surgeries and home accessibility ramps, Publication 502 serves as an essential manual for determining what counts. Following its rules ensures taxpayers maximize their legitimate deductions without claiming ineligible wellness or cosmetic costs.

Who Should Read This Publication?

Publication 502 is an important reference for anyone navigating high healthcare costs or evaluating their tax deductions:

  • Taxpayers with Significant Out-of-Pocket Medical Bills: Individuals who experienced major medical events, surgeries, hospital stays, or long-term therapy during the tax year.
  • Caregivers and Adult Children: Taxpayers who pay substantial medical or nursing home bills for elderly parents or family members.
  • Itemizing Taxpayers: Individuals whose total itemized deductions on Schedule A exceed their standard deduction threshold.
  • Families with Special Healthcare Needs: Parents managing treatments for children with physical disabilities, chronic conditions, or specialized educational requirements.
  • Tax Professionals and Financial Planners: Accountants and advisors helping clients evaluate itemization strategies and coordinate healthcare deductions.

Key Topics Covered

Publication 502 provides an alphabetical directory of medical expenses alongside clear explanations of tax calculation rules. The major topics include:

  • The 7.5% AGI Deduction Floor: The statutory limitation that restricts deductions to expenses exceeding a percentage of your Adjusted Gross Income.
  • Eligible Medical and Dental Treatments: Guidance on what counts as qualified care, including diagnostic fees, hospital services, dental work, vision care, and prescription drugs.
  • Family and Dependent Coverage: Rules explaining when you can include medical costs paid for your spouse, children, or other qualifying relatives.
  • Transportation and Travel for Medical Care: How to deduct mileage, bus fares, parking fees, and travel lodging related to medical appointments.
  • Home Modifications and Capital Expenses: Rules for deducting accessibility improvements made to private residences for medical reasons.
  • Ineligible Healthcare Costs: Clear distinctions that disallow over-the-counter medicines, general wellness items, elective cosmetic procedures, and reimbursed expenses.

Detailed Breakdown of Main Concepts

1. The 7.5% Adjusted Gross Income (AGI) Floor

Medical and dental expenses are not deductible from dollar one. Publication 502 explains that you can only deduct the portion of your total unreimbursed medical expenses that exceeds 7.5% of your Adjusted Gross Income (AGI). The IRS refers to this statutory limitation as the deduction floor.

To benefit from this deduction, your qualifying expenses must first surpass the 7.5% threshold, and your total itemized deductions must exceed your standard deduction. If your AGI is $50,000, your 7.5% floor is $3,750. If you incurred $5,000 in qualifying out-of-pocket medical bills, only the $1,250 that exceeds the floor can be deducted on Schedule A.

2. What Counts as a Qualified Medical Expense

Under IRS regulations, medical expenses are defined as the costs of diagnosis, cure, mitigation, treatment, or prevention of disease, as well as the costs for treatments affecting any part or function of the body. Payments must be made primarily to alleviate or prevent a physical or mental defect or illness.

Qualifying expenses include fees paid to doctors, surgeons, dentists, chiropractors, psychiatrists, and physical therapists. Inpatient hospital care, prescription medications, insulin, dental treatments (including fillings and braces), contact lenses, hearing aids, and crutches are all fully eligible. However, the purchase must be for genuine medical care rather than general health benefits.

3. Whose Medical Expenses You Can Deduct

Publication 502 allows you to include medical expenses you paid during the tax year for yourself, your spouse, and your dependents. Marital status is evaluated either at the time the medical services were provided or when the bills were paid.

Additionally, you can deduct medical expenses paid for someone who qualifies as your dependent, including individuals who satisfy all dependent tests except for the gross income test or joint return test. For example, if you provide over half the financial support for an elderly parent who cannot be claimed as a dependent purely because their gross income exceeds the annual limit, you can still include the medical bills you paid on their behalf in your deduction calculation.

4. Medical Travel, Mileage, and Lodging

Getting to and from necessary medical treatments can be expensive, and Publication 502 allows you to include transportation costs incurred primarily for medical care. This includes bus, train, taxi, or ambulance fares, as well as parking fees and highway tolls.

If you use your personal vehicle for medical transit, you can deduct actual out-of-pocket expenses for gas and oil, or use the standard medical mileage rate set annually by the IRS. You can also deduct lodging costs up to $50 per night per individual (including an accompanying parent or caregiver) if the lodging is essential for medical care provided by a licensed physician in a licensed hospital or equivalent medical facility away from home.

5. Home Modifications and Accessibility Improvements

If you make capital improvements to your home primarily for the medical care of yourself, your spouse, or a dependent, Publication 502 permits a medical deduction. Examples include constructing wheelchair entrance ramps, widening doorways or hallways, installing handrails, modifying stairways, and lowering kitchen cabinets.

If the improvement does not increase the fair market value of your home, the entire expense is deductible as a medical cost. If the improvement increases the market value of your property, the allowable medical deduction is limited to the difference between the actual construction cost and the increase in property value.

6. The “No Double Dipping” Rule: HSAs, FSAs, and Insurance

A core rule in Publication 502 is that you can only deduct medical expenses that were paid out of your own pocket and never reimbursed. You cannot deduct expenses that were paid by health insurance or reimbursed through a flexible spending arrangement (FSA) or health savings account (HSA).

Because contributions to HSAs and FSAs are already made using pre-tax dollars, claiming an itemized deduction for those same expenses would constitute an illegal double tax benefit. You must subtract all insurance reimbursements and tax-free account distributions before calculating whether your remaining expenses exceed the 7.5% AGI floor.

Practical Examples and Scenarios

The following examples show how taxpayers apply Publication 502 rules to determine deductible medical expenses.

Scenario 1: Calculating the 7.5% AGI Floor

Brian has an Adjusted Gross Income of $60,000 for the tax year. During the year, Brian had knee surgery and incurred $7,500 in total out-of-pocket medical bills after his insurance paid its share. His bills included hospital co-pays, physical therapy, and prescription drugs.

Brian calculates 7.5% of his $60,000 AGI, which equals $4,500. He then subtracts this floor from his $7,500 in total out-of-pocket expenses ($7,500 – $4,500). Brian can claim a medical deduction of $3,000 on Schedule A, provided his total itemized deductions exceed his standard deduction.

Scenario 2: Deducting Medical Care for an Aging Parent

Elena pays $10,000 directly to a specialized home-health nursing agency to care for her 78-year-old father, who has advanced mobility issues. Elena provides more than half of her father’s total living support for the year, but her father earns a pension that prevents Elena from claiming him for the standard dependent credit.

Under Publication 502, because Elena meets the support test for a qualifying relative, she can add the $10,000 in nursing expenses she paid for her father directly to her own family medical expense total on Schedule A. This allows her to easily surpass the 7.5% AGI floor and lower her taxable income.

Eligible vs. Ineligible Medical Expenses

Expense Description Deductible Status IRS Guidance and Conditions
Prescription Drugs & Insulin Deductible Must be prescribed by a licensed practitioner; over-the-counter medicines are excluded.
Dental Work & Orthodontia Deductible Includes preventative cleanings, crowns, fillings, and braces; teeth whitening is excluded.
Eyeglasses & Eye Surgery Deductible Includes prescription glasses, contact lenses, and corrective laser eye surgery (LASIK).
Elective Cosmetic Surgery Non-Deductible Disallowed unless needed to correct a deformity from congenital abnormality, trauma, or disease.
Over-the-Counter Medications Non-Deductible Aspirin, cold remedies, and antacids cannot be deducted even if recommended by a doctor.
General Gym Memberships Non-Deductible Disallowed if for general fitness, even if advised by a physician to improve health.

How This Publication Relates to Specific Forms

Publication 502 serves as the official rulebook for calculating figures on several federal tax forms:

  • Schedule A (Form 1040): The primary tax schedule for itemized deductions. Lines 1 through 4 are reserved specifically for entering total medical and dental expenses, calculating the 7.5% AGI limit, and determining the net allowable deduction.
  • Form 1040 (U.S. Individual Income Tax Return): Line 11 displays your Adjusted Gross Income, which is the baseline number multiplied by 7.5% to establish your deduction floor.
  • Form 8889 (Health Savings Accounts): Used to report HSA contributions and distributions, ensuring that expenses paid with tax-free HSA funds are excluded from your Schedule A medical deductions.
  • Form 1099-LTC: Information return reporting long-term care insurance benefits and accelerated death benefits, used to verify any reimbursements received during the year.

Common Misunderstandings Clarified

Misunderstanding 1: “All out-of-pocket medical expenses are deductible.”

You cannot deduct every dollar you spend on medical care. Only the amount that exceeds 7.5% of your AGI is deductible. Furthermore, the deduction only helps you if you choose to itemize deductions on Schedule A rather than claiming the standard deduction.

Misunderstanding 2: “Over-the-counter medicines are deductible if a doctor advises them.”

Many taxpayers assume that purchasing vitamins, allergy tablets, or pain relievers recommended by a physician creates a tax deduction. Under federal law, non-prescription medicines are strictly non-deductible, regardless of a doctor’s recommendation. The single exception to this rule is insulin.

Misunderstanding 3: “Cosmetic procedures qualify if they boost mental well-being.”

The IRS strictly disallows deductions for cosmetic surgery directed at improving a taxpayer’s appearance. Surgeries such as face-lifts, hair transplants, and liposuction are non-deductible unless the procedure is necessary to ameliorate a deformity arising from a congenital abnormality, personal injury from an accident, or a disfiguring disease.

Misunderstanding 4: “You cannot deduct health insurance premiums.”

Premiums you pay out of pocket with post-tax dollars for medical, dental, and qualified long-term care insurance are fully eligible medical expenses that count toward the 7.5% floor. However, you cannot deduct premiums paid by your employer or premiums deducted from your paycheck on a pre-tax basis.

Why This Publication Matters for Taxpayers

Unexpected medical emergencies and ongoing chronic treatments can create overwhelming financial burdens. Publication 502 provides a legal cushion by allowing households hit with extraordinary healthcare expenses to significantly reduce their taxable income.

Additionally, consulting Publication 502 prevents costly mistakes during tax filing. Deducting non-qualifying personal wellness expenses or failing to account for insurance reimbursements is a frequent trigger for IRS audit inquiries. Adhering to the clear guidance in Publication 502 guarantees that your itemized healthcare claims are legitimate and properly documented.

Frequently Asked Questions

Are mental health therapy sessions deductible under Publication 502?

Yes. Amounts paid for psychiatric care, psychological therapy, and counseling services provided by licensed mental health professionals to treat a diagnosed mental condition are fully deductible medical expenses.

Can I deduct the cost of a guide dog or service animal?

Yes. You can deduct the costs of buying, training, and maintaining a guide dog or other service animal used primarily to assist a person with a physical disability, including veterinary care, food, and grooming expenses.

Are dental implants and orthodontia covered?

Yes. Dental treatments that prevent or treat dental disease, including cleanings, fillings, root canals, dentures, dental implants, and braces, are qualifying medical expenses. Purely cosmetic treatments, such as teeth whitening, are excluded.

Can nursing home costs be deducted as medical expenses?

If an individual is in a nursing home primarily for medical care, the entire cost of the facility—including meals and lodging—is deductible. If the person is there primarily for personal or custodial reasons, only the portion of the fee directly attributable to medical and nursing services is deductible.

Are medical marijuana expenses deductible on a federal return?

No. Even if medical marijuana is legal under your state law and prescribed by a licensed physician, federal law classifies marijuana as a controlled substance. Because federal tax law governs federal returns, medical marijuana expenses are strictly non-deductible.

Conclusion

IRS Publication 502 is an indispensable guide for any taxpayer facing substantial healthcare costs. It establishes clear boundaries on what constitutes deductible medical care, explains how to navigate the 7.5% AGI threshold, and prevents taxpayers from claiming disallowed personal wellness costs.

By keeping detailed receipts, tracking medical mileage, and comparing your eligible healthcare costs against the standard deduction, you can use Publication 502 to lower your tax liability and retain more of your financial resources when health challenges arise.

ARUN KP
Author

Entrepreneur | Tax Journalist | India-US Tax Consultant & Professional Accountant. Connect with me on LinkedIn.

Leave a Comment