Can You Invest Your HSA Funds? How HSA Investing Works

Most HSA dollars sit in cash earning nothing. Invested, they compound tax-free for decades. Here is how to switch your HSA into growth mode.

Summary: Most HSA custodians let you invest balances above a cash threshold (often $1,000 to $2,000) in mutual funds or ETFs with tax-free growth. Keep one year's deductible in cash and invest the rest in a diversified stock fund aligned with your time horizon. The receipt shoebox strategy, paying medical bills out of pocket and reimbursing yourself years later, lets the invested balance compound untouched. Watch for monthly maintenance and investment fees that can erase small balances.

How HSA investing works

Nearly every major HSA custodian offers an investment window: once your cash balance exceeds a threshold (commonly $1,000 or $2,000), you can sweep the excess into mutual funds, ETFs, or a brokerage window. The mechanics resemble a 401(k): pick funds, set allocations, rebalance occasionally. All growth is tax-free, and qualified medical withdrawals are tax-free, so the HSA is effectively a Roth IRA with a deductible contribution.

What to keep in cash

Keep roughly one year's deductible in the cash portion as your medical emergency fund. Everything above that can be invested according to your time horizon: if you are 30 and treating the HSA as a retirement account, a total stock market index fund is the standard choice. If you expect to spend the HSA on medical bills within a few years, a conservative allocation fits better. Revisit the cash buffer annually as deductibles change.

The receipt shoebox strategy

The advanced play: pay medical bills out of pocket, save the receipts, and let the HSA stay invested. There is no deadline for reimbursement, so a $2,000 dental bill paid in 2026 can be reimbursed from the HSA in 2046 after twenty years of tax-free compounding. Digitize every receipt (the IRS can ask for substantiation decades later) and track them in a spreadsheet. This strategy converts the HSA from a spending account into a pure retirement vehicle.

Fees that eat small balances

Some custodians charge monthly maintenance fees ($2 to $4) or investment fees that make small balances shrink. If your employer's custodian is fee-heavy, you can periodically roll the HSA to a low-cost custodian via trustee-to-trustee transfer; unlike 401(k)s, you can move HSA money any time without leaving your job. Consolidating old HSAs from prior employers into one low-fee account is almost always worth the paperwork.

What to invest in

For long horizons, a total US stock market index fund with an expense ratio under 0.1 percent is the default recommendation, optionally with international exposure matching your overall portfolio. Target-date funds work if you want a hands-off glide path. Avoid the custodian's default money-market sweep for money you will not spend for years; cash is a guaranteed loss to inflation. Rebalance yearly and treat the HSA as part of your total portfolio allocation, not a separate gamble. If your custodian's fund menu is thin or expensive, remember you can roll the balance to a better custodian at any time without changing jobs.

Tax reporting for HSA investments

Investment activity inside the HSA generates no tax forms: no 1099-DIV, no 1099-B, no capital gains to report while the money stays in the account. You report contributions on Form 8889 and distributions on the same form; only the custodian's Form 5498-SA (contributions) and 1099-SA (distributions) touch your return. A few states (notably California and New Jersey) do not conform to the federal HSA exclusion and tax the earnings at the state level, so check your state's treatment before assuming the growth is fully tax-free.

Sources: IRS Publication 969 (HSA rules); custodian fee schedules vary. Data current as of October 2026. Not investment or tax advice.

Frequently asked questions

Can I invest money in my HSA?

Yes. Most custodians let you invest balances above a cash threshold (often $1,000-$2,000) in mutual funds or ETFs, with tax-free growth.

How much cash should I keep in my HSA?

About one year's deductible as a medical emergency fund; invest the rest according to your time horizon.

What is the HSA receipt shoebox strategy?

Pay medical bills out of pocket, save the receipts, and reimburse yourself years or decades later, letting the HSA compound tax-free in the meantime.

Can I move my HSA to a different custodian?

Yes, via trustee-to-trustee transfer at any time, even while employed. Consolidating old HSAs into a low-fee custodian is usually worthwhile.

What should I invest my HSA in?

For long horizons, a low-cost total stock market index fund is the standard choice; match the allocation to your overall portfolio and time horizon.

HSA Contribution Calculator calculator · ← The HSA Triple Tax Advantage Explained (With 2026 Math) · The HSA as a Retirement Account: The Strategy Step by Step →