Subscribe free
GoldSilverBitcoinGold/silver ratio

Do you need Medicare if you have employer insurance?

Who pays first, when it is safe to delay Part B, what to do about Part A and an HSA, and how to switch when the job ends.

By Diversify Guy, editorial desk9 min read

This page carries no ads and no affiliate links. How we get paid

In this article 9 sections
  1. The test: coverage from current employment
  2. Who pays first: the 20-employee line
  3. Should you take Part A while you are still working?
  4. What about drug coverage?
  5. A worked example: working to 66
  6. When the job ends: switching to Medicare
  7. Where to get free help
  8. About this guide
  9. Sources and check dates

Key points

  • If you or your spouse are still working and covered by that job’s group health plan, you can usually delay Part B without a penalty and sign up within 8 months of the job or the coverage ending.
  • Employer size decides who pays first. With 20 or more employees, the employer plan generally pays first. With fewer than 20, Medicare pays first, and without Part B the employer plan might not cover the costs.
  • Part A is usually premium-free, and you can take it at 65 while you keep working. If you contribute to a health savings account, Part A (including up to 6 months of backdating) ends your ability to contribute.
  • Only coverage from current work counts. COBRA, retiree coverage, Marketplace plans and severance coverage do not let you wait.

The short answer to “do I need Medicare if I have employer insurance?” is: not always right away, but check two things before you decide: where the coverage comes from, and how big the employer is. This guide goes through them. It is part of our Medicare guide.

The test: coverage from current employment

Medicare lets you delay Part B without a penalty if you are covered by a group health plan because you or your spouse are currently working. Federal rules say the coverage must be by reason of the current employment status of you or your spouse.

While that is true, you can sign up for Part A and Part B any time. When the job or the coverage ends, whichever comes first, you have 8 months to sign up. Social Security puts it this way: within 8 months of the day you or your spouse stop working, even if your group health plan continues for a time. Sign up in that window and you usually pay no late penalty, and the months you spent on the employer plan do not count toward one later.

Two edge cases:

  • Self-employed, or coverage not offered to everyone at the company. Medicare says to ask the insurer whether your coverage is employer group health plan coverage as the IRS defines it. If it is not, sign up for Medicare at 65 to avoid the Part B penalty.
  • Medicare before 65 because of a disability. Here the coverage must come from a large group health plan, generally an employer with at least 100 employees.

Who pays first: the 20-employee line

When you have Medicare and employer coverage, one pays first (primary) and the other pays second (secondary). At 65 or older, with coverage from your own or your spouse’s current job:

Employer sizeWho pays firstWhat it means for Part B
20 or more employees (or under 20 but in a multi-employer group where at least one employer has 20 or more)The group health plan generally pays first, Medicare secondThe employer plan pays first, so delaying Part B can work. Ask the plan whether it expects you to have Part B
Fewer than 20 employeesMedicare pays first, the group health plan secondYou will likely need Part B before the employer plan pays. Without it, much of the bill may be yours

The secondary payer only pays costs the primary payer did not cover, and it might not pay all of them. Employers with 20 or more employees must offer workers 65 and older the same health benefits on the same terms as younger workers, and if they cover spouses, the same coverage to spouses 65 and older as to younger spouses.

The plan rules vary, so ask the employer or the plan whether you need Part A and Part B at 65. Medicare’s own warning: if you do not sign up, your job-based insurance might not cover the costs for services you get.

Should you take Part A while you are still working?

Most people pay no Part A premium, because they or their spouse paid Medicare taxes long enough, usually 10 years of work. For them, taking Part A at 65 adds no premium, and Part A can pay hospital costs alongside the employer plan.

The exception is a health savings account. You cannot contribute to an HSA once you have Medicare. The IRS sets your contribution limit at zero from the first month of Medicare, including months of backdated coverage. And Part A backdates: when you sign up after 65, it starts up to 6 months before the month you sign up, but no earlier than the first month you were eligible. Contributions for backdated months are excess contributions, which generally owe a 6% excise tax for each year they stay in the account. Medicare.gov says you and your employer should stop contributing 6 months before you retire or apply for Social Security benefits, and Social Security’s Medicare booklet says to stop at least 6 months before you apply for Medicare, because Part A can start up to 6 months back. You can still spend the money already in the account.

If you already get Social Security or Railroad Retirement Board benefits when you turn 65, Part A and Part B start automatically (you can turn down Part B before it starts). Applying for those benefits after 65 also starts Part A, backdated up to 6 months, so the HSA question and the claiming question are linked.

What about drug coverage?

If your employer plan’s drug coverage is creditable, meaning expected to pay on average at least as much as standard Part D, you can wait to join a Medicare drug plan without a penalty. Your plan tells you each year whether its drug coverage is creditable. Keep those notices. When the job ends, do not go 63 days or more without creditable coverage.

Do not join a Medicare drug plan or a Medicare Advantage plan without checking first. If you have employer or union coverage, joining a Medicare plan could make you lose that coverage, for you and your dependents. If you turn down employer coverage, you might not get another chance; if you drop it later you may not be able to get it back.

A worked example: working to 66

Hypothetical. Someone born on March 10, 1962 turns 65 in March 2027. Their Initial Enrollment Period runs from December 2026 to June 2027. They keep working at a company with well over 20 employees and stay on its plan. They retire, and the employer coverage ends, on September 30, 2028.

  • During the Initial Enrollment Period: they take premium-free Part A only if they are not contributing to an HSA. Otherwise they wait.
  • When the coverage ends: their Special Enrollment Period runs through May 31, 2029. They sign up for Part B in October 2028, with no penalty, because July 2027 to September 2028 was coverage from current work. Signing up in September instead, about a month before the coverage ends as Medicare suggests, can help avoid a gap in October.
  • The HSA: applying for Medicare in October 2028 backdates premium-free Part A to April 1, 2028. Contributions for April to September 2028 would be excess, so March 2028 is the last month they can contribute for. A September application would move both dates a month earlier.
  • Without the employer coverage: there would be no work-based Special Enrollment Period, so Part B would have to wait for the General Enrollment Period (January 1 to March 31). For sign-ups since January 1, 2023, the penalty counts the months after the Initial Enrollment Period through the month you sign up. A January 2029 sign-up would count 19 months, 1 full 12-month period: a 10% Part B penalty for as long as they have Part B, with Part B starting February 1, 2029.

The 10% would apply to the standard premium, which was $202.90 a month in 2026. CMS had not published 2027 or later Part B amounts when we checked on November 4, 2026.

When the job ends: switching to Medicare

  1. Pick a start date. Medicare suggests signing up about a month before the employer coverage ends, because coverage generally starts the month after you sign up.
  2. Apply through Social Security. If you already have Part A, you can apply online during the Special Enrollment Period, or fax or mail Form CMS-40B with Form CMS-L564 (Request for Employment Information). On CMS-L564 you fill in Section A and your employer fills in Section B, as proof your coverage came from current work. You can also call Social Security at 1-800-772-1213 (TTY 1-800-325-0778).
  3. Do not count on COBRA or retiree coverage to buy time. Neither counts as coverage from current work. The 8 months run from the end of the job-based coverage whether or not you take COBRA, and retiree coverage may not pay for your health services if you do not have both Part A and Part B. See COBRA and Medicare.
  4. Tell Medicare. When group health coverage ends or you retire, call 1-800-MEDICARE so its records show the right payer.
  5. Watch the Medigap clock. Your federal Medigap Open Enrollment Period is the 6 months that start the first month you have Part B and are 65 or older. Outside it, an insurer may not have to sell you a policy, or may charge more because of your health, unless you have a “guaranteed issue right” or your state gives you more. See Medigap vs Medicare Advantage.

For the timeline at 65, see our guide on when to apply for Medicare. For what happens if a window is missed, see the Medicare late enrollment penalty.

Where to get free help

State Health Insurance Assistance Programs (SHIPs) give free, personalized Medicare counseling and are not connected to any insurance company or plan. Find yours at shiphelp.org or through 1-800-MEDICARE (1-800-633-4227, TTY 1-877-486-2048), which is open 24 hours a day, 7 days a week. Your employer’s benefits office can tell you how its plan works with Medicare.

About this guide

Written by the Diversify Guy editorial desk. Diversify Guy is a pen name. It is the byline of our editorial team, not a single individual. We do not publish personal trading records or claim to be your adviser. We tell you where every figure came from so you can check it yourself. How we work and how we get paid.

This guide explains federal Medicare rules; some states add their own rules for Medigap and other coverage. It is not personalized insurance, tax, legal or financial advice. Diversify Guy earns affiliate commissions and advertising fees from companies featured elsewhere on the site. This page carries no ads and no affiliate links.

Sources and check dates

All sources checked on November 4, 2026.

About this byline

Diversify Guy is the pen name of our editorial desk, not a person. We do not claim a personal investment track record, we are not advisers, and every claim about a company comes from a source you can check. Who writes this

Spotted an error? Tell us. We fix pages in place and say what changed.

First published Nov 21, 2026

The Fine Print

Plain-English notes on your 401(k), IRA and Social Security.

By subscribing, you agree to get emails from Diversify Guy, including sponsored messages. Unsubscribe anytime. You also agree to our Terms of use, which include an arbitration agreement, and our Privacy policy.