Investing in the US · 4 of 8 · 5 min read
What is an HSA? The Health Savings Account explained
An HSA is a US account for medical costs that you can also invest. Money goes in tax-free, grows tax-free and comes out tax-free for qualified medical expenses.
By the Stoxhatch team · Updated November 19, 2026
Three tax breaks in one account
Contributions are tax-deductible (or pre-tax through payroll, which also skips Social Security and Medicare tax), growth isn't taxed, and withdrawals for qualified medical expenses are tax-free. No other US account gets all three.
The money is yours and rolls over every year. Unlike a flexible spending account (FSA), there is no use-it-or-lose-it deadline, and the account stays with you if you change jobs.
Who can open one
You need to be covered by an HSA-eligible high-deductible health plan, and not enrolled in Medicare or claimed as someone else's dependent. The IRS sets yearly contribution limits for self-only and family coverage, with an extra $1,000 a year from age 55.
Many employers offer an HSA alongside their high-deductible plan and some add money to it. You can also open one yourself at an HSA provider.
Investing an HSA
Most HSAs hold cash at first, but many let you invest the balance in funds once it passes a minimum. Money left in cash earns little.
Some people pay medical bills out of pocket now, keep the receipts, invest the HSA for decades and reimburse themselves later, tax-free. There is no time limit on reimbursing an expense incurred after the account was opened.
Things to know
- Withdrawals for anything other than medical costs before 65 are taxed as income plus a 20% penalty.
- After 65 the penalty goes away: non-medical withdrawals are taxed as income, like a traditional IRA.
- A few states, including California and New Jersey, tax HSAs at the state level.
- Keep receipts. The IRS can ask you to show a withdrawal was for a qualified expense.
Key takeaways
- Tax-free in, tax-free growth and tax-free out for medical costs.
- You need an HSA-eligible high-deductible health plan to contribute.
- Invest the balance you won't need soon; it rolls over every year.
Try it in Stoxhatch
An invested HSA is a long-term portfolio. Practise building a simple, diversified one you would be happy to leave alone for years. Start practising, no signup needed.
Words in this guide
- Compound growth — Compounding is growth on top of previous growth, which is why time invested matters more than the size of any single year.
- Diversification — Diversification is spreading your money across different companies and industries so one bad outcome cannot sink you.
- Risk — Risk in investing is the chance of a permanent loss, not the fact that a price moves around.
Common questions
Can I invest the money in my HSA? Usually, yes. Many HSA providers let you invest the balance in funds once it passes a minimum, and the growth is tax-free if it is spent on medical costs.
What is the difference between an HSA and an FSA? An HSA needs a high-deductible health plan, rolls over every year and stays with you. An FSA is tied to your employer and most of it must be spent by the end of the plan year.
Teaching this?
- Don't put all your eggs in one basket: diversification — a free 45-minute lesson plan with a hands-on activity.
- How sure are you? Confidence, risk and luck — a free 45-minute lesson plan with a hands-on activity.