HSA in retirement: the triple-tax-advantage bridge asset
By the RetireGlide Team · August 15, 2026
A health savings account (HSA) offers a combination no other retirement account matches: contributions go in tax-free (or tax-deductible), the balance grows tax-free, and withdrawals for qualified medical expenses come out tax-free too — all three stages, at once. Used well, an HSA becomes a dedicated, tax-advantaged fund for the healthcare costs that otherwise eat into a retirement budget unpredictably.
The catch is eligibility and paperwork: you can only contribute while enrolled in a qualifying high-deductible health plan, and getting the full benefit means treating the account differently than most people do.
Why is an HSA called "triple tax-advantaged"?
Compare it to the alternatives. A traditional 401(k) or IRA gives you a tax break going in, but every withdrawal is taxed as ordinary income. A Roth account gives you tax-free withdrawals, but contributions are made with after-tax dollars. An HSA gets both: pre-tax (or tax-deductible) money in, tax-free growth while invested, and tax-free withdrawals out — as long as the withdrawal pays for a qualified medical expense. No other account structure available to most households does all three.
Who can actually contribute?
Eligibility is narrower than for an IRA: you must be enrolled in an HSA-eligible high-deductible health plan (HDHP), have no other disqualifying health coverage, and not be enrolled in Medicare. That last condition matters for retirement timing specifically — once you enroll in Medicare (typically at 65), you can no longer contribute to an HSA, even if you keep working and even if you have HDHP coverage otherwise. Annual contribution limits are set by the IRS and adjusted most years — check the current figures at irs.gov before contributing, since exceeding the limit can trigger a penalty.
A commonly missed detail: Medicare enrollment is sometimes automatic and can be retroactive up to six months once you claim Social Security past 65, which can create an accidental excess contribution if you're still funding an HSA when you file. Coordinating the timing of Medicare enrollment and your last HSA contribution is worth planning deliberately, not discovering after the fact.
What counts as a qualified expense — and what happens after 65?
Qualified medical expenses are defined broadly by the IRS: most doctor visits, prescriptions, dental and vision care, and many over-the-counter items count, along with Medicare premiums (except Medigap) once you're 65 and enrolled. Long-term care insurance premiums, up to age-based limits, also qualify — a detail that makes the HSA a legitimate long-term-care funding tool, not just a copay account.
After age 65, the account gains a second use: non-medical withdrawals are allowed, and while they don't get the tax-free treatment, they're taxed like a traditional IRA withdrawal — ordinary income, no penalty. Before 65, a non-medical withdrawal costs both ordinary income tax and a 20% penalty. That asymmetry is why many planners treat the HSA as effectively a better traditional IRA once you're past 65: worst case, it behaves like a 401(k); best case, spent on medical costs, it's fully tax-free.
How should you actually use one across retirement?
The highest-value strategy for people who can afford to is counterintuitive: pay current medical expenses out of pocket when you can, let the HSA balance invest and grow untouched, and keep every receipt. The IRS places no time limit on reimbursing yourself for a qualified expense — a $2,000 medical bill paid out of pocket at 45 can be reimbursed tax-free from HSA growth at 70, having compounded for 25 years in the meantime. That turns the HSA into a genuine long-horizon investment account, not just a spending account for this year's deductible.
For households funding current healthcare costs directly from the HSA instead, that's a legitimate and simpler approach too — the tax-free-in, tax-free-out mechanics work the same way either way. The receipt-banking strategy is specifically for households with enough other liquidity to cover near-term medical costs from cash flow, freeing the HSA to compound.
How does an HSA fit into a bigger retirement plan?
Healthcare costs are one of the least predictable pieces of a retirement budget, particularly in the pre-Medicare bridge years and again later in life when care needs tend to rise. An HSA balance earmarked specifically for those costs reduces how much of that uncertainty has to be absorbed by the rest of the portfolio — it's a healthcare-specific reserve alongside your general spending plan, not a replacement for it.
Frequently asked questions
- Can I still contribute to an HSA after I enroll in Medicare?
- No. Medicare enrollment ends HSA contribution eligibility, even if you're still working and otherwise covered by a qualifying high-deductible plan. You can still spend down and invest an existing balance — you just can't add new contributions.
- What happens to unused HSA funds when I die?
- If your spouse is the named beneficiary, the account transfers to them and keeps its tax-advantaged status. For a non-spouse beneficiary, the account's fair market value generally becomes taxable income to them in the year you die — an estate-planning detail worth reviewing your beneficiary designation for.
- Can I use HSA funds to pay Medicare premiums?
- Yes — Medicare Part B, Part D, and Medicare Advantage premiums are qualified expenses once you're 65 and enrolled, though Medigap supplemental premiums are not. This makes the HSA directly useful for offsetting one of the larger fixed healthcare costs in retirement.
- Is an HSA better than a Roth IRA for retirement savings?
- They're not directly competing — an HSA requires HDHP eligibility and has lower contribution limits, and its full tax-free advantage applies specifically to medical spending. Many financial planners suggest maxing HSA contributions first (for medical costs) alongside, not instead of, other retirement accounts, given HDHP eligibility allows it.
See this in your own plan
Run your numbers through the same engine — free, in about 3 minutes.
Keep learning
Sources
- IRS — Publication 969, Health Savings Accounts (eligibility, qualified expenses, Medicare interaction)
- HealthCare.gov — Health Savings Account (HSA) glossary
RetireGlide is an educational modeling tool, not an investment, tax, or legal adviser. Numbers that change annually (tax thresholds, premiums, benefit formulas) are approximate — always verify against the official sources above. Read our full disclaimer.