HSAretirementtaxesinvesting

The Best Retirement Account in the Tax Code Is Disguised as a Medical Account.

Most people treat their HSA like a checking account for copays. Used that way, it is fine. Used the way the tax code actually allows, it is the only account that is never taxed going in, growing, or coming out.

SwitchWize Research Desk5 min read

The short answer

A health savings account is the only account that is tax-deductible going in, tax-free while it grows, and tax-free coming out for medical costs. In 2026 you can contribute $4,400 for self-only coverage or $8,750 for family coverage, plus $1,000 if you are 55 or older. Treated as a spending account, the money never grows. Invested and left alone for 30 years at a 7% return, a $4,400 annual contribution can grow to roughly $415,000, all available tax-free for medical expenses.

Devin is 38, healthy, and has been doing the right thing for the wrong reason. He funds his health savings account every year, and every year he spends it down on copays, prescriptions, and the occasional urgent-care bill. He thinks of it as a tax-friendly way to pay for doctor visits. It is. It is also, used that way, a rounding error next to what the same account could have been. As of 2026, Devin is treating the best retirement account in the tax code like a debit card.

(Devin is a composite. The story is illustrative. The math is real and typical.)

Three tax breaks in one account

Every other tax-advantaged account makes you pick your tax break. A traditional 401(k) gives you a deduction now but taxes the withdrawals. A Roth gives you tax-free withdrawals but no deduction now. The HSA refuses to choose. Money goes in deductible, grows with no tax on the gains, and comes out tax-free when used for qualified medical expenses. Three tax breaks, one account. Nothing else in the code does all three.

For 2026, the contribution limits are $4,400 for self-only coverage and $8,750 for family coverage, with an extra $1,000 if you are 55 or older. You need an eligible high-deductible health plan to contribute, and a change effective this year widened the door: certain bronze and catastrophic marketplace plans now count as HSA-compatible, so more people qualify than did before.

The detonating number

Here is the whole article in one line. Devin's $4,400, spent on this year's medical bills, is worth exactly $4,400. That same $4,400, invested inside the HSA and left alone for 30 years at a 7% return, grows to about $415,000, and every dollar of it can come out tax-free for medical costs. The account did not change. Only the decision to let it grow did.

$4,400 a year in an HSA, over 30 yearsSpent each year as a debit cardstays $4,400Invested and left to grow~$415,000All available tax-free for medical costs. Illustrative at 7% a year.

The move hiding in the rules

Here is the mechanism that turns a medical account into a retirement account: there is no deadline to reimburse yourself. If Devin pays this year's $300 doctor bill out of his regular checking account and keeps the receipt, he can reimburse himself from the HSA any time, this year, next decade, or in retirement. In the meantime, that $300 stays invested and grows tax-free.

So the strategy is to fund the HSA, invest it like a retirement account, pay current medical bills out of pocket, and bank the receipts. Decades later, those receipts are a tax-free withdrawal key. Devin can pull out, tax-free, an amount equal to every qualified medical dollar he ever paid out of pocket, while the account compounded untouched the whole time. He is using the medical-expense rule not to spend the account, but to unlock it later.

And the back door is generous. After age 65, an HSA can be used for anything at all, not just medical costs. Non-medical withdrawals after 65 are simply taxed as ordinary income, exactly like a traditional IRA, with no penalty. So the worst case for an over-funded HSA is that it behaves like a traditional retirement account, and the best case is that it behaves like a Roth aimed at the one expense almost every retiree faces in size, which is health care.

Why the account gets misused

The trap is the label. It says health savings account, so people use it to pay for health, immediately, the way the name implies. The packaging hides the function. Spending the HSA each year feels responsible, like using the tool for its stated job, when the stated job is the least valuable thing the account can do. The behavioral cost is enormous and invisible: every dollar Devin spent at 38 was a dollar that could not become about nine dollars, tax-free, by the time he actually needs it most.

There is a real prerequisite worth stating plainly. This only works if you can afford to pay current medical bills from other money while leaving the HSA invested. For someone who needs the HSA to cover this year's bills, spending it is the correct use. The stealth-retirement move is for people with the cash flow to let it compound.

How to run the account like the asset it is

  • Invest the balance, do not park it, because an HSA left in cash earns the lowest return on the most tax-advantaged dollars you have.
  • Pay medical bills from other money when you can, since every receipt you bank is a future tax-free withdrawal key while the account keeps compounding.
  • Keep the receipts, because there is no deadline to reimburse yourself, and those records are what turn decades of growth into tax-free cash later.
  • Fund it before a Roth in many cases, since no other account gives you a deduction now and tax-free growth and tax-free withdrawals at the same time.

Devin can keep swiping his HSA for copays, and it will keep doing a small job well. Or he can let it do the large job it was quietly built for. The same $4,400 a year is either this year's medical bills or about $415,000 of tax-free money for the medical bills that actually frighten people, the ones that arrive in retirement. The account is the same. The decision is everything.


Devin is a composite character used to illustrate typical math. His age and balance are hypothetical; the 2026 contribution limits, the triple-tax treatment, the post-65 rule, and the reimbursement timing are real as of June 2026. Growth figures assume a 7% annual return and are not guaranteed. An HSA requires an eligible high-deductible health plan. This article is educational and is not financial, tax, or medical advice.

Related reading: how HSA reimbursement timing works and the savings and investing tools we track.

Connect the lesson

Turn the article into a next step.

Recommended: Save smarter

SwitchWize takeaway

Find your number, not the market's.

Run a Money Map to see how your cash, debt, and rates stack up against the best available options.

Start Money Map →

2026 HSA limits from the IRS. Reviewed June 18, 2026. Growth figures are illustrative at a 7% annual return and are not guaranteed. Requires an HSA-eligible high-deductible health plan.