HSAs and Medicare: the six-month trap, defused
HSA contributions and Medicare can't coexist: any part of Medicare — even premium-free Part A — ends your eligibility to contribute. Worse, Part A enrollment after 65 is backdated up to six months, so contributions must stop six months before you enroll, and the final year's limit prorates by eligible months.
The rule, and the backdating trap inside it
An HSA requires being covered only by a high-deductible health plan — and Medicare, all of it, breaks that condition. Enrolling in Part A (which most people take at 65 because it's free) ends contribution eligibility. The trap is the calendar: sign up for Part A after 65 and coverage is backdated up to six months (never earlier than your 65th-birthday month). Contribute during those backdated months and you've made excess contributions — taxable, penalized, and a genuine paperwork headache to unwind via amended returns.
Working past 65 on a 20+-employee HDHP and want to keep funding the HSA? Delay all of Medicare — A and B both — and don't file for Social Security (benefits trigger automatic Part A). Then, six months before your planned Medicare start, stop contributions. The same backdating math applies whether the trigger is retirement or simply deciding the HSA years are done.
The 2026 numbers and the proration math
Your final contribution year prorates by months of eligibility: eligible January through June (Medicare effective July 1, backdating accounted for) means 6/12 of the annual limit — for self-only with catch-up, 6/12 × ($4,400 + $1,000) = $2,700. Over-contributions can be withdrawn with earnings before the tax deadline to avoid the excise tax; this is squarely a confirm-with-your-tax-professional calculation.
HSA final-year contribution calculator
The catch-up prorates by the same twelfths. Contributions during backdated Part A months are excess — withdrawable with earnings before the tax deadline. Eligibility also requires HDHP-only coverage all of each counted month; recent non-preventive VA care for a non-service-connected condition pauses eligibility for three months. Confirm the final number with your tax professional.
Estimates for educational purposes only — not a quote, plan recommendation, or guarantee of benefits or costs. This website is not connected with or endorsed by the U.S. government or the federal Medicare program. For information on all of your options, contact Medicare.gov, 1-800-MEDICARE (TTY 1-877-486-2048), or your local State Health Insurance Assistance Program (SHIP).
Two veteran-specific wrinkles worth knowing
- VA care use can pause HSA eligibility on its own. Receiving VA medical benefits generally makes you HSA-ineligible for the following three months — except when the care is for a service-connected disability, preventive care, or dental/vision. Veterans with disability ratings using the VA for rated conditions keep contributing; a non-service-connected hospital course at the VA pauses the clock. (CHAMPVA coverage in the household raises the same only-HDHP question for the covered family member.)
- Spending is forever even when contributing isn't. Once on Medicare, the HSA keeps working as a spending account: tax-free for Part B premiums (including IRMAA), Part D and MA premiums, deductibles, copays — and VA copays, which are qualified medical expenses. A fat HSA is arguably the best Medicare-premium-payment vehicle a working veteran can build.
The HSA wind-down has three moving dates — last contribution, Part A effective, Social Security filing. Getting them sequenced is a one-conversation job for an agent working alongside your tax preparer.
Get Free Agent HelpOr compare plans yourself at PlanMatch.com, or contact Medicare.gov / 1-800-MEDICARE.
Frequently asked questions
Can I contribute to an HSA if I only have Part A?
Why six months before enrollment?
Does using VA Healthcare affect my HSA?
Can I pay VA copays from my HSA?
I'm 67, still working, never enrolled in Medicare. Did I make a mistake?
You earned these benefits. Make them work together.
Whether you keep exactly what you have or add Medicare coverage alongside it, the right answer depends on your health, budget, and how you like to get care.
No cost, no obligation. You can also get help from Medicare.gov, 1-800-MEDICARE (TTY 1-877-486-2048), or your local SHIP office.