InfyCalculator
💹

HSA Retirement Growth Calculator

Use an HSA as a stealth retirement account: project its tax-free growth when you invest it and pay medical bills out of pocket.

Current HSA balance
Annual contribution
Annual return
Years until retirement
Medical bills paid from HSA / year
Marginal tax rate
Loading calculator…

How it works

Each year: balance = balance × (1 + r) + contribution − medical paid · Upfront tax saved = total contributions × marginal rate

A health savings account is the only account with a triple tax advantage: contributions are deductible, growth is untaxed, and withdrawals for qualified medical expenses are tax-free. If you can pay current medical bills from cash and leave the HSA invested, it behaves like a supercharged retirement account — and after age 65 you can withdraw for any purpose, paying only ordinary income tax like a traditional IRA. Keeping receipts lets you reimburse yourself tax-free years later.

Worked example

Starting at $8,000 and contributing $4,300 a year at 7% for 25 years while paying medical costs out of pocket, the HSA compounds to roughly $315,000, virtually all of it available tax-free for healthcare — plus about $25,800 saved upfront at a 24% tax rate.

Frequently asked questions

Why use an HSA for retirement?

It is triple tax-advantaged: deductible going in, tax-free growth, and tax-free withdrawals for medical costs — which retirees have in abundance. Paying today’s bills out of pocket lets the account compound untouched for decades.

What happens to an HSA after 65?

After 65 you can withdraw for any reason with no penalty; non-medical withdrawals are simply taxed as income, like a traditional IRA. Medical withdrawals remain completely tax-free at any age.

Do I have to invest my HSA?

Many HSAs sit in cash by default. To get retirement-account growth you generally need to move the balance above a threshold into the provider’s investment options rather than leaving it in the spending account.

Related calculators

Educational estimate, not financial advice. Investment returns are not guaranteed.