Are Teachers’ Government Wages Medicare Qualified?

Teaching wages for state and local government employees are Medicare-qualified in almost every case if you were hired after March 31, 1986. Federal law requires Medicare tax withholding from those paychecks, and every year of that work builds credits toward premium-free Part A at 65. If you were hired before that date, the answer depends on whether your employer opted into coverage through a Section 218 agreement or whether you’ve stayed in continuous employment under a public retirement system since then.

The Post-1986 Rule

Under 26 U.S.C. § 3121(u), all state and local government employees are subject to Medicare’s Hospital Insurance tax unless a specific exception applies.1Office of the Law Revision Counsel. 26 USC 3121 Definitions If you took your first public teaching job on or after April 1, 1986, your paycheck has had Medicare tax withheld from the start. Those wages count toward the 40 credits (roughly 10 years of work) needed for premium-free Part A. In 2026, one credit is earned for every $1,890 in Medicare-taxed wages, with a maximum of four credits per year.2Social Security Administration. 2026 Cost-of-Living Adjustment (COLA) Fact Sheet

The exceptions written into the statute cover narrow situations like temporary emergency workers, some election officials, and certain student employees of District of Columbia hospitals.1Office of the Law Revision Counsel. 26 USC 3121 Definitions None of them describes a classroom teacher.

Teachers Hired Before April 1, 1986

The statute carves out a continuing-employment exception. A teacher who was performing regular service for the same employer before April 1, 1986, was a bona fide employee on March 31, 1986, and has kept that employment relationship unbroken since then is not required to have Medicare tax withheld.1Office of the Law Revision Counsel. 26 USC 3121 Definitions Very few teachers still meet that description in 2026, because it takes nearly 40 years of unbroken service with the same employer to get there, but some veteran educators nearing retirement do.

Even before the 1986 mandate, many states and local governments voluntarily brought their employees under Social Security and Medicare through Section 218 agreements, which are contracts between a state and the Social Security Administration. Coverage under those agreements required a referendum among the affected employees. Some states used a majority-vote process where a yes vote by the majority covered everyone. Others used a divided-vote process where only employees who personally voted yes were covered, while those who voted no remained exempt as long as they stayed in the same retirement system.3Social Security Administration. Section 218 Agreements

That history is why two teachers at the same school, both hired before 1986, can end up with different Medicare coverage. One may have voted yes in a divided referendum and built up credits. The other may have voted no and have zero Medicare-qualified wages from teaching.

Medicare-Only States

In roughly 15 states, public school teachers pay Medicare tax but not Social Security tax, because they participate in a state pension system instead of Social Security. This is common in California, Texas, Ohio, Illinois, and Massachusetts, among others. Those wages are still Medicare-qualified. Ten years of Medicare-only teaching earnings fully qualify you for premium-free Part A at 65, the same as any other worker who paid Medicare tax. What you won’t get from those wages is a Social Security retirement benefit; your state pension is designed to replace it.

How to Check Your Own Status

Look at your W-2. Box 5 shows wages subject to Medicare tax, and Box 6 shows the Medicare tax withheld.4Internal Revenue Service. W-2, Wage and Tax Statement If both boxes carry dollar amounts, your wages are Medicare-qualified. Blank or zero in those boxes means no Medicare tax is being withheld. Pay stubs should show the same deduction each pay period.

For the full picture, pull your Social Security Statement. It lists your earnings history and accumulated credits.5Social Security Administration. Review Record of Earnings You can view it online through your my Social Security account or request a paper copy using Form SSA-7004.6Social Security Administration. Request for Social Security Statement Do this well before retirement. Fixing a years-old withholding error is harder than catching it while you’re still working. Teachers within five to ten years of retirement should verify their credit count and address gaps now.

What Happens If You Don’t Have Enough Credits

Teachers whose wages weren’t Medicare-qualified, or who didn’t work long enough in covered jobs, can still get Part A by paying a monthly premium. The 2026 amounts:7Centers for Medicare & Medicaid Services. 2026 Medicare Parts A and B Premiums and Deductibles

  • 40 or more credits: $0 (premium-free)
  • 30 to 39 credits: $311 per month
  • Fewer than 30 credits: $565 per month

Part B, which covers doctors and outpatient care, has its own premium regardless of work history. The standard Part B premium in 2026 is $202.90 per month, and the Part A inpatient hospital deductible is $1,736 per benefit period.7Centers for Medicare & Medicaid Services. 2026 Medicare Parts A and B Premiums and Deductibles A teacher paying the full Part A premium plus Part B would owe $767.90 a month before using any care.

There are two ways around a shortfall. A spouse’s record can qualify you: if your current or former spouse has 40 or more Medicare-covered credits, you can get premium-free Part A at 65 even if none of your teaching wages were covered.8HHS.gov. Who’s Eligible for Medicare? Prior jobs count too. A teacher who worked seven years in a covered private-sector position before switching to public education needs only three more years of Medicare-covered wages to reach 40 credits.

Enrollment Timing for Teachers Who Work Past 65

Many teachers stay in the classroom past 65 under their district’s group health plan. If that’s you, you don’t have to enroll in Medicare at 65. When the employer coverage or employment ends, whichever comes first, an eight-month Special Enrollment Period opens for Part B without a late penalty.

Two things catch teachers off guard. Retiree health insurance and COBRA do not count as coverage from current employment. Retiring at 66 and living on COBRA for 18 months means the Special Enrollment Period will expire before the COBRA does, and you’ll owe the Part B late penalty. The penalty is 10% of the premium for every full 12-month period you could have had Part B but didn’t, and it stays attached to your premium for as long as you have Medicare.9Medicare. Avoid Late Enrollment Penalties The Initial Enrollment Period itself runs seven months: the three months before the month you turn 65, the birthday month, and the three months after.10Medicare. When Can I Sign Up for Medicare?

What the Social Security Fairness Act Did and Didn’t Change

The Social Security Fairness Act, signed on January 5, 2025, repealed the Windfall Elimination Provision and the Government Pension Offset retroactive to benefits payable from January 2024. Teachers affected by those rules should see restored Social Security benefits, and spousal or survivor benefits are no longer reduced because of a government pension. The SSA began adjusting monthly payments in February 2025.11Social Security Administration. Social Security Fairness Act: Windfall Elimination Provision (WEP) and Government Pension Offset (GPO) Update

Neither provision ever changed whether your wages were Medicare-qualified. If you paid Medicare tax, you earned credits either way. What the repeal does affect is how Part B premiums get paid. Teachers whose Social Security benefits had been reduced to zero by the WEP were paying Medicare Part B directly. With those benefits restored, the premium can now be deducted from the monthly Social Security payment. If you’ve been paying CMS directly and are now receiving a Social Security benefit, call the SSA to confirm the deduction is set up correctly.