HSA Investing: How to Use Your Health Savings Account as a Retirement Tool
An HSA is the most tax-advantaged account available: contributions are pre-tax (or deductible), growth is tax-free, and withdrawals for medical expenses are tax-free. It's strictly better than a 401(k) or IRA for healthcare costs. Here's how to maximize your HSA.
A Health Savings Account (HSA) is a tax-advantaged savings account that must be paired with a High-Deductible Health Plan (HDHP). While most people use HSAs to pay current medical expenses, the optimal strategy is to treat the HSA as a long-term retirement investment vehicle. The HSA offers a unique combination of tax benefits: contributions reduce your taxable income, investment growth compounds tax-free, and withdrawals for qualified medical expenses are never taxed. After age 65, you can withdraw for any purpose penalty-free (though non-medical withdrawals are taxed as income). This makes the HSA arguably the best account for retirement healthcare savings and a powerful supplement to your 401(k) and IRA. Learn the basics of HSA accounts →
The Triple Tax Advantage in Detail
The HSA's triple tax advantage is unmatched by any other account type. First, contributions are tax-deductible. If you contribute through payroll deduction, the money avoids both income tax and FICA payroll tax (7.65% savings on top of your income tax rate). Second, the money grows tax-free. You can invest HSA funds in stocks, bonds, ETFs, and mutual funds, and you pay no capital gains tax, no dividend tax, and no interest tax on the growth. Third, withdrawals for qualified medical expenses are tax-free at any age. This includes doctor visits, hospital stays, prescription drugs, dental care, vision care, Medicare premiums, and long-term care insurance premiums. No other account offers this combination — not a 401(k), not a Traditional IRA, not a Roth IRA. The Roth IRA comes closest (tax-free growth and withdrawals) but lacks the upfront tax deduction. Compare HSAs with other retirement accounts →
The "HSA as Super IRA" Strategy
The most powerful HSA strategy is to never spend it. Here is how the "HSA as super IRA" strategy works: max out your HSA contribution each year ($4,150 for individuals, $8,300 for families in 2024). Pay all current medical expenses out of pocket from your regular bank account. Save every receipt for qualified medical expenses — you can reimburse yourself decades later. Invest your HSA contributions in low-cost diversified index funds (VTI, VOO, or a target-date fund). Let the money compound tax-free for 20-40 years. In retirement, reimburse yourself for all accumulated medical expenses using your saved receipts — completely tax-free. After age 65, use the remaining balance for any purpose: medical withdrawals remain tax-free, and non-medical withdrawals are taxed as ordinary income (like a Traditional IRA). This strategy turns every HSA dollar into a tax-free retirement healthcare fund with the flexibility of a Traditional IRA for non-medical needs. Build your HSA into a comprehensive retirement plan →
Investment Options Within Your HSA
Most HSA providers offer a range of investment options once your cash balance exceeds a threshold (typically $1,000-$2,000). Below that threshold, funds sit in cash earning minimal interest. Above it, you can invest in mutual funds, ETFs, and in some cases individual stocks. The best HSA providers for investing include Fidelity HSA (no fees, full range of Fidelity funds), Lively HSA (partners with TD Ameritrade for self-directed investing), and HealthSavings Administrators (Vanguard fund access). For investment strategy, stick with low-cost diversified index funds. A simple two-fund portfolio of VTI (total US stock market) and BND (total US bond market) is appropriate for most investors. If you are 10+ years from retirement, consider 80-100% stocks. As you approach retirement, shift toward a more conservative allocation to protect your healthcare funds. Choose the right asset allocation for your HSA →
Contribution Limits and Eligibility (2024)
For 2024, HSA contribution limits are $4,150 for individual coverage and $8,300 for family coverage. If you are age 55 or older, you can contribute an additional $1,000 catch-up contribution. These limits include any employer contributions to your HSA. To be eligible, you must be enrolled in a High-Deductible Health Plan (HDHP) with a minimum deductible of $1,600 for individual coverage or $3,200 for family coverage. The out-of-pocket maximum cannot exceed $8,050 for individual coverage or $16,100 for family coverage. You cannot have any other health coverage (including Medicare, a general-purpose FSA, or a spouse's FSA), and you cannot be claimed as a dependent on someone else's tax return. If you enroll in an HDHP mid-year, you can contribute the full annual limit (the "last-month rule") as long as you remain eligible through December 1 of the following year. Optimize your HSA contributions for tax savings →
Can I invest my HSA in individual stocks?
It depends on your HSA provider. Fidelity HSA allows you to invest in individual stocks, ETFs, and mutual funds with no trading restrictions. Other providers like Lively (through TD Ameritrade) also offer self-directed brokerage accounts where you can buy individual stocks. However, some HSA providers limit investments to a curated list of mutual funds. If individual stock investing is important to you, choose an HSA provider that offers a self-directed brokerage option. Even then, for most investors, low-cost index funds are a better choice for HSA investing because the money needs to be available for healthcare expenses in retirement and should not be subject to individual stock risk.
What happens to my HSA investments if I change jobs?
Your HSA is fully portable — it belongs to you, not your employer. When you change jobs, you keep your HSA and all the investments in it. You can continue managing the investments, rebalance the portfolio, and make withdrawals for qualified medical expenses. You cannot make new contributions unless your new employer offers an HDHP and you enroll in it. If your current HSA provider charges high fees or has poor investment options, you can transfer your HSA to a different provider (like Fidelity) at any time. This portability is a significant advantage over employer-sponsored retirement plans and FSAs.
Should I max out my HSA before my 401(k)?
The general recommendation is to contribute enough to your 401(k) to get the full employer match (free money first), then max out your HSA, then return to your 401(k) or IRA for additional savings. The HSA takes priority over unmatched 401(k) and IRA contributions because of its unique triple tax advantage — no other account offers tax-free withdrawals for any purpose. The only caveat is if you have very high current medical expenses and cannot pay them out of pocket. In that case, using HSA funds for current expenses is still tax-free, but you lose the long-term compounding advantage. For most people, the optimal order is: 401(k) to match, HSA to max, IRA to max, then additional 401(k) savings.
What HSA investments are best for retirement?
For long-term HSA investing, low-cost diversified index funds are the best choice. A simple portfolio of 80-100% VTI (Vanguard Total Stock Market ETF) or VOO (Vanguard S&P 500 ETF) for the stock portion, and 0-20% BND (Vanguard Total Bond Market ETF) for the bond portion, is appropriate for most investors with a 10+ year horizon. If you prefer a set-it-and-forget-it approach, target-date index funds from Vanguard or Fidelity are excellent options — they automatically adjust your stock/bond allocation as you approach retirement. Avoid high-cost actively managed funds, individual stock picking with money you cannot afford to lose, and keeping too much in cash (which loses purchasing power to inflation over time).
Related Resources
HSA Basics Guide
Understand HSAs, eligibility, contribution limits, and qualified expenses.
401(k) vs IRA vs Roth IRA
Compare all tax-advantaged accounts and prioritize your savings strategy.
Retirement Planning Guide
Build a comprehensive retirement plan that integrates your HSA strategy.
Tax Planning Guide
Maximize the tax benefits of your HSA contributions and withdrawals.
Asset Allocation by Age
Choose the right investment mix for your HSA based on your time horizon.
Weekly Digest Newsletter
Get HSA investing tips and tax strategies delivered weekly.