Can You Deduct Medical Bills from Your Taxes?
Learn which medical expenses are tax-deductible, the 7.5% AGI threshold, and how to claim the deduction on Schedule A to maximize your medical tax savings.
Yes, medical expenses can be tax-deductible — but there's a significant catch. The IRS only lets you deduct the portion of your medical expenses that exceeds 7.5% of your Adjusted Gross Income (AGI). That threshold means many taxpayers don't benefit from the deduction at all, while others with large medical bills can save hundreds or even thousands of dollars. This guide explains who qualifies, what counts, and how to claim the deduction correctly.
The 7.5% AGI Threshold Explained
Under IRC Section 213 (detailed in IRS Publication 502), you can deduct unreimbursed medical and dental expenses that exceed 7.5% of your Adjusted Gross Income. Your AGI is the number on line 11 of your Form 1040 — it's your total income minus specific adjustments like student loan interest, IRA contributions, and self-employment tax.
Here's how the math works: if your AGI is $60,000, your 7.5% floor is $4,500. Only the medical expenses above that $4,500 threshold are deductible. So if you had $8,000 in qualifying medical expenses, you could deduct $3,500 ($8,000 − $4,500).
What Qualifies as a Deductible Medical Expense
The IRS defines deductible medical expenses broadly as costs for the "diagnosis, cure, mitigation, treatment, or prevention of disease." Here's a comprehensive list of what counts:
Insurance and Out-of-Pocket Costs
- Health insurance premiums: Only premiums you pay with after-tax dollars. If your employer pays your premiums or they're deducted from your paycheck pre-tax, those do not qualify.
- Copays, coinsurance, and deductibles: Any cost-sharing amounts you pay out of pocket
- Long-term care insurance premiums: Deductible up to age-based annual limits (for 2025, ranging from $480 for age 40 and under to $6,000 for age 71 and over — check IRS Publication 502 for the latest figures)
Medical Services
- Doctor and hospital visits: Including specialists, urgent care, and emergency rooms
- Prescription medications: Any drug that requires a prescription from a licensed provider
- Dental care: Cleanings, fillings, crowns, braces, dentures, extractions
- Vision care: Eye exams, glasses, contact lenses, LASIK surgery
- Mental health services: Therapy, psychiatry, inpatient treatment, substance abuse programs
- Diagnostic tests: Lab work, X-rays, MRIs, blood tests
- Surgery and hospital stays: Including anesthesia and nursing care
Equipment, Supplies, and Other Costs
- Medical equipment: Wheelchairs, crutches, hearing aids, prosthetics
- Medical supplies: Bandages, diabetic testing supplies, insulin pumps
- Travel to medical appointments: You can deduct the standard mileage rate for medical travel (22 cents per mile for 2025 — this rate is updated annually by the IRS) plus tolls and parking fees
- Home improvements for medical purposes: If the primary purpose is medical (e.g., installing a wheelchair ramp, widening doorways, adding handrails), you can deduct the cost minus any increase in your property value. For example, if a $10,000 wheelchair ramp adds $4,000 to your home's value, you can deduct $6,000.
- Guide dogs and service animals: Including purchase, training, and maintenance costs
What Does NOT Qualify
The IRS is strict about what doesn't count. Don't include these on your return:
- Cosmetic surgery: Unless it's medically necessary to correct a deformity arising from a congenital abnormality, personal injury resulting from an accident or trauma, or a disfiguring disease
- Non-prescribed vitamins and supplements: Even if recommended by a doctor, they must be prescribed to qualify
- Gym memberships and health club dues: General fitness expenses are not deductible, even with a doctor's recommendation
- Teeth whitening: Considered cosmetic, not medical
- Over-the-counter medicines: Unless specifically prescribed by a doctor (note: insulin is deductible even without a prescription)
- Funeral and burial expenses: These are never deductible as medical expenses
- Amounts reimbursed by insurance: You can only deduct the portion you actually paid out of pocket
- Nicotine gum and patches: Not deductible unless prescribed
- Maternity clothes: General clothing is not a medical expense
How to Claim the Deduction
Medical expense deductions are claimed on Schedule A (Itemized Deductions) of your federal tax return. This means you must itemize your deductions instead of taking the standard deduction. For 2025, the standard deduction is:
- $15,000 for single filers
- $30,000 for married couples filing jointly
- $22,500 for head of household
You only benefit from itemizing if your total itemized deductions (medical expenses plus mortgage interest, state and local taxes, charitable contributions, etc.) exceed the standard deduction. For most taxpayers, the standard deduction is higher — which is why the medical expense deduction primarily benefits people with very large medical bills or those who already itemize for other reasons.
Worked Example: Putting It All Together
Let's walk through a realistic scenario to see whether claiming the medical expense deduction makes sense:
Example: Sarah, Single Filer
- Adjusted Gross Income (AGI): $60,000
- Total medical expenses: $8,000 (knee surgery copay, prescriptions, physical therapy, dental work)
- 7.5% AGI floor: $60,000 × 0.075 = $4,500
- Deductible medical amount: $8,000 − $4,500 = $3,500
But $3,500 alone is well below the $15,000 standard deduction. Sarah would only benefit from itemizing if her other deductions push the total above $15,000:
- Medical expenses: $3,500
- Mortgage interest: $8,200
- State and local taxes (SALT): $4,500
- Charitable contributions: $1,200
- Total itemized deductions: $17,400
In this case, itemizing saves Sarah $2,400 more than the standard deduction ($17,400 − $15,000). At a 22% tax bracket, that's roughly $528 in additional tax savings.
The takeaway: the medical expense deduction alone rarely justifies itemizing for most people. But if you already have significant mortgage interest, state taxes, or charitable giving, adding medical expenses on top can push you over the standard deduction threshold.
Special Situations
HSA and FSA Interaction: No Double-Dipping
If you paid medical expenses using a Health Savings Account (HSA) or Flexible Spending Account (FSA), you cannot also deduct those expenses on Schedule A. The money in HSAs and FSAs is already tax-advantaged (contributed pre-tax or tax-deductible), so claiming a deduction on the same expenses would be double-dipping. Only include expenses you paid with after-tax dollars.
Self-Employed Health Insurance Deduction
If you're self-employed, you may be able to deduct health insurance premiums (for yourself, your spouse, and dependents) as an "above-the-line" deduction on Line 17 of Schedule 1. This is powerful because:
- You do not need to itemize on Schedule A
- There is no 7.5% AGI threshold
- It directly reduces your AGI, which can help you qualify for other tax benefits
This deduction applies only to health insurance premiums, not other medical expenses. Other medical costs must still go through Schedule A with the 7.5% threshold.
State Tax Deductions May Differ
Federal rules aren't the whole picture. Some states have different thresholds or additional deductions for medical expenses. For example, some states use a lower percentage threshold (such as 5% of AGI), and a few states allow deductions that the federal government does not. Check your state's tax authority website for details specific to your situation.
Medical Expenses for Dependents
You can include medical expenses you paid for your dependents, including:
- Your spouse (if filing jointly)
- Children you claim as dependents on your tax return
- Other qualifying relatives who meet the IRS dependency tests
This is particularly relevant for families with children who have significant medical needs, or for adults caring for aging parents.
Record-Keeping Requirements
If you claim the medical expense deduction, you need documentation to support it in case of an audit. The IRS recommends keeping records for at least 3 years from the date you filed the return (or 2 years from the date you paid the tax, whichever is later).
Keep the following records organized and accessible:
- Receipts and invoices: For all medical services, prescriptions, equipment, and supplies
- Canceled checks and bank/credit card statements: Proof of payment amounts and dates
- Insurance statements and EOBs: Your Explanation of Benefits shows what insurance paid and what you owe (see our guide on understanding your Explanation of Benefits)
- Prescription records: Pharmacy printouts showing what was prescribed and what you paid
- Mileage logs for medical travel: Date, destination, purpose, and miles driven for each medical trip
- Letters of medical necessity: Doctor's letters for expenses that might be questioned (home modifications, special equipment, etc.)
Frequently Asked Questions
Can I deduct medical bills from previous years?
You deduct medical expenses in the year you paid them, not when the services were provided. If you received treatment in December 2024 but paid the bill in March 2025, that expense goes on your 2025 tax return. This rule also means you can't go back and claim deductions for bills you paid in prior years — you would need to file an amended return (Form 1040-X) for the year the payment was made.
Can I deduct medical bills I'm paying in installments?
Yes, but only the amount you actually paid during that tax year. If you have a medical bill payment plan and paid $3,000 of a $10,000 bill in 2025, you can only include the $3,000 on your 2025 return. The remaining payments would be deductible in the years you make them.
What if my insurance reimbursement comes in a different year?
If you deducted a medical expense in one year and received an insurance reimbursement for it in a later year, you must include the reimbursement as income on your tax return for the year you received it — but only to the extent that the deduction provided a tax benefit. This is known as the "tax benefit rule."
Can I deduct medical bills for my spouse?
Yes. If you're filing jointly, you can include medical expenses paid for your spouse. Even if filing separately, you can deduct expenses you paid for your spouse if the expenses were incurred while you were married. You can also deduct expenses for anyone who qualifies as your dependent under IRS rules.
Related Resources
Managing medical bills goes beyond tax deductions. Explore these guides for more ways to reduce what you owe and protect your finances:
- 8 Proven Strategies to Lower Your Medical Bills — Negotiation tactics, error checking, and financial assistance options
- Charity Care Eligibility Guide — Find out if you qualify for free or discounted hospital care
- Medical Bill Payment Plans — How to set up interest-free installment payments
- What Happens If You Don't Pay Medical Bills — Understanding the timeline and consequences
The Bottom Line
The medical expense tax deduction can provide real savings, but it's not a silver bullet. The 7.5% AGI threshold and the requirement to itemize mean that many taxpayers won't benefit — but if you had a year with significant medical costs (a surgery, ongoing treatment, dental work, or large prescription bills), it's absolutely worth running the numbers. Combined with other itemized deductions, medical expenses could push you past the standard deduction and put money back in your pocket.
More importantly, make sure you're not overpaying in the first place. Billing errors are shockingly common, and many patients are eligible for financial assistance they never apply for.
Content is for informational purposes only and does not constitute financial, legal, or medical advice. Consult a qualified professional for advice specific to your situation.
Ready to Take Action?
Upload your medical bill and we'll help you identify errors, check charity care eligibility, and generate professional appeal letters.
Analyze Your Bill