DecisionSheet

The HSA as a stealth retirement account: what maxing it out grows to

By DecisionSheet · Updated · 2026 tax figures

A health savings account (HSA) arrives in an enrollment packet as a way to pay this year's medical bills with untaxed money. Nothing in the rules requires it to be used that way. In the Employee Benefit Research Institute's database of accounts, 18% of holders had their HSA invested in something other than cash during 2024, and 56% of the accounts saw a distribution that year (EBRI).

This page runs the opposite case through the calculator: the 2026 self-only maximum of $4,400 paid in every year, invested at 7.5%, and never drawn on (open that scenario). After 30 years the projected balance is $489,079 — $132,000 contributed and $357,079 growth.

The three tax breaks, precisely

"Triple tax advantage" compresses three rules, and hides a condition on the third.

Going in, contributions are not taxed. A contribution the holder makes directly is deductible. One made by an employer, "including contributions made through a cafeteria plan" (Publication 969), may be excluded from gross income instead, and is "exempt from federal income tax withholding, social security tax, Medicare tax…" (Publication 15-B).

Inside, growth is not taxed. "An HSA is generally exempt from tax" (Publication 969). Interest, dividends and gains go unreported year by year.

Coming out, only medical withdrawals are untaxed. A distribution is tax free to the extent it pays or reimburses qualified medical expenses. Anything else is income, and "there is an additional 20% tax on the part of your distributions not used for qualified medical expenses" — with exceptions: "there is no additional tax on distributions made after the date you are disabled, reach age 65, or die" (Publication 969). From 65, a non-medical withdrawal is taxed as ordinary income and nothing more.

New money stops at Medicare: "no contributions can be made to an individual's HSA after they become enrolled in Medicare Part A or Part B" (Publication 15-B). Withdrawals are unaffected.

What the maximum grows to

After Contributed Projected balance Of which growth
10 years $44,000 $66,916 $22,916
20 years $88,000 $204,831 $116,831
30 years $132,000 $489,079 $357,079
Projected HSA balance over 30 years when $4,400, the self-only maximum, is contributed every year and invested at a 7.5% annual return: a curve rising from zero to $489,079 by year 30, with cumulative premium savings plotted as a much lower dashed line.

Open this scenario

The arithmetic is not special to an HSA; it is what a fixed annual contribution does at a constant return. What is special is that no federal tax is taken out of the growth, or out of a withdrawal that pays a qualified medical expense. State rules can differ; California's do.

The chart's second line, cumulative premium savings, comes from the calculator's plan comparison and is not part of the balance.

Cash against invested

Set the assumed return to zero, changing nothing else, and the same $4,400 a year ends at $132,000 after 30 years — exactly what was paid in. Against $489,079 invested, the gap is $357,079 — the growth in the table's last row (the cash scenario).

Whether that gap is reachable is a question about the custodian, not tax law. The provider sets whether the account offers investments, whether a minimum must stay in cash, and what the fees are. None of it is modeled here, and every fee reduces the balance.

The fourth break: payroll deduction

The Social Security and Medicare exemption is not automatic: it belongs to contributions made through an employer's payroll under a Section 125 cafeteria plan.

In the model that is one checkbox. Through payroll the annual tax saving is $1,076: the 24% marginal rate entered plus 7.65% of Social Security and Medicare tax (Topic no. 751), on the $3,400 the holder puts in — the employer's $1,000 never appeared in taxable wages, so it is not shielded twice. Change that one input and the saving is $816: a difference of $260 a year, $7,800 across 30 years before any growth on it (the direct-contribution scenario).

Only up to the wage base, though: Social Security tax stops at $184,500 of 2026 wages (Publication 15), so a contribution out of wages above that saves the 1.45% Medicare portion alone. The model applies 7.65% at every income, overstating that advantage by 6.2% of the contribution.

The distinction is not hypothetical: partners and 2% shareholders of an S corporation "aren't eligible for salary reduction (pre-tax) contributions to an HSA" (Publication 15-B), and a top-up paid outside payroll is in the same position.

Paying out of pocket and reimbursing later

The projection assumes every medical bill is paid from money outside the account. The rules permit that, and permit reimbursement much later.

Notice 2004-50 is explicit: a holder "may defer to later taxable years distributions from HSAs to pay or reimburse qualified medical expenses incurred in the current year… Thus, there is no time limit on when the distribution must occur" (Notice 2004-50, Q&A-39).

Two conditions sit on that. The expense has to be incurred after the account was established — "expenses incurred before you establish your HSA aren't qualified medical expenses" (Publication 969). And the evidence has to survive: the holder "must keep records sufficient to show that" the distributions went exclusively to qualified medical expenses, that those "hadn't been previously paid or reimbursed from another source", and that they were not taken as an itemized deduction.

A third is not in the tax code: deferring reimbursement means carrying the medical bills out of cash flow for as long as it lasts. An account drawn on to pay them is the ordinary case, not the one this projection models.

Assumptions and limits

Method and sources

The model is calculateHsaVsPpo in the HSA vs. PPO calculator. Its projection starts from a zero balance and, each year, adds $4,400 and then applies the 7.5% return to the whole balance including that year's contribution; it never withdraws. The annual tax saving is the marginal rate, plus 7.65% for a payroll contribution, applied to the holder's own $3,400.

Open this scenario in the calculator

All figures on this page come from the HSA vs. PPO calculator. Change any input there and the numbers update.