Blog

Can I get Medicare if my school district job never paid into Social Security?

How Medicare-only government employment counts toward Medicare, when Part A is premium-free, what Social Security offsets did and do not do, and what to ask.

Usually yes. Many public employees, including teachers, whose jobs never paid Social Security tax did pay the Medicare tax, and that tax counts toward Medicare eligibility. Medicare and Social Security are separate programs with separate taxes and separate work-credit records, even though one agency, the Social Security Administration (SSA), enrolls you in both. This post explains how Medicare-only government employment works, how the credits add up, what premium-free Part A depends on, and what the old Social Security offsets did. It is general information; the pension office and SSA hold your actual record.

Two taxes, two programs

Social Security's tax pays for retirement, disability and survivor benefits. Medicare's tax pays mainly for Part A, the hospital insurance program. Employers and employees each pay 1.45% of wages for Medicare, a combined 2.9%, and the two taxes are collected on separate lines of a pay stub in jobs that are covered by both.

Some state and local government jobs, in many school districts among them, were set up so the employer and employee did not pay Social Security tax and instead paid into a government pension. Whether a particular position was inside or outside Social Security was decided by the state and the employer's agreement with the federal government, and it varies by state, district and period of employment.

Medicare is different. In general, state and local government employees hired after the spring of 1986 pay the Medicare tax even if their job is outside Social Security; earlier hires depend on whether their position was covered. This arrangement is sometimes called Medicare-only, or Medicare Qualified Government Employment. If you were hired after that point, your wages almost certainly counted for Medicare. If you were hired earlier, your pension office or SSA can tell you.

How the credits count toward Part A

Premium-free Medicare Part A depends on having 40 work credits, often called quarters of coverage, which is about 10 years of work in jobs covered by Medicare. Credits are earned from wages on which Medicare tax was paid. Medicare-only government wages count toward those credits. A teacher with 15 years in a Medicare-only job has far more than 40 quarters' worth of potential credits, as long as the earnings met the yearly minimum for credits (SSA sets the amount each year, and you can see it on SSA's site).

Credits from different jobs add together. Here is a labeled hypothetical with round numbers. Say Maria worked 8 years in a Medicare-only school district job, which is 32 credits at the maximum of 4 per year (8 times 4). She also worked 3 years in a private-sector job covered by both Social Security and Medicare before teaching, which is another 12 credits. Her total is 44 (32 plus 12), which is at least 40. She would qualify for premium-free Part A on her own record, assuming each year earned the full 4 credits. If her private-sector years were fewer, say 1 year (4 credits), the total would be 36 (32 plus 4), and she would be short by 4.

If you are short of 40 credits

There are three common routes.

  1. Use a spouse's record. A person who does not have 40 credits can qualify for premium-free Part A on a current, former or deceased spouse's work record, if that spouse has enough credits and the marriage meets the length rules. The rules differ for current spouses, divorced spouses and widows or widowers, so ask SSA what applies. How many work credits do I need for premium-free Medicare Part A? works through spouse rules, and Can my spouse, ex-spouse or widow get Medicare if they never worked? covers the cases of a spouse, ex-spouse or widow.
  2. Keep earning credits. If a person continues to work in Medicare-covered jobs after leaving the school district, the credits keep adding up.
  3. Buy Part A. A person who does not qualify for premium-free Part A can buy it. For 2026, the monthly Part A premium is $311 for people with 30 to 39 credits and $565 for people with fewer than 30 (as announced by CMS on November 14, 2025). Buying Part A usually requires also enrolling in Part B, which has its own premium ($202.90 a month in 2026). The 2027 figures have not been announced as of November 2026.

Three hypothetical employees

These examples use invented round numbers, with each year earning the full 4 credits, to show how the pieces combine. They describe how the rules work, not what will happen to anyone's record.

Teacher A taught for 25 years in a Medicare-only district job and nothing else. Her credits are 25 times 4, or 100. She has far more than the 40 needed, so she qualifies for premium-free Part A on her own record. She has no Social Security retirement benefit from that job, so she has to apply for Medicare herself near 65, and she will pay the Part B premium by direct billing unless she has some other benefit to deduct it from.

Teacher B worked 6 years in a Medicare-only job, which is 24 credits, and spent most of her earlier career at home. Her husband has more than 40 credits from private-sector work, and they have been married for many years. She is short on her own record (24 is less than 40), but may qualify for premium-free Part A on her husband's record. She asks SSA to check, and she keeps a copy of the marriage record in case it is needed. If the marriage did not meet the length rules, she would have to buy Part A or earn more credits.

Teacher C worked 9 years in a Medicare-only job (36 credits). Without a spouse record, she is 4 credits short. One more year of Medicare-covered work would bring her to 40. If she does not wish to work another year, and she does not qualify through a spouse, buying Part A at the 30-to-39-credit rate is possible: $311 a month in 2026, which is $3,732 a year (311 times 12). Whether it is worth that cost is a personal decision. She would want to compare it with the alternative of working another year in a covered job, and she would ask SSA to confirm her credit count before deciding.

A timeline for the year before 65

  1. About 12 months before 65. Ask SSA for your earnings record and credit count. Ask your pension office whether your service was Medicare-covered and what its retiree plan does at 65.
  2. Six to nine months before. Read the retiree plan's materials. Find out whether it requires you to take Part B, and whether its drug coverage is creditable. Ask SSA how you will pay the Part B premium.
  3. Three months before your 65th birthday month. The Initial Enrollment Period opens. If you are not being enrolled automatically, apply for Medicare.
  4. The month you turn 65. If you apply before then, coverage can start on the first day of your birthday month, though if your birthday is on the first, Medicare starts a month earlier.
  5. Up to three months after. The window stays open, but coverage starts later if you wait.

The dates above follow the general Medicare rules. Your own coverage start date can depend on the month you apply, and SSA confirms it.

What if you are still working at 65 in a school job

Many school employees keep working past 65. If the district's group health plan is based on your current employment, and the district meets the size rule, you may be able to delay Part B and avoid the late penalty, then enroll during a Special Enrollment Period after the job or the coverage ends. Medicare.gov states the length of that period, and the district's benefits office can complete the form SSA uses to verify the coverage. Part A is different: if you qualify for premium-free Part A, it can start even while you delay Part B, and the benefits office can tell you whether that affects an HSA or other features of the district plan. medicare explained: who qualifies, what it covers and what it costs gives an overview of how the parts fit.

What the Social Security offsets did

Many people with a pension from a job outside Social Security have heard of two rules that reduced Social Security benefits: the Windfall Elimination Provision, which reduced a person's own retirement benefit, and the Government Pension Offset, which reduced spousal and survivor benefits. These rules concerned Social Security cash benefits. They did not take away Medicare eligibility, and they did not change how Medicare credits were counted.

The Social Security Fairness Act, signed in January 2025, repealed both rules, with changes applying to benefits for months after December 2023. Check with SSA on how that law applies to your benefits, since recalculations and who is affected vary by case. The question of how your pension relates to Social Security benefits is separate from whether you can get Medicare.

Premium-free Part A is not the same as Part B

Even if Part A is premium-free, Medicare Part B has a monthly premium. Medicare-only workers who also have a government pension may have no Social Security check from which the Part B premium can be deducted, so SSA may bill the premium directly instead. That affects how you budget for the premium, and the hold-harmless protection against premium increases applies mainly to people who have the premium deducted from Social Security benefits.

The standard Part B premium is $202.90 a month in 2026, and a projection of $209.50 for 2027 is in the Trustees' report, but the official number has not been announced as of November 2026. People with higher incomes may pay more through IRMAA, and the late penalty can apply if a person does not enroll when first eligible.

How to enroll if you are not receiving Social Security

A person receiving Social Security benefits at 65 is usually enrolled in Medicare automatically. A person who has a pension but no Social Security benefit has to sign up, usually through SSA. The rule of thumb for timing is the Initial Enrollment Period, the seven months from three months before the month you turn 65 to three months after it (Medicare Initial Enrollment Period: your seven-month window). Enrolling during that window avoids a late penalty.

A government employee who continues to work after 65 and is covered by a group health plan through the job may be able to delay Part B without a penalty. That depends on the employer's size and whether the coverage is based on current employment, so ask the benefits office. A retiree plan from a school district is a different matter, as health plans for teachers and public employees: how they differ and My former employer offers retiree coverage, so do I still need Part B? discuss.

Questions to ask your pension office

  • Was my position covered by Medicare, and from what date?
  • Does the retiree health plan require me to enroll in Part B, or does it coordinate with Medicare in some other way?
  • Will the plan send me a notice about whether its drug coverage is creditable?
  • Who pays first, Medicare or the retiree plan?
  • Is there a premium subsidy for retirees, and does it change when I join Medicare?

Questions to ask Social Security

  • How many Medicare credits does my record show, and which years do they come from?
  • Do I qualify for premium-free Part A on my own record, or on a spouse's?
  • How will I pay the Part B premium, and what are the options?
  • Do I need to apply, or is enrollment automatic in my case?
  • How does the repeal of the offset rules affect any Social Security benefit I might receive?

Write down the date and name of the person you spoke with. If a conversation with an agency gives you conflicting answers, a State Health Insurance Assistance Program counselor (SHIP) can help sort it out, free of charge.

Key takeaways

  • Medicare tax paid in a Medicare-only government job counts toward Medicare eligibility even if the job never paid Social Security tax.
  • Premium-free Part A generally needs 40 credits, which can be earned across several jobs or can come from a spouse's record; if you fall short, Part A can be bought.
  • The old Social Security offsets concerned Social Security benefits, not Medicare eligibility, and the Social Security Fairness Act of January 2025 repealed them.
  • Part B is not premium-free, and if you receive no Social Security check, the premium may be billed to you directly.
  • Ask your pension office whether your job was Medicare-covered and how the retiree plan works with Medicare, and ask SSA to check your credit record.

Terms used in this guide

Related guides

Latest on this topic