Working Past 65: How Medicare Fits With Employer Coverage
More Americans work past 65 than at any point in decades, some for the income, some for the purpose, and plenty for both. What nobody hands them is a manual for the collision between a job’s health plan and a federal program that assumes you retire on schedule. The rules for delaying Medicare are genuinely reasonable, but they hinge on details as small as an employer’s headcount.
Get the coordination right and working longer is simple. Get it wrong and the souvenirs include permanent premium penalties, tax headaches, and coverage gaps. Here is a plain English map of how Medicare and employer coverage fit together, offered as general education rather than advice for any one situation.
Do you have to sign up for Medicare at 65 if you are still working?
Not necessarily. If you have health coverage from your own or your spouse’s active employment, and the employer has 20 or more employees, you can delay Part B without penalty for as long as that coverage lasts. If the employer has fewer than 20 employees, Medicare generally becomes your primary insurance at 65, and delaying it can leave you dangerously underinsured.
That 20 employee line is the hinge for the entire decision, which is why it leads every conversation on this topic. Everything else, HSAs, COBRA, enrollment windows, hangs off that first answer.

The 20 employee rule decides who pays first
Insurance runs on the question of who pays first. At companies with 20 or more employees, the group plan stays primary and Medicare, if you enroll at all, pays second. That is why the law lets larger employer coverage count as qualifying coverage: you are fully insured without Medicare, so no late penalty accrues while you delay.
Below 20 employees, the order flips. Medicare becomes primary and the group plan pays second, whether or not you actually enrolled. A 66 year old at a small Winchester firm who never signed up for Part B can discover the group plan reducing its payments as if Medicare had paid its share first, leaving the worker to cover what Medicare would have paid. Anyone at a small employer approaching 65 should have a direct conversation with the plan administrator, in writing, about how the coverage coordinates.
Part A, HSAs, and the six month backdating trap
Many workers enroll in Part A at 65 even while delaying Part B, since Part A is premium free for most people and can pay secondary on hospital bills. One group should pause before doing that: anyone contributing to a health savings account. Enrolling in any part of Medicare ends HSA eligibility, and contributions made after eligibility ends become excess contributions the IRS expects you to unwind.
The trap has a second layer. When you enroll in Medicare after 65, Part A coverage is backdated up to six months. That retroactive start also retroactively ends HSA eligibility, which is why the timing of the final HSA contributions relative to an anticipated enrollment deserves real attention, and why many people discuss stopping contributions about six months ahead. The right sequence depends on your coverage details, but the rule of thumb is simple: HSAs and Medicare do not overlap, even retroactively.

COBRA and retiree coverage do not protect you
Here is the mistake that produces the most expensive stories: treating all employer related coverage as equal. Only coverage from active employment counts as qualifying coverage for delaying Part B. COBRA does not count. Retiree health benefits do not count. Severance period coverage generally does not count. A worker who retires at 66, rides 18 months of COBRA, and then enrolls in Medicare has been accruing late penalties the entire time and may face a wait for coverage to begin.
The clock detail makes it worse. Your eight month Special Enrollment Period for Part B starts when active employment or the employment based coverage ends, whichever comes first, not when COBRA runs out. People who anchor their planning to the COBRA end date routinely blow past the real deadline without knowing it existed.
The exit plan: what happens when you finally retire
When work does end, the transition runs on three overlapping clocks. You get eight months to enroll in Part B without penalty. Drug coverage runs a much shorter window, roughly two months, to join a Part D plan before that penalty starts accruing, a mismatch that surprises nearly everyone. And once Part B begins, your six month Medigap open enrollment window opens, the one stretch when supplement insurers in Virginia must take you regardless of health history.
The smoothest exits are choreographed a few months ahead: pick a retirement date, time the final HSA contribution, submit the employment verification forms Social Security requires, and have the Medicare choices already comparison shopped so coverage starts the day the group plan stops. It is not complicated when the clocks are laid out in advance. It is only complicated in hindsight.
Bottom Line
Working past 65 works fine with Medicare as long as four details are handled: the 20 employee rule, the HSA cutoff and its six month backdating, the fact that COBRA and retiree coverage do not count, and the short stack of enrollment clocks that start when employment ends. How they apply to you depends on your employer, your coverage, and your timeline, so talk through your specific situation with a licensed professional before deciding. The team at Clarity Insurance & Retirement in Winchester maps out these transitions with working clients all the time.
Related reading: our medicare planning enrollment services, Medigap vs Medicare Advantage: The Tradeoffs in Plain English, Turning 65 This Year? A Simple Checklist for the Months Around Your Birthday