Stoia

The HSA Triple Tax Advantage, Explained (and How to Use All of It)

By the Stoia team · August 16, 2026 · 6 min read

Every tax-advantaged account charges you somewhere. Traditional accounts tax the money on the way out; Roth accounts tax it on the way in. The health savings account is the only account in the US tax code that, used for its intended purpose, taxes the money at no point at all. That is not a loophole or a trick: it is the design, and most people who have one use a fraction of it.

The three legs, spelled out

  1. Untaxed going in. Contributions reduce your taxable income, and when they flow through payroll they typically skip payroll taxes as well, a discount even 401(k) contributions do not get.
  2. Untaxed while it grows. Interest, dividends, and investment gains inside the account accrue with no tax drag, year after year.
  3. Untaxed coming out, provided the withdrawal pays for qualified medical expenses: deductibles, prescriptions, dental and vision work, and a long list of everyday care.

No other account offers all three. A 401(k) gives you legs one and two, a Roth IRA gives you legs two and three, and a plain brokerage account gives you none. The annual contribution ceiling is set by the IRS each year; the HSA calculator carries the current figures and projects what a funded account grows into.

After 65, it moonlights as an IRA

The common objection is "but I might stay healthy," and the tax code already answered it. Before 65, spending HSA money on anything non-medical costs income tax plus a steep penalty. At 65 the penalty disappears entirely: non-medical withdrawals are simply taxed as ordinary income, exactly like a traditional IRA. Medical withdrawals stay tax-free for life, and the account can also pay most Medicare premiums tax-free. So the worst realistic outcome for a healthy saver is that the HSA behaves like one more traditional IRA, and the likely outcome, given that healthcare is one of retirement's largest expense categories, is meaningfully better than that. This is why planners sometimes call it a stealth IRA. One mechanical note: once you enroll in Medicare you can no longer contribute, so the building years end even though the spending years continue.

The receipts strategy

Here is the move that separates casual HSA users from deliberate ones. Qualified expenses do not have to be reimbursed in the year they happen: under current rules you can repay yourself in any later year, with no deadline. So instead of swiping the HSA debit card at the pharmacy, you pay today's medical bills out of pocket, leave the HSA money invested, and archive every receipt. Decades later you can withdraw the accumulated total tax-free, on demand, for any reason you like, because the reimbursement right was earned long ago. The strategy has one real requirement: documentation. Keep digital copies of every receipt and explanation of benefits in a folder you will still be able to find in twenty years, because the burden of proof sits with you, not the custodian. If that discipline sounds unrealistic, spending the HSA as you go is still a perfectly good tax-free medical account.

Invest the balance, but keep a cash floor

Most HSAs park contributions in cash by default, where the triple advantage protects returns that barely exist. The growth legs only matter if the money is invested. A common approach: hold a cash floor equal to your plan's deductible (or, more conservatively, its out-of-pocket maximum) so a bad month never forces you to sell investments to pay a bill, and invest everything above the floor in the same diversified funds you would hold in any retirement account. Treated that way, the HSA belongs in your retirement projection alongside the 401(k) and IRA; the retirement calculator can show what a few decades of invested contributions add to the picture.

The honest prerequisite: the HDHP has to make sense first

You can only contribute while covered by an HSA-qualified high-deductible health plan, and that is a health insurance decision before it is a tax decision. An HDHP is often a fine trade for people with low, predictable care usage and enough cash to cover the deductible without flinching. It is frequently the wrong trade for people managing chronic conditions, filling regular prescriptions, planning a pregnancy or surgery, or living without a cushion that could absorb the deductible. Compare plans on total cost: premiums plus your realistic worst-case out-of-pocket, not premiums alone, and let the tax perk be the tiebreaker rather than the reason. The tax tail should not wag the health insurance dog.

One account, three jobs

Funded early and invested, an HSA is an emergency medical fund, a retirement healthcare fund, and a backup IRA in a single wrapper. It earns a place in the same view as the rest of your accounts, which is exactly the picture Stoia is built to keep current.

This article is for educational purposes only and is not financial, legal, or tax advice. Figures and third-party prices were checked at publication and may have changed. See our disclaimer.

See your whole financial picture, calmly

Stoia brings everything you own and owe into one clear view. Launching in 2026 on iOS, Android, and the web.

Coming soon