HSA as a Retirement Account: Why It Beats Your 401(k) for Tax Efficiency
Most people think of Health Savings Accounts as a way to set aside money for annual doctor visits and prescriptions. That is like using a Ferrari to drive to the corner shop. The HSA's true power lies in its unique position as the most tax-efficient retirement account in the entire US tax code — even more efficient than a 401(k) or Roth IRA when used for medical expenses in retirement.
Fidelity estimates that the average retired couple will spend $345,000 on healthcare during retirement. That is not a speculative number — it includes Medicare premiums, supplemental insurance, deductibles, copays, prescriptions, dental, vision, and hearing. Having $300,000 or more in a tax-free HSA to cover those costs means you do not have to pull from your 401(k) (taxed) or Roth IRA (limited) for healthcare. This guide shows you exactly how to build that balance.
The Optimal Savings Order
Financial planners recommend this priority order for tax-advantaged savings. The HSA slots in before maxing your 401(k) because of its superior triple tax benefit.
401(k) Up to Employer Match
Free money. If your employer matches 50% up to 6% of salary, contribute at least 6%. A 100% return on the matched portion cannot be beaten.
Max Your HSA ($4,400 / $8,750)
Triple tax advantage beats every other account. This is the only account where contributions, growth, AND withdrawals can all be tax-free. FICA savings add another 7.65% on top.
Max Your 401(k) ($23,500 in 2026)
After capturing the match and maxing the HSA, push your 401(k) to the annual limit. Pre-tax contributions reduce your current tax bill; Roth 401(k) provides tax-free withdrawals.
Roth IRA ($7,000 in 2026)
If eligible based on income, a Roth IRA provides tax-free growth and withdrawals with no RMDs. Backdoor Roth conversions available for higher earners.
Taxable Brokerage Account
After maxing all tax-advantaged accounts, invest in a low-cost total market index fund in a taxable account. Long-term capital gains rates (0-20%) are lower than ordinary income rates.
HSA vs 401(k) vs Roth IRA: Tax Treatment Compared
| Feature | HSA | Traditional 401(k) | Roth IRA |
|---|---|---|---|
| Contributions | Tax-free + FICA-free | Tax-free | After-tax |
| Investment Growth | Tax-free | Tax-deferred | Tax-free |
| Medical Withdrawals | Tax-free (any age) | Taxed as income | Tax-free (if qualified) |
| Non-Medical After 65 | Taxed as income | Taxed as income | Tax-free |
| 2026 Limit | $4,400 / $8,750 | $23,500 | $7,000 |
| RMDs Required? | Never | Age 73+ | Never |
| Early Withdrawal Penalty | 20% + tax (non-medical) | 10% + tax | Contributions: none |
| FICA Tax Savings | Yes (7.65%) | No | No |
Long-Term HSA Growth Projections
Projections assume maximum annual contribution invested at 7% nominal annual return in a low-cost total market index fund. No fees deducted.
Individual: $4,400/year
Family: $8,750/year
Ages assume starting at 25. Actual returns will vary. Historical S&P 500 average annual return is approximately 10% nominal (7% real after inflation).
The “Stealth IRA” Strategy
This is the most powerful and underused HSA strategy. Here is how it works: instead of paying medical bills from your HSA, you pay them from your regular savings account. You keep every receipt. Your HSA balance stays invested and compounds tax-free for decades. Then, at any point in the future — there is no time limit — you reimburse yourself from the HSA using those old receipts. The reimbursement is completely tax-free.
For example: you pay $3,000 in medical bills out of pocket in 2026. You save the receipts. Your HSA grows for 30 years at 7%. At age 55, you submit those 2026 receipts and withdraw $3,000 tax-free. Meanwhile, the $3,000 that would have left your HSA in 2026 has grown to approximately $22,800 as part of your invested balance. You get the tax-free withdrawal AND the decades of tax-free growth.
This strategy effectively turns your HSA into a stealth retirement account with tax-free withdrawals that are not limited to the Roth IRA annual contribution limit. The only requirement is that you were HSA-eligible when the medical expense occurred and that the expense was not already reimbursed from another source. The IRS has confirmed there is no deadline for reimbursement.
Who Should NOT Use This Strategy
If you cannot comfortably afford to pay medical bills from your regular savings, use your HSA for current expenses. Your health comes first. The stealth IRA strategy is for people who have sufficient emergency funds and cash flow to cover medical costs without touching the HSA. Do not sacrifice healthcare access for investment returns.
Frequently Asked Questions
Is an HSA better than a 401(k) for retirement?
For medical expenses, yes. An HSA offers triple tax benefits (tax-free in, tax-free growth, tax-free out for medical), while a 401(k) is only tax-free going in. However, 401(k)s have higher contribution limits ($23,500 in 2026 vs $4,400/$8,750 for HSAs) and often include employer matches. The optimal strategy is to fund both: 401(k) up to the match, then max your HSA, then max your 401(k).
What is the HSA stealth IRA strategy?
The stealth IRA strategy involves paying current medical expenses from your regular savings instead of your HSA, letting your HSA balance compound tax-free for decades, and saving all medical receipts. There is no time limit on HSA reimbursement, so you can reimburse yourself for those expenses years or decades later — withdrawing the money tax-free even though the expense occurred long ago.
How much can an HSA grow over 30 years?
Contributing the maximum $4,400/year (individual) at a 7% average annual return, your HSA would grow to approximately $441,100 after 30 years. Family contributions of $8,750/year would grow to approximately $877,500. These projections assume contributions are invested in a diversified stock index fund and all growth is tax-free.
What happens to my HSA after age 65?
After age 65, your HSA becomes even more flexible. Medical withdrawals remain 100% tax-free. Non-medical withdrawals are taxed as ordinary income but have no penalty (similar to a Traditional IRA). Unlike a 401(k) or IRA, there are no required minimum distributions (RMDs) at any age, so you can let the money continue growing indefinitely.
What should I invest my HSA in?
For long-term HSA investors (10+ years to retirement), a total US stock market index fund or S&P 500 index fund with a low expense ratio (0.03-0.10%) is the optimal choice. For those closer to retirement, a balanced allocation of stocks and bonds (such as a target-date fund) reduces volatility. The key is to avoid leaving HSA money in cash — historically, cash returns have not kept pace with inflation.