The HSA Is the Best Retirement Account Most People Aren't Using
An HSA is technically a health account, but it's also the most tax-advantaged retirement vehicle available — triple tax-free if you use it right. Here's how to actually use one.
Ask anyone to rank retirement accounts by tax efficiency and you'll hear the same answers: 401(k), Roth IRA, traditional IRA. The health savings account almost never makes the list.
It should. For people who qualify, the HSA is the single most tax-advantaged account in the U.S. tax code — more favorable than a Roth IRA, more favorable than a 401(k), and the only account that offers a genuine triple tax advantage. Used correctly, it's arguably the best retirement vehicle you have access to.
The "used correctly" part is where most people miss the opportunity entirely.
What an HSA Actually Is
An HSA is a savings and investment account tied to a high-deductible health plan (HDHP). To contribute, you must be enrolled in an HDHP, not enrolled in Medicare, and not claimed as a dependent on someone else's tax return.
The 2026 contribution limits are $4,400 for self-only coverage and $8,800 for family coverage. If you're 55 or older, you can add a $1,000 catch-up contribution.
Here's where it diverges from every other account:
1. Contributions are pre-tax (like a traditional 401(k)) 2. Growth inside the account is tax-free (like a Roth) 3. Withdrawals for qualified medical expenses are tax-free (like nothing else)
That's the triple tax advantage. No other account does all three. A 401(k) gives you two: pre-tax in, tax-deferred growth, but you pay ordinary income tax on the way out. A Roth IRA gives you two: after-tax in, tax-free growth, tax-free out. The HSA gives you three — if you use it for healthcare.
The Part Most People Miss
Most HSA holders treat it like a flexible spending account: money goes in, medical bills come out, the balance stays low. That's a waste of the account's real superpower.
The HSA has no "use it or lose it" rule. Unused funds roll over indefinitely, and the account is portable — it stays with you if you change jobs or retire. Most HSAs also let you invest the balance in mutual funds or ETFs once you hit a minimum threshold (typically $1,000–$2,000).
The retirement strategy works like this:
- Contribute the maximum each year
- Invest the balance aggressively — this is long-term money, just like your 401(k)
- Pay current medical bills out of pocket with cash, not the HSA
- Save every medical receipt — paper copy or scanned PDF
- Let the HSA grow untouched for 20–30 years
Then in retirement, you can reimburse yourself for all those decades-old medical expenses tax-free, at any time. The IRS has no statute of limitations on HSA reimbursements — a 2005 receipt is still valid in 2055.
So you get the tax deduction going in, you get decades of tax-free compounded growth, and you get tax-free withdrawals at any time for amounts backed by old receipts. You've essentially turned a healthcare account into a Roth IRA with a front-end tax deduction.
The Compounding Math
The difference between spending from your HSA each year and letting it grow is enormous. Consider two people with identical HSA contributions but different strategies:
Person A: Contributes $4,400/year, uses it to pay each year's medical bills. Account balance stays near zero.
Person B: Contributes $4,400/year, pays medical bills out of pocket, invests the HSA balance at 7% real returns.
After 30 years:
- Person A: essentially $0 in the HSA (spent as they went)
- Person B: ~$445,000 in the HSA, all tax-free for qualified medical expenses (and most retirees have well over that in lifetime medical expenses to reimburse)
The tradeoff is that Person B had to pay medical bills with other money during their working years. But most families can absorb routine medical expenses as part of normal cash flow — and the long-term math heavily rewards doing so.
Free Calculator
Compound Interest Calculator
See exactly how your money grows over time. Plug in your numbers and watch compound interest work.
What Happens If You Never Use It for Medical Expenses
This is the question that makes most people hesitate: "What if I stay healthy and never spend it?"
The rule at age 65: HSA withdrawals for any purpose become penalty-free. You still owe ordinary income tax on the withdrawal if it's not for medical expenses, which makes it functionally identical to a traditional 401(k) or IRA at that point.
So the downside case is that your HSA is "just" as good as a 401(k). The upside case — using it for medical expenses in retirement — makes it better than any other retirement account.
There is no scenario where the HSA is worse than a 401(k) after age 65, and many scenarios where it's meaningfully better.
Before age 65, non-medical withdrawals trigger ordinary income tax plus a 20% penalty. So this isn't an account you want to raid early.
HSA vs. 401(k) vs. Roth IRA: The Priority Order
For most people with access to an HSA, here's a reasonable contribution order:
- 401(k) up to the employer match. This is free money. Don't leave it behind.
- Max the HSA. Triple tax advantage beats everything else on a dollar-for-dollar basis.
- Max the Roth IRA (if you're eligible based on income). Tax-free growth plus withdrawal flexibility.
- Back to the 401(k) to hit the full contribution limit.
- Taxable brokerage once tax-advantaged space is exhausted.
The HSA jumps ahead of the Roth IRA because it offers the upfront deduction on top of the tax-free growth — a meaningful boost when you're in a 22%+ marginal bracket. For a closer comparison of Roth vs. traditional IRAs specifically, see our Roth IRA vs. traditional IRA guide.
This ordering assumes you can afford to pay medical bills out of pocket. If you genuinely need to use the HSA for current medical expenses, the triple tax advantage is preserved — it's just a bigger win to let it grow.
Who Should Not Use This Strategy
The HSA retirement play isn't universal. Some situations where it doesn't work:
You have significant medical expenses you can't pay out of pocket. If your family hits the deductible most years and can't absorb those costs in cash, use the HSA as intended. The tax advantages still apply — you're just not letting it compound.
Your HSA provider has bad investment options or high fees. Some employer-sponsored HSAs are only useful as spending accounts because their investment menu is dismal or they charge monthly fees. You can usually solve this by contributing through payroll (for the FICA savings) and then transferring the balance to a better HSA provider like Fidelity, which offers a full brokerage with no fees. Transfers are different from rollovers — you can do them unlimited times per year.
You're enrolled in Medicare. Once you enroll in Medicare, HSA contributions stop permanently. You can still spend down an existing balance, but you can't add to it.
An HDHP doesn't actually fit your family. If you or a family member has a chronic condition that means you hit the out-of-pocket maximum every year, a traditional plan might save you more in premiums and copays than the HSA tax savings. Do the math on total annual healthcare cost before switching just to access the HSA.
The Receipt System Most People Get Wrong
If you want to let the HSA grow and reimburse yourself years later, you need a reliable system for tracking eligible medical expenses. People who "intend" to save receipts and then don't have effectively locked themselves out of the tax-free withdrawal feature.
A workable system:
Create one folder. A single folder in cloud storage — Dropbox, iCloud, Google Drive. Call it "HSA Receipts."
Every time you pay a medical bill, scan or photograph the receipt. Most phones have a document scanner built in now. Save the file as YYYY-MM-DD_description_amount.pdf so it's sortable. Include prescriptions, dental work, vision care, and anything qualifying under IRS Publication 502.
Log it in a simple spreadsheet. Date, amount, description, file link. This is your running tally of future tax-free withdrawal capacity.
Back it up. Cloud storage is the backup, but an external drive copy once a year is good practice for something you may rely on 30 years from now.
This sounds like a lot, but if you have 10–20 medical transactions per year, it's a few minutes of work per month for a potentially six-figure future tax-free withdrawal privilege.
The Honest Bottom Line
The HSA is genuinely underappreciated, and the people who use it well often end up with a retirement stash they didn't plan for. The combination of upfront deduction, tax-free growth, and tax-free qualified withdrawals is unique in the tax code.
That said, it's the right tool for a specific kind of person: someone who can afford an HDHP, can absorb routine medical costs in cash flow, has long enough to let the account compound, and will actually follow through on tracking receipts.
If that's you, maxing the HSA and investing the balance is one of the highest-leverage retirement moves available. If it isn't, use the HSA for current medical expenses — the tax advantages still make it a better spending vehicle than after-tax dollars.
Either way, don't leave the account unused. Of the three big tax-advantaged accounts in the U.S., this is the one most workers haven't optimized, and the one where a little effort returns the most.
For more on how tax-advantaged accounts fit into a broader retirement plan, see how much you need to retire and our guide on Roth IRA vs. traditional IRA.
Free Weekly Newsletter
One money tip a week. No fluff.
Join readers who get our best personal finance guides and tool recommendations.
No spam. Unsubscribe any time.