Should You Invest Your HSA Funds? Here's How the Math Works

Most HSA holders leave their balance sitting in cash. Here's what that's actually costing you, and how to think about investing it instead.

,000 | Investing and the shoebox strategy are the same decision from two angles

Studies of HSA usage consistently find the same thing: the large majority of account holders leave their entire balance in cash, earning little to nothing, even though most HSA providers let you invest part of the balance in mutual funds or ETFs once you clear a minimum cash threshold (often $1,000–$2,000, depending on the provider).

That's leaving a lot on the table. Here's the math.

Cash vs. invested, over time

Say you keep a consistent $3,000 balance in your HSA and never touch it.

  • Left in cash earning close to 0% (many HSA cash sweep accounts pay very little interest), it's worth roughly $3,000 in ten years. Inflation has quietly made it worth less in real terms.
  • Invested in a diversified fund tracking the broader market, at a historical average of roughly 7% annual real return, that same $3,000 could grow to somewhere around $5,900 in ten years — without adding a single additional dollar.

That gap is pure opportunity cost. It's not a hypothetical "if the market does well" scenario — it's the predictable result of tax-free compounding over a long enough time horizon, which is exactly what an HSA is built for.

Why people don't invest their HSA — and why that's usually a mistake

The most common reason people leave HSA funds in cash is that they expect to need the money soon, for near-term medical bills. That's a reasonable instinct for money you'll spend in the next year or two — you don't want that in the market where it could be down 15% the week you need it for surgery.

But if you're using the shoebox / delayed-reimbursement strategy — paying smaller bills out of pocket and keeping receipts instead of draining the HSA immediately — there's often no near-term need for the balance at all. In that case, keeping years of HSA contributions sitting in a low-interest cash sweep account is close to the worst place that money could be.

A reasonable framework:

  1. Keep a cash buffer in the HSA roughly equal to your annual deductible, or whatever you're comfortable covering out of pocket if a real medical event hits.
  2. Invest everything above that buffer, the same way you'd think about a retirement account — diversified, low-cost index funds, held for the long term.
  3. Keep paying smaller expenses with outside cash when you can, banking the receipts, so the invested balance keeps growing instead of getting drawn down.

The tradeoff to be honest about

Investing HSA funds means accepting market volatility on money that's nominally earmarked for medical expenses. If the market drops right when you have a real, unavoidable medical bill, you may be selling at a loss to cover it. That's exactly why the cash-buffer approach above matters — it's not an all-or-nothing decision.

It's also worth checking your HSA provider's investment fees. Some charge a monthly account fee or a percentage of assets once you start investing; a few percentage points a year in fees can meaningfully eat into the advantage you're trying to capture. Providers vary a lot here, so it's worth a five-minute check before moving a large balance into investments.

The receipt problem doesn't go away

Whether your HSA balance sits in cash or is fully invested, the same underlying discipline matters: keep every receipt, tagged with the date, provider, and amount, so you can reimburse yourself accurately whenever you choose to. SaveMyHSA handles that piece — the projections in the app assume the same kind of long-term growth described here, so you can actually see what leaving a receipt "banked" and invested is worth over time, not just track the paperwork.

Related