Can You Invest Money in Your Health Savings Account?
Yes, you can invest HSA funds, but most accounts start with cash and require you to move money into investments yourself
A Health Savings Account holds money for medical expenses, but the money does not have to sit idle in a savings account earning little to no interest. Most HSA providers let you invest your balance in mutual funds, stocks, bonds, or other securities — the same way you would invest money in a brokerage account or retirement account. However, this is optional. You can keep your entire HSA balance in cash if you prefer, and many people do.
The key difference between an HSA and a regular investment account is that your HSA has tax advantages: contributions are tax-deductible, growth is tax-free, and withdrawals for may have access to medical expenses are tax-free. When you invest HSA money, those tax benefits still apply to whatever gains your investments earn. That makes an HSA a powerful long-term savings tool if you have the money to invest and do not need to withdraw it immediately for medical bills.
Key Takeaways
- Most HSA providers offer investment options, but you must move money from your cash balance into investments yourself — it does not happen automatically.
- Investment options vary by provider and may include mutual funds, index funds, stocks, bonds, or exchange-traded funds, with different fee structures for each.
- You can keep part of your HSA in cash for near-term medical expenses and invest the rest for long-term growth.
- If you withdraw invested money before age 65 for non-medical expenses, you owe income tax plus a 20 percent penalty on the earnings only.
- Some HSA providers charge monthly maintenance fees, investment fees, or both, which can reduce your returns over time.
How HSA investment options work at different providers
The investment menu depends entirely on which HSA provider you use. Some large providers like Fidelity, Lively, and HealthEquity offer dozens of mutual funds and exchange-traded funds. Others offer a smaller selection. A few providers, usually those tied to specific employers or insurers, may offer only a money market fund or savings account with no investment options at all.
When you open an HSA, ask your provider what investments are available before you fund the account. If the provider's investment options do not match what you want to invest in, you may be able to roll your HSA to a different provider that offers better choices. Some employers offer multiple HSA providers to choose from during open enrollment — if yours does, compare the investment menus before deciding.
Once you have money in your HSA, you typically log into your account online and transfer funds from your cash balance into the investments you choose. This transfer is not automatic and does not happen on a schedule — you control when and how much you move. Some providers let you set up automatic transfers, but you have to set that up yourself.
Fees that reduce your investment returns
HSA providers charge different types of fees, and these can add up. Common fees include monthly maintenance fees (ranging from $0 to $5 or more per month), per-transaction fees when you buy or sell an investment, and the expense ratios charged by the mutual funds or ETFs themselves. Some providers waive monthly fees if your balance reaches a certain amount, often $2,500 or higher.
Before you invest, find out what fees your provider charges. A provider with low or no monthly fees and low-cost index funds (expense ratios under 0.20 percent) will leave more of your money working for you over time. Over 20 or 30 years, the difference between a 0.10 percent expense ratio and a 1 percent expense ratio can be thousands of dollars.
When to keep HSA money in cash versus investing it
If you expect to use your HSA to pay medical bills within the next year or two, keep that money in cash. You need it to be available without the risk of market fluctuations. If you have a high deductible and regular medical expenses, your HSA may turn over quickly, and cash is the right choice.
If you have a lower deductible, good health, and money left over after paying medical bills each year, you have the option to invest. The longer your time horizon — the more years before you might need the money — the more sense it makes to invest. Someone in their 30s or 40s with a healthy HSA balance can treat it like a retirement account and invest aggressively. Someone in their 60s might invest more conservatively or keep a larger cash cushion.
You do not have to choose all or nothing. Many people keep three to six months of expected medical expenses in cash and invest the rest. This gives you immediate access to money for bills while letting the rest grow.
Tax consequences of withdrawing invested HSA money
If you withdraw money from your HSA for a may have access to medical expense, the withdrawal is tax-free regardless of whether that money was in cash or invested. may have access to expenses include deductibles, copays, coinsurance, prescription drugs, dental work, vision care, and many other medical costs. The IRS publishes a full list of may have access to expenses on its website.
If you withdraw money for a non-medical reason before age 65, you owe income tax on the entire amount plus a 20 percent penalty. This penalty applies only to non-medical withdrawals, not to medical ones. After age 65, you can withdraw money for any reason without the penalty, though you still owe income tax on non-medical withdrawals.
If your invested HSA money has grown in value and you withdraw it for a medical expense, you do not owe tax on the gains. This is one of the major advantages of investing in an HSA — the tax-free growth is permanent as long as you use the money for medical expenses.
How to move your HSA to a provider with better investment options
If your current HSA provider has limited investment choices or high fees, you can move your account to a different provider through a trustee-to-trustee transfer. This process moves your entire balance (cash and investments) to the new provider without triggering taxes or penalties. You do not have to wait until the end of the year to do this.
Contact the new HSA provider and ask them to initiate the transfer. They will handle the paperwork with your old provider. The process usually takes one to two weeks. If your old provider charges a transfer fee, ask if the new provider will reimburse it — some do.
You can do a trustee-to-trustee transfer as many times as you want, though doing it frequently may not be practical. If you change jobs or employers and get a new HSA through your new employer, you can roll your old HSA into the new one if the new employer's plan allows it, or keep both accounts separate.
Investment risk and market downturns
When you invest HSA money, you take on market risk. If you invest in stock mutual funds and the market drops, your HSA balance will drop too. This is the same risk you take with any investment account. The longer you can leave the money invested, the more time you have to recover from downturns.
If you need to withdraw money for medical expenses during a market downturn, you have to sell your investments at a lower price. This is one reason to keep some HSA money in cash — it protects you from having to sell investments at the wrong time. A common strategy is to keep one to three years of expected medical expenses in cash and invest the rest.
Your HSA investment choices should match your time horizon and risk tolerance, just like any other investment account. If you are uncomfortable with stock market risk, you can invest in bond funds or keep most of your balance in cash. If you have decades before you might need the money, you can take more risk with stock-heavy investments.
Frequently Asked Questions
Can I lose money by investing my HSA?
Yes. If you invest in stocks or stock mutual funds and the market declines, your HSA balance will decline too. However, if you do not need to withdraw the money immediately, you have time to wait for the market to recover. This is why investing in an HSA makes most sense if you have a long time horizon and do not expect to need the money soon.
Do I have to invest my HSA money?
No. You can keep your entire HSA balance in a cash account earning interest, and many people do. Investing is optional. If you prefer the safety and simplicity of cash, that is a valid choice, especially if you use your HSA regularly for medical expenses.
What happens to my HSA investments if I change jobs?
Your HSA stays with you when you change jobs — it is your account, not your employer's. Your investments remain invested unless you decide to move them. If your new employer offers an HSA with a different provider, you can keep your old HSA separate or roll it into the new one if the new plan allows rollovers.
Can I invest my HSA in individual stocks?
Some HSA providers allow individual stock purchases, but many do not. Check with your provider to see what investment options are available. Most providers focus on mutual funds and ETFs because they are easier to manage and have lower transaction costs than individual stocks.
Are HSA investment earnings taxed when I withdraw them for medical expenses?
No. If you withdraw money for a may have access to medical expense, the entire withdrawal — including any investment gains — is tax-free. This is one of the biggest tax advantages of an HSA compared to a regular brokerage account.