Some, but not all, HSAs let you invest your balance, for example in mutual funds or ETFs. Earnings stay federally tax-free while they remain in the account, and withdrawals for qualified medical expenses are tax-free too. But investments can lose value, fees can eat into returns, and not every state follows the federal tax rules.
Key facts: Some, but not all, HSAs allow investing, and a minimum balance may be required before you can (SEC Investor Bulletin, Dec. 9, 2025). · Earnings aren't federally taxed while they stay in the HSA, and withdrawals for qualified medical expenses are tax-free (SEC; IRS Publication 969). · Investing can add fund fees and transaction fees on top of any account maintenance fee, and all investments involve some risk of loss (SEC).
Let's face it: a health savings account sounds like the least thrilling thing you could invest in. It's a bank account that went to nursing school. But some HSAs let you invest the balance, and that's where a dull medical account starts moonlighting as a long-term savings tool.
So here's the plain version. We'll cover how HSA investing works, what the "triple tax advantage" actually means, what it costs, and where the tortoise can get flattened.
First, the Bouncer at the Door (Yes, There's an HDHP Requirement)
By law, you can only contribute to an HSA if you participate in a high-deductible health plan (HDHP). No HDHP, no HSA contributions. The bouncer checks IDs.
We've already covered the dollar limits and HDHP thresholds and what you can buy with HSA money, so we won't repeat those numbers here. This post is about what happens to the money after it lands.
Wait, You Can Invest an HSA? (Some of Them, Anyway)
The SEC's investor education office says some, but not all, HSAs allow you to invest some or all of your balance. A minimum balance may apply first, and the menu varies. Some HSAs offer several investment products, others only a few, with mutual funds and ETFs as typical examples.
One quirk: the IRS says contributions must be made in cash. Contributions of stock or property aren't allowed. So you can't hand your HSA a share certificate and a smile. The investing happens after the cash arrives.
Some HSAs also just pay interest on money you don't spend or invest. That's the cautious cousin, and it's a legitimate choice.
The Triple Tax Thing (Uncle Sam Gets Left on Read Three Times)
The SEC describes a triple tax advantage, and each part is its own little plot twist:
- Money in: payroll contributions are pre-tax, and other contributions can be deducted from your federal taxable income.
- Money growing: earnings, such as interest or investment gains, aren't federally taxed while they stay in the HSA.
- Money out: withdrawals for qualified medical expenses aren't federally taxed.
The IRS says the same thing in its own words: earnings on the assets in the account are tax free, and distributions may be tax free if you pay qualified medical expenses. Three tax breaks in one account is the closest the tax code gets to a loyalty card.
The Case for Waiting (Tortoises Have Great Press Agents)
Here's why people invest an HSA at all. There's no "use it or lose it": unused money generally carries over year after year, and there's no deadline to use the balance, even if you stop participating in an HDHP. The SEC adds that if you plan to use the HSA for future healthcare costs, you might consider investing some or all of it, since the longer money is invested, the more opportunity it has to grow.

There's also a patient-person trick. If you pay a medical bill out of pocket, you can reimburse yourself from the HSA later, as long as the expense happened after the HSA was established. The catch is paperwork. The IRS says you need records showing the distribution was exclusively for qualified medical expenses, that the expenses weren't already paid or reimbursed from another source, and that you didn't take them as an itemized deduction. Your future self needs a very organized filing system.
The Costs (Every Toll Booth Wants a Dollar)
If you invest, you may pay additional fees: underlying fund fees and transaction fees on top of any account maintenance fee. The SEC says some HSAs charge a monthly maintenance fee, while others charge none or waive it at a higher balance. It also warns that fees can affect performance over time.

Hypothetical, not a real account: say $10,000 grows for 20 years with no new deposits. At an assumed 5% a year it becomes about $26,533. If total fees shave off 1 percentage point and it grows at 4% instead, it becomes about $21,911. That's roughly $4,622 lost to tolls. These rates are made up for the math, and real returns aren't guaranteed.
The Risks (Plot Twist: Tortoises Can Lose Money Too)
The SEC's investor site says all investments involve some degree of risk, including potential financial loss. An invested HSA balance can fall, and that matters if a medical bill shows up while the market is down.
Other catches:
- Non-medical withdrawals sting. Money not used for qualified medical expenses is taxable income and may face an additional 20% tax. That 20% doesn't apply to distributions after you're disabled, reach 65, or die, but income tax still applies after 65 if the money isn't used for qualified medical expenses.
- Medicare turns off contributions. The IRS says that beginning with the first month you're enrolled in Medicare, your contribution limit is zero, including during periods of retroactive Medicare coverage. That rule is about adding money. The SEC says there's no deadline to use a balance you already have.
- Laws can change. The SEC reminds readers that state and federal laws affecting HSAs could change.
The Fine Print: The tax-free growth is a federal rule. The SEC notes that some, but not all, states offer tax benefits for HSAs. California, for example, does not conform: its 2024 instructions say the federal HSA deduction isn't allowed there and that HSA earnings are taxable in the year earned. Check your own state before assuming the whole triple tax advantage applies.
Before You Pick a Provider (We Won't Pick One for You, Because That's Not Our Job)
Insuroot doesn't recommend providers, so here's the checklist the SEC itself points toward:
- Do you have a choice? You can open an HSA with the financial institution of your choice if you're eligible. Some employers may only direct contributions to a certain provider, but other options may be available.
- Is there a minimum balance to invest? Find out before you plan around it.
- What's the total cost? Add the maintenance fee, fund fees and transaction fees.
- Can you leave? The SEC says you can move HSA assets to a different provider by transfer or rollover, and the IRS notes the HSA is "portable" if you change employers.
The Bottom Line (An HSA Is Not a Piggy Bank With a Stethoscope, but It Can Behave Like One)
Investing an HSA can turn a medical account into a long-term bucket, with tax breaks on the way in, on the growth and on qualified withdrawals. But not every HSA offers investing, fees and market risk are real, and your state may not play along. Nothing here says you should invest, or in what. That's a call for you and a qualified professional.
Pay the tolls knowingly, keep your receipts, and let the tortoise do its thing. Just don't expect it to win any sprints.
Have a question about HSAs, 401(k)s or IRAs? Ask us, and we may cover it in a future article.
This is general education with a sense of humor, not tax, legal, investment or insurance advice. Your HSA custodian's rules and a tax professional outrank our jokes.
Sources:
- SEC Office of Investor Education and Assistance: Health Savings Accounts (HSAs) – Investor Bulletin (Dec. 9, 2025)
- IRS Publication 969 (2025): Health Savings Accounts and Other Tax-Favored Health Plans
- Investor.gov: What is Risk?
- California Franchise Tax Board: 2024 Instructions for Schedule CA (540)
Frequently asked questions
Can I invest the money in my HSA?
Maybe. The SEC says some, but not all, HSAs allow you to invest some or all of your balance, and a minimum balance may apply first. Examples of investment options include mutual funds and ETFs, and the choices can vary widely from one HSA to the next.
Are HSA investment gains taxable?
Federally, earnings such as interest or investment gains aren't taxed while they remain in your HSA, and withdrawals for qualified medical expenses are tax-free too. State rules differ: the SEC notes that some, but not all, states offer tax benefits for HSAs, and California's 2024 instructions say HSA earnings are taxable there in the year earned.
What happens if I take HSA money out for something that isn't medical?
The amount is taxable income, and before age 65 it may also face an additional 20% tax, according to the IRS. There is no additional tax on distributions made after you are disabled, reach 65, or die, but after 65 you still owe income tax on money not used for qualified medical expenses.
Can I move my HSA to a provider with better investment options?
Yes, the SEC says you can move HSA assets, cash or investments, to an HSA with a different provider by transfer or rollover. Those are specific processes with their own rules, so understand them before you move anything.



