The 40 qualifying quarters rule for immigrants sets the U.S. work-history threshold that a lawful permanent resident must cross to qualify for federal means-tested benefits, receive premium-free Medicare Part A at 65, and end a sponsor’s financial responsibility under Form I-864. A quarter is a Social Security work credit, and in 2026 you earn one for every $1,890 in covered wages, capped at four credits per year.1Social Security Administration. Quarter of Coverage The math sets a floor of ten years to reach 40 on your own work alone. The rule comes out of the 1996 welfare reform law, and each program that uses it applies it a little differently.
What Counts as a Qualifying Quarter
Credits come only from “covered” earnings, meaning work where Social Security taxes are withheld from your paycheck or paid through self-employment tax on your annual return.2Internal Revenue Service. Topic No. 751, Social Security and Medicare Withholding Rates Earning at least $7,560 in 2026 gets you the full four credits for the year, and the dollar threshold rises each year with the national average wage index.
Some jobs don’t produce credits at all. Certain federal, state, and local government positions run on separate pension systems that don’t pay into Social Security, so those years are non-covered and won’t build your quarter count.3Social Security Administration. How Non-Covered Earnings Affect Your Social Security Benefits Work performed abroad under another country’s social insurance system is generally non-covered as well. Immigrants who spent years in public-sector work expecting to build credits sometimes discover the record is blank.
Foreign Work and Totalization
The United States has social security totalization agreements with 30 countries, including Canada, the United Kingdom, Germany, Japan, South Korea, and Australia. If you split a career between the U.S. and one of these countries, credits from both can be combined to qualify for Social Security retirement, disability, or survivor benefits, provided you have at least six quarters of U.S. coverage on your own.4Social Security Administration. U.S. International Social Security Agreements Benefits paid this way are prorated by the share of your career in each country.
One caution. Totalization agreements are written for Social Security benefits. Whether combined foreign credits also satisfy the 40-quarter threshold for immigrant eligibility under welfare law is a separate question, because the immigration statutes reference quarters “as defined under title II of the Social Security Act” without addressing totalization directly. If you are relying on foreign work to reach 40 quarters for benefit eligibility rather than for retirement, ask both the SSA and the benefit agency in writing before you count on it.
What 40 Quarters Actually Unlocks
The 1996 law barred most LPRs from federal means-tested programs but carved out an exception for those with 40 qualifying quarters. The exception works differently in each program.
SSI Still Has a Separate Five-Year Wait
Supplemental Security Income is the trap. An LPR who entered on or after August 22, 1996, must satisfy two requirements: 40 qualifying quarters and a five-year wait from the date of entry or grant of LPR status.5Social Security Administration. Spotlight on SSI Benefits for Noncitizens Reaching 40 quarters does not skip the wait.6Congress.gov. Noncitizen Eligibility for Supplemental Security Income Applicants often assume ten years of work is enough on its own, and it isn’t.
SNAP and Medicaid
SNAP is more generous. An LPR with 40 qualifying quarters is eligible without any separate waiting period.7Office of the Law Revision Counsel. 8 U.S.C. 1612 – Limited Eligibility of Qualified Aliens for Certain Federal Programs LPRs who haven’t reached 40 quarters may still qualify through age, disability, or five-year residence exceptions.
Medicaid usually imposes a five-year bar on LPRs, but reaching 40 qualifying quarters exempts you from that wait under the same statute. Because states run Medicaid, some cover immigrants using state funds during the five-year period regardless of quarters, so eligibility depends on where you live.
Medicare Part A Premiums
The threshold also decides what you pay for Medicare hospital coverage at 65. With 40 or more quarters, yours or a spouse’s, Part A is premium-free.8Medicare.gov. What Does Medicare Cost? Fall short and the 2026 premiums are steep:
- 30 to 39 quarters: $311 per month
- Fewer than 30 quarters: $565 per month
Those figures are per person, and the top rate runs close to $6,800 a year.9Centers for Medicare and Medicaid Services. 2026 Medicare Parts A and B Premiums and Deductibles The difference between 39 and 40 quarters can be worth thousands every year for the rest of your life.
The End of Sponsor Deeming
Form I-864, the Affidavit of Support a family-based sponsor signs, is an enforceable contract. It doesn’t end at green card issuance or on divorce. It ends only when one of five things happens: the immigrant naturalizes, earns 40 qualifying quarters, loses LPR status, dies, or the sponsor dies.10U.S. Citizenship and Immigration Services. Form I-864 Instructions for Affidavit of Support Under Section 213A of the INA
Until one of those triggers hits, the sponsor’s income and resources are “deemed” to the immigrant when applying for means-tested benefits, which usually disqualifies the immigrant or reduces the amount.11Office of the Law Revision Counsel. 8 U.S.C. 1631 – Federal Attribution of Sponsors Income and Resources to Alien Reaching 40 quarters ends deeming outright, which is often the most practical reason to track your count.
Who Doesn’t Need 40 Quarters at All
Several categories of immigrants are exempt from the work-history requirement and shouldn’t wait on a quarter count before applying:7Office of the Law Revision Counsel. 8 U.S.C. 1612 – Limited Eligibility of Qualified Aliens for Certain Federal Programs12Office of the Law Revision Counsel. 8 U.S.C. 1613 – Five-Year Limited Eligibility of Qualified Aliens for Federal Means-Tested Public Benefit
- Refugees and asylees, for seven years from admission or grant of asylum
- Honorably discharged veterans meeting minimum service requirements, active-duty service members, and their spouses and dependent children
- Cuban and Haitian entrants
- Amerasian immigrants admitted under the 1988 provisions
- American Indians born in Canada with Jay Treaty rights, and members of federally recognized tribes
- Citizens of the Federated States of Micronesia, the Republic of the Marshall Islands, and the Republic of Palau
The Rule That Erases Quarters
A quarter earned after December 31, 1996, in which you received a federal means-tested benefit does not count toward your 40.7Office of the Law Revision Counsel. 8 U.S.C. 1612 – Limited Eligibility of Qualified Aliens for Certain Federal Programs The same applies to any quarter you’re claiming from a spouse or parent who received benefits during that period.13Office of the Law Revision Counsel. 8 U.S.C. 1645 – Qualifying Quarters The benefits that trigger the disqualification are SSI, SNAP, TANF, Medicaid, and CHIP. Quarters earned before January 1, 1997, are safe regardless of benefits received in those years.
Borrowing Quarters From a Spouse or Parent
You don’t have to earn all 40 yourself. Federal law lets you count quarters worked by certain family members.13Office of the Law Revision Counsel. 8 U.S.C. 1645 – Qualifying Quarters
Spousal quarters count if they were earned during your marriage and the marriage is still intact or the spouse has died. Divorce or annulment cuts off any claim to a former spouse’s quarters. Parental quarters count if they were earned while you were under 18, whether the parent is biological or adoptive and whether the parent is still living.
The four-credits-per-year cap still applies. Overlapping work in the same calendar year doesn’t stack: if you and your spouse both earned four credits in 2023, you have four credits for 2023, not eight. Family crediting helps most for years when you didn’t work but a qualifying relative did. And the post-1996 means-tested benefit rule follows the credited quarters, so a spouse’s quarter from a year they received SNAP won’t count for you either.
Check Your Record Before You Need It
Your quarter count sits in the SSA earnings database, and it isn’t always right. Employers report earnings under wrong Social Security numbers, self-employment income sometimes fails to post, and gaps can go unnoticed for years.
Start with a free my Social Security account at SSA.gov. Your Social Security Statement shows year-by-year reported earnings and lets you spot missing periods.14Social Security Administration. Get Your Social Security Statement If earnings are missing, gather W-2s from the affected years or signed tax returns showing self-employment income and bring them to your local Social Security office. The SSA doesn’t promise a specific turnaround; corrections can take weeks or longer if the agency has to contact former employers.15Social Security Administration. How to Correct Your Social Security Earnings Record Start the process well before you actually need the corrected record. For an immigrant sitting at 39 quarters, a single corrected year can be the whole difference.