A Health Savings Account can function as an investment account, but only after you meet a specific requirement
A Health Savings Account (HSA) is primarily a savings account tied to a high-deductible health plan. However, once your balance reaches a certain threshold — typically $2,000 to $2,500, depending on your provider — you can invest the money beyond that floor in stocks, bonds, and mutual funds, just like a brokerage account. The money you keep below that threshold stays in a cash account earning little or no interest.
This dual structure is what makes HSAs different from regular savings accounts. You are not forced to invest. Many people keep their entire HSA balance in cash and simply withdraw it to pay medical bills. But if you have money sitting in your HSA that you do not plan to use immediately, you have the option to invest it and potentially grow it over time.
The investment portion of an HSA works under the same tax rules as the savings portion: money you put in is tax-deductible, growth is tax-free, and withdrawals for may have access to medical expenses are tax-free. If you withdraw money for non-medical reasons before age 65, you pay income tax plus a 20 percent penalty on the earnings (not the contributions). After 65, you can withdraw for any reason without the penalty, though non-medical withdrawals are taxed as ordinary income.
Key Takeaways
- You can invest HSA funds only after your balance exceeds your provider's threshold, usually $2,000 to $2,500.
- Investment earnings in an HSA grow tax-free and can be withdrawn tax-free for medical expenses, making it a powerful long-term savings tool.
- Your HSA provider determines which investments are available; options range from conservative money market funds to individual stocks and index funds.
- Withdrawing invested money for non-medical reasons before age 65 triggers both income tax and a 20 percent penalty on the earnings portion.
- An HSA is not a retirement account, but it can function like one if you pay medical bills out of pocket and let the account grow untouched.
When your HSA provider lets you start investing
Not all HSA providers offer investment options, and those that do set their own rules about when you can begin. Most require a minimum balance before you can move money into investments. This floor protects the provider from the cost of managing small accounts and protects you from paying investment fees on money you might need quickly for medical bills.
Once you cross that threshold, your provider typically moves the excess into a separate investment account within your HSA. Your cash balance stays separate and continues to earn interest (if any). You control how much to invest and how much to keep in cash. You can move money back from investments to cash if you need it, though this may take a few business days to settle.
If your provider does not offer investments, you have two options: open an HSA with a different provider that does, or keep your money in cash. Switching providers is straightforward — you request a direct transfer of your balance, and the new provider handles the paperwork. You do not lose any tax benefits or contribution room by switching.
What investments are actually available in an HSA
The menu of investments depends entirely on your HSA provider. Some offer only a handful of mutual funds and target-date funds. Others offer hundreds of options, including individual stocks, bonds, and exchange-traded funds (ETFs). A few providers give you access to a self-directed brokerage account, where you can buy almost anything a regular brokerage account allows.
Common investment choices in HSAs include low-cost index funds (which track the overall market), bond funds (which tend to be more stable), and balanced funds (which mix stocks and bonds). Some people use their HSA like a retirement account and invest heavily in stock index funds, betting that they will not need the money for medical expenses for many years. Others keep most of their HSA in cash and invest only a small portion.
Before you invest HSA money, check what your provider offers and what fees they charge. Some HSAs charge annual account fees, per-transaction fees, or expense ratios on mutual funds that are higher than you would pay at a regular brokerage. If fees are steep, it may not make sense to invest small amounts. Ask your provider for a fee schedule and compare it to what you would pay elsewhere.
How investment gains are taxed in an HSA
This is where HSAs shine as investment accounts. When you invest HSA money, any gains — dividends, interest, capital appreciation — are never taxed as long as you use the money for may have access to medical expenses. This is true even if you hold the investment for decades and it grows substantially. Compare this to a regular brokerage account, where you owe capital gains tax every year on dividends and when you sell at a profit.
The tax-free growth applies only to withdrawals for may have access to medical expenses. may have access to expenses include doctor visits, prescriptions, dental work, vision care, mental health treatment, and many other health-related costs. They do not include health insurance premiums (with a few exceptions), cosmetic procedures, or over-the-counter medications unless prescribed by a doctor.
If you withdraw invested money for a non-medical reason before age 65, you owe income tax on the earnings plus a 20 percent penalty. The contributions themselves are never taxed — only the growth. For example, if you invested $2,000 and it grew to $2,500, you would owe income tax plus 20 percent penalty only on the $500 gain. After age 65, the penalty goes away, but non-medical withdrawals are still taxed as ordinary income.
Using an HSA as a long-term investment vehicle
Some people treat their HSA like a retirement account by paying medical bills out of pocket and letting the HSA balance grow untouched for years. This strategy works because you can withdraw HSA money tax-free for any medical expense you incurred in any past year, as long as you did not already reimburse yourself for it. You do not have to withdraw the money in the same year you paid the bill.
This flexibility means you could pay a $500 dental bill with your own money in 2024, keep the receipt, and withdraw $500 from your HSA in 2034 to reimburse yourself. The money in your HSA would have had ten years to grow tax-free. This is a powerful strategy if you have the cash flow to pay medical bills without touching your HSA.
After age 65, you can withdraw HSA money for any reason without the 20 percent penalty. You will owe income tax on non-medical withdrawals, but the penalty is gone. This makes an HSA function like a traditional IRA at that point, except with no required minimum distributions and no age limit on contributions (as long as you have a may have access to high-deductible health plan).
Risks and downsides of investing HSA money
Investing HSA money carries the same market risk as any investment. If you invest in stocks and the market drops, your HSA balance drops too. If you need to withdraw money for a medical emergency while the market is down, you lock in that loss. This is why many people keep a portion of their HSA in cash — to cover expected near-term medical expenses — and invest only the surplus they do not expect to need for several years.
HSA investment fees can also eat into your returns. Some providers charge annual maintenance fees, transaction fees per trade, or high expense ratios on their mutual funds. Over time, these fees compound. Before you invest, calculate the total cost of investing with your provider and compare it to the potential growth you expect. If your provider's fees are high and your balance is small, you may be better off keeping the money in cash.
Another consideration is that HSA money is not protected by the same bankruptcy laws as retirement accounts in some states. If you face a lawsuit or creditor judgment, an HSA may be more vulnerable than a 401(k) or IRA. This varies by state, so check your local law if this is a concern.
Frequently Asked Questions
Can I lose money in an HSA investment account?
Yes. If you invest HSA money in stocks or stock funds and the market declines, your balance will drop. This is why you should invest only money you do not expect to need for medical expenses in the near term. Keep enough in cash to cover predictable medical costs.
Do I have to invest my HSA money?
No. You can keep your entire HSA balance in cash and simply withdraw it to pay medical bills. Many people do this. Investing is optional and makes sense only if you have surplus money and a long time horizon.
What happens to my HSA investments if I switch health plans?
Your HSA stays yours regardless of what health plan you have. If you switch to a plan that is not high-deductible, you can no longer contribute new money to the HSA, but the money already in it remains invested and grows tax-free. You can withdraw it anytime for medical expenses.
Can I use my HSA to invest in real estate or cryptocurrency?
Most HSA providers do not offer these options. Some self-directed HSA providers allow alternative investments, but they are rare and often charge high fees. Check with your provider about what is available. Standard HSAs are limited to stocks, bonds, mutual funds, and ETFs.
Is an HSA better than a 401(k) for investing?
An HSA has tax advantages that a 401(k) does not: tax-free withdrawals for medical expenses and no required minimum distributions. However, an HSA has a much lower contribution limit. If you have access to both, you can use them together — max out the HSA first for medical expenses, then use the 401(k) for general retirement savings.