Should You Invest HSA Funds or Keep Them in Cash?

Updated July 9, 2026 6 min read

A health savings account can quietly serve two purposes at the same time: a place to cover this year’s medical bills, and a long-term growth account aimed decades down the road. How much sits in cash versus how much gets invested often comes down to which job the account is being asked to do.

The short answer

There’s no single right split. The general framework people weigh is keeping enough in cash to cover near-term, predictable medical costs, while investing the remainder for long-term growth if the account is being used as part of a broader retirement strategy. Where that line falls depends on someone’s health situation, other available savings, and how much risk they’re comfortable taking with money that might be needed on short notice.

Why cash matters for the near term

Medical expenses don’t always arrive on a predictable schedule, and an HSA that’s fully invested can leave someone forced to sell investments at an inconvenient time to cover a bill. Keeping a cash cushion inside the account, sized around a rough estimate of what a person might reasonably spend on healthcare in the next year or two, is the more conservative approach for near-term needs. This mirrors the logic behind why people keep an emergency fund separate from long-term investments: money needed soon shouldn’t be exposed to short-term market swings.

Why investing matters for the long term

Cash sitting in an HSA earning a modest interest rate isn’t doing much heavy lifting over a multi-decade horizon. Investing the portion of the balance not needed for near-term expenses gives it a chance to grow the way other tax-advantaged retirement accounts are designed to grow, compounding without an annual tax drag along the way. For someone who can afford to pay current medical costs from other sources and let the HSA balance ride, investing more of it can make sense as part of a longer retirement timeline.

Questions that tend to shape the decision

A framework, not a formula

Some people set a specific cash floor, such as an amount roughly equal to their health plan’s deductible, and invest everything above that line. Others take a more conservative approach and keep most of the balance liquid until they’re confident they won’t need it. Neither approach is inherently right; the framework matters more than a specific number, since account balances, deductible amounts, and personal health circumstances vary too much for one figure to apply broadly. Investment choices inside an HSA also carry the same market risk as investments held anywhere else, and past performance doesn’t determine future results.

What to weigh

Deciding how to split an HSA balance between cash and investments comes down to matching the money to its likely job: near-term medical spending calls for stability, while money with a long runway can afford to take on more growth-oriented risk. Revisiting that split periodically, as health needs, other savings, and time horizon change, tends to matter more than getting the exact ratio right on day one.