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

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…

Published July 9, 2026, 8:53pm ET · 3 min read

This post may contain links from our sponsors and affiliates, and Flywheel Publishing may receive compensation for actions taken through them.

Three overlapping papers on a gray desk, labeled 'IRA Individual Retirement Account' (lime green), 'HSA Health Savings Account' (blue), and '401(k)' (white). A dark blue notebook with gold-rimmed glasses is in the upper left, while a yellow pen and a silver pen are in the foreground.
Understanding various retirement and health savings accounts like IRAs, HSAs, and 401(k)s is crucial for effective financial planning. Explore how different plans can offer significant tax advantages for your future. © 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.

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. 

All articles →