Can You Invest the Money in Your HSA?

Updated July 9, 2026 6 min read

Most people open a health savings account expecting a place to park money for doctor visits, and are surprised to learn it can also work like a retirement account with a stock menu attached.

The short answer

Many HSA custodians let the account holder invest a portion of the balance in mutual funds or similar options once the cash balance clears a set threshold, rather than leaving every dollar sitting as cash. The idea is that money not needed for near-term medical bills can grow over a longer horizon, much like investing inside an IRA. Whether investing makes sense depends on how soon the funds might be needed and how much cushion is kept in cash first.

The cash-versus-invested split

Most custodians structure the account in two layers. A cash portion sits available for day-to-day claims and typically earns a modest interest rate, similar to a basic savings account. Above a certain balance, the custodian usually opens the door to a second, investable portion, often through a lineup of funds resembling what’s available in a workplace retirement plan.

The exact threshold that unlocks investing varies by custodian, and some plans set it low enough that most account holders can reach it fairly quickly, while others keep it high enough that only a long-term saver would ever cross it. Because that threshold is set by the plan itself rather than by any outside rule, it’s worth checking the specific account’s terms rather than assuming a number based on a different provider.

Why the split exists

The structure reflects two different jobs an HSA can do at once. For someone who expects to use most contributions on current medical costs, the account functions like a specialized savings account — money in, money out, with tax advantages along the way. For someone with the flexibility to pay medical bills from other funds and let the HSA balance sit untouched, the account can instead behave like a long-term investment vehicle, since unspent balances roll over with no expiration.

What changes with a longer time horizon

Investment time horizon matters here just as it does in any other account: money that won’t be touched for many years has more time to recover from downturns, while money that might be needed next month for a procedure or prescription is generally better left in cash. This is a general tradeoff common to investing, not a feature unique to HSAs, but it applies with particular force to medical accounts because health expenses can arrive without much warning.

Fees and fund choices to understand

Investable HSA options typically come with their own fund expense ratios and sometimes a separate administrative fee for using the investment feature at all. These costs vary by custodian and fund lineup, and they matter over time in the same way they would inside any other investment account — a lower-cost fund keeps more of any growth working for the account holder rather than going toward fees.

It’s also common for the investment menu inside an HSA to be narrower than what a brokerage account or workplace retirement plan might offer, since the custodian typically curates a limited set of options rather than opening the account to the entire market. Comparing the fund lineup and fee structure across custodians before committing to one can matter more than it might first appear, especially for a balance meant to sit and grow for many years.

What to weigh

Choosing whether, and how much, to invest inside an HSA comes down to balancing near-term medical needs against the appeal of long-term, tax-advantaged growth. There’s no single right split; it depends on health circumstances, other available savings, and how comfortable someone is leaving part of a medical fund exposed to market movement.