Who pays first: 20 or more employees vs. fewer than 20
When you have Medicare and job-based coverage, one plan pays first ("primary") and the other pays second. For people 65 and older with coverage from their own or a spouse's current job:
- Employer with 20 or more employees: the group health plan generally pays first and Medicare pays second.
- Employer with fewer than 20 employees: Medicare generally pays first. If you don't have Part A and Part B, your employer plan may pay little or nothing for care Medicare would have covered. An exception: a small employer that is part of a multi-employer plan where another employer has 20 or more employees.
People under 65 who have Medicare because of a disability follow a 100-employee rule instead. Always ask your benefits office how your plan works with Medicare, in writing if possible.
Keeping employer coverage and delaying Part B
If your employer plan pays first, many people delay Part B to avoid paying its monthly premium ($209.40 standard in 2027) for coverage that pays second. You can sign up for Part B any time while you're still covered by the job-based plan. Before you delay, compare: your employer plan's premium, deductible, and network versus Medicare plus a Medigap or Advantage plan. Sometimes Medicare is the better deal even when you could keep the job plan.
Part A, HSAs, and the 6-month look-back
Most people don't pay a premium for Part A, so many sign up for Part A at 65 even while working. The exception is if you contribute to a Health Savings Account (HSA): you can't contribute to an HSA once you have any part of Medicare.
When you sign up for Part A after 65, or apply for Social Security benefits, Part A coverage generally goes back up to 6 months (but not earlier than the month you turned 65). To avoid a tax penalty, Medicare suggests making your last HSA contribution the month before your Part A coverage begins, which may mean stopping contributions up to 6 months before you sign up. Starting Social Security benefits enrolls you in Part A automatically, so plan HSA contributions and Social Security timing together.
COBRA and retiree coverage pitfalls
This is where people most often get caught:
- COBRA isn't coverage from current employment. Your 8-month Part B window starts when the job ends, not when COBRA ends. If you wait for COBRA to run out, you may miss the window, face a gap, and owe a lifelong penalty. If you're eligible for Medicare, COBRA may pay only a small portion of your costs.
- Retiree coverage isn't current employment either. Retiree plans usually expect you to have Part A and Part B and pay second.
If you're considering COBRA at 65 or older, Medicare notes there may be reasons to take Part B instead of, or in addition to, COBRA.
Creditable drug coverage
Your employer must tell you each year whether its drug coverage is creditable, meaning expected to pay at least as much as standard Part D. If it is, you can delay Part D without a penalty. When that coverage ends, you have two full months to join a Part D or Advantage plan with drug coverage. Keep the notices. See our Medicare Part D guide.
The 8-month Part B Special Enrollment Period
If you delayed Part B because of job-based coverage, you can sign up:
- Any time you're still covered by the group health plan, or
- During the 8 months that begin the month after the job or the coverage ends, whichever happens first.
Coverage generally starts the first of the month after you sign up, and you can ask to delay your Part B start date up to 3 months if you sign up while still covered or in the first full month after coverage ends. You'll file the Part B application (Form CMS-40B) plus an extra form, completed by your employer, showing you had job-based coverage while you or your spouse were working. To have Medicare start right when your job coverage ends, sign up the month before you retire. For other life events, see Medicare Special Enrollment Periods.
Coverage through a spouse
The same rules apply if your coverage comes from your spouse's current job: the employer-size test and the 8-month window are based on your spouse's employment. If your spouse retires or the employer drops spousal coverage, your 8-month clock starts. If your spouse is younger than 65 and on your employer plan, check what happens to their coverage when you retire.
Steps to take when you retire
- About 2–3 months before your last day, confirm the date your employer coverage ends.
- Ask your employer to complete the form showing your job-based coverage dates.
- Sign up for Part B (and Part A, if you haven't) so coverage starts when job coverage ends.
- Choose drug coverage within two months so you avoid a Part D penalty.
- Remember your 6-month Medigap Open Enrollment starts when Part B begins. See our Medigap guide.
- Stop HSA contributions in time, as described above.
Our when to enroll in Medicare guide covers the timing if you're turning 65 and not working.
Frequently asked questions
Do I have to sign up for Medicare at 65 if I'm still working?
Not always. If your or your spouse's employer has 20 or more employees and you're covered through current employment, you can usually delay Part B without a penalty. With fewer than 20 employees, Medicare generally pays first, so you may need Part A and Part B.
Does COBRA count as employer coverage for Medicare?
No. COBRA isn't coverage from current employment. Your 8-month window to sign up for Part B starts when the job ends, even if you take COBRA.
When should I stop contributing to my HSA?
Medicare suggests making your last HSA contribution the month before your Part A coverage starts. Because Part A can be backdated up to 6 months when you sign up after 65, you may need to stop up to 6 months before you apply.
Related Medicare guides
Talk with a licensed agent
Health Shield is an independent insurance agency based in Newark, Ohio, licensed in 37 states. We help clients by phone and video in every state where we are licensed.
Call (740) 272-5655 · Mon–Fri, 9:00 AM – 6:00 PM ET · [email protected]
Dalton Alexander, licensed insurance agent · NPN 20315737
We do not offer every plan available in your area. Please contact Medicare.gov, 1-800-MEDICARE (TTY 711), or your local State Health Insurance Assistance Program (SHIP) for information on all of your options.
