Life EventNovember 14, 2026·9 min read·By Jacob Posner, Founder & Editor

How to Sign Up for Medicare Online, Step by Step

To apply for Medicare, you sign up for Part A and Part B through Social Security: online, by phone or at an office. First, check whether you need to do anything at all.

Your first sign-up window lasts 7 months around the month you turn 65

It starts 3 months before the month you turn 65 and ends 3 months after that month. Example: you turn 65 in June 2027. Your window runs March 1 to September 30, 2027. Sign up by May 31 and coverage starts June 1. If your birthday is on the 1st of a month, the window and your start date are one month earlier.

Quick Answer: To apply for Medicare, you sign up through Social Security: online at ssa.gov, by phone at 1-800-772-1213, or at a local office. Some people do not need to apply at all. Find your situation. (1) You already get Social Security benefits, and they started at least 4 months before you turn 65: you are signed up for Part A and Part B automatically. (2) You do not get Social Security yet: you sign up yourself, in the 7 months around the month you turn 65. (3) You are still working at 65 and have a health plan through that job or your spouse's job: you can sign up for Part A only and wait on Part B, at any size employer. (4) You are past 65 and that job or its plan is ending: you sign up for Part B with two forms, within 8 months.

Find your situation first. It decides what you do next.

  • You already get Social Security or Railroad Retirement benefits. If they started at least 4 months before you turn 65, you get Part A and Part B automatically. Your welcome package with your Medicare card comes 3 months before your coverage starts. Part B has a monthly premium, so you can choose not to keep it. If you drop it without a plan from a current job (see the third situation), you may pay a late penalty when you sign up later.
  • You do not get Social Security yet. You must sign up yourself, in the 7-month window around the month you turn 65. Sign up before that month and coverage starts the month you turn 65. Sign up in that month or later and it starts the next month.
  • You are still working at 65 and have a health plan through that job, or your spouse's job. You can sign up for Part A only and wait on Part B until the job or the plan ends. This works at any size employer. If the employer has fewer than 20 employees, Medicare pays first, so ask the plan what it pays if you do not have Part B. COBRA and retiree plans do not count as a job's plan.
  • You are past 65 and leaving that job, or its plan is ending. You sign up for Part B with two forms, CMS-40B and CMS-L564. You have 8 months, starting the month after the job or the plan ends, whichever comes first. To avoid a gap, sign up the month before the job plan ends.

The steps below follow the order Social Security uses on its sign-up page. Social Security does not publish pictures of its online application, so each step is described the way ssa.gov and Medicare.gov describe it.

7 Steps to Get Coverage

  1. Find your sign-up window

    Your first window is the 7 months around the month you turn 65. If you have a plan from your own or your spouse's current job after 65, you can sign up for Part B any time while you still have it, or within 8 months after the job or the plan ends. If you miss both, the next chance is January 1 to March 31, and coverage starts the month after you sign up. See when to sign up for Medicare for dates by birthday month.

  2. Get your information ready

    To apply online, you need a my Social Security account. If you have had a job's health plan since 65, have the employer's name and the dates your coverage started and ended. If you put money into a Health Savings Account (HSA), stop at least 6 months before you apply. The full list is below, under "What to have ready before you start."

  3. Open Social Security's Medicare sign-up page

    Go to ssa.gov/medicare/sign-up. Choose "Apply for myself" or "Apply for someone else." Medicare.gov calls applying online at Social Security the easiest and fastest way. You can also call Social Security at 1-800-772-1213 (TTY 1-800-325-0778), Monday to Friday, 8 a.m. to 7 p.m. in most time zones, or make an appointment at an office. Railroad workers call the Railroad Retirement Board at 1-877-772-5772.

  4. Choose Part A and Part B, or Part A only

    If you are 65 or older, Social Security lets you sign up online for both parts or for Part A only. Choose Part A only if you have a health plan from your own or your spouse's current job and want to wait on Part B. COBRA and retiree plans do not count. If you apply by phone, tell the representative which one you want.

  5. Submit and check your status

    After you submit your application, you can check its status on ssa.gov. Keep any confirmation Social Security gives you.

  6. Watch for your Medicare card

    Medicare mails your welcome package with your Medicare card about 2 weeks after you sign up. It goes to the address Social Security has on file. You do not have to wait for the mail. Once you are signed up, you can log in to (or create) your secure account on Medicare.gov and print your official card. If the card does not come, you can also order a copy there, or call 1-800-MEDICARE (1-800-633-4227).

  7. Decide on drug coverage and other coverage

    Part A and Part B come from Social Security. Medicare Advantage plans, drug plans (Part D) and Medigap policies are separate. You review and join Medicare Advantage and drug plans on Medicare.gov. Two clocks start when you get Medicare: see "What happens after you sign up" below.

Compare Your Options

Available options
Your situationWhat you doWhenWhen coverage starts
Getting Social Security benefits at least 4 months before 65Nothing. You get Part A and Part B automaticallyYour card comes 3 months before coverage startsThe month you turn 65 (the month before, if your birthday is on the 1st)
Turning 65, not on Social Security yetSign up online, by phone or at an officeThe 7 months around the month you turn 65Sign up before your birthday month: that month. In it or later: the next month
Working at 65 with a plan from your own or your spouse's current jobSign up for Part A only, or both partsPart B any time while you still have the job planPart B usually starts the month after you sign up
Past 65, job or job plan endingSend forms CMS-40B and CMS-L564 for Part BWithin 8 months after the job or the plan ends, whichever is firstUsually the month after you sign up
Missed every windowSign up for Part B by phone, or with form CMS-40B if you already have Part AJanuary 1 to March 31The month after you sign up, usually with a late penalty

The standard Part B premium is $202.90 a month in 2026. The 2027 amount is not published yet. Coverage always starts on the first day of a month.

Source: SSA.gov (Medicare sign-up, when to sign up, Part B only); Medicare.gov (when coverage starts); CMS 2026 Part B premium fact sheet

Your Medicare window has exact dates, and a lifetime late penalty

Your opening and closing dates, computed from your birthday in about 60 seconds, with reminders before each one. Free, on our sister site BenefitsUSA.

Get my exact dates

Common Mistakes That Cost People Thousands

These mistakes cost people coverage or money. Each one is easy to avoid once you know it.

  • Treating COBRA or a retiree plan as a job's plan. They do not count. Your 8 months to add Part B start when you stop working, even if you choose COBRA.
  • Waiting until your birthday month to sign up. Coverage then starts the next month. Sign up in the 3 months before the month you turn 65 and coverage starts that month.
  • Putting money into an HSA after Medicare starts. Once you are enrolled in Medicare, even Part A only, you cannot add money to an HSA. Part A can start up to 6 months before the month you apply, so stop contributions at least 6 months ahead.
  • Missing the 8 months after a job plan ends. Then you wait for January 1 to March 31, and you may owe a Part B late penalty. If you do, you pay it for as long as you have Part B.
  • Not knowing that Part B starts your Medigap clock. Your one-time 6-month window to buy a Medigap policy starts when Part B starts, even if you still have a job's plan.
  • Going without drug coverage. If you go 63 days or more in a row without drug coverage that Medicare counts (called creditable coverage) after your first sign-up window ends, a Part D penalty is added to your premium.

The Part A only choice while you keep a job's plan

This is the choice people most often get wrong. If you have a health plan from your own or your spouse's current job, you can sign up for Part A only and wait on Part B. You generally will not pay a Part B late penalty, because you qualify for a Special Enrollment Period later. This is true at any size employer.

  • Check who pays first. If the employer has fewer than 20 employees, Medicare pays first. The job plan might not pay for your care if you do not have both Part A and Part B. Ask the plan before you decide. The risk is unpaid bills, not a penalty.
  • COBRA and retiree plans do not count. If that is all you have at 65, sign up for Part B in your first window.
  • HSA owners: Part A ends your contributions. Once you are enrolled in Medicare, your HSA contribution limit is zero. Money added during backdated Part A months counts as an excess contribution, with a 6% tax for each year it stays in the account. Medicare.gov says to stop contributions at least 6 months before you apply.
  • When the job or the plan ends, act within 8 months. To avoid a gap, sign up for Part B the month before the job plan ends. The forms and steps are in how to sign up for Medicare Part B when you retire after 65.

What to have ready before you start

Gather these before you apply. Each one comes from a Medicare.gov page or a Medicare form.

  • A my Social Security account. Medicare.gov says you need one to sign up online.
  • Your Social Security number. The Part B forms ask for it.
  • If you have had a job's health plan since 65: the employer's name and address, the dates your coverage started and ended, and the dates you worked there. Form CMS-L564 asks for these.
  • If you are leaving a job plan after 65: Form CMS-40B and Form CMS-L564. You fill out Section A of the L564 and the employer fills out Section B. If the employer cannot, fill in Section B as best you can, do not sign it, and send proof of the job plan. Proof can be W-2s that show pre-tax health premiums, pay stubs that show health premium deductions, or a health insurance card with a start date.

What happens after you sign up

Your welcome package with your Medicare card is mailed about 2 weeks after you sign up. If you were signed up automatically, it comes 3 months before your coverage starts. You need your Medicare Number to join a plan or buy a Medigap policy. You do not have to wait for the mail. Once you are signed up, you can log in to (or create) your secure account on Medicare.gov and print your official card.

Two clocks start when you get Medicare. Mark both on a calendar.

The two clocks that start with Medicare
ClockWhen it startsHow longIf you miss it
Medigap open enrollmentThe first month you are 65 or older and have Part B6 months, one time only. It does not repeatAn insurer can use your health to decide whether to sell you a policy, unless you have a guaranteed issue right
Drug coverage (Part D)When your first sign-up window startsJoin in your 7-month first window. If you have drug coverage from a job, join within 2 months after that job coverage endsA Part D late penalty if you go 63 days or more without creditable drug coverage

During Medigap open enrollment, an insurer cannot refuse to sell you a policy it offers or charge you more for health problems.

Source: Medicare.gov (Medigap: when to buy; joining a plan; when can I sign up); CMS Choosing a Medigap Policy (2026); Medicare.gov avoid penalties

Late penalties, in plain numbers

Neither penalty compounds. Each one is a set percent for the time you went without coverage.

  • Part B: 10% of the standard premium for each full 12 months you could have had Part B but did not. Medicare.gov's example: wait 2 full years and your 2026 premium is $243.50 a month instead of $202.90. Social Security says the penalty is typically for life.
  • Part D: 1% of the national base premium for each month without creditable drug coverage. That base is $38.99 in 2026 and $41.33 in 2027. Medicare.gov's 2026 example: 14 months without coverage adds $5.50 a month.
  • When there is usually no penalty: Generally, there is no Part B penalty if you qualify for a Special Enrollment Period or join a Medicare Savings Program. There is no Part D penalty if you had creditable drug coverage or you qualify for Extra Help.

More pages on signing up for Medicare

Each page below covers one part of signing up in more detail.

Frequently Asked Questions

How do I sign up for Medicare?

Signing up, enrolling and applying for Medicare all mean the same step. You sign up for Part A and Part B through Social Security. Apply online at ssa.gov/medicare/sign-up, call 1-800-772-1213, or go to a local Social Security office. If you already get Social Security benefits that started at least 4 months before you turn 65, you are signed up automatically and do not need to apply.

How do I apply for Medicare online?

Go to ssa.gov/medicare/sign-up and choose "Apply for myself" or "Apply for someone else." You need a my Social Security account. If you are 65 or older, you can sign up online for Part A and Part B, or for Part A only. After you submit, you can check the status of your application on ssa.gov.

Where do I sign up for Medicare?

Part A and Part B: through Social Security, online, by phone or at an office. Railroad workers sign up through the Railroad Retirement Board at 1-877-772-5772. Medicare Advantage plans and drug plans: on Medicare.gov, after you have Part A and Part B.

Am I signed up for Medicare automatically?

Yes, if you get Social Security or Railroad Retirement benefits that started at least 4 months before you turn 65. You get Part A and Part B, and your card comes 3 months before coverage starts. If you are not getting those benefits at 65, you must sign up yourself.

Can I sign up for Medicare by phone?

Yes. Call Social Security at 1-800-772-1213 (TTY 1-800-325-0778), Monday to Friday, 8 a.m. to 7 p.m. in most time zones. Help is available in English, Spanish and other languages. Tell the representative you want to sign up for Part A and Part B, or Part A only.

Should I sign up for Medicare if I am still working at 65?

Sign up for Part A if it is premium-free, unless you put money into an HSA. You can wait on Part B if you have a health plan from your own or your spouse's current job, at any size employer. If the employer has fewer than 20 employees, Medicare pays first, so the job plan might not pay without Part B. COBRA and retiree plans do not count as a job's plan.

When does my Medicare coverage start?

In your first window: sign up before the month you turn 65 and coverage starts that month. Sign up in that month or the 3 months after and it starts the next month. In the January to March window, coverage starts the month after you sign up. Coverage always starts on the first of a month.

How long does it take to get my Medicare card?

Medicare mails your welcome package with your card about 2 weeks after you sign up. If you were signed up automatically, it comes 3 months before your coverage starts. If it does not come, print or order an official copy from your secure account on Medicare.gov, or call 1-800-MEDICARE.

What is the Medicare application form?

Most people do not use a paper form. They apply online, by phone or at an office. Form CMS-40B is only for people who already have Part A and want to add Part B. If you are adding Part B after a job plan, you also send Form CMS-L564.

Do I have to sign up for drug coverage at the same time?

Not on the same application, but on time. Join a drug plan in your 7-month first window. If you have drug coverage from a job, join within 2 months after it ends. If you go 63 days or more without creditable drug coverage after your first sign-up window ends, a late penalty is added to your premium.

What if I missed my window to sign up?

You can sign up for Part B from January 1 to March 31. Coverage starts the month after you sign up. You will likely pay a late penalty of 10% for each full 12 months you could have had Part B. If you had a plan from a current job, check whether you are still within 8 months of the job or the plan ending.

You may qualify for free health insurance.

Our 2-minute screener checks Medicaid, ACA, Medicare, CHIP, and more. Most uninsured Americans qualify for $0/month coverage they didn't know about.

Check what I qualify for — free

Sources & References

  1. 1. Social Security: Sign up for Medicare — Ways to sign up, Part A only option, phone hours, application status.
  2. 2. Social Security: When to sign up for Medicare — The three enrollment periods and when coverage starts in each.
  3. 3. Social Security: Sign up for Part B only — Part B after a job plan ends; forms CMS-40B and CMS-L564.
  4. 4. Medicare.gov: How do I sign up for Medicare? — Automatic enrollment, welcome package timing, ways to sign up.
  5. 5. Medicare.gov: When does Medicare coverage start? — Coverage start dates, the birthday-on-the-1st rule, the 8-month job-plan window, HSA timing.
  6. 6. Medicare.gov: When can I sign up for Medicare? — Working past 65, employers with fewer than 20 employees, COBRA, drug plan timing after a job plan.
  7. 7. Medicare.gov: Ready to sign up for Part A and Part B — Form CMS-L564 when the employer cannot fill it out, and accepted proof.
  8. 8. Medicare.gov: Your Medicare card — Printing or ordering an official copy of your card.
  9. 9. Medicare.gov: Avoid late enrollment penalties — Part B and Part D penalty rules and 2026 examples.
  10. 10. Medicare.gov: When can I buy Medigap? — The 6-month Medigap open enrollment period.
  11. 11. Medicare.gov: Joining a plan — When to join a Medicare drug plan.
  12. 12. CMS: Choosing a Medigap Policy (2026) — Medigap open enrollment protections.
  13. 13. CMS Form CMS-L564: Request for Employment Information — What Sections A and B ask for.
  14. 14. CMS Form CMS-40B: Request for Enrollment in Medicare Part B — Only for people who already have Part A.
  15. 15. CMS: 2026 Medicare Parts A and B Premiums and Deductibles — 2026 standard Part B premium of $202.90.
  16. 16. CMS: Medicare Part D 2027 bid information — 2027 Part D base beneficiary premium of $41.33.
  17. 17. IRS Publication 969 — HSA contributions end when Medicare starts; 6% tax on excess contributions.
Check Coverage
Check My Bill