How to Invest Money in Your Health Savings Account
Yes, you can invest HSA money, and most plans let you do it
A Health Savings Account (HSA) is not just a savings account—it can function as an investment account. Once your HSA balance reaches a certain threshold (usually $1,000 to $2,500, depending on your plan), your provider typically allows you to move money into stocks, bonds, mutual funds, or other investments. The money grows tax-free, and when you withdraw it for may have access to medical expenses, you pay no tax on the gains. This makes an HSA one of the most tax-efficient investment vehicles available.
However, not every HSA plan offers investment options, and the investments available depend on which financial institution holds your account. You need to check your specific plan documents or contact your HSA provider to see what choices you have.
Key Takeaways
- Most HSA providers allow you to invest money once your balance exceeds a threshold, typically between $1,000 and $2,500.
- Investment earnings in an HSA are never taxed if you use the money for may have access to medical expenses, making it more tax-efficient than a regular brokerage account.
- Your investment options depend entirely on your HSA provider—some offer a wide range of mutual funds and ETFs, while others offer very limited choices.
- Money you keep in the HSA cash portion remains available for immediate medical expenses without the risk of market fluctuations.
- If you withdraw invested HSA money for non-medical expenses before age 65, you owe income tax plus a 20 percent penalty on the earnings.
How HSA investment thresholds work
Your HSA provider maintains a cash reserve—money that sits in a non-interest-bearing account—and allows you to invest the remainder once it crosses a minimum balance. That threshold varies by provider. Some set it at $1,000, others at $2,000 or $2,500. A few have no threshold at all.
The cash portion is there so you can pay medical bills immediately without waiting for investments to settle. Once you move money into investments, it takes a few business days to access it, so providers want you to keep enough liquid cash on hand for routine expenses.
You can move money back and forth between your cash account and your investments as often as you want. If you need cash quickly, you can sell investments and move the proceeds back to your cash account, though this takes a few days to settle.
What investment options are typically available
The investments you can choose depend on which company administers your HSA. Large national providers like Fidelity, Lively, and HealthEquity offer dozens of mutual funds and exchange-traded funds (ETFs). Smaller regional providers or employer-sponsored plans may offer only a handful of options, sometimes just a money market fund and a target-date fund.
Some employers contract with providers that offer no investment option at all—your money simply sits in cash. If that is the case with your plan, you cannot invest through that HSA, though you can roll the money to a different HSA provider that does offer investments (this is called an HSA trustee-to-trustee transfer and is tax-free).
Before you open an HSA or choose between plans, ask your employer or the plan administrator for a list of available investments. This matters because a limited investment menu can affect your long-term returns.
Tax treatment of HSA investment gains
This is where an HSA becomes powerful. When you invest money inside an HSA, any gains—dividends, capital appreciation, interest—are never taxed as long as you use the withdrawal for a may have access to medical expense. Compare this to a regular brokerage account, where you owe capital gains tax on profits, or a taxable savings account, where you owe tax on interest and dividends every year.
The IRS defines may have access to medical expenses broadly: doctor visits, prescriptions, dental work, vision care, mental health treatment, medical equipment, and many over-the-counter items all count. A full list is available in IRS Publication 502, but the key point is that most healthcare costs you actually incur may have access to.
If you withdraw money from your HSA for a non-medical expense before age 65, you owe income tax on the entire withdrawal plus a 20 percent penalty on the earnings portion. After age 65, you can withdraw money for any reason without the penalty, though you still owe income tax on earnings if the money was not used for medical expenses.
Risk and timing when investing HSA money
Investing HSA money means accepting market risk. If you invest in stocks and the market drops, your balance drops with it. This matters most if you need to withdraw money soon for medical expenses. If you know you will have significant medical costs in the next year or two, keeping that money in cash is safer than investing it.
However, if you are healthy and do not expect major medical expenses, investing makes sense because you have time to ride out market swings. Many people treat an HSA as a long-term retirement account and invest aggressively, especially when they are young. The longer your time horizon, the more you can afford to take on stock market risk.
One strategy is to keep one year of expected medical expenses in cash and invest the rest. This gives you immediate access to money for routine bills while letting the rest grow over time.
How to start investing your HSA
First, log into your HSA provider's website or app and look for an investment or brokerage section. Most providers have a dedicated tab or menu item. You will see the list of available investments—usually mutual funds and ETFs, sometimes individual stocks or bonds.
Next, decide how much to move from your cash account to investments. You must keep at least the minimum threshold (usually $1,000 to $2,500) in cash, but you can invest any amount above that. Some providers let you set up automatic monthly transfers from cash to investments, similar to a payroll deduction.
Then, choose your investments. This works the same way as choosing investments in a 401(k) or IRA—you select funds based on your risk tolerance and time horizon. If you are unsure, many providers offer target-date funds that automatically shift from stocks to bonds as you approach retirement.
Finally, confirm the transaction. The money typically moves within one to three business days. You can change your investments or move money back to cash anytime without tax consequences.
HSA investing versus other retirement accounts
An HSA has tax advantages that even a Roth IRA does not. With a Roth, contributions are after-tax, but withdrawals for retirement are tax-free. With an HSA, contributions are pre-tax (if made through payroll), growth is tax-free, and withdrawals for medical expenses are tax-free. That is a triple tax advantage.
However, an HSA is only available if you are enrolled in a high-deductible health plan (HDHP). You cannot open one just because you want to—your health insurance must meet the IRS definition of a high-deductible plan. This limits who can use an HSA as an investment vehicle.
If you have access to an HSA and a 401(k), many financial advisors suggest maxing out the HSA first because of the triple tax benefit, then moving to the 401(k). But this depends on your specific situation, employer match, and expected medical expenses.
Frequently Asked Questions
What happens to my HSA investments if I change jobs?
Your HSA stays with you—it is your account, not your employer's. You can keep the same HSA and continue investing, or roll it to a new HSA provider if your new employer offers a plan with better investment options. The rollover is tax-free and takes a few days to process.
Can I invest in individual stocks through my HSA?
Some HSA providers allow it, but most do not. Fidelity and a few others offer self-directed brokerage windows where you can buy individual stocks, but this is rare. Check with your provider to see if this option is available. Most people are limited to mutual funds and ETFs.
Do I have to pay taxes on HSA investment losses?
No. If your investments lose value, you cannot deduct the loss on your tax return. The loss simply reduces your HSA balance. This is one reason to keep emergency cash in your HSA—if the market drops and you need money for medical expenses, you may have less than you expected.
Can I use HSA money to invest in real estate or cryptocurrency?
No. HSAs are limited to conventional investments like stocks, bonds, and mutual funds. Real estate, cryptocurrency, and other alternative investments are not allowed. Your provider's investment menu will show exactly what is permitted.
What if my HSA provider does not offer investments?
You can move your money to a different HSA provider that does offer investments through a trustee-to-trustee transfer. This is free and tax-free. Contact the new provider and they will handle the transfer from your old provider. It typically takes one to two weeks.