Quick Answer
Invest your HSA in low-cost index funds for long-term growth rather than leaving it in cash. Pay current medical expenses out-of-pocket, save receipts, and let your HSA compound. The triple tax advantage (tax-deductible contributions, tax-free growth, tax-free qualified withdrawals) makes the HSA the most tax-efficient account available — even better than a Roth IRA.
Key Takeaways
- The HSA is the only account with a triple tax advantage: tax-free contributions, growth, AND withdrawals.
- Invest your HSA in index funds like you would a retirement account — not just a savings account.
- Pay medical expenses out-of-pocket now, let HSA grow, reimburse yourself years later tax-free.
- $3,000/year invested at 7% for 30 years = $283,000 in tax-free health/retirement money.
Tahir Özcan
Verified AuthorFounder & Lead Financial Content Author at WealthCalc
Tahir has a background in finance, economics, and software engineering. He reviews every calculator formula against official sources (IRS, SSA, BLS) and ensures all educational content meets WealthCalc's editorial standards. Learn more about our team →
Most people use their HSA as a checking account for medical bills. This is a massive missed opportunity. The HSA is the only account in the U.S. tax code that offers a triple tax advantage — and when invested for the long term, it becomes the most powerful retirement and healthcare savings vehicle available.
The Triple Tax Advantage Explained
No other account offers all three:
- Tax-deductible contributions: Reduce your taxable income by $4,300 (individual) or $8,550 (family) in 2026. Plus $1,000 catch-up if 55+.
- Tax-free growth: Dividends, interest, and capital gains are never taxed inside the HSA
- Tax-free withdrawals: For qualified medical expenses at any age. After 65, withdrawals for any purpose are penalty-free (taxed as income, like a traditional IRA)
- Comparison: A 401(k) is tax-deductible going in but taxed coming out. A Roth IRA is taxed going in but tax-free coming out. An HSA is tax-free on BOTH ends for medical expenses.
The Invest-and-Reimburse Strategy
The optimal HSA strategy for wealth building:
- Step 1: Contribute the maximum ($4,300 individual / $8,550 family in 2026)
- Step 2: Invest the balance in low-cost index funds (S&P 500, total market, target-date)
- Step 3: Pay medical expenses out-of-pocket with regular savings or checking
- Step 4: Save every medical receipt in a folder (there is no deadline to reimburse)
- Step 5: Years later, reimburse yourself tax-free for all those saved receipts
- Result: Your HSA grows tax-free for years while you retain the option to withdraw tax-free at any time
Recommended HSA Investments
Invest your HSA just like a retirement account:
- Young investors (under 45): 80–100% stocks — total market index or S&P 500 index
- Mid-career (45–55): 60–80% stocks, 20–40% bonds — balanced growth with stability
- Near-retirement (55+): 40–60% stocks, 40–60% bonds — preservation with some growth
- Avoid: Leaving HSA money in the default cash/savings option (earns 0.01–0.5%)
- Best HSA providers for investing: Fidelity (no fees, broad fund selection), Lively, HealthEquity
HSA as Retirement Account After 65
After age 65, HSA withdrawals for non-medical expenses are penalty-free (taxed as ordinary income, just like a traditional IRA). This means your HSA functions as an additional retirement account on top of your 401(k) and IRA. For medical expenses — including Medicare premiums, dental, vision, and long-term care — withdrawals remain completely tax-free at any age.
Try the HSA Calculator
Put this knowledge into action with our free calculator. Get instant, personalized results.
Frequently Asked Questions
Should I use my HSA for current medical expenses or invest it?
If you can afford to pay medical expenses out-of-pocket, invest the HSA and let it grow. The power of tax-free compounding over 20–30 years far exceeds the immediate tax savings of using the HSA now. Save your medical receipts — you can reimburse yourself from the HSA at any point in the future, even decades later.
What is the best HSA provider for investing?
Fidelity is widely considered the best: no monthly fees, no investment minimums, access to all Fidelity funds including zero-expense-ratio index funds, and no requirement to keep a cash threshold. If your employer uses a different HSA provider with high fees, contribute enough to get any employer match, then transfer the balance annually to Fidelity.
Can I still contribute to an HSA if I have Medicare?
No — once you enroll in any part of Medicare (including Part A), you can no longer contribute to an HSA. However, you can still use existing HSA funds tax-free for medical expenses. This is why maximizing HSA contributions before Medicare enrollment is so important. If you delay Medicare (possible if still covered by employer insurance), you can continue contributing.
Our Methodology
Data in this article is sourced from official government agencies (IRS, SSA, BLS, Federal Reserve), peer-reviewed financial research, and industry-standard formulas. All figures are updated for 2026. Our editorial team reviews each article quarterly for accuracy. Last verified: March 2026.
Editorial Disclaimer
This article is for educational purposes only and does not constitute financial advice. Information is based on publicly available data from government sources (IRS, SSA, BLS) and industry-standard financial principles. Always consult a qualified financial professional before making decisions based on this content. Read our full Financial Disclaimer.