Home  /  Helpful Guides  /  IRS Guides Summarized  /  Publication 502 — Medical and Dental Expenses
IRS Publication Summary

Publication 502 Summarized — Medical and Dental Expenses

This page is a plain-English working summary of IRS Publication 502 — Medical and Dental Expenses. It’s written for individual taxpayers trying to understand which health-related costs are deductible, how the AGI threshold works, and what common expenses don’t qualify. The purpose isn’t to replace the official IRS material, but to explain what the publication covers and how it’s usually used in real tax work.

Main points

  • Medical expenses are deductible only to the extent they exceed 7.5% of adjusted gross income (AGI), and only if the taxpayer itemizes deductions on Schedule A.
  • The publication provides an extensive list of qualifying expenses including doctor visits, prescriptions, dental work, vision care, and medically necessary equipment or home modifications.
  • Many commonly assumed deductions — cosmetic procedures, general health club memberships, over-the-counter vitamins — don’t qualify unless they meet specific medical-necessity standards.
  • Insurance premiums can qualify in some circumstances, but employer-paid premiums and pre-tax payroll deductions are excluded since the taxpayer didn’t pay them with after-tax dollars.

Common Mistakes to Avoid

  • Claiming medical expenses without first confirming that total medical costs exceed the 7.5% AGI floor.
  • Including expenses reimbursed by insurance or paid through a tax-advantaged account (HSA, FSA).
  • Deducting cosmetic surgery or elective procedures that aren’t medically necessary.
  • Forgetting that itemizing on Schedule A is required — the medical deduction is unavailable to taxpayers who take the standard deduction.

Section-by-Section Summary

How medical deductions fit into Schedule A and why itemizing matters

Medical and dental expense deductions are claimed on Schedule A as part of itemized deductions. This means they’re only available to taxpayers whose total itemized deductions exceed the standard deduction. For many taxpayers, especially after the Tax Cuts and Jobs Act increased the standard deduction, the medical expense deduction only comes into play in years with unusually high medical costs. Publication 502 helps readers determine whether their medical expenses are large enough to make itemizing worthwhile.

Why the AGI threshold changes what a taxpayer actually gets to deduct

Only medical expenses exceeding 7.5% of AGI are deductible. This means a taxpayer with $80,000 AGI must have more than $6,000 in qualifying medical expenses before any deduction begins. The threshold makes the deduction most valuable for taxpayers with lower incomes relative to their medical costs, or for anyone facing a major medical event in a single year. Publication 502 explains how to calculate the threshold and what counts toward it.

Which doctor, hospital and dental costs generally qualify

Qualifying expenses include payments to doctors, dentists, surgeons and other medical practitioners. Hospital services, lab work, X-rays, prescription medications, and insulin also qualify. Dental costs including cleanings, fillings and dentures are deductible. The key requirement is that the expense must be primarily for the prevention or treatment of a physical or mental condition, not for general health or personal comfort.

How insurance premiums and related care expenses are treated

Health insurance premiums paid with after-tax dollars can qualify as medical expenses. This includes premiums for Marketplace plans (if not subsidized by the premium tax credit), Medicare Part B and Part D premiums, and supplemental insurance. Premiums paid through a pre-tax payroll deduction don’t qualify since the taxpayer already received a tax benefit. Travel costs for medical care — mileage, parking and in some cases lodging — can also be deductible if the trip is primarily for and essential to medical care.

What types of equipment and medically necessary improvements can matter

Publication 502 covers a wide range of medical equipment and home modifications. Wheelchairs, crutches, hearing aids and contact lenses qualify. Home improvements that accommodate a medical condition — such as ramps, widened doorways, or accessible bathrooms — may be partially deductible to the extent their cost exceeds any increase in home value. The publication provides specific guidance on how to calculate the deductible portion of capital improvements.

Why cosmetic and general wellness costs are often not deductible

Cosmetic surgery and procedures that don’t meaningfully promote the proper function of the body or prevent or treat illness aren’t deductible. General health items like gym memberships, nutritional supplements, and spa treatments also fail to qualify unless prescribed by a physician for a specific medical condition. Publication 502 draws these lines clearly, which helps taxpayers avoid claiming expenses the IRS will disallow.

How Publication 502 helps with item-specific questions taxpayers regularly ask

One of the most useful features of Publication 502 is its alphabetical list of medical expenses showing whether each item qualifies. Taxpayers frequently ask about specific items — weight-loss programs, fertility treatments, service animals, long-term care — and the publication provides direct answers. This makes it a practical lookup tool rather than a publication that requires cover-to-cover reading.

How readers should use the publication as a qualification checklist

The best approach is to first calculate whether total medical expenses exceed the 7.5% AGI threshold. If they do, use the publication’s alphabetical list to verify which specific expenses qualify. Then subtract any reimbursements from insurance or tax-advantaged accounts. The remaining amount is the deductible medical expense. This systematic approach prevents both over-claiming and missing legitimate deductions.

How to Use This Publication

Start by calculating your AGI threshold (7.5% of AGI). If your total medical costs are likely to exceed it, go through the alphabetical expense list in the publication to identify which costs qualify. Remember to subtract insurance reimbursements and amounts paid through HSAs or FSAs.

For related context, see our guides on standard deduction vs. itemized deductions, how Form 1040 tax returns work, and Form 1095-A and the premium tax credit.

Official IRS source: IRS Publication 502 — Medical and Dental Expenses
Last updated: April 2026. This is a general summary intended to help readers orient themselves. The official IRS publication contains more complete rules, examples, thresholds, worksheets and exceptions. Readers should review the official publication directly and seek professional advice where facts are complex.

Frequently Asked Questions

What are medical and dental expenses and how do I actually claim them?

Medical and dental expenses are the money you spend on diagnosing, treating, curing, or preventing disease, plus the costs of keeping the parts of your body working the way they should. The IRS lays out the full picture in Publication 502, Medical and Dental Expenses, and the rules are narrower than most people expect when they first hear the words “medical deduction.” The big thing to understand up front is that these costs are an itemized deduction. They go on Schedule A of Form 1040, not on the front page of your return, and you only see a benefit if your total itemized deductions beat the standard deduction for your filing status.

That single fact knocks a lot of people out of the running before they even start. If you take the standard deduction, which most filers now do, your medical bills do nothing for your federal tax that year. They have to ride along with other itemized items like mortgage interest, state and local taxes capped at the SALT limit, and charitable giving, and the combined total has to clear the standard deduction before any of it changes your bill. So before you spend an evening adding up doctor receipts, the first question is whether you are itemizing at all. If you are not, the receipts are a record for your files and nothing more on the federal side.

The second hurdle is the floor. You can only count the part of your publication 502 medical and dental expenses that goes above 7.5 percent of your adjusted gross income. Everything under that line is gone for tax purposes. The threshold is a percentage of your AGI, so the higher your income, the bigger the bills you need before a single dollar counts. This is why the deduction tends to surface in two specific situations: a year with a major medical event, or a year where income dropped and the floor came down with it. People in their normal earning years with routine costs rarely get there.

What actually goes on the form is the leftover after the floor. You add up every qualifying expense you paid during the year, subtract 7.5 percent of your AGI, and the remainder is what lands on Schedule A. If your bills do not reach the floor, the line is zero and the work stops there. The math is simple once you see it, but people get tripped up because they assume every dollar of medical spending counts, and it does not. Only the slice above the threshold matters, and only if you itemize in the first place.

Timing follows the cash, not the calendar of treatment. The expense belongs to the year you actually paid it, not the year you received care or the year the bill showed up in the mail. Pay a December surgery bill in January, and it counts for the new year. If you put a medical charge on a credit card, it counts in the year you charged it, even if you pay the card balance off months later. That detail matters, because it lets you bunch expenses into a single year on purpose to clear the floor once instead of falling short two years in a row.

You can also include amounts you paid for your spouse and your dependents, which is how most families build a total big enough to clear the threshold. A parent covering a child’s braces, a spouse’s hospital stay, and a dependent’s prescriptions can pool all of it onto one return. We walk clients through this every filing season as part of our individual tax return work, because the difference between a usable deduction and a wasted pile of receipts often comes down to who paid, in what year, and whether itemizing made sense in the first place. Keep your receipts, keep a mileage log, and check the floor before you assume anything. Heading into next year, watch for a low-income or high-expense window where the deduction finally clears the line.

Which medical and dental expenses actually qualify for the deduction?

The list of qualifying costs is longer than people think, and Publication 502, Medical and Dental Expenses spells most of it out item by item. Start with the obvious ones. Payments to doctors, dentists, surgeons, chiropractors, psychiatrists, podiatrists, and other licensed providers count. So do hospital fees, lab work, X-rays, and the cost of in-patient care. If you paid a provider to diagnose, treat, cure, or prevent a real medical condition, you are usually on solid ground, and the bill belongs in your running total for the year.

Prescription medicines count when a doctor prescribes them, and insulin is treated as a qualifying expense even though it sits in its own category. Insurance premiums you pay with after-tax dollars also count, and this is a piece a lot of people miss. That includes premiums for medical and dental coverage, some long-term care insurance up to age-based dollar limits, and Medicare premiums you pay yourself, such as Part B and Part D. The catch is the money has to be after-tax. Premiums pulled from your paycheck before tax, the way most employer plans handle it, do not qualify, because you already got the break when the money skipped your taxable wages.

Then there is the everyday equipment and care that surprises people. Eyeglasses, contact lenses, and the eye exam behind them qualify. Hearing aids and their batteries count. So do crutches, wheelchairs, guide dogs, and the cost of feeding and caring for a service animal. Travel to get medical care is deductible too, including mileage to and from appointments at the standard medical rate the IRS sets each year, plus parking and tolls along the way. If you drive a sick relative to chemotherapy, those miles can count toward your total, so keep the dates and distances written down somewhere you will find them.

Capital improvements for a medical need can qualify, with a twist worth understanding. If you install something like an entrance ramp, widen doorways for a wheelchair, lower kitchen cabinets, or add railings for a person with a disability, the cost counts as a medical expense to the extent it goes beyond the value it adds to your home. If the improvement raises your property value by less than you spent, the difference is deductible. Equipment that adds no value to the home, such as a portable ramp or a detachable grab bar, can count in full. Keep the contractor invoices and any appraisal that shows the value change in case you need to back it up.

Here is a worked example to make the floor real. Say you have 80,000 dollars of adjusted gross income for the year. Your floor is 7.5 percent of that, which is 6,000 dollars. Over the year you rack up 14,000 dollars of qualifying medical and dental expenses between a hospital stay, prescriptions, and your after-tax premiums. You subtract the 6,000 dollar floor from the 14,000, and you are left with 8,000 dollars. That 8,000 is your deduction, but only if you itemize on Schedule A. If your total itemized deductions still fall short of the standard deduction for your filing status, even that 8,000 does nothing for your tax bill.

The phrase to keep in your head is that the expense has to be for medical care, not for general health. A doctor-ordered treatment qualifies. A gym membership you bought because you wanted to feel better usually does not. When clients ask us to sort the gray areas during their return preparation, the question we keep coming back to is whether a specific diagnosed condition drove the spending. Keep documentation that ties each cost to actual care, and you will be ready if the IRS ever asks for proof. Going forward, save the receipts that show the medical purpose, because that is the part that holds up under review.

What does NOT count as a deductible medical or dental expense?

Knowing what fails is as useful as knowing what qualifies, and Publication 502 draws some firm lines. Cosmetic procedures top the list. If the work is meant to improve your appearance rather than treat a deformity, a disease, or an injury, the cost does not count toward your medical and dental expenses. A nose job purely for looks fails. The same surgery to repair damage from a car accident or correct a congenital problem can qualify. The dividing line is medical necessity, and the IRS leans on it hard when a deduction looks like a beauty expense in disguise.

General-health spending fails too. Vitamins and supplements you take to stay healthy do not count, even though they touch your body and your wellbeing. A gym membership, a weight-loss program you joined to look better, and most diet food are out of bounds. The narrow exception is when a doctor prescribes a treatment for a specific diagnosed condition, such as a weight-loss program ordered to treat diagnosed obesity or hypertension, and even then the rules are tight and you should hold onto the doctor’s written direction in case anyone asks about it later.

Most over-the-counter drugs do not qualify on a regular tax return unless you have a prescription for them. You can grab pain relievers, cold medicine, and allergy pills off the shelf, but the cost is not a deductible medical expense on Schedule A without that prescription. The exception is insulin, which the IRS treats as qualifying even though you do not strictly need a prescription to buy it. Worth noting: the rules for over-the-counter items are looser inside health accounts like an HSA or FSA, which run on a separate set of rules, so do not assume the Schedule A treatment and the account treatment match each other.

The biggest trap is anything you did not actually pay out of your own after-tax pocket. You cannot deduct an expense that insurance reimbursed. If your plan paid the hospital directly, that part is not yours to claim, and if you get reimbursed in a later year for something you already deducted, you may have to report that recovery as income on the later return. The same logic blocks anything paid with tax-free money from a health savings account or a flexible spending account. The IRS explains how those accounts work in Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans, and it pairs naturally with Publication 502.

That brings up the most common mistake we see, double dipping. Someone pays a 2,000 dollar medical bill out of their FSA, which is pre-tax money, and then turns around and lists that same 2,000 dollars on Schedule A. You cannot have it both ways. The FSA already handed you the tax break when the money went in untaxed, so claiming it again as an itemized deduction takes the same benefit twice, and that is exactly the kind of thing that draws an IRS notice. If you paid a bill with HSA or FSA dollars, that expense is finished for tax purposes and never touches Schedule A.

The other frequent miss is forgetting the 7.5 percent floor wipes out small totals. People add up a year of routine copays and a few prescriptions, get to maybe 1,500 dollars, and assume they have a deduction waiting for them. Against a normal income, that whole amount sits below the floor and produces nothing on the return. We sort the qualifying spending from the disqualified spending during individual return preparation so clients do not claim something that gets clawed back later. Before you list any medical cost, ask yourself one plain question: did I already get a tax break on this dollar somewhere else. If the answer is yes, leave it off the return entirely.

How do HSAs and FSAs interact with the medical expense deduction?

Health savings accounts and flexible spending accounts are powerful, but they do not stack with the itemized medical deduction, and that surprises a lot of people. The core rule is simple. Money that went into an HSA or FSA was never taxed on the way in, so when you spend it on medical care you are already getting the full tax benefit. You do not get a second one by also writing those same costs on Schedule A. The IRS covers how these accounts function in Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans, and it is worth reading right alongside Publication 502 so the two sets of rules do not blur together in your head.

Think of it as two separate buckets of money. One bucket is your after-tax cash, the regular money in your checking account that you already paid income tax on. The other bucket is your HSA or FSA, funded with pre-tax dollars straight out of your pay. Only the spending from the after-tax bucket can ever land on Schedule A, and only that spending counts toward the 7.5 percent floor. Spending from the pre-tax bucket is invisible to the itemized deduction. It already did its job the moment the money went in untaxed, so it has nothing left to give you on the return at filing time.

This changes how you should plan a heavy medical year before it happens. If you expect big bills, you have a real choice about which bucket to spend from. Paying out of pocket with after-tax money builds your Schedule A total and can push you over the floor. Paying from the HSA or FSA gives you the up-front tax break but adds nothing to the itemized deduction. There is no single right answer for everyone. It depends on whether you will itemize at all that year, how close you already are to the floor, and whether you would rather leave HSA dollars invested to grow tax-free. This is the kind of trade-off we model during tax strategy consulting before the year closes, because once the money is spent the choice is locked in for good.

An HSA carries an extra advantage a plain deduction cannot match. The money goes in untaxed, grows untaxed, and comes back out untaxed when you use it for qualifying medical costs. Unspent HSA dollars roll forward year after year and can sit invested for decades, which makes it part savings vehicle and part medical fund. An FSA is more use-it-or-lose-it, with only a small carryover or short grace period depending on how the plan is written. Neither of those features touches the 7.5 percent floor, which applies only to the itemized deduction on your Form 1040 and nowhere else.

Watch the reimbursement timing too, because it can reverse a deduction you already took. If you pay a bill out of pocket in one year, deduct it on Schedule A, and then get reimbursed from your FSA or insurance in a later year, you generally have to report that recovery as income. The deduction was built on you actually bearing the cost, and once someone gives the money back, the basis for the deduction is gone for that amount. Keep a clean record of which bucket paid each bill so you never accidentally claim a cost that a pre-tax account already covered for you.

The mistake to avoid is the same double dip from the qualifying-expenses question: running a bill through the FSA and then listing it again as an itemized medical expense. That takes one tax benefit twice and is the fastest way to draw a letter from the IRS. Decide which bucket pays a given bill, write it down somewhere, and stick with that decision when you file. For the year ahead, look at your expected medical spending early in the year and decide on purpose which dollars come from which account, rather than sorting it out in a panic at tax time.

Is it worth the effort to track medical expenses if I might not clear the floor?

This is the practical question, and the honest answer is that it depends entirely on your year. For most filers in a normal year, the 7.5 percent floor and the standard deduction together mean medical expenses never produce a federal benefit, so detailed tracking can feel like wasted effort. But the years where it does pay off are exactly the years you cannot predict in advance, which is why a light habit of saving receipts beats scrambling in April after the fact. Publication 502 defines what counts as a qualifying medical expense, and the floor decides whether your stack of receipts turns into an actual deduction.

Run the math on your own situation before you decide how hard to track. Take your expected adjusted gross income and multiply by 7.5 percent. That product is your floor, the amount of medical spending that produces nothing on the return. If your AGI is 80,000 dollars, the floor is 6,000 dollars. If you rarely spend more than a couple thousand on copays and prescriptions, you are nowhere near it, and you can stop worrying about the deduction most years. If you are facing surgery, a long-term care situation, fertility treatment, or a chronic condition with steady ongoing costs, you may clear it without much trouble, and every receipt above the floor starts to matter.

The two scenarios where this deduction comes alive are worth naming out loud. The first is a high-expense year, a major medical event that pushes your bills well past the floor on its own. The second is a low-income year. Because the floor is a percentage of AGI, a year where your income drops, maybe from a job change, a sabbatical, a business loss, or retirement, lowers the floor and makes the same medical spending count. People who retire and start drawing down savings sometimes find their Medicare premiums and care finally clear the line for the first time. We flag these windows for clients during tax strategy consulting so they can bunch elective procedures or pay outstanding bills in the year that actually rewards it.

Bunching is the real lever you control. Because the expense counts in the year you pay it, you can sometimes pull deductible costs into a single year on purpose to clear the floor once rather than miss it twice. Pay this year’s bill and accelerate next year’s planned care into the same calendar year, and you might cross the line in one year instead of falling just short in both. Charging a medical cost to a credit card in late December locks it into that year even if you pay the card off in January. This only works if you itemize, so first confirm your total deductions on Schedule A beat the standard deduction for your filing status.

So what should you actually keep on hand. Save provider receipts, pharmacy printouts, premium statements for any coverage you pay with after-tax money, and a mileage log for trips to and from care. Note which bills were paid from an HSA or FSA so you never deduct them by mistake, a point the IRS reinforces throughout Publication 969. Good records make this painless, and clean numbers carry straight over into the rest of your return on Form 1040. For business owners juggling personal and company finances in the same shoebox, our bookkeeping service keeps the medical paper trail separate and ready when filing season arrives.

So track lightly in calm years and track carefully the moment you sense a high-expense or low-income year coming. The cost of saving a few receipts is small, and the year you finally clear the floor, you will be glad the paper was already in a folder instead of lost. Look ahead at your next twelve months and decide now whether this is a year worth watching closely.

Contact Us