HSA Investment Calculator
The 2026 HSA limit is $4,150 for self-only coverage and $8,300for a family. Invest what you don't spend and it compounds tax-free — see exactly how much your HSA grows over the next 10, 20, and 30 years.
HSA Investment Calculator
Max out your HSA and invest it. Enter your details to see what the balance grows to in 10, 20, and 30 years — all of it tax-free for qualified medical costs.
At 55+ you can add a $1,000 catch-up contribution.
Invested HSA funds, not the cash sweep. 6–8% is typical for a stock index fund.
In 10 years
$129,765
$41,765 of tax-free growth
In 20 years
$380,501
$209,501 of tax-free growth
In 30 years
$884,396
$630,396 of tax-free growth
Over 30 years you'd put in $254,000 and earn $630,396 in tax-free growth — a $884,396 balance you can spend on medical costs tax-free at any age.
Year-by-year HSA growth
The triple tax advantage, explained
The HSA is the only account in the U.S. tax code that gives you three tax breaks on the same dollar. A 401(k) gets you a deduction now but taxes withdrawals; a Roth IRA taxes you now but frees withdrawals. An HSA does both, plus tax-free growth in between:
- Tax-deductible going in. Contributions reduce your taxable income — and if you contribute through payroll, you also skip the 7.65% FICA tax, which no IRA or 401(k) does.
- Tax-free growth. Interest, dividends, and capital gains on invested HSA funds are never taxed while they stay in the account.
- Tax-free coming out. Withdrawals for qualified medical expenses are 100% tax-free, at any age, with no required minimum distributions.
Because healthcare is a near-certain expense in retirement — a couple retiring today can expect six figures of out-of-pocket medical costs — money earmarked for those bills is far more valuable inside a triple-tax-free HSA than anywhere else.
HSA vs FSA for investing
People often confuse the two, but for building wealth they aren't close. The HSA is an investment account that happens to pay for healthcare; the FSA is a spending account with a deadline.
| Feature | HSA | FSA |
|---|---|---|
| Unused balance rolls over | Yes — forever | Mostly use-it-or-lose-it |
| Can be invested | Yes | No |
| Portable if you change jobs | Yes — it's yours | No — tied to employer |
| Requires an HDHP | Yes | No |
The catch: you can only open an HSA if you're enrolled in a qualifying high-deductible health plan. If you are, the HSA wins for anything beyond this year's expected bills. The FSA only makes sense for predictable, near-term spending you'll definitely use before the deadline.
How to invest your HSA funds
Most HSAs land your contributions in a near-zero-interest cash account by default. To actually compound, you have to move money into investments yourself. A common, low-effort approach:
- Keep a cash cushion equal to your plan deductible or your expected yearly medical spending, so you can pay bills without selling investments.
- Invest the restin a broad, low-cost index fund — the same kind of total-market or S&P 500 fund you'd hold in a 401(k). Over decades this is where the triple-tax-free growth comes from.
- Pay small bills out of pocket if you can, and save the receipts. The IRS lets you reimburse yourself years later, so the invested balance keeps growing tax-free in the meantime.
Treat the invested slice exactly like a retirement account: pick a sensible allocation, automate contributions, and leave it alone. Curious how the same dollars compound in a different wrapper? Compare against a Roth IRA or run the raw math in the investment growth calculator.
HSA growth over 10, 20, and 30 years
The numbers in the calculator above update as you type, but here's the headline pattern. Maxing out family coverage at $8,300 a year from a $5,000 starting balance, with the invested portion earning 7%, the account grows to roughly:
| Time invested | Approx. balance | Mostly… |
|---|---|---|
| 10 years | ~$130,000 | your contributions |
| 20 years | ~$380,000 | an even split |
| 30 years | ~$885,000 | tax-free growth |
Notice the shift in the right-hand column: early on, your balance is mostly the cash you put in. By year 30, the majority is tax-free growth you never contributed — the classic compounding curve, with the added kicker that none of it is taxed when spent on healthcare. This is the same effect behind the Rule of 72, just inside the most tax-efficient account available.
Related Tools & Articles
Roth IRA Calculator
Compare another tax-free retirement bucket with its own 2026 limit
401(k) Contribution Limit Calculator
Check your 2026 max and how much room you have left
Retirement Savings Calculator
See whether your total savings rate gets you to your nest egg
HYSA vs CD vs Index Fund
Where to park the cash slice of your HSA versus the invested slice
Frequently Asked Questions
What is the HSA contribution limit for 2026?
For 2026, you can contribute up to $4,150 with self-only coverage or $8,300 with family coverage. If you're age 55 or older, you can add a $1,000 catch-up contribution on top. You must be enrolled in a qualifying high-deductible health plan (HDHP) to contribute.
How much will my HSA grow if I invest it?
Maxing out family coverage at $8,300 a year from a $5,000 starting balance, with the invested portion earning 7%, grows to roughly $130,000 in 10 years, about $380,000 in 20 years, and nearly $885,000 in 30 years. The exact figure depends on your starting balance, contribution, and return — enter your own numbers above to see it.
What is the triple tax advantage of an HSA?
An HSA is the only account that's tax-advantaged three times: contributions are tax-deductible (or pre-tax through payroll), the money grows tax-free while invested, and withdrawals are tax-free when used for qualified medical expenses. No other account — not a 401(k), not a Roth IRA — gives you all three.
Can I invest my HSA like a 401(k)?
Yes. Most HSA providers let you invest the balance above a small cash threshold in mutual funds, index funds, or ETFs, just like a 401(k) or IRA. The cash you keep for near-term medical bills earns little, but anything you don't expect to spend soon can be invested for decades of compounding growth.
What happens to my HSA after age 65?
After 65, you can withdraw HSA funds for any reason without the 20% penalty — non-medical withdrawals are simply taxed as ordinary income, just like a Traditional IRA. Medical withdrawals stay completely tax-free at any age, which is why many savers treat the HSA as a stealth retirement account.
HSA vs FSA — which is better for investing?
An HSA is far better for investing. HSA balances roll over every year, stay with you when you change jobs, and can be invested in the market. A Flexible Spending Account (FSA) is mostly use-it-or-lose-it each year, can't be invested, and isn't portable — it's for spending, not growing.