You can deduct medical costs only to the extent they exceed 7.5% of your AGI, following IRS rules in Publication 502.
What This Deduction Actually Covers
Itemizing on Schedule A lets you claim out-of-pocket care you paid during the tax year for yourself, a spouse, and dependents. Insurance reimbursements don’t count. Flexible spending and health savings account payments don’t count either, since those dollars were already tax advantaged. The deduction only picks up the slice above the 7.5% adjusted gross income floor.
The rule has been in place for years and applies to a wide range of services, supplies, and travel linked to medical care. The best way to think about it: if a charge primarily treats or prevents a condition, it probably belongs on your list. Cosmetic work to improve appearance usually doesn’t. Publication 502 explains the line items, with plenty of examples and edge cases.
Quick Reference: What You Can Count
Use this broad table to triage receipts. It isn’t a full list, but it will cover most households.
| Expense Category | Deductible? | Notes |
|---|---|---|
| Doctor, dentist, hospital, clinic fees | Yes | Out-of-pocket only, after insurance |
| Prescription drugs and insulin | Yes | Legal prescriptions; no general supplements |
| Over-the-counter medicines | Yes | Allowed when used to treat a medical condition |
| Premiums: Medicare Part B and Part D | Yes | Count what you paid; Part A only if not covered by work credits |
| Premiums: Marketplace plan | Yes | Include your share; advance credits reduce what you paid |
| Premiums: COBRA or employer plan | Yes | After-tax amounts only |
| Long-term care services | Yes | Must meet tax-qualified standards |
| Qualified long-term care insurance | Limited | Age-based annual caps apply |
| Medical travel by car | Yes | Standard cents-per-mile rate or actual fuel |
| Parking and tolls for medical visits | Yes | Keep receipts or logs |
| Lodging for care away from home | Yes | Per-night dollar cap per person; no meals |
| Weight-loss program to treat a disease | Yes | Doctor diagnosis required |
| Smoking cessation program | Yes | Includes prescription aids |
| Service animals trained for medical aid | Yes | Includes purchase, training, and upkeep |
| Cosmetic surgery for appearance only | No | Exceptions when linked to a deformity or injury |
| Gym dues and general vitamins | No | Unless prescribed to treat a specific condition |
| Childcare or lost wages during treatment | No | Personal costs aren’t medical care |
How The 7.5% Floor Works
The math is simple once you see it. Add all eligible out-of-pocket items for the year. Multiply your AGI by 7.5%. Subtract that figure from your total medical amount. The remainder is what goes on Schedule A, line for medical. If the remainder is zero or negative, you don’t get a write-off for that year.
Here’s a sample: AGI is $80,000 and you paid $9,000 in eligible costs. The floor is $6,000. Your deduction would be $3,000. If your costs were $5,500, you’d have no deduction since the floor would absorb it all.
How Much Of Your Medical Bills Are Deductible: The Math
Your deductible slice changes with income and timing. Big procedures in one year can push you past the threshold. Spreading small bills across two years often fails to clear the floor. Some filers bunch care into a single calendar year to lift the total above 7.5% of AGI, then itemize that year and take the standard deduction the next.
Keep records by date paid, not the date of service. Track reimbursements that arrive later. If you receive money back in a later year for costs you wrote off, you may need to include part of it in income under the tax benefit rule.
Premiums: What Counts And Where
Premiums you pay with after-tax dollars count toward medical on Schedule A. Medicare Parts B and D qualify. Medigap counts. Marketplace premiums also count, but only the share you actually paid out of pocket. Any advance premium tax credit lowers the amount you can add to your tally. If you qualify for more credit at filing, your out-of-pocket share goes down; if you owe back a portion, your share goes up.
Self-employed filers may be able to claim health insurance above the line instead of itemizing. That separate rule has its own limits and interacts with premium credits. Run the numbers both ways to see which path gives the better result for your return.
Long-Term Care: Special Caps
Tax-qualified long-term care insurance premiums can be added, but only up to age-based dollar ceilings that adjust each year. Services for chronic illness under a plan of care also qualify when the definition in the code is met. Keep the policy paperwork, the insurer’s statements, and any care plan from a licensed practitioner.
For 2025, the eligible premium ceilings are $480 (age 40 or under), $900 (ages 41–50), $1,800 (51–60), $4,810 (61–70), and $6,020 (71+). These limits apply per person and cap how much premium can enter your medical total.
Travel For Care: Miles And Lodging
You can claim cents per mile for trips made mainly for medical care, plus parking and tolls. Keep a simple log with dates, destinations, and purpose. For 2025, the medical driving rate is 21 cents per mile. You can instead track actual fuel used for those trips, but most people pick the standard rate. Lodging tied to care away from home also qualifies up to a set nightly cap per person, excluding meals.
Records That Stand Up
Good records win audits. Build a single folder for the year. Save invoices, pharmacy printouts, EOBs, and canceled checks. Tag each item as paid by cash, card, or HSA/FSA. A mileage log can be a small notebook or a spreadsheet. Tie totals to the lines on Schedule A. If your software asks for categories, mirror the layout of your table above and you’ll stay organized.
What Doesn’t Count
Here are common items that trip people up: gym dues, cosmetic work done purely for looks, diapers for healthy infants, babysitting while you see a doctor, and home upgrades that simply add comfort. Vitamins and supplements fall in the no pile unless a doctor prescribes them to treat a diagnosed condition. Insurance premiums paid with pre-tax payroll dollars don’t go on Schedule A because the tax break already happened on the paycheck.
How To Decide Whether To Itemize
This deduction only helps if all itemized deductions beat the standard deduction for the year. Many filers only itemize in years with a spike in medical costs or mortgage interest. If your medical total comes in just above the floor, the net write-off may be small. Run a quick comparison in your software: standard deduction versus itemized. Pick the higher result.
Worked Examples You Can Copy
These bite-size scenarios show how the floor changes the outcome.
| AGI | Out-of-Pocket Medical | Deductible Portion |
|---|---|---|
| $60,000 | $5,000 | $500 (5,000 − 4,500) |
| $100,000 | $10,000 | $2,500 (10,000 − 7,500) |
| $40,000 | $2,800 | $0 (below the $3,000 floor) |
Smart Timing Moves
If you’re close to the 7.5% line, timing can help. Ask if a procedure can land before December 31 so the bill hits the current year. Refill prescriptions in late December if you’ve already cleared the floor. Delay small elective costs to the next year if you won’t itemize this year. Balance timing moves with your health needs first.
Marketplace Credits, Medicare, And Your Totals
People with Marketplace coverage should match Form 1095-A to Form 8962 to settle advance credits. Your deductible amount is your share after that math. Medicare enrollees can count Part B, Part D, and Medigap premiums they paid. If Social Security withheld Part B from benefits, the premium still counts as paid by you.
How To Prep Your Return
Make a two-column list: paid with pre-tax accounts versus paid with after-tax money. Pull totals by category. Enter the sum on the medical line of Schedule A. Keep backup ready to match any number on your return. If you amended an earlier year due to a later reimbursement, add a short note in your files that explains the change.
Where To Double-Check The Rules
The IRS keeps a clear, item-by-item guide in Publication 502. That page covers who’s eligible, what counts, how reimbursements change the math, and where to report the deduction. For mileage and travel tied to care, the current cents-per-mile rate appears on the IRS page for standard mileage rates. If your situation mixes premium credits, self-employed health insurance, or long-term care insurance, read the relevant sections and keep notes with your return.
