What Do You Need to Qualify for Medicare?

Most people qualify for Medicare by turning 65 and having enough work history paying into the system, but age is not the only path. Younger adults with long-term disabilities, end-stage renal disease, or ALS can also qualify, each through a different set of rules and timelines. The details matter more than most people expect, because small gaps in eligibility or enrollment timing can leave you without coverage or paying higher premiums for years.

The Standard Path at Age 65

The most common way to qualify for Medicare is straightforward: turn 65 and have accumulated at least 40 “quarters of coverage” through payroll taxes. A quarter of coverage is earned by working and paying Medicare taxes during a calendar quarter, and most people need about ten years of work to hit the 40-quarter threshold. If you meet that requirement, you qualify for premium-free Medicare Part A, which covers hospital stays, skilled nursing, and hospice care. You do not need to be retired. You do not need to be collecting Social Security. You simply need to have turned 65 and paid into the system long enough.

Your spouse’s work history can count, too. If you did not work enough quarters yourself but your current or former spouse did, you can qualify for premium-free Part A on their record, as long as the marriage lasted at least ten years (relevant mainly for divorced spouses). This is one of the more overlooked paths to eligibility, particularly for people who spent years as stay-at-home parents or caregivers.

If you are 65 or older and have fewer than 40 quarters, you are not locked out entirely. You can still enroll in Part A, but you will pay a monthly premium for it. The amount depends on how many quarters you have: people with 30 to 39 quarters pay a reduced premium, while those with fewer than 30 pay the full rate. Either way, you must be a U.S. citizen or a legal permanent resident who has lived in the country continuously for at least five years.

Qualifying Before 65 Through Disability

Age 65 is the bright line for most Americans, but a sizable number of people qualify for Medicare well before that through the Social Security Disability Insurance program. If you have a physical or mental condition severe enough that you cannot work and the condition is expected to last at least 12 months or result in death, you can apply for SSDI. Once approved, you begin receiving disability payments, and after a mandatory waiting period, Medicare coverage kicks in.

The catch is the timeline. There is a five-month waiting period before SSDI payments even begin, and then a further 24-month waiting period after payments start before Medicare eligibility takes effect.1PubMed Central. Evaluating Access to Care for Medicare Beneficiaries 50-64 That means, from the point of disability onset, a person could wait roughly 29 months before gaining Medicare coverage. During those two years of collecting SSDI but not yet having Medicare, many disabled individuals are left in a difficult gap where they may have no insurance at all or are relying on patchwork coverage.

Research has documented the consequences of this waiting period in stark terms. People with disabilities who are stuck in the 24-month gap tend to be sicker and poorer by the time their Medicare coverage finally arrives, in part because they delay or forgo medical care they cannot afford during the interim.2PubMed Central. Sicker and Poorer: The Consequences of Being Uninsured for People With Disability During the Medicare Waiting Period Some manage to bridge the gap with COBRA continuation coverage, marketplace plans, Medicaid, or a spouse’s employer plan, but none of those options are guaranteed or affordable for everyone. The waiting period has been a recurring target of policy criticism for decades, yet it remains in place.

When the Waiting Period Does Not Apply

Two medical conditions bypass the 24-month waiting period entirely. People diagnosed with amyotrophic lateral sclerosis (commonly known as ALS or Lou Gehrig’s disease) receive Medicare coverage as soon as their SSDI payments begin, with no additional wait.1PubMed Central. Evaluating Access to Care for Medicare Beneficiaries 50-64 Congress carved out this exception because ALS progresses rapidly and is ultimately fatal; making someone with ALS wait two years for coverage would mean many never receive it at all.

End-stage renal disease, or permanent kidney failure requiring dialysis or a transplant, is the other condition that triggers immediate Medicare eligibility. This exception has been in place since 1972, making it one of the oldest disease-specific entitlements in the Medicare system. Coverage generally begins in the first month of dialysis in certain circumstances, or in the month a transplant is performed, though the exact start date depends on whether you are receiving home dialysis or in-center treatment and when you apply.

Qualifying for Medicare through ESRD does require some connection to the Social Security system. A person with permanent kidney failure is entitled to Medicare if they are fully or currently insured under Social Security, or if they are the spouse or dependent of someone who is insured.3PubMed Central. Medicare’s End Stage Renal Disease Program That coverage is not quite universal: roughly 92 percent of all people with ESRD meet the criteria and qualify.3PubMed Central. Medicare’s End Stage Renal Disease Program The remaining fraction typically includes recent immigrants who have not yet built up enough work credits and certain other people without ties to a qualifying worker’s record.

Citizenship, Legal Residency, and Who Gets Left Out

Medicare eligibility is tied to lawful presence in the United States. To qualify, you must be either a U.S. citizen or a lawful permanent resident (green card holder) who has been continuously residing in the country for at least five years. People who are undocumented, those on temporary visas, and green card holders who have not yet met the five-year residency requirement are generally not eligible, regardless of age or medical condition.

This residency requirement creates a noticeable gap in coverage at the population level. A study examining non-enrollment among adults aged 65 and older found that about 11.2 percent of people aged 65 to 66 nationwide were not enrolled in Medicare, and citizenship status was one of the strongest factors driving that gap.4PubMed Central. Non-Medicare Enrollees Aged 65 or Older: The Effects of Labor-Force Participation, Citizenship, and Age Among noncitizens, being in the labor force was actually associated with higher Medicare enrollment, likely because employer-sponsored pathways and ongoing payroll-tax contributions facilitated access. Among U.S. citizens in that same age band, the opposite was true: those still working were more likely to delay Medicare enrollment, presumably because they had employer coverage and saw no rush.4PubMed Central. Non-Medicare Enrollees Aged 65 or Older: The Effects of Labor-Force Participation, Citizenship, and Age

This pattern reveals a practical wrinkle: some people who technically qualify for Medicare choose not to enroll because they already have coverage through a job. That decision is perfectly fine during active employment with creditable coverage, but it can backfire if you retire later and miss the enrollment window, triggering late-enrollment penalties that last for years.

Enrollment Windows and Late Penalties

Qualifying for Medicare and actually enrolling in it are two separate steps, and the timing matters. Your Initial Enrollment Period is a seven-month window surrounding your 65th birthday: it starts three months before the month you turn 65 and ends three months after. If you miss that window and do not have other qualifying coverage (like an employer plan through active employment), you will have to wait for the General Enrollment Period, which runs from January 1 through March 31 each year, with coverage not starting until July.

The bigger consequence of missing your window is the late-enrollment penalty. For Part B, which covers doctor visits, outpatient care, and preventive services, the penalty is an additional 10 percent on your monthly premium for every full 12-month period you could have been enrolled but were not. That surcharge is permanent: it does not expire after a few years. It gets tacked onto your Part B premium for as long as you have Medicare. Part A has its own late-enrollment penalty for people who must pay premiums (those without 40 quarters of coverage), adding 10 percent to the Part A premium for twice the number of years they delayed.

There is a Special Enrollment Period for people who delayed because they had group health coverage through their own or a spouse’s current employer. If that describes you, you get an eight-month window after the employment or coverage ends (whichever comes first) to enroll without penalty. COBRA and marketplace plans do not count as employer coverage for this purpose, which trips up a surprising number of people.

What Medicare Parts You Actually Get

When people ask what they need to qualify for Medicare, they often picture a single program. In practice, Medicare has distinct parts, each with its own enrollment rules and costs. Understanding which parts you automatically receive and which require separate sign-up matters for avoiding gaps in coverage.

Part A covers inpatient hospital care, skilled nursing facility stays, hospice, and some home health services. If you qualify through the standard 40-quarter path, Part A is premium-free and you are enrolled automatically when you turn 65 if you are already receiving Social Security benefits. If you are not yet collecting Social Security, you need to actively sign up.

Part B covers outpatient care, doctor visits, preventive screenings, durable medical equipment, and many other services. It comes with a monthly premium that adjusts based on your income. You are not required to take Part B, but declining it when you do not have other creditable coverage starts the late-penalty clock described above.

Part D covers prescription drugs and is offered through private insurance plans. Like Part B, it carries a monthly premium and a late-enrollment penalty if you go without creditable drug coverage and sign up later. The penalty is calculated differently: it is 1 percent of the national base premium multiplied by the number of months you lacked coverage, added permanently to your monthly premium.

Medicare Advantage (Part C) is an alternative way to receive your Part A and Part B benefits through a private plan, often bundled with drug coverage and extras like dental or vision. Eligibility for Medicare Advantage is the same as for original Medicare: you must be enrolled in Parts A and B and live in the plan’s service area.

Medicare in U.S. Territories

People living in U.S. territories like Puerto Rico, Guam, the U.S. Virgin Islands, American Samoa, and the Northern Mariana Islands are generally eligible for Medicare under the same age and work-history rules as residents of the 50 states. Residents of these territories pay Medicare payroll taxes just like workers on the mainland. However, the program does not function identically across all jurisdictions.

Puerto Rico offers the most studied example. More than 65 percent of people living on the island receive health care through Medicaid or Medicare, yet federal funding for both programs in U.S. territories faces restrictions that do not exist on the mainland.5JAMA Health Forum. Medicare Advantage Financing and Quality in Puerto Rico vs the 50 US States and Washington, DC For instance, residents of Puerto Rico do not receive the Medicare Part D low-income subsidy, a benefit that helps mainland residents with limited income afford prescription drugs.5JAMA Health Forum. Medicare Advantage Financing and Quality in Puerto Rico vs the 50 US States and Washington, DC They also do not receive Supplemental Security Income, which mainland residents can use to bridge gaps in coverage and living expenses. The result is that qualifying for Medicare in a territory gets you in the door, but the benefits you actually receive can differ from what you would get living in any of the 50 states or Washington, D.C.

This disparity is a long-running point of contention. Territory residents pay into the Medicare system through the same payroll taxes but receive fewer benefits in return. If you are approaching 65 and living in a U.S. territory, the basic eligibility criteria are the same, but the practical value of your coverage may differ in ways that catch people off guard, particularly around prescription drug assistance.

Common Situations That Confuse Eligibility

A few scenarios come up repeatedly where people misunderstand whether they qualify or what they need to do.

  • Still working at 65: You qualify for Medicare at 65 regardless of employment status. You do not have to retire to enroll. If your employer has 20 or more employees, your employer plan typically pays first and Medicare pays second, so many people in this situation enroll in Part A (which is free) and delay Part B without penalty, then pick up Part B when they leave the job.
  • Younger spouse of a Medicare enrollee: You cannot get Medicare through your spouse’s enrollment if you are under 65 and do not independently qualify through disability, ESRD, or ALS. A 60-year-old married to a 67-year-old Medicare enrollee has no Medicare eligibility of their own.
  • Self-employed workers: Self-employment counts toward your work-credit requirement as long as you paid self-employment taxes (which include Medicare taxes). There is no separate rule for freelancers, gig workers, or small business owners. The credits accumulate the same way.
  • Government employees: Federal employees hired after March 31, 1986, pay Medicare taxes and earn credits normally. Some state and local government employees hired before that date may not have paid into Medicare, which means they might not qualify for premium-free Part A. If that applies to you, check your earnings record through the Social Security Administration well before you turn 65.
  • People on Medicaid: Being on Medicaid does not prevent you from also qualifying for Medicare. Many people are “dual eligible,” enrolled in both programs simultaneously. When this happens, Medicare is generally the primary payer and Medicaid fills in the gaps, covering premiums, copays, and benefits Medicare does not include. Dual eligibility is common among disabled individuals who gain Medicare after the 24-month waiting period but were on Medicaid during the gap.

Checking Your Own Eligibility

If you are unsure whether you have enough work credits, the Social Security Administration provides an online statement through its website where you can see your earnings history and how many quarters of coverage you have accumulated. You can also see your estimated benefit amounts and confirm whether you are on track for premium-free Part A. Reviewing this a year or two before you turn 65 gives you time to address any surprises, like discovering a past employer failed to report wages correctly or realizing you are a few quarters short.

For people with disabilities applying through SSDI, the process starts with a Social Security disability application. Approval rates on initial applications are historically low, and many applicants succeed only on appeal. If you are navigating this path, the 24-month Medicare waiting period does not start until your SSDI payments begin, not from the date you first apply or the date your disability started. Planning ahead for coverage during the gap is worth doing early, because the wait can stretch well beyond 29 months if your initial application is denied and you go through the appeals process.6PubMed Central. Transitioning to Medicare before age sixty-five

For ESRD, your nephrologist or dialysis center typically initiates the Medicare enrollment process. There is a specific form (CMS-2728) that your doctor fills out to establish that you have permanent kidney failure. The enrollment is handled somewhat differently than the standard process, and the start date of coverage depends on the type of dialysis and whether you have applied in a timely manner. If you are a kidney transplant candidate, your coverage can also begin in the month of the transplant itself, even if you have not been on dialysis.

When Medicare Eligibility Ends

For most people, Medicare is permanent once it begins. If you qualified at 65, you stay enrolled for life as long as you continue to pay any applicable premiums. Disability-based enrollees keep Medicare as long as they continue to meet the disability criteria. If Social Security determines that your condition has improved enough for you to return to work, your SSDI benefits and Medicare can be terminated, though there are extended eligibility periods designed to ease the transition. Specifically, there is a trial work period and an extended period of eligibility during which you can test your ability to work without immediately losing coverage.

ESRD-based Medicare has its own termination rules. If you receive a successful kidney transplant and no longer need dialysis, your Medicare coverage generally continues for 36 months after the transplant. After that, coverage ends unless you independently qualify through age or disability. This has been a source of real hardship for transplant recipients who need ongoing immunosuppressive medications to keep their transplanted kidney functioning. Congress extended coverage for immunosuppressive drugs indefinitely starting in 2023, but full Medicare coverage still expires at the 36-month mark for those who do not otherwise qualify.