Tax-Savvy Health: Maximize Deductions for Medical Expenses!
November 19, 2023 · Alexander Whaley

Most people overpay for healthcare because they don’t know which expenses the IRS will let them deduct — and they leave thousands in tax savings sitting on the table every year. The medical expense deduction is one of the most underused tax breaks available. According to the IRS, you can deduct qualified medical expenses that exceed 7.5% of your adjusted gross income — but only if you itemize, and only if you know what counts.
I spent a long time not claiming medical expenses because I assumed the threshold was too high to reach. Then I actually ran the numbers and realised I’d been leaving money on the table for years. Here’s what the tax code actually allows — and how to use it without tripping any penalties.

What counts as a deductible medical expense?
The IRS allows you to deduct qualified medical expenses that exceed 7.5% of your adjusted gross income — but the list of what qualifies is broader than most people think. It’s not just doctor visits and prescriptions.
IRS Publication 502 defines qualified medical expenses 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.” That definition covers more than most taxpayers realise.
| Qualifies for deduction | Does NOT qualify | Common mistake |
|---|---|---|
| Doctor and specialist visits | Cosmetic surgery (unless medically necessary) | Assuming only “serious” medical costs count |
| Prescription medications | Over-the-counter medications (except insulin) | Not tracking OTC insulin purchases |
| Dental treatment (exams, fillings, braces, dentures) | Teeth whitening, cosmetic veneers | Lumping cosmetic dental work with medical |
| Eye care (exams, glasses, contacts, laser surgery) | Non-prescription sunglasses | Forgetting to include contact lens solution |
| Mental health (therapy, counselling, psychiatry) | Marriage counselling (not for mental health treatment) | Not claiming therapy because it “doesn’t feel medical” |
| Medical equipment (hearing aids, crutches, wheelchairs) | General fitness equipment | Missing deductible durable medical equipment |
| Travel for medical care (mileage, parking, tolls) | Commuting to a regular doctor | Not tracking mileage to specialist appointments |
| Long-term care insurance premiums (age-based limits) | Life insurance or disability premiums | Confusing long-term care with disability insurance |
| Health insurance premiums (if self-employed or not pre-tax) | Premiums paid with pre-tax dollars through employer | Double-dipping — claiming premiums already excluded from income |
The mileage deduction is the one most people miss. For 2024, the IRS medical mileage rate is 21 cents per mile — and it applies to every trip to a doctor, dentist, therapist, pharmacy, or hospital. If you drive 30 miles round trip to a specialist once a month, that’s $75.60 in deductible mileage alone. It adds up fast, especially for people managing chronic conditions or caring for elderly relatives.

The 7.5% threshold — when does it make sense to itemize?
You can only deduct medical expenses that exceed 7.5% of your adjusted gross income, and only if you itemize deductions instead of taking the standard deduction. For most taxpayers, that means the medical deduction is useful only in years with unusually high healthcare costs.
Here’s how the maths works. The 2024 standard deduction is $14,600 for single filers and $29,200 for married couples filing jointly. You should itemize only when your total itemized deductions — medical expenses above the 7.5% AGI threshold, plus state taxes, mortgage interest, and charitable donations — exceed those amounts.
| Filing status | AGI | 7.5% threshold | Medical spending needed to benefit | Typical scenario |
|---|---|---|---|---|
| Single | $60,000 | $4,500 | Medical + other itemized deductions > $14,600 | Major dental work, surgery, or chronic condition year |
| Single | $100,000 | $7,500 | Medical + other itemized deductions > $14,600 | Unusually high medical year (surgery, braces, therapy) |
| Married filing jointly | $120,000 | $9,000 | Medical + other itemized deductions > $29,200 | Family with high medical costs + mortgage interest + state taxes |
| Married filing jointly | $200,000 | $15,000 | Medical + other itemized deductions > $29,200 | High-cost year: IVF, orthodontics, or elder care |
| Self-employed | Any | N/A (deduct premiums above the line) | Health insurance premiums are deductible regardless of itemizing | Self-employed health insurance deduction — separate from itemized medical |
The self-employed row matters because it’s a separate deduction. If you’re self-employed, you can deduct health insurance premiums “above the line” — meaning it reduces your AGI directly, regardless of whether you itemize. That’s a different mechanism than the itemized medical deduction, and it’s available to anyone with self-employment income.

HSA vs. FSA — which one should you use?
Both accounts let you pay for medical expenses with pre-tax dollars, but the HSA is strictly better if you qualify for one — because it’s the only tax-advantaged account that lets you invest the funds, grow them tax-free, and use them at any point in the future.
Here’s the order of operations:
| Factor | Health Savings Account (HSA) | Flexible Spending Account (FSA) |
|---|---|---|
| Eligibility | Requires a high-deductible health plan (HDHP) | Available with most employer plans |
| 2024 contribution limit | $4,150 individual / $8,300 family | $3,200 per person |
| Tax treatment | Triple tax advantage: pre-tax contributions, tax-free growth, tax-free withdrawals for medical | Double tax advantage: pre-tax contributions, tax-free withdrawals |
| Rollover | Funds roll over indefinitely — no deadline | Use-it-or-lose-it (some plans allow $640 carryover) |
| Investing | Yes — can invest in stocks, bonds, mutual funds | No — cash only |
| Portability | Yours forever — stays with you when you change jobs | Tied to employer — typically lost when you leave |
| After age 65 | Can withdraw for any purpose (taxed as income, like a traditional IRA) — no penalty | N/A — account doesn’t exist past employment |
The HSA’s triple tax advantage is the most powerful tax break most people have access to and never use. Here’s why: if you contribute $4,150 a year from age 30 to 65 and invest it in a broad index fund, you could have over $400,000 in tax-free medical spending power by retirement. And after 65, you can withdraw it for anything — it just gets taxed as ordinary income, exactly like a 401k.
The FSA is useful if your employer doesn’t offer an HDHP. Just don’t over-contribute — the use-it-or-lose-it rule means any excess is gone at year end. Estimate your annual medical costs carefully and contribute only what you’ll actually spend.

The HSA as a stealth retirement account
If you’re healthy now and don’t expect major medical expenses for decades, the HSA is arguably the best retirement savings vehicle in the tax code — and almost nobody treats it that way.
Here’s the strategy: contribute the maximum to your HSA every year. Pay for current medical expenses out of pocket. Save every receipt. Let the HSA funds grow invested in the market, untouched, for decades. Then in retirement, reimburse yourself for those old medical expenses — tax-free — using the receipts you saved.
This works because the IRS doesn’t require you to take HSA distributions in the same year you incur the expense. You can reimburse yourself for a $200 dental visit from 2024 in the year 2054 — as long as you have the receipt. The longer you wait, the more the invested funds compound.
| Age | Annual contribution | Out-of-pocket medical spending | HSA balance (invested, 7% return) | What you’re building |
|---|---|---|---|---|
| 30 | $4,150 | $1,500 (paid from checking) | $4,150 | Tax-free growth on the full contribution |
| 40 | $4,150 | $2,000 (paid from checking) | ~$60,000 | A decade of compounding, all tax-free |
| 50 | $4,150 | $3,000 (paid from checking) | ~$170,000 | Two decades of compounding — bigger than most people’s Roth IRA |
| 65 | $4,150 | $5,000 (paid from checking) | ~$400,000+ | Tax-free for medical, or taxable withdrawal for anything else |
The catch: this only works if you can afford to pay current medical expenses out of pocket. If you’re choosing between paying a $500 medical bill from your checking account or from your HSA, and the checking account would leave you short on rent — use the HSA. The stealth strategy is for people with enough cash flow to cover current costs without touching the HSA.
Common mistakes that cost you money
The medical expense deduction has a few traps that catch people every year — and they’re all avoidable if you know what they are.
Mistake 1: Not tracking mileage. Every trip to a doctor, dentist, therapist, or pharmacy counts. At 21 cents per mile for 2024, a weekly therapy appointment 15 miles away adds up to $327 a year in deductible mileage. Most people don’t track it because it feels small. It isn’t.
Mistake 2: Double-dipping on premiums. If your health insurance premiums are paid with pre-tax dollars through your employer, you can’t also claim them as a medical deduction. The IRS sees this as the same dollar being excluded twice. Check your W-2 box 1 — if premiums are already excluded, they’re not deductible again.
Mistake 3: Claiming reimbursed expenses. If your insurance reimbursed you for a medical expense, you can’t deduct it. Only out-of-pocket costs that weren’t reimbursed count. This sounds obvious, but people routinely include expenses that were partially covered.
Mistake 4: Missing the timing on FSA contributions. FSA contributions are set during open enrollment. You can’t change them mid-year unless you have a qualifying life event (marriage, birth, job change). If you under-estimate your medical costs, you’re stuck paying out of pocket for the rest of the year.
Mistake 5: Not investing HSA funds. Many HSA providers default your balance to a cash account earning 0.01%. If you’re not using the HSA for current expenses, leaving it in cash is leaving decades of compound growth on the table. Most providers let you invest once your balance exceeds $1,000–$2,000.
Frequently asked questions
What is the medical expense deduction threshold for 2024?
You can deduct qualified medical expenses that exceed 7.5% of your adjusted gross income, but only if you itemize deductions instead of taking the standard deduction. For a single filer with $80,000 AGI, that means medical expenses above $6,000 are deductible — and only if your total itemized deductions exceed $14,600.
Is an HSA or FSA better for tax savings?
The HSA is strictly better if you qualify — it offers triple tax advantage (pre-tax contributions, tax-free growth, tax-free medical withdrawals) and funds roll over indefinitely. The FSA is useful if your employer doesn’t offer an HDHP, but the use-it-or-lose-it rule means you must estimate your annual costs carefully.
Can I use my HSA as a retirement account?
Yes — after age 65, you can withdraw HSA funds for any purpose (taxed as ordinary income, like a traditional IRA), and medical withdrawals remain tax-free at any age. IRS Publication 969 confirms that non-medical withdrawals before 65 incur a 20% penalty, but after 65 the penalty disappears.
What medical expenses are most commonly missed on tax returns?
Mileage to medical appointments (21 cents per mile in 2024), mental health therapy, long-term care insurance premiums, and durable medical equipment like hearing aids are the most commonly overlooked deductions. IRS Publication 502 lists the full catalogue of qualified expenses.
Can self-employed people deduct health insurance premiums?
Yes — self-employed individuals can deduct health insurance premiums “above the line,” reducing AGI directly regardless of whether they itemize. This is separate from the itemized medical deduction and is available to anyone with net self-employment income.
Should I pay medical expenses from my HSA or out of pocket?
If you can afford to pay out of pocket and don’t need the HSA funds for current expenses, paying from checking and letting the HSA grow invested is the more tax-efficient strategy — you can reimburse yourself tax-free from the HSA at any point in the future, as long as you save the receipts.