How to Invest HSA Funds
How to invest HSA funds: the 2026 limits, how much cash to keep, what to invest in, saving receipts, the 20% penalty and the state tax catch.
Disclaimer: Educational content. Not financial advice. Investing involves risk, including loss of principal. Consult a licensed professional about your situation.
Quick summary (TL;DR)
- To invest HSA funds, you move money from the account's cash balance into the investment options your HSA trustee offers, or transfer the HSA to a provider with better options.
- As of 2026, you can contribute up to $4,400 with self-only coverage or $8,750 with family coverage, plus $1,000 if you're 55 or older.
- Earnings grow without federal tax while in the HSA, and withdrawals for qualified medical expenses are tax-free; other withdrawals before 65 face income tax plus a 20% additional tax.
- Keep enough in cash to cover expected medical costs, and invest only the part you won't need soon, because invested HSA money can fall in value.
- HSAs are a US-only account, and a few states, including California, don't follow the federal tax treatment.
In this guide
- What does it mean to invest your HSA?
- Who can contribute, and how much, in 2026?
- How do you start investing your HSA?
- How much of your HSA should you keep in cash?
- What should you invest HSA money in?
- Should you pay medical bills from your HSA or save the receipts?
- What are the catches when you invest HSA funds?
- Next steps
To invest HSA funds, you move money from your health savings account's cash balance into the investment options your HSA trustee offers, usually mutual funds or ETFs, or you transfer the HSA to a provider with better options. Many HSAs start out holding only cash, so learning how to invest HSA funds is mostly about finding that investment option, deciding how much cash to keep and choosing low-cost funds.
The reason people bother is the tax treatment: in the US, money can go in before federal tax, grow without federal tax and come out tax-free for qualified medical expenses. This guide covers the 2026 rules, the decisions and the catches. It's education, not tax or investment advice. Invested HSA money can lose value, and returns are never certain.
What does it mean to invest your HSA?
An HSA is a tax-exempt account you open with a qualified trustee, and like an IRA, it can hold cash or investments. IRS Publication 969 says a trustee can be a bank, an insurance company or anyone already approved to act as an IRA trustee, and that the HSA doesn't have to be with your health plan provider.
Two rules make investing worthwhile:
- Balances roll over. Unlike most flexible spending accounts, money left at the end of the year generally carries over to the next year.
- Growth isn't taxed while it stays in the account. Publication 969 states that earnings on amounts in an HSA aren't included in your income while held in the HSA.
So an HSA you don't drain each year can work like a long-term investment account that is earmarked, at least for tax purposes, for health costs. If you're new to investing in general, our guide to start investing as a beginner explains the basics this builds on.
Who can contribute, and how much, in 2026?
You need to be covered by a qualifying high-deductible health plan (HDHP) and not be enrolled in Medicare. These are the 2026 figures from the IRS:
| 2026 figure | Self-only coverage | Family coverage |
|---|---|---|
| Maximum HSA contribution | $4,400 | $8,750 |
| Extra catch-up contribution, age 55+ | $1,000 | $1,000 |
| HDHP minimum deductible | $1,700 | $3,400 |
| HDHP maximum out-of-pocket | $8,500 | $17,000 |
The contribution limit includes money your employer puts in. Two changes from the One, Big, Beautiful Bill Act took effect on January 1, 2026, according to IRS Notice 2026-05:
- Bronze and catastrophic plans available as individual coverage through an Exchange are treated as HSA-compatible, even if they don't meet the usual HDHP definition, and the notice clarifies they don't have to be bought through an Exchange.
- Direct primary care arrangements no longer block HSA eligibility if the monthly fees stay at or below $150 for an individual, or $300 for an arrangement covering more than one person, and HSA money can pay those fees.
The law also made permanent a safe harbor that lets an HDHP cover telehealth before the deductible. Once you enroll in Medicare, your contribution limit becomes zero, but you can keep investing and spending the balance you already have.
How do you start investing your HSA?
Find the investment option, set a cash threshold, pick funds and automate.
Step 1: Check what your HSA offers
Log in or call your HSA provider and look for an "invest" or "investment account" section. Some providers require a minimum cash balance before you can invest, charge a separate investment fee or offer only a short list of funds. Those details vary by provider, so read the fee schedule.
Step 2: Decide whether to stay or move
If the options are expensive or limited, you can generally move your HSA to another trustee. Ask the new provider for a direct trustee-to-trustee transfer so the money never passes through your hands. Some people keep the employer's HSA for payroll contributions, which can be convenient, and move money periodically to an HSA with better investments.
Step 3: Set your cash buffer
Choose an amount to always leave in cash, then invest only what's above it. Many providers let you set an automatic "sweep" so anything over your threshold is invested.
Step 4: Choose investments
Pick from the funds offered, then set future contributions to be invested automatically in the same mix.
How much of your HSA should you keep in cash?
Enough to cover medical costs you're likely to face soon, and only invest the rest. There's no official rule; it depends on your health, your plan's deductible and whether you can pay bills from other savings.
- If you expect to use the HSA for this year's bills, keeping roughly your deductible or expected costs in cash avoids having to sell investments after a market drop.
- If you can pay medical costs from your regular budget, you may be comfortable investing more of the balance for the long term.
Example (hypothetical): someone with self-only coverage and a $1,700 deductible decides to keep $1,700 in cash in their HSA and invest everything above that. A large bill early in the year would come out of cash, not out of investments that might be down.
What should you invest HSA money in?
The same principles as any long-term account: diversified, low-cost funds that match how far away you'll need the money. If you see the HSA as money for health costs in retirement, a long-horizon mix may fit; if you'll tap it in a few years, a more conservative mix may.
Index funds are a common choice. The SEC's Investor.gov notes that passively managed index funds usually have lower fees and expenses than actively managed funds, and that higher fees can significantly lower returns over time. Our guide to index funds for beginners explains how to compare them.
Remember that once money leaves the HSA's cash option for funds or stocks, it is no longer a bank deposit. The FDIC notes that its insurance doesn't cover stocks, bonds or mutual funds, so invested HSA money can fall in value.
Should you pay medical bills from your HSA or save the receipts?
You can do either. Paying now is simpler; paying out of pocket and reimbursing yourself later keeps more money invested.
The later-reimbursement approach has conditions. Publication 969 says expenses incurred before you set up your HSA aren't qualified medical expenses, and you must keep records showing that each distribution paid or reimbursed a qualified expense, that the expense wasn't paid or reimbursed from another source and that you didn't deduct it as an itemized deduction.
In practice, that means:
- Save every receipt and explanation of benefits, with dates, in a place you won't lose for many years.
- Track which expenses you've already reimbursed so you never claim one twice.
- Don't count on this if you need the cash: the strategy only makes sense if you can comfortably pay medical bills from other money.
What are the catches when you invest HSA funds?
Penalties for non-medical use, investment risk, fees and state taxes.
- The 20% additional tax: Publication 969 says distributions not used for qualified medical expenses face an additional 20% tax on top of income tax, except after you're disabled, reach 65 or die. After 65, non-medical withdrawals are taxed as income but without the 20%.
- Market risk: a downturn can shrink an invested balance right when you face a big bill, which is why the cash buffer matters.
- Fees: account maintenance fees, investment platform fees and fund expense ratios can add up on small balances.
- State taxes: the California Franchise Tax Board's instructions say California law doesn't conform to the federal HSA deduction, so Californians add contributions back on their state return, and state treatment of HSA earnings can differ too. Check your state tax agency.
- Contribution order: if your employer offers a 401(k) match, many people make sure they capture that match as well; our guide on how to invest for retirement covers how accounts stack up.
Outside the US, there's no direct equivalent of an HSA. In the UK, Canada and Australia, health costs are largely handled through public systems and private insurance, so long-term saving usually happens in an ISA or SIPP, a TFSA or RRSP, or super.
Next steps
- Compare low-cost fund options in index funds for beginners.
- See where an HSA fits next to a 401(k) and IRA in how to invest for retirement.
- Build the bigger picture with our investing for beginners guide.
- Or explore our guide to making money online if you're looking to fund your accounts with extra income.
Frequently asked questions
Should I invest my HSA or keep it in cash?
Many people keep enough cash to cover their deductible or expected near-term medical costs and invest the rest for the long term. If you expect to spend most of the balance this year, cash may fit better.
What is the HSA contribution limit for 2026?
The IRS limit for 2026 is $4,400 for self-only HDHP coverage and $8,750 for family coverage. If you're 55 or older, you can add $1,000.
Can you lose money investing HSA funds?
Yes. Once HSA money is invested in funds or stocks, it can fall in value like any investment, and it is not covered by FDIC deposit insurance.
What happens to my HSA when I turn 65?
The 20% additional tax on non-medical withdrawals no longer applies, though those withdrawals are still taxed as income. Once you enroll in Medicare, you can no longer contribute.
Can I move my HSA to a different provider to invest?
Generally yes. You can move HSA money to another HSA trustee, and the HSA doesn't have to be with your health plan provider. Ask both trustees how to do a direct transfer.
Free PDF
The Investing for Beginners starter checklist
Every step to get started, a 7-day plan, the numbers to track and the scams to skip — on two printable pages.
Sources
- IRS — Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
- IRS — Rev. Proc. 2025-19 (2026 HSA and HDHP amounts)
- IRS — Notice 2026-05 (HSA changes under the One, Big, Beautiful Bill Act)
- IRS — Treasury, IRS provide guidance on new tax benefits for HSA participants
- California Franchise Tax Board — 2024 Instructions for Schedule CA (540)
- FDIC — Understanding Deposit Insurance
- Investor.gov (SEC) — Index Fund (glossary)
Getback Editorial Team
We research each guide from official platform documentation and public data, show real costs and trade-offs, and update it when rules change. Read our editorial policy.


