To use your HSA as a retirement account: contribute the maximum, invest the balance, and pay current medical bills out of pocket so the money compounds tax-free for decades. For 2026 the limits are $4,400 (self-only) and $8,750 (family) under IRS Rev. Proc. 2025-19, plus $1,000 at 55+. Qualified medical withdrawals are tax-free at any age, and after 65 any withdrawal avoids the 20% penalty (ordinary income tax still applies to non-medical use). This is general information, not investment or tax advice.
Why the HSA is the best-kept retirement account
No other account is triple-tax-advantaged — pre-tax contributions, tax-free growth, and tax-free qualified withdrawals (see the triple tax advantage). Layer on the after-65 rule and the HSA behaves like the best features of a 401(k) and a Roth combined, specifically for the one expense category that’s guaranteed in retirement: healthcare.
| Use of HSA funds | Before age 65 | Age 65 and older |
|---|---|---|
| Qualified medical expenses | Tax-free | Tax-free |
| Non-medical withdrawals | Income tax + 20% penalty | Income tax, no penalty |
The four-step playbook
- Qualify and max out. Enroll in a qualifying HDHP (2026 minimum deductible $1,700 self-only / $3,400 family) and contribute up to $4,400 / $8,750, plus the $1,000 catch-up at 55. Check your room with the HSA contribution calculator.
- Invest the balance. Move money out of cash and into low-cost funds so the tax-free growth has something to compound. Keep a small cash buffer for near-term bills if you prefer.
- Pay medical bills out of pocket. When you can afford to, leave the HSA untouched so it keeps growing — and save every receipt. You can reimburse yourself tax-free years later for past qualified expenses.
- Tap it strategically in retirement. Use it tax-free for Medicare premiums (Parts B and D), long-term care, and other qualified costs. Spending from the HSA doesn’t raise your MAGI, which can also help you avoid Medicare IRMAA surcharges.
How big can it get?
Compounding does the heavy lifting. Contributing the 2026 family limit of $8,750 every year for 25 years at a 6% return grows into roughly $480,000, of which more than $260,000 is tax-free growth. Model your own numbers with the HSA-as-retirement projection calculator. Returns are not guaranteed and real results will vary.
Things to watch
- Medicare ends contributions. Once you enroll in Medicare you can no longer contribute (though you can still spend). Watch the six-month lookback rule if you delay Medicare past 65.
- Receipts matter. Tax-free reimbursement of old expenses only works if you can document them, dated after the HSA was opened.
- It’s still a medical account first. The biggest tax benefit comes from medical withdrawals; non-medical use after 65 is taxed like a traditional IRA.
Where the HSA fits in your savings order
Financial planners often suggest a funding order that puts the HSA surprisingly high:
- 401(k) up to the employer match — never leave free money on the table.
- Max the HSA — the only triple-tax-advantaged account.
- Pay down high-interest debt and build an emergency fund.
- Max other tax-advantaged accounts (Roth/traditional IRA, the rest of the 401(k)).
- Taxable brokerage for anything beyond that.
The HSA ranks so high precisely because no other account is taxed in your favor at all three stages — contribution, growth, and qualified withdrawal.
How a small annual habit compounds
The power of the strategy comes from leaving the money invested. Consider three savers who each contribute and invest at 6% for 30 years:
| Annual contribution | Approx. balance after 30 years |
|---|---|
| $2,000 | ~$158,000 |
| $4,400 (2026 self-only) | ~$348,000 |
| $8,750 (2026 family) | ~$692,000 |
These are illustrative estimates, not guarantees — actual returns vary and could be lower. But they show why even modest, consistent HSA investing can build a substantial tax-free fund for the healthcare costs that are all but certain in retirement.
Pairing the HSA with Medicare planning
In retirement the HSA does double duty. You can use it tax-free for Medicare Part B, Part D, and Medicare Advantage premiums, plus deductibles and out-of-pocket care. And because HSA withdrawals don’t count toward your Modified Adjusted Gross Income, drawing from the HSA instead of a traditional IRA can help you stay under an IRMAA threshold and avoid Medicare surcharges — a subtle but valuable second layer of tax efficiency.
The bottom line
Maxing, investing, and leaving your HSA alone turns it into a powerful, tax-free retirement fund that doubles as an IRA-like account after 65. Stay within the 2026 limits, keep receipts, and remember these are estimates and general information, not investment or tax advice. Verify with the IRS and a qualified professional.