At 65, Your HSA Stops Being a Medical Account and Starts Beating Your 401(k)

Photo of Michael Williams
By Michael Williams Published

Quick Read

  • At 65, the HSA's 20% non-medical penalty disappears, making it both a tax-free medical account and a traditional IRA for any other spending.

  • Saving medical receipts with no expiration deadline lets you pull tax-free reimbursements years or even decades after paying the original bill.

  • Social Security claims at 65 or later auto-enroll you in Medicare with up to 6 retroactive months, triggering HSA excess contribution penalties.

  • Many financial professionals are salespeople paid on what they push, not whether you end up wealthier. A fiduciary is the opposite. The SEC legally requires them to put your interests first. Advisor.com's free matching tool pairs you with vetted fiduciaries from major national firms, all in under three minutes. See who you match with today.

This post may contain links from our sponsors and affiliates, and Flywheel Publishing may receive compensation for actions taken through them.
At 65, Your HSA Stops Being a Medical Account and Starts Beating Your 401(k)

© Vitalii Vodolazskyi / Shutterstock.com

If you have a Health Savings Account, you already own the only account in the U.S. tax code that gets a triple tax break: deductible going in, tax-free growth, and tax-free withdrawals for medical expenses. Here’s the part nobody tells you: once you turn 65, that same HSA quietly transforms into something that beats your 401(k) at its own game. You can pull money out for anything, groceries, a cruise, your grandkid’s tuition, and pay only ordinary income tax, exactly like a traditional IRA. Medical withdrawals stay 100% tax-free forever.

The Reveal: Your HSA Becomes a Super-IRA at 65

Before age 65, a non-medical HSA withdrawal gets slammed with income tax plus a 20% penalty. On your 65th birthday, that 20% penalty vanishes. From that day on, your HSA works like a traditional IRA for any non-medical spending, and it keeps working like a tax-free account for anything medical, including Medicare Part B, Part D, and Medicare Advantage premiums, plus long-term care insurance up to age-based limits. No other account does both jobs.

The Proof

The rules live in 26 U.S. Code §223 (Health Savings Accounts) and are spelled out in plain English in IRS Publication 969. The 20% additional tax on non-qualified distributions is waived once the account holder reaches age 65, dies, or becomes disabled. Qualified medical expenses are defined in 26 U.S. Code §213(d). Medicare premiums as qualified expenses (with the notable exception of Medigap) are confirmed in Pub. 969.

Here’s Who Qualifies

To open or contribute to an HSA today, you must be covered by a High Deductible Health Plan (HDHP) and have no other disqualifying coverage. For 2026, an HDHP has specific IRS-defined deductible minimums and out-of-pocket maximums for self-only and family coverage. You cannot be claimed as someone else’s dependent, and you cannot be enrolled in Medicare. That last point is the whole ballgame after 64.

Anyone already holding an HSA keeps it forever, though. You can spend from it at 75, 85, or 95. The contribution door closes at Medicare enrollment. The spending door never does.

How to Actually Use It

  1. Max the contribution while you still can. For 2026, IRS contribution limits apply for self-only and family coverage, with an additional catch-up allowance if you’re 55 or older. Payroll contributions also dodge FICA, which a 401(k) doesn’t.
  2. Invest the balance. Most HSA custodians let you move cash above a small threshold into mutual funds or ETFs. With core PCE at the 90.9th percentile of its 12-month range, cash drag is real.
  3. Pay medical bills out of pocket now. Save every receipt. There is no deadline to reimburse yourself, ever. A $6,000 knee-surgery receipt from 2026 can fund a $6,000 tax-free withdrawal in 2046.
  4. After 65, treat it like an IRA-plus. Use tax-free dollars for Medicare Part B premiums (which rose with the 2.8% 2026 COLA), Part D, and Advantage plans. Use ordinary-tax dollars for anything else.

The Catch You Cannot Miss

The trap: enrolling in Medicare kills your ability to contribute, and if you claim Social Security at or after 65, you are automatically enrolled in Medicare Part A with up to six months of retroactive coverage. Any HSA contribution during that retroactive window becomes an excess contribution subject to a 6% excise tax per year until you pull it out.

If you want to keep funding your HSA past 65, you must delay both Medicare and Social Security. Stop HSA contributions at least six months before you file for either. And unlike an IRA, an HSA inherited by a non-spouse loses its tax shelter entirely, the full balance becomes taxable income to the beneficiary in the year of death. Name your spouse if you can.

Contact [email protected] for any questions or corrections.

Photo of Michael Williams
About the Author Michael Williams →

I am a long time investor and student of business, and believe finding good companies that can become great investments is the best game on earth. After 20 years of writing and researching the public markets it is clear that individuals have never had more tools and information to take control of their financial lives. From ETFs and $0 commissions to cryptos and prediction markets there has never been a greater democratization of access to investing. 

I write to help people understand the investments available to them so they can make the best choice for their portfolio, whether they're starting out or looking for income in retirement. 

Continue Reading

Top Gaining Stocks

HPE Vol: 26,431,700
NCLH Vol: 17,600,839
LRCX Vol: 12,118,424
IVZ Vol: 4,557,369
AMD
AMD Vol: 26,902,257

Top Losing Stocks

CTRA Vol: 73,319,495
APA
APA Vol: 4,400,255
PSKY Vol: 18,873,941
COST Vol: 4,545,300
CINF Vol: 2,196,176