Almost every U.S. worker owes Medicare tax on every dollar of wages, but a handful of narrow groups are exempt: certain students working for their school, nonresident aliens on specific visas, some family employees, low-paid household and election workers, foreign government and international organization employees, a shrinking cohort of pre-1986 state and local government hires, and members of recognized religious sects who formally waive future benefits. Understanding who is exempt from Medicare tax matters because the exemptions are strict, each has documentation requirements, and claiming one without meeting every condition creates a tax debt the IRS will pursue.
The default rule is broad. The Medicare portion of FICA is 1.45% from the employee and 1.45% from the employer on all wages, with no income ceiling, and self-employed workers pay the combined 2.9% themselves through SECA.1Internal Revenue Service. Topic No. 751, Social Security and Medicare Withholding Rates2Internal Revenue Service. Self-Employment Tax (Social Security and Medicare Taxes) Everything below is an exception to that rule.
Students Working for Their School
A student employed by the same school, college, or university where they are enrolled and regularly attending classes is exempt from Medicare tax on those wages. The work has to be incidental to the education, not a career position held by someone who happens to take a class or two.3Internal Revenue Service. Student Exception to FICA Tax
The exemption also reaches students working for certain nonprofit organizations organized and operated exclusively for the benefit of the school under Section 509(a)(3), as long as the student is enrolled and regularly attending classes at the affiliated institution.4Internal Revenue Service. Student FICA Exception
Graduate teaching and research assistants can qualify, but the summer break tightens things. Under IRS guidance, a student who works during a break longer than five weeks loses the exemption for that period unless they remain enrolled at least half-time. For most graduate programs that means at least six credit hours, and dissertation or thesis research can count toward the threshold. Grad students working through the summer without adequate enrollment will see Medicare tax appear on those paychecks.
Nonresident Aliens on Certain Visas
Foreign nationals temporarily present in the United States on F-1, J-1, or M-1 student visas are exempt from Medicare tax while they remain nonresident aliens for tax purposes, provided their work is authorized under the visa. J-1 and Q-visa holders admitted for teaching, training, or cultural exchange also fall under the exemption.5Internal Revenue Service. Foreign Student Liability for Social Security and Medicare Taxes
The exemption expires by its own terms. Foreign students on F-1, J-1, or M-1 visas who have been in the U.S. for more than five calendar years generally become resident aliens under the substantial presence test, and once that happens the FICA exemption ends. Derivative visa statuses like F-2, J-2, and M-2 held by spouses and children never qualified in the first place.5Internal Revenue Service. Foreign Student Liability for Social Security and Medicare Taxes
H-2A Agricultural Workers
Foreign agricultural workers admitted on H-2A visas get a broader version. Wages for services connected to the H-2A visa are exempt from Social Security and Medicare taxes regardless of whether the worker is a resident or nonresident alien, and the employer should report no amount in Box 5 (Medicare wages) of the W-2.6Internal Revenue Service. Foreign Agricultural Workers on H-2A Visas
Workers Covered by a Totalization Agreement
The United States has bilateral Social Security agreements, called totalization agreements, with 30 countries including Canada, the United Kingdom, Germany, Japan, Australia, and South Korea. They prevent double taxation into both countries’ systems.7Internal Revenue Service. Totalization Agreements
A foreign worker sent to the U.S. by a foreign employer for five years or less generally stays covered by the home country’s system and is exempt from U.S. Medicare tax. The worker needs a Certificate of Coverage from the home country’s Social Security agency and must present it to the U.S. employer. Workers hired directly by a U.S.-based employer, or assigned to the U.S. for more than five years, typically pay into the U.S. system.8Social Security Administration. International Programs – U.S. International Social Security Agreements
Household Employees and Election Workers Under the Dollar Thresholds
Two kinds of low-wage work have annual pay thresholds below which Medicare tax simply does not apply. Cross the threshold and the entire year’s pay becomes taxable from the first dollar, not just the amount above the line.
For household employees (a housekeeper, nanny, or caretaker in your private home), the 2026 threshold is $3,000 in cash wages. Pay less than that in the calendar year and none of it is subject to Social Security or Medicare tax.9Internal Revenue Service. Publication 926 (2026), Household Employer’s Tax Guide
For election officials and poll workers, the 2026 threshold is $2,500. Some states have Section 218 Agreements with the Social Security Administration that set a lower threshold, and in those states FICA applies at the state’s threshold even if the federal amount has not been reached.10Social Security Administration. Employment Coverage Thresholds11Social Security Administration. Election Officials and Election Workers
Family Members Working in a Family Business
A child under 18 who works for a parent’s sole proprietorship, or for a partnership in which every partner is the child’s parent, is exempt from Social Security and Medicare taxes. For domestic work in a parent’s private home, the age cutoff runs to 21. Both exemptions disappear if the business is a corporation or if the partnership includes anyone other than the child’s parents.12Internal Revenue Service. Family Employees
Spouses get no similar break. Wages paid by one spouse to another are fully subject to income tax withholding, Social Security, and Medicare, the same as any other employee.13Internal Revenue Service. Tax Treatment for Family Members Working in the Family Business
Government and International Organization Employees
Pre-1986 State and Local Government Workers
A narrow, grandfathered exemption covers certain state and local government employees hired before April 1, 1986, and continuously employed since. The employee must also have been a member of a public retirement system that did not require Medicare contributions at the time. Anyone hired after March 31, 1986, is subject to Medicare tax. The exemption is gradually disappearing as the original cohort retires.
Foreign Government and International Organization Employees
Workers employed by a foreign government within the United States are exempt from FICA. The exemption reaches diplomatic officers, consular staff, and other employees or nondiplomatic representatives of a foreign government. Employees of international organizations designated under the International Organizations Immunities Act are also exempt. In both cases the exemption covers only wages from the foreign government or international organization itself, not side income from any U.S. employer.14Office of the Law Revision Counsel. 26 U.S.C. 3121 – Definitions
Railroad Employees Are Not Really Exempt
Workers covered under the Railroad Retirement Tax Act (RRTA) do not pay standard FICA, but this is a replacement rather than an exemption. Railroad employees pay a Tier I tax that mirrors FICA at the same 1.45% Medicare rate on all earnings, with the same Additional Medicare Tax above the same thresholds. The system is separate, administered by the Railroad Retirement Board, but the Medicare bill is identical.15GovInfo. Railroad Retirement and Unemployment Insurance Taxes in 202616Internal Revenue Service. Railroad Retirement Tax Act (RRTA) Desk Guide
Members of a Qualifying Religious Sect
Federal law provides an exemption for individuals whose religious beliefs prohibit participation in public insurance programs. It is real, but the cost is permanent: you give up all future Social Security and Medicare benefits based on your earnings.
Self-Employed Applicants
A self-employed person who is a member of a recognized religious sect conscientiously opposed to accepting insurance benefits (including Social Security and Medicare) can apply for exemption from the full SECA tax. The sect must have existed continuously since December 31, 1950, and must have an established practice of providing for its dependent members with food, shelter, and medical care.17Office of the Law Revision Counsel. 26 U.S.C. 1402 – Definitions
The applicant files IRS Form 4029 and signs a waiver surrendering all rights to Social Security payments and Medicare benefits under Titles II and XVIII of the Social Security Act. The form’s language is blunt: no benefits of any kind will be paid based on the applicant’s wages and self-employment income, and no benefits will be paid to anyone else based on that record either. The waiver covers earnings before and during the exemption period. If the person leaves the religious group, they must notify the IRS within 60 days.18Internal Revenue Service. Form 4029, Application for Exemption From Social Security and Medicare Taxes and Waiver of Benefits
Employer and Employee Both in the Sect
A separate and more restrictive exemption under Section 3127 applies when both the employer (or every partner in a partnership) and the employee are members of the same qualifying religious sect. Both must individually file and receive approval of Form 4029, and both must waive all benefits. When approved, the employer is exempt from the employer portion of FICA and the employee is exempt from the employee portion. The effective date is the first day of the first quarter after the quarter in which Form 4029 is filed.19Office of the Law Revision Counsel. 26 U.S.C. 3127 – Exemption for Employers and Their Employees Where Both Are Members of Religious Faiths Opposed to Participation in Social Security Act Programs
Under this arrangement the employee’s wages are then treated as self-employment income, so the individual must calculate and pay SECA tax when filing the annual return, unless the individual also qualifies for the self-employed religious exemption above.
What You Lose Permanently
Signing Form 4029 waives Medicare Part A coverage (hospital insurance), Social Security retirement benefits, Social Security disability benefits, and survivor benefits for dependents. At 45 and healthy the waiver can feel abstract. At 65 it means no free Medicare Part A and privately purchased health coverage for the rest of your life. The waiver cannot be undone while you remain a member of the qualifying sect.
How to Claim the Exemption
For employment-based exemptions like the student exception, nonresident alien status, or family employment, the employee provides documentation to the employer, who then codes the payroll system to stop withholding Medicare tax and reports the correct treatment on the W-2. Students should be prepared to show proof of enrollment; nonresident aliens may need to show visa status and time in the U.S.
For the religious exemption, the IRS must approve Form 4029 before the exemption is valid. You cannot stop paying and sort it out later. Submit the form, wait for approval, and attach a copy of the approved form to your annual Form 1040.17Office of the Law Revision Counsel. 26 U.S.C. 1402 – Definitions
For workers exempt under a totalization agreement, the process starts overseas. You or your employer obtain a Certificate of Coverage from the Social Security agency in the home country and present it to the U.S. employer. Requests should include the worker’s name, date of birth, citizenship, both countries’ Social Security numbers, and the start and end dates of the U.S. assignment.8Social Security Administration. International Programs – U.S. International Social Security Agreements
Getting a Refund When Medicare Tax Was Withheld in Error
If Medicare tax was withheld from wages you should have been exempt from, ask your employer for the refund first. Most payroll errors are corrected this way without involving the IRS.
If the employer cannot or will not refund the tax, file Form 843 (Claim for Refund and Request for Abatement) with the IRS. Attach a statement from your employer explaining how much, if any, has been reimbursed. If you cannot get a statement, include the same information to the best of your knowledge along with an explanation of why the employer’s statement is unavailable, and include a copy of your W-2 as proof of the amount withheld.20Internal Revenue Service. Instructions for Form 843 (12/2024)
Nonresident aliens seeking a refund of erroneously withheld FICA should also file Form 8316 (Information Regarding Request for Refund of Social Security Tax) alongside Form 843, with supporting documentation of visa status.5Internal Revenue Service. Foreign Student Liability for Social Security and Medicare Taxes