Licensed in 40+ states · Independent · BBB Accredited A+ Call or text (773) 657-9140 · Mon–Fri 9am–6pm · Sat–Sun 9am–1pm CT

Blog / Medicare / part B

Working past 65 and Medicare: the 20-employee rule, the 8-month Part B window, and HSAs

Whether you can wait on Medicare depends on your employer's size and where your coverage comes from. Use the calculator to see your 8-month window, drug-plan deadline and HSA stop date.

The short answer

If your coverage comes from your own or your spouse's current job and the employer has 20 or more employees, you can usually delay Part B without a penalty and sign up within 8 months after the job or coverage ends. With fewer than 20 employees, Medicare pays first, so most people should enroll in Parts A and B at 65.

  • Employer size: 20 or more employees means the group plan pays first; fewer than 20 means Medicare pays first.
  • Window: 8 months to sign up for Part B after the job or coverage ends, whichever comes first. COBRA does not extend it.
  • Penalty: 10 percent of the Part B premium for each full 12 months you went without it, for as long as you have Part B.
  • HSA: Part A reaches back up to 6 months when you enroll after 65, so stop HSA contributions about 6 months before you apply.

Applies to people 65 and older who have group health coverage through their own or a spouse's current job. People on Medicare because of a disability follow a 100-employee threshold instead.

Do you have to sign up for Medicare at 65 if you’re still working?

Not always. If your health coverage comes from your own or your spouse’s current job, and that employer has 20 or more employees, you can usually delay Part B without a penalty. If the employer has fewer than 20 employees, Medicare generally pays first, and most people should enroll in Parts A and B at 65.

The deciding question is not your age. It is where your coverage comes from, how big the employer is, and whether you put money into a Health Savings Account. The four questions below walk you through it.

Interactive

Should you delay Part B? Answer 4 questions

Who pays first, your employer plan or Medicare?

For people 65 and older, the employer’s size decides who pays first. With 20 or more employees, the group plan pays first and Medicare pays second. With fewer than 20, Medicare pays first and the group plan only fills in after it.

That order matters because a secondary plan expects Medicare to pay its share. If you skip Part B while working for a small employer, the plan can pay as if Medicare had paid, and you may be left with the bill Medicare would have covered. Always ask the plan, in writing, how it coordinates with Medicare.

Your situation at 65 Who pays first Can you delay Part B without a penalty?
Coverage from your job, employer has 20+ employees Employer plan Usually yes
Coverage from your spouse’s job, employer has 20+ employees Employer plan Usually yes
Coverage from a job, employer has fewer than 20 employees Medicare Allowed, but the plan may pay little without Part B
COBRA, retiree coverage, severance or a Marketplace plan Medicare No

People under 65 who get Medicare because of a disability follow a different threshold: the employer plan pays first only if the employer has 100 or more employees.

Which coverage does not let you delay Part B?

Only coverage based on current employment protects you from the Part B late penalty. COBRA, retiree plans, severance coverage and Marketplace plans do not count, even though they look like the same insurance card.

This is the most expensive mistake we see. Your 8-month window to sign up starts when you stop working or when the group coverage ends, whichever happens first. It does not wait for COBRA to run out. If you ride COBRA for 18 months and then apply, you have missed the window and may owe a penalty for life.

Should you take Part A while you’re still working?

For most people, yes. Part A usually has no monthly premium if you or your spouse worked 10 years, and it can pay second to your employer plan for a hospital stay. If you already collect Social Security, you are enrolled in Part A automatically at 65.

The exception is a Health Savings Account. Once you are enrolled in any part of Medicare, you and your employer must stop contributing to an HSA. And when you sign up after 65, Part A starts up to 6 months before the month you apply, but not before the month you turned 65. Contributions made during those backdated months become excess contributions, so stop them about 6 months before you plan to apply. You can keep using money already in the account for qualified medical costs, including Part B and Part D premiums. Our HSA and Medicare guide covers the 6-month rule, your last-year contribution limit and what your HSA can pay for after 65.

How do you delay Part B without paying a penalty later?

You decline Part B while you have job-based coverage, then sign up within 8 months after the job or the coverage ends. During that window you use a Special Enrollment Period, and no late penalty applies.

To use it, you file two forms with Social Security: form CMS-40B to apply for Part B, and form CMS-L564, which your employer completes to show you had group coverage. If your employer is gone or won’t sign, Social Security accepts other proof, such as W-2s, pay stubs, health plan cards or explanation of benefits statements. You can ask for Part B to start the month after your coverage ends, so there is no gap.

If you miss the window, the penalty is 10 percent of the Part B premium for each full 12-month period you could have had Part B but did not, and it lasts as long as you have Part B. On the 2026 standard premium of $202.90 a month, two missed years add about $40.58 a month. Since 2023, Medicare also offers extra Special Enrollment Periods for exceptional situations, including when an employer or plan gave you wrong information about your coverage.

Calculator

Your Medicare dates if you work past 65

What about your prescription drug coverage?

You can delay Part D without a penalty as long as your employer’s drug coverage is “creditable,” meaning it is expected to pay at least as much as standard Part D. Your plan sends a notice each year that says whether it is.

When the employer coverage ends, you have 2 months to join a Part D plan or a Medicare Advantage plan with drug coverage, and you should not go more than 63 days in a row without creditable drug coverage. After that, the Part D penalty is 1 percent of the national base premium for each month you went without, which is $41.33 in 2027. Our Part D page and guide to choosing a 2027 Part D plan cover the plan choice itself.

How do you protect your Medigap open enrollment?

Delaying Part B also delays your Medigap open enrollment. That 6-month window starts the month you are both 65 and enrolled in Part B, and during it any company must sell you any Medigap plan it offers, with no health questions.

That makes the timing of Part B worth planning around. If you enroll in Part B while you are still covered at work, the Medigap clock starts even though you do not need a Medigap plan yet. Many people wait and start Part B when the employer coverage ends. Some states add extra protections, so check Medigap rules in your state, and read how Medicare Advantage and Medigap compare before you choose.

Is your employer plan or Medicare the better deal?

It depends on your premium share, your deductible and how you use care. Many people keep the employer plan by habit, but once you add up premiums and out-of-pocket costs, Medicare with a Medigap plan and a Part D plan is sometimes lower, especially when the employer plan has a high deductible.

Higher earners should add one more cost. If your 2024 income was above $109,000 (single) or $218,000 (married filing jointly), you pay an income-related amount on top of the 2026 Part B and Part D premiums. See the 2026 IRMAA brackets, or run your numbers in our IRMAA calculator. Enter your own numbers below to compare.

Cost comparison

Employer plan vs Medicare: which costs less for you?

What should you do in the 90 days before you stop working?

Work backward from the date your job or coverage ends. Most problems come from starting too late, not from the forms themselves.

Your 90-day checklist

  1. Confirm your last day of work and the last day your employer coverage runs, in writing.
  2. If you have an HSA, stop contributions about 6 months before you apply for Medicare, including your employer’s deposits.
  3. Ask HR to complete form CMS-L564, then file it with form CMS-40B and request a Part B start date of the month after coverage ends.
  4. Compare Medigap, Medicare Advantage and Part D options, and line up drug coverage so there is no gap longer than 63 days.
  5. Keep copies of everything: the forms, your creditable coverage notice and proof of your employer coverage.

If you are also deciding when to start benefits, see how Medicare works with Social Security and our turning 65 enrollment checklist.

What if you’re the employer?

If you have 20 or more employees, Medicare Secondary Payer rules require your group plan to treat workers 65 and older the same as younger workers, and you cannot offer incentives for them to drop the group plan and use Medicare instead.

Smaller employers have more room, and a reimbursement arrangement can help. A QSEHRA can reimburse an employee’s Medicare premiums, and an ICHRA can too when the employee has Medicare Parts A and B or a Medicare Advantage plan, subject to Medicare Secondary Payer limits for larger employers. See how ICHRA and QSEHRA compare, and confirm the tax treatment with your CPA.

Questions people ask

Can I keep contributing to my HSA after I turn 65?

Yes, as long as you are not enrolled in any part of Medicare and you are still on an HSA-eligible plan. Once Part A or Part B starts, contributions from you and your employer must stop. Because Part A can start up to 6 months before you apply, stop contributions about 6 months ahead.

How far back does Part A go when I sign up late?

Up to 6 months before the month you apply, but never earlier than the month you turned 65. This matters mainly for HSA contributions, which the IRS treats as excess for any backdated Medicare months.

Does COBRA count as employer coverage for Medicare?

No. COBRA is not coverage from current employment, so it does not let you delay Part B. Your 8-month Special Enrollment Period starts when the job ends, not when COBRA ends.

My company has fewer than 20 employees. What should I do at 65?

Ask the plan in writing how it pays once you turn 65. In most cases Medicare becomes the primary payer, so the group plan pays little without Part B. Most people in this situation sign up for Parts A and B during their Initial Enrollment Period.

What happens if I miss the 8-month window?

You can sign up during the General Enrollment Period, January 1 to March 31, with coverage starting the month after you apply. You may owe a 10 percent penalty for each full 12 months without Part B, and you could have a gap in coverage.

My employer won't sign form CMS-L564. What can I do?

Social Security accepts other proof of group coverage, such as W-2s, pay stubs, health plan cards or explanation of benefits statements. Submit them with form CMS-40B and keep copies.

Can I stay on my spouse's employer plan after I get Medicare?

Usually yes, if the plan allows it and your spouse is still working for an employer with 20 or more employees. The group plan then pays first. When your spouse stops working, your 8-month Part B window starts.

Is my employer's drug coverage creditable?

Your plan must tell you each year, usually in a notice sent before October 15. If it is creditable, you can delay Part D without a penalty. Keep the notice as proof in case you need it later.

Can I drop my employer plan and use Medicare instead?

You can, and sometimes it costs less. Compare premiums, deductibles, drug coverage and whether your spouse depends on your plan before you decide. Once you leave the group plan, you may not be able to rejoin until the next open enrollment.

Can my employer pay my Medicare premiums?

Some small employers can reimburse Medicare premiums through a QSEHRA or an ICHRA. Employers with 20 or more employees face Medicare Secondary Payer limits. The details depend on the arrangement, so confirm with the employer's benefits advisor.

Do I need to tell Medicare I'm still working?

You don't need to report it if you decline Part B. When you later sign up, you prove your employer coverage with form CMS-L564 or other documents. If you already have Medicare, the plans coordinate who pays first.

Should I sign up for Medicare Advantage while I'm still working?

Only if you drop the employer plan or it tells you to. Most people keep the group plan until the coverage ends, then have 2 months to join a Medicare Advantage or Part D plan without a penalty.

Sources

  1. Medicare.gov, Working past 65, accessed September 26, 2026
  2. IRS, Publication 969: Health Savings Accounts and Other Tax-Favored Health Plans, accessed September 26, 2026
  3. CMS, 2026 Medicare Parts A and B Premiums and Deductibles, November 14, 2025
  4. Social Security Administration, Form CMS-L564: Request for Employment Information, accessed September 26, 2026

Still working at 65 and not sure whether to wait?

Tell us your employer size, your plan and your last day of work, and a licensed advisor will map your deadlines and compare costs within one business day. No obligation.

Get my Medicare datesCall or text (773) 657-9140

Smart Insurance Agents LLC is an independent, licensed insurance agency and is not connected with or endorsed by the U.S. government or the federal Medicare program. We do not offer every plan available in your area. Please contact Medicare.gov, 1-800-MEDICARE, or your local State Health Insurance Assistance Program for information on all of your options. Content is for general information and is not a guarantee of coverage or rates; figures are subject to change by CMS and carriers.