HSA Retirement Strategy: The Triple Tax Advantage

The Health Savings Account is the only account in the US tax code with a triple tax advantage: contributions are tax-deductible, growth is tax-free, and withdrawals for qualified medical expenses are tax-free. The 401(k), Roth IRA, and Traditional IRA each offer at most two. IRS Publication 969 covers contribution limits, qualified medical expenses, and the interaction with Medicare. Many planners consider the HSA the best retirement savings account for Americans with a high-deductible health plan.
How the HSA Works
To contribute to an HSA, you must be enrolled in a High-Deductible Health Plan (HDHP). In 2025:
- Self-only HDHP: Minimum deductible $1,650, maximum out-of-pocket $8,300
- Family HDHP: Minimum deductible $3,300, maximum out-of-pocket $16,600
- HSA contribution limit (self-only): $4,300
- HSA contribution limit (family): $8,550
- Catch-up (age 55+): Additional $1,000
You, your employer, or both can contribute, up to the annual limit. Employer contributions are excluded from your gross income, with no payroll tax either (401(k) matches avoid income tax but still incur FICA).
The Triple Tax Advantage in Detail
1. Tax-Deductible Contributions
HSA contributions reduce your taxable income, just like a Traditional IRA or 401(k). If you’re in the 24% federal bracket and contribute $8,550 (family limit), you save $2,052 in federal tax alone, plus state tax savings in most states.
If your employer offers payroll HSA contributions, the benefit is larger: those contributions bypass both income tax and FICA (7.65%), saving an additional ~$654 on the full family contribution.
2. Tax-Free Growth
Like a Roth IRA, HSA funds grow tax-free. Interest, dividends, and capital gains inside the HSA are never taxed, either when earned or when you withdraw. Most HSAs allow you to invest in mutual funds or ETFs once your balance exceeds a threshold (typically $1,000–$2,000 in cash).
3. Tax-Free Withdrawals (for Medical Expenses)
Withdrawals for qualified medical expenses (doctor visits, prescriptions, dental, vision, Medicare premiums but not Medigap premiums) are tax-free at any age. There is no time limit on reimbursement: you can pay for medical expenses out of pocket today, save the receipts, and reimburse yourself from the HSA years or decades later, letting the money grow tax-free in the meantime.
The HSA as a Retirement Account
Before Age 65
Withdrawals for non-medical purposes before age 65 are taxed as ordinary income plus a 20% penalty — similar to an early IRA withdrawal but with a steeper penalty. That makes the HSA a poor choice for non-medical spending before 65.
After Age 65 (or Medicare Enrollment)
Once you turn 65 or enroll in Medicare:
- Withdrawals for medical expenses remain tax-free
- Withdrawals for non-medical purposes are taxed as ordinary income (no penalty)
- The HSA effectively becomes a Traditional IRA, with the option of tax-free medical withdrawals
That makes the HSA flexible in retirement. A $15,000 dental implant comes tax-free from the HSA. $30,000 for general living expenses is taxed like a Traditional IRA withdrawal.
No RMDs
Unlike Traditional IRAs and 401(k)s, the HSA has no Required Minimum Distributions. You can let it grow indefinitely, which suits leaving it to a spouse (who inherits it as their own HSA) or using it as a late-retirement medical fund when healthcare costs are highest.
The Optimal HSA Strategy
During Working Years
- Max out contributions every year. The limits are lower than 401(k) limits, but each dollar gets a better tax treatment.
- Invest the balance. Don’t leave HSA funds in cash. Move everything above a small buffer into a diversified index fund.
- Pay medical expenses out of pocket. If you can afford it, pay current medical bills from your checking account and let the HSA grow. Save receipts — you can reimburse yourself tax-free at any time in the future.
- Prioritize HSA over additional 401(k) contributions (above the employer match). The HSA’s triple tax benefit beats the 401(k)‘s single deduction.
Recommended Contribution Priority
- 401(k) up to the employer match (free money)
- HSA to the annual maximum (triple tax advantage)
- Roth IRA to the annual maximum (tax-free growth, no RMDs)
- 401(k) to the annual maximum (tax-deferred growth)
- Taxable brokerage account (overflow)
In Retirement
Use the HSA for medical expenses first. These withdrawals are tax-free and don’t count toward Social Security taxation thresholds or IRMAA Medicare surcharges. For non-medical spending, treat the HSA as a Traditional IRA: withdraw in low-income years to fill lower brackets, and leave it untouched in high-income years.
HSA and Medicare
You cannot contribute to an HSA once you enroll in Medicare (typically at 65). If you’re still working past 65 and delay Medicare, you can keep contributing, but only if you’re not enrolled in any part of Medicare, including Part A.
If you claimed Social Security before 65, you’re automatically enrolled in Medicare Part A at 65, which ends HSA eligibility. Plan your timing.
Existing HSA funds can still be used after Medicare enrollment. You just can’t add more.
State Tax Considerations
Most states follow the federal tax treatment of HSAs. Two notable exceptions:
- California does not recognize HSA contributions as deductible and taxes HSA earnings annually
- New Jersey does not allow a state deduction for HSA contributions
If you live in CA or NJ, the HSA still provides federal tax benefits and tax-free medical withdrawals, but the state-level advantage is smaller.
How cinder.fi Helps
cinder.fi models your HSA as its own account type in the US retirement projection. Contributions grow tax-free during working years, and withdrawals are taxed correctly: tax-free for medical expenses, ordinary income after 65 for other purposes. The HSA balance is part of the withdrawal ordering strategy, so you can see how HSA draws interact with Social Security taxation, IRMAA thresholds, and RMDs from other accounts. Manual withdrawal ordering lets you place the HSA wherever you want in the drawdown sequence.
Model your HSA strategy: try cinder.fi free.