If you've been contributing to a Health Savings Account (HSA) during your working years, you've been building one of the most flexible and tax-advantaged assets in your financial toolkit. After 65, the rules around HSAs change—but they don't become less valuable. In many ways, an HSA in retirement is more useful than ever.
Here's a complete guide to how HSAs work after you turn 65, what changes when you enroll in Medicare, and how to get the most out of the HSA balance you've accumulated.
The Triple Tax Advantage—Still Applies
The fundamental advantage of an HSA doesn't change at 65. Funds in your HSA grow tax-free. Withdrawals for qualified medical expenses remain completely tax-free. And any contributions you made were tax-deductible at the time. This triple tax benefit makes HSA funds among the most valuable dollars you have—far more efficient than taxable investment accounts or even traditional IRAs for covering healthcare costs.
What Changes at 65: Contribution Rules
The main change at 65 is that enrolling in Medicare Part A or Part B makes you ineligible to make new contributions to an HSA. This is a firm rule—once you're enrolled in any part of Medicare, new HSA contributions are not allowed.
If you're still working at 65 and covered by an employer's High-Deductible Health Plan, you can continue contributing to your HSA—but only as long as you haven't yet enrolled in Medicare. Many people in this situation delay Medicare enrollment specifically to keep contributing to their HSA. That's a legitimate strategy, but it requires careful attention to the Social Security retroactivity trap (see below).
The Social Security Retroactivity Issue
Here's a commonly overlooked trap: if you apply for Social Security benefits after age 65, Medicare Part A enrollment is automatically retroactive by up to six months. This means if you apply for Social Security at 66 and Part A is backdated to when you turned 65½, any HSA contributions you made in those retroactive months become non-compliant and may be subject to taxes and a 6% excise penalty.
If you're still contributing to an HSA and plan to delay both Medicare and Social Security, stop your HSA contributions at least six months before you intend to apply for either program. This is a situation where a few hundred dollars of forgone contributions can prevent a much larger tax problem.
What Stays the Same: Using Your HSA Balance
While you can no longer contribute after Medicare enrollment, you can continue using your existing HSA balance for qualified medical expenses—tax-free, for the rest of your life. The balance never expires, never has to be spent by a deadline, and continues to grow tax-free in whatever investments you've chosen.
Qualified Medical Expenses After 65
The definition of qualified medical expenses for HSA purposes is broad and well-suited to retirement spending. After 65, your HSA can pay tax-free for:
- Medicare Part B, Part D, and Medicare Advantage premiums (this is a significant benefit—Medigap premiums do NOT qualify)
- Dental care: cleanings, X-rays, fillings, crowns, dentures, orthodontia
- Vision care: exams, glasses, contact lenses, LASIK
- Hearing aids and batteries
- Prescription medications
- Long-term care insurance premiums (up to IRS age-based limits)
- Qualified long-term care services
- Copays, deductibles, and coinsurance under Medicare
- Transportation costs for medical care
Using HSA funds for Medicare premiums and long-term care expenses is particularly powerful—these are major retirement costs that would otherwise be paid with after-tax dollars.
The "Stealth IRA" Feature After 65
Here's a little-known benefit: after age 65, you can withdraw HSA funds for ANY reason—not just qualified medical expenses—without the 20% penalty that applied before 65. Non-medical withdrawals are simply added to your taxable income, just like a traditional IRA withdrawal.
This means an HSA at 65+ effectively behaves like a traditional IRA for non-medical spending—taxable withdrawals, no penalty—but with an extraordinary additional benefit: medical withdrawals remain completely tax-free. This makes a well-funded HSA one of the most flexible assets in retirement.
HSA Investment Strategy in Retirement
If you have a meaningful HSA balance and other liquid assets to cover near-term expenses, consider keeping your HSA invested in a growth-oriented portfolio rather than moving everything to cash or money market. Since HSA funds are earmarked for healthcare—an expense that grows with time—the account benefits from continued investment growth.
A common strategy: use non-HSA funds to pay medical expenses in early retirement, keep receipts, and reimburse yourself from the HSA years later. There's no deadline to reimburse yourself for qualified expenses—you can pay a medical bill out of pocket in 2026 and reimburse yourself from your HSA in 2035, tax-free. This allows the HSA to continue growing while you use other funds in the short term.
Inheriting an HSA
The inheritance rules for HSAs are less favorable than for IRAs. If you leave your HSA to a spouse, they inherit it as their own HSA and can use it under the same rules. If you leave it to a non-spouse beneficiary, the entire account becomes taxable income to the beneficiary in the year of your death—losing the tax-free status entirely.
This means HSA funds are generally better spent during your lifetime (on qualified medical expenses) rather than preserved as an inheritance vehicle. Prioritize using HSA funds for healthcare costs—the most tax-efficient use—and leave other assets (IRAs, brokerage accounts) to heirs.
Practical Action Steps
- 1. If you're still working and contributing to an HSA, maximize contributions now—2026 limits are $4,300 for self-only and $8,550 for family coverage, plus a $1,000 catch-up if 55+
- 2. Stop contributions six months before applying for Medicare or Social Security to avoid the retroactivity trap
- 3. Invest your HSA for growth if you have 5+ years before you'll need the funds
- 4. Keep receipts for all qualified medical expenses—you can reimburse yourself years later
- 5. Use HSA funds strategically for Medicare premiums (except Medigap) and long-term care insurance premiums in retirement