When does Medicare end HSA contributions?
You can't contribute for any month you're enrolled in Medicare. The trap is timing: when you apply for Social Security or Part A after 65, Part A is backdated up to six months — never before the month you turned 65 — so contributions in those months become excess. (IRS Publication 969)
Example: you turn 66 and apply in June. Part A starts in December of the previous year, so your last eligible month was November, and the prior year's limit is prorated to eleven-twelfths.
| Limit | 2026 | 2027 |
|---|---|---|
| Self-only | $4,400 | $4,500 |
| Family | $8,750 | $9,000 |
| Catch-up (55+) | $1,000 | $1,000 |

HSA After 65: What You Can Still Spend It On
Your HSA keeps working after Medicare. You can spend it tax-free on qualified medical costs, and after 65 that list includes Medicare premiums: Part B, Part D, Medicare Advantage and the IRMAA surcharges. It does not include Medigap premiums.
- Deductibles, copays, dental, vision and hearing aids
- Part B and Part D premiums, including IRMAA
- A portion of long-term care insurance premiums, up to age-based limits
After 65, withdrawals for anything else are taxed as income but no longer carry the 20% penalty.

Our take: keep the HSA as your Medicare-premium fund
Stop contributions on time, then let the balance pay Part B premiums for years — tax-free money for a bill you'll have anyway. Line up your dates with the Medicare sign-up window, avoid the Part B late penalty, and see what your 401(k) still allows on the catch-up contribution calculator. Still working at 65? The employer-plan rules for Medicare at 65 explain when you can delay.