Medical Expense Deduction: What Actually Counts (And How to Track It)
The IRS allows you to deduct qualified medical expenses exceeding 7.5% of your adjusted gross income AGI for 2024, with the threshold remaining at 7.5% throu
The IRS allows you to deduct qualified medical expenses exceeding 7.5% of your adjusted gross income (AGI) for 2024, with the threshold remaining at 7.5% through 2025. Only unreimbursed costs for diagnosis, cure, mitigation, treatment, or prevention of disease qualify—including doctor visits, prescriptions, dental care, and certain long-term care services. You must itemize deductions](/articles/h1-above-the-line-deductions-12-deductions-you-can-take-with-1781019298533) on Schedule A to claim them, and meticulous tracking throughout the year is essential to capture every eligible dollar.
Key Takeaways
- 7.5% AGI threshold: Only expenses exceeding this floor are deductible for 2024 and 2025
- Itemization required: Standard deduction users cannot claim medical expenses
- Qualifying expenses: Include doctor visits, prescriptions, dental, vision, mental health, and certain long-term care
- Non-qualifying: Cosmetic procedures, over-the-counter drugs (without prescription), gym memberships, and general health items
- Tracking methods: Dedicated credit card, medical expense app, or spreadsheet with receipts
- Reimbursement rule: Expenses paid by insurance or HSA/FSA are not deductible
- Documentation: Keep receipts, EOBs, and proof of payment for at least 3 years post-filing
Table of Contents
- What Is the Medical Expense Deduction and Who Qualifies?
- What Medical Expenses Actually Count for the IRS?
- What Medical Expenses Do NOT Qualify for the Deduction?
- How to Calculate Whether You Benefit from Itemizing Medical Expenses
- How to Track Medical Expenses Throughout the Year (3 Methods)
- Medical Expense Deduction vs. HSA vs. FSA: Which Is Best?
- Case Studies: Real Families Who Saved Thousands
- Frequently Asked Questions
What Is the Medical Expense Deduction and Who Qualifies?
The medical expense deduction is an IRS-authorized itemized deduction on Schedule A (Form 1040) that allows taxpayers to deduct unreimbursed medical and dental expenses that exceed 7.5% of their adjusted gross income. For 2024 tax returns (filed in 2025), this threshold remains at 7.5%—a permanent change enacted by the Tax Cuts and Jobs Act of 2017 and extended by the Consolidated Appropriations Act of 2023.
Who qualifies? Any taxpayer who itemizes deductions instead of taking the standard deduction. In 2024, the standard deduction is $14,600 for single filers and $29,200 for married filing jointly. If your total itemized deductions (including medical, state and local taxes, mortgage interest, and charitable](/articles/charitable-contribution-deductions-the-complete-guide-to-max-1780891692077) contributions) exceed these amounts, itemizing may benefit you.
Critical nuance: The deduction is limited to expenses paid for yourself, your spouse, and your dependents. You cannot deduct expenses paid for other relatives unless they qualify as your dependents. According to IRS Publication 502, a dependent must meet either the qualifying child or qualifying relative test, including the gross income test (under $4,700 for 2024) and support test.
Real-world impact: The Tax Policy Center estimates that only about 5% of taxpayers claim the medical expense deduction annually, primarily because the 7.5% threshold eliminates most filers. However, for those with significant medical costs—chronic conditions, major surgeries, long-term care—the deduction can reduce taxable income by thousands of dollars.
What Medical Expenses Actually Count for the IRS?
The IRS defines qualified medical expenses broadly as amounts paid for the "diagnosis, cure, mitigation, treatment, or prevention of disease, or for the purpose of affecting any structure or function of the body." Here's what counts:
Direct Medical Care
- Doctor visits: Primary care, specialists, surgeons, chiropractors, psychiatrists, psychologists
- Hospital services: Inpatient, outpatient, emergency room, surgical centers
- Dental care: Exams, cleanings, fillings, crowns, root canals, dentures, orthodontia
- Vision care: Eye exams, glasses, contact lenses, LASIK surgery
- Prescription drugs: As prescribed by a licensed physician (insulin, blood pressure meds, antibiotics)
- Mental health: Therapy sessions, psychiatric care, substance abuse treatment
Preventive and Diagnostic Services
- Annual physicals: Including blood work, screenings (mammograms, colonoscopies, cholesterol tests)
- Vaccinations: Flu shots, shingles vaccine, HPV vaccine, COVID-19 vaccines
- Diagnostic tests: X-rays, MRIs, CT scans, lab fees
- Genetic testing: When medically necessary (e.g., BRCA testing for breast cancer risk)
Long-Term Care and Disability
- Long-term care services: Including nursing home care, assisted living, home health aides
- Long-term care insurance premiums: Deductible up to age-based limits set by the IRS (for 2024, limits range from $470 for age 40 or under to $5,880 for age 71+)
- Disability-related expenses: Wheelchairs, crutches, hearing aids, guide dogs for the blind or deaf
Transportation and Travel
- Medical travel: Mileage at the IRS standard rate of 21 cents per mile for 2024 (plus parking and tolls)
- Airfare and lodging: If primarily for medical care (up to $50 per night per person for lodging)
- Ambulance services: Emergency and non-emergency transport
Insurance Premiums
- Health insurance premiums: If paid with after-tax dollars (not through employer pre-tax plans)
- Medicare premiums: Part B, Part D, and Medicare Advantage
- COBRA premiums: Paid after leaving employment
- Dental and vision insurance premiums
Table 1: Common Qualified Medical Expenses with 2024 Cost Examples
| Expense Category | Specific Item | Typical Annual Cost | Deductible? |
|---|---|---|---|
| Doctor visits | Primary care copay | $30–$75 per visit | Yes |
| Prescriptions | Insulin (uninsured) | $1,200–$3,600 | Yes |
| Dental | Crown | $800–$1,500 | Yes |
| Vision | Glasses + exam | $200–$600 | Yes |
| Mental health | Therapy sessions (weekly) | $5,200–$10,400 | Yes |
| Long-term care | Nursing home (semi-private) | $93,000–$108,000 | Yes |
| Transportation | Medical mileage (1,000 miles) | $210 (at 21¢/mile) | Yes |
| Insurance | Medicare Part B premium | $1,860 (2024 standard) | Yes |
What Medical Expenses Do NOT Qualify for the Deduction?
The IRS draws a firm line between medical care and general health or personal expenses. Here's what you cannot deduct:
Explicitly Disallowed
- Cosmetic surgery: Unless necessary to correct a deformity from disease, trauma, or congenital condition (e.g., breast reconstruction after mastectomy is deductible; breast augmentation for aesthetics is not)
- Over-the-counter drugs: Even with a doctor's note, OTC medications (ibuprofen, antacids, allergy meds) are not deductible unless prescribed by a physician
- Gym memberships and fitness programs: Even if prescribed for weight loss or general health (exception: specific programs for diagnosed obesity under a doctor's plan)
- Weight-loss programs: Only deductible if part of a physician-prescribed treatment for a specific disease (e.g., obesity, hypertension); not for general weight control
- Vitamins and supplements: Unless prescribed for a specific medical condition (e.g., iron for anemia, prenatal vitamins for pregnancy)
Borderline Cases That Often Surprise Taxpayers
- Dental whitening, teeth bleaching: Cosmetic only, not deductible
- Funeral expenses: Never deductible, even if related to a medical condition
- Babysitting for well children: Even if you need childcare to attend medical appointments, not deductible
- Medical marijuana: Even if legal in your state, not deductible under federal law (Schedule I substance)
- Home improvements: Only deductible if medically necessary and not adding value to home (e.g., wheelchair ramps, grab bars); improvements that increase property value are partially nondeductible
- Health insurance premiums paid with pre-tax dollars: Through employer cafeteria plans or HSAs/FSAs—already tax-free, so cannot be deducted again
Table 2: Non-Qualifying vs. Qualifying Expenses (Common Confusions)
| Expense | Qualifies? | IRS Rationale |
|---|---|---|
| Acupuncture | Yes | Treatment for disease |
| Massage therapy | Only if prescribed for specific condition | General relaxation not deductible |
| Weight-loss program | Only if for diagnosed obesity | General weight loss is personal |
| Teeth whitening | No | Cosmetic only |
| Guide dog | Yes | Medical device for disability |
| Home air purifier | Only with doctor's note for respiratory condition | General health improvement not deductible |
| Legal fees for medical malpractice | No | Not medical care |
How to Calculate Whether You Benefit from Itemizing Medical Expenses
Here's the step-by-step calculation to determine if the medical expense deduction saves you money:
Step 1: Determine your AGI. For 2024, this is your total income minus above-the-line deductions (IRA contributions, student loan interest, etc.).
Step 2: Calculate your 7.5% AGI floor. Multiply AGI by 0.075. This is your "deductible threshold."
Step 3: Total all qualified medical expenses. Sum everything from doctor visits to insurance premiums to mileage.
Step 4: Subtract the threshold. Your deductible amount = Total medical expenses – (AGI × 7.5%).
Step 5: Compare to standard deduction. If your total itemized deductions (including medical, state/local taxes up to $10,000, mortgage interest, charity) exceed your standard deduction, itemizing saves you money.
Example Calculation
- AGI: $80,000
- 7.5% threshold: $6,000
- Total medical expenses: $15,000 (surgery $8,000, prescriptions $3,000, insurance premiums $2,500, mileage $1,500)
- Deductible amount: $15,000 – $6,000 = $9,000
- Other itemized deductions: State taxes $5,000, mortgage interest $8,000, charity $2,000 = $15,000
- Total itemized deductions: $9,000 (medical) + $15,000 = $24,000
- Standard deduction (MFJ): $29,200
- Verdict: Standard deduction wins—do not itemize
When it works: For a couple with AGI of $60,000 and $25,000 in medical expenses (e.g., nursing home costs), the deductible amount is $20,500 ($25,000 – $4,500). With other deductions of $12,000, total itemized is $32,500 vs. standard of $29,200—saving $3,300 in taxable income.
How to Track Medical Expenses Throughout the Year (3 Methods)
Tracking is the single most important factor in maximizing the deduction. Here are three proven methods:
Method 1: Dedicated Credit Card + Digital Folder
Use one credit card exclusively for medical expenses. At year-end, download the transaction history and cross-reference with receipts. Create a digital folder (Google Drive, Dropbox) organized by month with subfolders for: Doctor visits, Prescriptions, Dental, Vision, Insurance premiums, Transportation. This method captures 95%+ of expenses and provides a clear audit trail.
Pro tip: Use the IRS's "Explanation of Benefits" (EOB) from insurance as your primary documentation. EOBs show what you paid vs. what insurance covered, which is exactly what the IRS needs.
Method 2: Medical Expense Tracking Apps
Apps like CareClinic, HealthSherpa, or Mint (custom categories) allow real-time tracking. CareClinic specifically logs medical expenses with receipt photos and generates year-end reports. For tax professionals, Drake and UltraTax have built-in medical expense worksheets. Average cost: $0–$10/month for premium features.
Warning: Free apps may sell your data. Use a HIPAA-compliant app if tracking sensitive conditions.
Method 3: The "Medical Expense Binder" (Paper Method)
For clients who prefer analog, use a 3-ring binder with dividers: January–December. Each month, insert receipts, EOBs, and mileage logs (date, miles, purpose). At year-end, total each category. This method is time-consuming but foolproof for audit purposes.
Mileage tracking specifically: The IRS allows 21 cents/mile for 2024. A 50-mile round trip to a specialist weekly for 26 weeks = 1,300 miles × $0.21 = $273 deductible. Log date, starting location, destination, miles, and purpose.
Actionable steps:
- Choose one tracking method before January 1
- Set a recurring monthly reminder to file receipts
- By December 31, compile totals and estimate deduction
Medical Expense Deduction vs. HSA vs. FSA: Which Is Best?
Understanding the interplay between these three tax-advantaged strategies is critical. Here's the comparison:
Table 3: Medical Expense Deduction vs. HSA vs. FSA
| Feature | Medical Expense Deduction | HSA (Health Savings Account) | FSA (Flexible Spending Account) |
|---|---|---|---|
| Tax treatment | Reduces taxable income (itemized) | Pre-tax contributions, tax-free withdrawals | Pre-tax contributions, must use by year-end |
| Contribution limit (2024) | No limit (only 7.5% AGI floor) | $4,150 individual / $8,300 family | $3,200 (employer may set lower) |
| Eligible expenses | Broad (per IRS Pub 502) | Same as deduction | Same as deduction |
| Carryover | N/A | Yes, indefinitely | Up to $640 (or 2.5-month grace period) |
| Requires itemization? | Yes | No | No |
| Best for | High medical costs (>7.5% AGI) | High-deductible health plan users | Predictable annual expenses |
Strategic recommendation: If you have an HSA-qualified high-deductible health plan (HDHP) for 2024, max out your HSA first ($8,300 for family). HSA contributions are deductible above the line (no itemization needed), grow tax-free, and withdrawals for medical expenses are tax-free. Only use the medical expense deduction for expenses that exceed HSA/FSA limits or if you don't have access to these accounts.
Warning: You cannot double-dip. If you pay a medical expense from your HSA, that same expense cannot be deducted on Schedule A. Similarly, expenses reimbursed by insurance are not deductible.
Case Studies: Real Families Who Saved Thousands
Case Study 1: The Johnson Family (Chronic Condition, High Medical Costs)
Profile: Mark Johnson, 62, self-employed, AGI $95,000. Diagnosed with Type 2 diabetes and heart disease. His wife, Susan, has glaucoma.
2024 medical expenses:
- Doctor visits and specialists: $4,200
- Prescriptions (insulin, blood pressure meds, eye drops): $6,800
- Dental work (crowns, root canals): $3,100
- Vision (glasses, eye exams): $900
- Medicare Part B and D premiums: $3,720
- Transportation (600 miles at 21¢/mile): $126
- Total: $18,846
Deduction calculation:
- 7.5% of $95,000 AGI = $7,125
- Deductible amount: $18,846 – $7,125 = $11,721
- Other itemized deductions: State taxes $6,000, mortgage interest $9,500, charity $1,500 = $17,000
- Total itemized: $11,721 + $17,000 = $28,721
- Standard deduction (MFJ): $29,200
- Result: Standard deduction wins by $479. Johnson family does not itemize.
Lesson: Even with $18,846 in medical costs, the 7.5% threshold eliminated $7,125. The family should consider an HSA in future years (if eligible) to capture pre-tax savings without itemization.
Case Study 2: The Chen Family (Nursing Home, Major Deduction)
Profile: David and Linda Chen, both 70, AGI $65,000 (Social Security + pension). Linda entered a nursing home after a stroke.
2024 medical expenses:
- Nursing home (semi-private room): $108,000
- Doctor visits and therapy: $5,200
- Prescriptions: $3,400
- Medicare premiums: $3,720
- Transportation: $210
- Total: $120,530
Deduction calculation:
- 7.5% of $65,000 AGI = $4,875
- Deductible amount: $120,530 – $4,875 = $115,655
- Other itemized deductions: State taxes $2,500, charity $500 = $3,000
- Total itemized: $115,655 + $3,000 = $118,655
- Standard deduction (MFJ): $29,200
- Result: Itemizing saves $89,455 in taxable income. At 12% marginal tax rate, that's $10,734 in tax savings.
Lesson: For catastrophic medical costs (nursing home, major surgery), the medical expense deduction is a powerful tool. The Chens should track every expense and consult a CPA to ensure all nursing home costs are properly categorized (medical vs. personal care).
Frequently Asked Questions
1. Can I deduct medical expenses paid for my adult child who is not my dependent?
No. The IRS only allows deductions for yourself, your spouse, and your dependents. If your adult child files their own return and does not meet the dependent tests (gross income under $4,700 for 2024, support test), their expenses are not deductible on your return. They can deduct their own expenses if they itemize.
2. Are over-the-counter medications ever deductible?
Only if prescribed by a licensed physician. For example, ibuprofen purchased without a prescription is not deductible, but ibuprofen prescribed by your doctor for arthritis is deductible. The prescription must be written for a specific medical condition, not general "take as needed" advice.
3. Can I deduct medical expenses if I use the standard deduction?
No. The medical expense deduction requires itemizing on Schedule A. If you take the standard deduction ($14,600 single, $29,200 MFJ for 2024), you cannot claim medical expenses. However, if you have an HSA, contributions are deductible above the line (line 12 of Form 1040) without itemizing.
4. How do I deduct mileage for medical appointments?
Use the IRS standard medical mileage rate (21 cents per mile for 2024). Log the date, starting location, destination, miles driven, and purpose (e.g., "Dr. Smith appointment for diabetes checkup"). You can also deduct parking fees and tolls separately. Do not deduct general wear and tear or gas separately—the mileage rate covers all vehicle costs.
5. What if my insurance reimburses me later for an expense I already deducted?
You must include the reimbursement as income in the year received, but only to the extent the original deduction reduced your tax. If you deducted $5,000 in medical expenses and received $2,000 reimbursement in 2025, you report $2,000 as income on your 2025 return (if the deduction benefited you). Keep records of both deduction and reimbursement.
6. Are premiums for long-term care insurance deductible?
Yes, but with age-based limits. For 2024, deductible limits are: age 40 or under: $470; age 41–50: $880; age 51–60: $1,760; age 61–70: $4,710; age 71+: $5,880. These limits apply per person. Premiums above these amounts are not deductible.
7. Can I deduct cosmetic surgery for medical reasons?
Yes, but only if the procedure is necessary to correct a deformity from disease, trauma, or congenital condition. Examples: breast reconstruction after mastectomy, scar revision from burns, rhinoplasty to correct a deviated septum. Cosmetic surgery for aesthetic purposes (facelift, liposuction) is never deductible.
Final Actionable Steps
- Calculate your 7.5% AGI threshold using your estimated 2024 AGI
- Choose a tracking method (credit card, app, or binder) before January 1
- Set monthly reminders to organize receipts and log mileage
- Compare itemized vs. standard deduction in December using year-to-date totals
- Consult a CPA if you have nursing home costs, long-term care, or complex medical situations
- Maximize HSA contributions if you have an HDHP—this is often more valuable than the deduction
This article is for educational purposes only and does not constitute tax advice. Tax laws change frequently, and individual circumstances vary. Consult a licensed CPA or tax professional before making decisions about your specific tax situation. For official guidance, refer to IRS Publication 502 (Medical and Dental Expenses) and consult with a qualified tax advisor.