A Health Savings Account Can Hold Investments, Not Just Cash
A Health Savings Account (HSA) is a tax-advantaged savings account tied to a high-deductible health insurance plan. Most people use it like a checking account—deposit money, pay medical bills, done. But after you cover immediate medical costs, you can invest the remaining balance in stocks, bonds, and mutual funds, the same way you would in a brokerage account. The money grows tax-free, and withdrawals for medical expenses stay tax-free forever. No other account gives you this combination.
The catch: you must be enrolled in a high-deductible health plan (HDHP) to open or contribute to an HSA. If you switch to a regular insurance plan, you can no longer add new money, but the account stays open and keeps growing. Once you turn 65, you can withdraw money for any reason without penalty—though non-medical withdrawals are taxed as ordinary income.
Key Takeaways
- HSA contributions reduce your taxable income, and investment growth inside the account is never taxed if you use withdrawals for medical expenses.
- You must have a high-deductible health plan to open an HSA or add money to one; switching plans stops contributions but does not close the account.
- After paying current medical bills, you can invest unused HSA funds in stocks, bonds, and mutual funds through most HSA providers.
- At age 65, you can withdraw HSA money for any reason without the 20 percent penalty, though non-medical withdrawals are taxed as income.
- HSA contribution limits change yearly and depend on whether you have individual or family coverage; 2024 limits are $4,150 for individual and $8,300 for family.
How HSA Contributions Lower Your Taxes
Money you put into an HSA reduces your taxable income dollar-for-dollar. If you earn $60,000 and contribute $3,000 to an HSA, you report only $57,000 as income to the IRS. That means you pay no federal income tax on that $3,000, and in most states, no state income tax either. Self-employed people also skip the 15.3 percent self-employment tax on HSA contributions.
Your employer can contribute to your HSA too, and those contributions do not count as taxable income to you. Many employers add $500 to $1,500 per year to employee HSAs as part of their benefits package. The annual contribution limit is set by the IRS and changes each year—for 2024, the limit is $4,150 for individual coverage and $8,300 for family coverage. You can contribute up to the limit whether the money comes from you, your employer, or both combined.
Investment Options and How Growth Works Tax-Free
Not all HSA providers offer investment options—some only let you hold cash. But most major providers (Fidelity, Lively, HealthEquity, Optum) let you invest in mutual funds, index funds, and individual stocks once your account balance reaches a threshold, usually $1,000 to $2,500. You move money from the cash portion into investments, and from that point forward, any gains are never taxed as long as you use the money for medical expenses.
This is the core advantage over a regular savings account or taxable brokerage account. In a taxable account, you pay capital gains tax every year on profits. In an HSA, if your $5,000 investment grows to $12,000 over ten years and you withdraw it to pay for surgery, you owe zero tax on that $7,000 gain. The tax-free growth compounds over decades, especially if you do not need to touch the money for years.
The tradeoff is that you cannot withdraw investment gains for non-medical expenses without paying income tax plus a 20 percent penalty—until age 65. At 65, the penalty disappears, and you can withdraw for any reason, though you still pay income tax on non-medical withdrawals.
What Counts as a Medical Expense You Can Withdraw For
The IRS maintains a long list of approved medical expenses. The obvious ones are insurance premiums (deductibles, copays, coinsurance), prescription drugs, and doctor visits. But the list also includes dental work, vision care, mental health treatment, physical therapy, and medical equipment like wheelchairs or hearing aids. Over-the-counter items like pain relievers, allergy medicine, and bandages count too, as long as you have a doctor's note saying they treat a specific condition.
Some expenses do not count: cosmetic surgery (unless it repairs an injury or birth defect), gym memberships, vitamins (unless prescribed for a diagnosed deficiency), and most over-the-counter items without a doctor's note. If you are unsure whether an expense qualifies, the IRS publishes Publication 502, which lists hundreds of approved and rejected items. Your HSA provider can also tell you whether a specific expense is allowed before you withdraw.
You do not have to withdraw money the same year you incur the expense. You can pay a medical bill out of pocket, keep the receipt, and withdraw from your HSA years later. This flexibility lets you leave money invested longer and only pull it out when you need it.
Enrollment Requirements and When You Can Open an HSA
You can open an HSA only if you are enrolled in a high-deductible health plan. For 2024, an HDHP has a minimum deductible of $1,600 for individual coverage or $3,200 for family coverage, and an out-of-pocket maximum of $8,050 for individual or $16,100 for family. You cannot have other health coverage at the same time—no spouse's plan, no Medicaid, no Medicare (though there are limited exceptions for certain Medicare plans).
If you lose HDHP coverage or switch to a regular plan, you stop being able to contribute new money to your HSA. But the account itself does not close. Any money already in it keeps growing, and you can still withdraw it for medical expenses. This matters if you change jobs or retire before 65—your HSA becomes a long-term investment account that you can tap whenever you have a may have access to medical expense.
You open an HSA through your employer's benefits plan, or if you buy insurance on your own, through the insurance company or a third-party HSA custodian like Fidelity or HealthEquity. The process takes a few days to a week. You choose your investment options (if available) when you set up the account or later through the provider's website.
Comparing HSAs to Other Savings and Investment Accounts
| Account Type | Contribution Tax Deduction | Growth Tax-Free | Withdrawal Tax-Free (may have access to Use) | Penalty on Non-may have access to Withdrawal |
|---|---|---|---|---|
| HSA | Yes | Yes | Yes (medical only) | 20% + income tax (before 65) |
| Flexible Spending Account (FSA) | Yes | No | Yes (medical only) | Forfeited if unused |
| Traditional IRA | Yes | Yes | No (taxed as income) | 10% + income tax (before 59½) |
| Roth IRA | No | Yes | No (taxed as income) | 10% + income tax (before 59½) |
| Taxable Brokerage Account | No | No (taxed yearly) | No (capital gains tax) | None |
An HSA is the only account that offers all three tax advantages: deductible contributions, tax-free growth, and tax-free withdrawals for a specific purpose. A Flexible Spending Account (FSA) also lets you use pre-tax money for medical expenses, but FSA money does not invest and you lose unused funds at year-end. A traditional IRA lets you invest and grow money tax-free, but withdrawals are taxed as income. A Roth IRA has tax-free withdrawals, but contributions are not deductible and you cannot withdraw earnings before 59½ without penalty.
For someone in a high tax bracket with a high-deductible plan and the ability to leave money invested for years, an HSA often beats all other options. The combination of tax deduction, tax-free growth, and tax-free withdrawal for medical expenses is unique.
Common Mistakes and How to Avoid Them
The most common mistake is treating an HSA like a use-it-or-lose-it account. Unlike an FSA, HSA money rolls over every year. If you do not spend it, it stays in your account and keeps growing. Some people withdraw money too early to pay current medical bills, missing the chance to invest and let it compound. A better strategy is to pay medical bills from your regular checking account and leave HSA money invested.
Another mistake is not keeping receipts. You can withdraw HSA money for a medical expense years after you paid it, but only if you have proof. The IRS does not require you to submit receipts when you withdraw, but you must keep them in case of an audit. If you cannot prove the withdrawal was for a may have access to expense, the IRS treats it as a non-may have access to withdrawal and taxes it plus adds the 20 percent penalty.
A third mistake is assuming your HSA provider automatically invests your money. Many providers keep new deposits in a cash sweep account earning almost nothing. You have to manually move money into investments. Check your provider's website to see what options are available and how to set up automatic transfers to investments once your balance hits the minimum threshold.
Frequently Asked Questions
Can I use HSA money to pay for my spouse's or child's medical expenses?
Yes. HSA money can pay for medical expenses of you, your spouse, and your dependents, regardless of whether they are on your health plan. You do not need to be the one receiving the care. Keep receipts for all expenses to prove they were may have access to.
What happens to my HSA if I change jobs?
Your HSA stays with you. It is your account, not your employer's. You can roll it to a new provider if your new employer offers a different HSA, or keep it where it is. You can no longer contribute if you lose HDHP coverage, but the money already in the account keeps growing and you can withdraw it for medical expenses anytime.
Can I withdraw HSA money before I turn 65 for non-medical reasons?
Yes, but you pay income tax on the withdrawal plus a 20 percent penalty. For example, if you withdraw $5,000 for a vacation and you are in the 22 percent tax bracket, you owe $1,100 in taxes plus $1,000 in penalty, leaving you $2,900. At 65, the penalty goes away, so you only pay income tax on non-medical withdrawals.
Do I have to invest my HSA money, or can I leave it in cash?
You can leave it in cash if you want. Some people use their HSA as a short-term medical emergency fund and do not invest. Others invest aggressively because they do not expect to need the money for years. It depends on your timeline and risk tolerance. If you do not need the money soon, investing usually grows your account faster than cash.
What if I have an HSA but lose my high-deductible health plan?
You can no longer add new contributions, but your existing HSA balance stays in the account and keeps growing. You can still withdraw for medical expenses. If you regain HDHP coverage later, you can start contributing again. The account itself never closes just because your coverage changed.