When to sign up for Medicare

In short: Most people should sign up for Medicare during the 7 months around their 65th birthday. If you already get Social Security at least 4 months before 65, you are enrolled automatically. If you or your spouse are still working and covered by that job's group health plan, you can usually wait and sign up later without a penalty. Retiree coverage and COBRA do not count as working coverage, so if that is all you have, sign up at 65. If you use a health savings account, stop contributions 6 months before you sign up.

Why timing matters

Signing up late can cost you twice. First, you may have a gap with no coverage while you wait for the next window. Second, you may owe a Part B late penalty that lasts for as long as you have Part B. Getting the timing right at 65 avoids both.

The questions below sort out which situation you are in.

Back to the page menu

1. Do you already get Social Security or railroad retirement benefits?

Medicare.gov's sign-up page says that if you start getting Social Security benefits at least 4 months before you turn 65, you get Part A and Part B automatically. Your welcome package and Medicare card arrive about 3 months before coverage starts. You can keep Part B or turn it down, but turning it down without other qualifying coverage can lead to a penalty later.

Started benefits closer to 65 than that? Part A is still automatic, and the Part B choice was on your benefits application.

If you are not getting benefits yet, you have to sign up yourself, online at Social Security's website or through your local Social Security office. For railroad retirement, the number is 1-877-772-5772.

Back to the page menu

2. Are you or your spouse still working, with that employer's health plan?

This is the main reason people can wait. Medicare.gov's page on working past 65 says that if you have group health coverage through current work, yours or your spouse's, you get an 8-month Special Enrollment Period to sign up once the job or the coverage ends. During that window, there is no Part B penalty.

Before you decide to wait, ask the employer's benefits office how its plan works with Medicare. Medicare.gov's sign-up tool asks whether the employer has 20 or more employees, so have that answer ready too.

See Medicare special enrollment periods after leaving work for the full rules.

Back to the page menu

3. Is your coverage retiree insurance or COBRA?

Here people often get caught. Retiree plans and COBRA are not coverage from current employment. Medicare.gov says COBRA does not extend your time to sign up, and the end of COBRA or a retiree plan is not one of the events that opens a special window.

If either is all you have at 65, sign up during your Initial Enrollment Period. If you are still in your Special Enrollment Period after leaving work, Medicare.gov's advice is not to wait for COBRA to end before you sign up for Part B.

Back to the page menu

4. Do you use a health savings account?

You cannot keep putting money into an HSA once you have Medicare. Medicare.gov's page on working past 65 advises that both you and your employer end contributions half a year before retirement, which keeps you clear of a tax penalty. The reason is that Part A can be backdated by up to 6 months when you sign up.

Back to the page menu

5. Should you take Part A even if you wait on Part B?

If you qualify for Part A without a premium, Medicare.gov says you can sign up for it at 65 or any time later. Many working people take premium-free Part A at 65 and wait on Part B. If you have an HSA, read point 4 first.

Back to the page menu

6. Did you miss your window?

Without a special window, the fallback is the General Enrollment Period each winter, from January 1 through March 31. Coverage begins the month after you apply, and a late penalty may be added.

Back to the page menu

A quick guide

Your situation When to sign up
Getting Social Security 4+ months before 65 Automatic; watch for your card
Not yet getting benefits, no job coverage During the 7 months around 65
Working with employer group coverage (you or spouse) Can wait; sign up within 8 months after it ends
Retiree coverage or COBRA only During the 7 months around 65
Missed your window January 1 to March 31

Back to the page menu

Drug coverage

Part D has its own penalty. Medicare.gov says you will not owe it as long as you do not go more than 63 days without creditable drug coverage. Ask your employer or retiree plan for its notice saying whether its drug coverage is creditable.

Back to the page menu

An example

These details are made up. A 64-year-old engineer plans to keep working until 67. His company has 500 employees and covers him and his wife. He signs up for premium-free Part A at 65, stops his HSA contributions 6 months before he retires, and signs up for Part B a month before his last day at work. Because he had coverage from current work the whole time, he owes no penalty.

Back to the page menu

Next steps

Back to the page menu

Check what you may qualify for

Sources

Page last reviewed: 2026-12-05 · Next check: 2027-01-05