PlanWise

Use your HSA as a retirement account

By PlanWise Editorial · 2026-06-14

In short: To use an HSA as a retirement account, contribute the 2026 max ($4,400 self-only or $8,750 family), invest the balance, and pay current medical bills out of pocket so the account compounds tax-free for decades. Qualified medical withdrawals are always tax-free, and after age 65 any withdrawal avoids the penalty (income tax still applies on non-medical use). This is general information, not investment or tax advice.

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 fundsBefore age 65Age 65 and older
Qualified medical expensesTax-freeTax-free
Non-medical withdrawalsIncome tax + 20% penaltyIncome tax, no penalty

The four-step playbook

  1. 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.
  2. 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.
  3. 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.
  4. 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

Where the HSA fits in your savings order

Financial planners often suggest a funding order that puts the HSA surprisingly high:

  1. 401(k) up to the employer match — never leave free money on the table.
  2. Max the HSA — the only triple-tax-advantaged account.
  3. Pay down high-interest debt and build an emergency fund.
  4. Max other tax-advantaged accounts (Roth/traditional IRA, the rest of the 401(k)).
  5. 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 contributionApprox. 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.

Frequently asked questions

Can an HSA really be used for retirement?

Yes. If you invest the balance and pay current medical costs out of pocket, the HSA compounds tax-free. Qualified medical withdrawals are tax-free at any age, and after 65 non-medical withdrawals avoid the penalty (income tax still applies).

What happens to my HSA at age 65?

Qualified medical withdrawals stay tax-free. Non-medical withdrawals after 65 are taxed as ordinary income but carry no 20% penalty — the same as a traditional IRA.

How much can I build up?

It depends on contributions, time, and returns. Maxing the 2026 family limit of $8,750 for decades at a moderate return can grow into a six-figure, tax-free medical fund. Use our projection calculator to estimate.

Can I keep contributing after I retire?

Only while you have a qualifying HDHP and are not enrolled in Medicare. Once on Medicare you cannot contribute, but you can still spend the balance tax-free on qualified expenses.

Related articles

Last updated: 2026-06-14