HSA for Retirement and How the Triple Tax Break Works
You have a high deductible health plan, a health savings account with a few hundred dollars in it, and a debit card you swipe at the pharmacy.

You have a high deductible health plan, a health savings account with a few hundred dollars in it, and a debit card you swipe at the pharmacy. Most people stop there, and that is a shame, because using an HSA for retirement can be the single most tax efficient move available to an ordinary saver.
The account was designed for medical bills, but the rules quietly turn it into a retirement account with better tax treatment than a 401(k) or an IRA. Here is how that works, the numbers for 2026, and the situations where it is not worth the trouble.
The triple tax break behind an HSA for retirement
An HSA is the only account in the US tax code that is tax advantaged three times over.
- Contributions go in pre-tax. Through payroll, they also skip the 7.65 percent FICA tax, which even a 401(k) cannot do.
- Growth is tax free. Interest, dividends and capital gains are never taxed while inside the account.
- Withdrawals for qualified medical costs are tax free. At any age, with no time limit on reimbursement.
Compare that with a traditional 401(k), where withdrawals are taxed, or a Roth IRA, where contributions are taxed going in. If you want a refresher on the Roth side, our guide on what a Roth IRA actually does for your future lays it out.
After age 65, the HSA gets one more feature: you can withdraw money for anything, not just medical costs, and pay ordinary income tax with no penalty. At that point it behaves like a traditional IRA for non-medical spending and like a tax-free account for medical spending.
2026 contribution limits and eligibility
| Item | Self-only coverage | Family coverage |
|---|---|---|
| Annual HSA contribution limit | $4,400 | $8,750 |
| Extra catch-up at age 55 or older | $1,000 | $1,000 |
| Minimum plan deductible | $1,700 | $3,400 |
| Maximum out-of-pocket | $8,500 | $17,000 |
You must be covered by an HSA-eligible plan, have no other disqualifying health coverage, and not be enrolled in Medicare. Starting in 2026, bronze and catastrophic plans bought on the marketplace also count as HSA eligible, which opens the account to a lot of self-employed people who could not use one before.
Employer contributions count toward the limit. If your company puts in $1,000 on a self-only plan, you can add $3,400 more.
How to set it up as a retirement account, step by step
- Contribute through payroll if you can. That captures the FICA savings. On $4,400, that is about $337 a year you would not get by contributing directly and deducting later.
- Check whether your HSA lets you invest. Many default to a cash account paying almost nothing. Most providers let you invest once you pass a threshold, often $1,000 or $2,000.
- Move to a low-cost provider if yours is expensive. You can transfer the balance to another HSA custodian once a year without tax. Look for no monthly fee and index funds with expense ratios under 0.10 percent.
- Invest for the long term. Treat the invested portion like retirement money, in broad index funds matched to your timeline.
- Pay current medical bills out of pocket if your budget allows. Then save every receipt.
The receipt strategy
The IRS does not set a deadline for reimbursing yourself, as long as the expense happened after the HSA was opened. So you can pay a $600 dental bill from your checking account today, let the $600 grow inside the HSA for 25 years, then withdraw $600 tax free in retirement using that old receipt. Keep scanned copies in a dedicated folder with the date, provider and amount, because you need to be able to prove the expense if asked. Paper receipts from pharmacies fade within a few years, so scan them the week you get them, and keep a simple running spreadsheet of the unreimbursed total.
A worked example
Say you are 40, on self-only coverage, and put $4,400 a year into your HSA until age 65, investing it and earning 6 percent a year after fees. After 25 years you would have roughly $241,000, all of it contributed pre-tax.
A Fidelity estimate puts typical health spending in retirement at well over $150,000 per person for a 65-year-old today, before long-term care. That means much of the balance could come out tax free for Medicare premiums, dental work, hearing aids and prescriptions. Whatever is left can be withdrawn for anything and taxed like an IRA.
Where common advice gets it wrong
You will often read that everyone should max out an HSA before touching a 401(k). I do not think that order holds for most people.
First, if your employer offers a 401(k) match, take the full match before anything else. A 50 or 100 percent instant return beats any tax break, as our breakdown of how a 401(k) employer match works shows. Second, the receipt strategy assumes you can comfortably pay medical bills from cash. If a $3,000 deductible would land on a credit card at 24 percent interest, use the HSA as intended and pay the bill from it.
Third, the high deductible plan itself has to make sense. If you have a chronic condition or expect surgery, a lower deductible plan may save more in a year than the HSA tax break is worth. Run both scenarios with your real expected costs before choosing.
A sensible order for most people: capture the 401(k) match, build a cash cushion that covers your deductible, then fund the HSA, then go back to retirement accounts.
Things that trip people up
- Medicare stops contributions. Once enrolled, even in Part A only, you can no longer contribute. Enrollment can be backdated up to six months, so stop contributions about six months before you apply if you delay Social Security past 65.
- State taxes. California and New Jersey do not recognize the HSA tax break, so contributions and earnings are taxed at the state level there.
- Non-medical withdrawals before 65. These are taxed as income plus a 20 percent penalty.
- Inheritance. A spouse can inherit the HSA as their own. Anyone else must take the whole balance as taxable income in that year.
If you are still working out your total target, start with our guide on how much to save for retirement in your 30s and treat the HSA as one bucket inside that number.
Frequently asked questions
Can I use my HSA for retirement expenses that are not medical?
Yes, once you turn 65. Non-medical withdrawals are then taxed as ordinary income with no penalty, much like a traditional IRA. Medical withdrawals stay tax free at any age.
Is an HSA better than a 401(k) for retirement?
On taxes alone, the HSA wins because money can go in and come out tax free when used for health costs. But contribution limits are much lower, and a 401(k) match should come first. Most people benefit from using both.
What happens to my HSA if I change health plans?
The money stays yours and keeps growing. You can still invest it and spend it on qualified costs. You just cannot add new contributions while you are not covered by an HSA-eligible plan.
More in Retirement Planning
Retirement Planning
The 4 Percent Rule and Whether It Still Holds Up
You have a retirement balance on a screen and no clear idea how much of it you can spend each year without running out at 85.
Retirement Planning
How a Backdoor Roth IRA Works for High Earners
You got a raise, filed your taxes, and found out your income is now too high to contribute to a Roth IRA directly.
Retirement Planning
How a Spousal IRA Works for a Non-Working Partner
One of you is home with the kids, between jobs, or caring for a parent, and that partner's retirement savings have stopped...