HSAs and Taxes: How Health Savings Accounts Cut Your Tax Bill

Health Savings Accounts (HSAs) are widely considered the most tax-advantaged savings account in the U.S. tax code. Money you put in is tax-deductible, money inside grows tax-free, and qualified withdrawals are tax-free — an unmatched “triple tax advantage.” This guide covers how HSAs cut your tax bill, who can contribute, what qualifies as a tax-free withdrawal, and how an HSA becomes a powerful retirement-planning tool after age 65.

Infographic: hsas and taxes

The triple tax advantage

Three separate tax benefits stack in a single account:

  • Tax-deductible contributions. Money you contribute is excluded from your taxable income, reducing your federal income tax bill in the year you contribute. If your contributions go through payroll (a “cafeteria plan”), they also avoid Social Security and Medicare (FICA) tax — an additional 7.65% savings most people miss.
  • Tax-free growth. Interest, dividends, and capital gains inside an HSA are not taxed. The account grows like a Roth IRA or 401(k), without dragging through annual taxation.
  • Tax-free qualified withdrawals. Money used for qualified medical expenses is never taxed, at any age.

No other account — not 401(k), traditional IRA, Roth IRA, or 529 — offers all three benefits at the same time.

Who can contribute to an HSA

To contribute to an HSA, you must:

  • Be enrolled in a qualifying High-Deductible Health Plan (HDHP). For 2025, that means a minimum deductible of $1,650 for self-only coverage or $3,300 for family coverage, with maximum out-of-pocket limits of $8,300 (self) or $16,600 (family).
  • Not be enrolled in any other non-HDHP health coverage (with limited exceptions for dental, vision, accident insurance, etc.)
  • Not be enrolled in Medicare (this becomes important at age 65)
  • Not be claimed as a dependent on someone else’s tax return

2025 contribution limits

  • Self-only coverage: $4,300
  • Family coverage: $8,550
  • Catch-up contribution (age 55+): additional $1,000

Spouses each 55+ can each make catch-up contributions, but they must do so in their own separate HSAs — one HSA can’t hold catch-up contributions from both spouses.

What counts as a qualified medical expense

Withdrawals are tax-free only when used for qualified medical expenses (defined in IRS Publication 502). The list is extensive and includes:

  • Doctor visits, specialist consultations, surgeries, hospital stays
  • Prescription medications (and many over-the-counter medications, after the CARES Act expansion)
  • Dental work (cleanings, fillings, crowns, orthodontia)
  • Vision care (exams, glasses, contact lenses, LASIK)
  • Mental health and behavioral therapy
  • Medical equipment (CPAP, wheelchairs, hearing aids, blood pressure monitors)
  • Long-term care insurance premiums (within IRS age-based limits)
  • Medicare premiums (Parts B, C, D — but not Medigap) after age 65
  • Menstrual products, certain mental health apps, and many other items added in recent years

Things that don’t qualify: general fitness equipment, cosmetic procedures, non-prescription supplements (unless prescribed), gym memberships (with rare exceptions). The IRS list updates periodically.

The most powerful HSA strategy: pay now, reimburse later

Here’s a strategy that turns the HSA into a retirement supercharger: pay your current medical expenses out of pocket (from a regular checking or savings account), keep the receipts, and let the HSA grow untouched. There’s no IRS time limit on reimbursing yourself for qualified expenses — even decades later, you can withdraw the amount tax-free against those old receipts.

Meanwhile, your HSA money continues to grow tax-free in invested assets (most major HSA custodians offer mutual funds and ETFs once you exceed a minimum balance). After 20 or 30 years, this can dramatically outperform spending HSA money on current bills.

HSAs after age 65

Once you turn 65, the HSA becomes even more flexible:

  • You can no longer contribute (Medicare enrollment disqualifies you from contributing — even if you only enroll in Part A)
  • Qualified medical expense withdrawals remain 100% tax-free
  • You can pay Medicare premiums (Part B, Part D, Medicare Advantage) from your HSA tax-free — this is a major retirement-planning benefit
  • Non-qualified withdrawals are now taxed as ordinary income (the 20% penalty no longer applies after 65) — the HSA effectively behaves like a traditional IRA for non-medical withdrawals

After 65, the HSA is functionally a tax-advantaged retirement account with a medical-spending escape hatch.

Important HSA tax forms

  • Form 8889 — reports HSA contributions (yours and your employer’s), distributions, and deduction amount. Required if you contributed to or took distributions from an HSA.
  • Form 1099-SA — sent by your HSA custodian; reports distributions for the year.
  • Form 5498-SA — sent by your HSA custodian; reports contributions made during the year (including those made up to the tax filing deadline for the prior year).

Common HSA mistakes

  • Contributing while enrolled in Medicare (even Part A only) — triggers a 6% excise tax
  • Using HSA funds for non-qualified expenses before age 65 — results in income tax plus a 20% penalty
  • Losing receipts — without them, you can’t prove the expense was qualified if audited
  • Not investing the HSA balance — many people leave HSAs in cash, missing decades of tax-free growth
  • Forgetting that you cannot have a regular Flexible Spending Account (FSA) and an HSA at the same time

How an HSA compares to other tax-advantaged accounts

A quick comparison of how the HSA stacks up:

  • HSA: tax-deductible contributions + tax-free growth + tax-free qualified withdrawals
  • Traditional 401(k)/IRA: tax-deductible contributions + tax-deferred growth, taxed on withdrawal
  • Roth 401(k)/IRA: after-tax contributions + tax-free growth + tax-free qualified withdrawals
  • 529 plan: after-tax contributions (state deduction possible) + tax-free growth + tax-free withdrawals for education

The HSA wins on tax efficiency — but is locked to medical expenses until age 65. For people in HDHPs with stable health and discipline to keep receipts, it can be the most powerful retirement-savings account they have.


Further Reading


This article is for general educational purposes only and does not constitute tax or financial advice. Tax laws and dollar amounts change yearly — verify current rules with the IRS (irs.gov) or consult a qualified tax professional before making decisions.

Leave a Comment