Most American workers pay into Social Security — and through that payroll contribution, they earn the work credits that make SSDI (Social Security Disability Insurance) possible. But not every employer is required to participate. Some cities and local government employers operate outside the Social Security system entirely, which creates a situation that surprises many public employees: they may have spent decades working for a city and still be ineligible for SSDI based on that work.
Here's how that exemption works, why it exists, and what it means for workers caught in the middle.
Social Security coverage for government employees wasn't always mandatory. For decades, state and local governments — including cities, counties, and special districts — were allowed to choose whether to participate in Social Security. Many opted out, offering their own public pension systems instead.
In 1983, Congress passed legislation requiring that federal civilian employees hired after January 1, 1984 be covered under Social Security. But state and local governments were handled differently. Those that were already out of the system before 1984 were generally allowed to stay out — and many did.
That's the origin of the exemption. It isn't something cities actively apply for today. It's a grandfathered status rooted in historical decisions made before Social Security participation became the norm.
When a city doesn't participate in Social Security, it means:
SSDI eligibility depends on having paid into the Social Security system long enough and recently enough. The SSA measures this through work credits — you earn up to four per year, and SSDI generally requires between 20 and 40 credits depending on your age when you become disabled. If your only significant employment was with a non-covered city employer, you may not have those credits.
The formal mechanism that governs which state and local government employees are covered is called a Section 218 Agreement — named after Section 218 of the Social Security Act.
States enter into these agreements with the Social Security Administration on behalf of their political subdivisions, which include cities, counties, school districts, and other local entities. Coverage is negotiated group by group.
Some city employees are covered under a Section 218 Agreement. Others are explicitly excluded. And in some jurisdictions, no agreement exists at all.
| Situation | Social Security Covered? | SSDI Eligibility Based on That Work? |
|---|---|---|
| City has a Section 218 Agreement covering the worker | ✅ Yes | ✅ Yes, credits accumulate |
| City has a Section 218 Agreement, but worker's group is excluded | ❌ No | ❌ No credits from that job |
| City has no Section 218 Agreement | ❌ No | ❌ No credits from that job |
| Worker also has private-sector or other covered employment | Varies | Depends on total credits earned |
Cities that opt out of Social Security typically offer alternative retirement and disability benefits through public pension systems. Examples include state teacher retirement systems, municipal employee pension funds, and other defined-benefit plans.
These pensions may include disability provisions — but they operate under entirely different rules than SSDI. They're not administered by the SSA, don't follow SSA medical standards, and aren't connected to Medicare eligibility the way SSDI is.
This distinction matters because SSDI comes with Medicare coverage after a 24-month waiting period — a significant benefit that standalone pension disability plans don't automatically provide.
Even workers who do eventually qualify for Social Security — perhaps through a second job or prior private-sector work — may see their SSDI benefit reduced if they also receive a pension from non-covered government employment.
Two rules govern this:
Both rules exist because Social Security's benefit formula is designed to replace a higher percentage of income for lower earners — and a government pension from non-covered work can make a worker appear to be a low earner when they aren't.
Many people have worked both in covered and non-covered employment at different points in their careers. A worker might spend 15 years in private-sector jobs paying into Social Security, then move to city employment under a non-covered pension.
In that case:
The SSA uses a concept called the recent work test alongside the total credits test. Even if a worker accumulated enough credits overall, they generally need to have earned a portion of those credits within the 10 years immediately before becoming disabled. A long gap in covered employment — like a 20-year career with a non-covered city — can break that recency requirement.
The rules around city exemptions, Section 218 Agreements, WEP, and mixed work histories are complex but consistent — they apply the same way to everyone. What varies is how those rules interact with your specific earnings record, the timing of your work history, the disability onset date, and whether your city employer has a Section 218 Agreement or not.
Those details don't appear in general articles. They live in your Social Security earnings record and your employer's coverage status — and they're what ultimately determine whether a career with a non-covered city leaves you with a path to SSDI, or requires you to look elsewhere.
