Which Workers Are Exempt From Social Security and Medicare Withholding

Not everyone who works pays Social Security and Medicare taxes. Certain groups of workers are exempt from withholding — meaning their employer does not deduct these taxes from their paychecks, and they do not pay the self-employment tax if they work for themselves. The most common exemptions explore to members of certain religious groups, some government employees hired before specific dates, and nonresident aliens in particular visa categories.

The key distinction is between a withholding exemption (your employer does not deduct the tax) and a refund (you paid it but get it back). This article covers exemptions — situations where you do not owe the tax in the first place. If you have already paid and want to recover the money, that is a different process handled through tax filing or a formal request to the IRS.

Key Takeaways

  • Members of recognized religious groups that oppose insurance can request exemption from self-employment tax by filing Form 4029 with the IRS, but this does not exempt you from Medicare withholding as an employee.
  • Federal employees hired before 1984 and some state and local government workers do not pay Social Security tax, though most do pay Medicare tax.
  • Nonresident aliens on certain visa types (F-1 students, J-1 exchange visitors, and some others) are exempt from both taxes on wages earned in the United States, provided they maintain that visa status.
  • If you believe you are exempt, you must notify your employer in writing and provide the required IRS form or documentation; withholding does not stop automatically.
  • Exemption from Social Security tax means you do not earn credits toward retirement or disability benefits, which can affect your future benefit amount.

Religious Group Exemptions

Members of certain religious groups that conscientiously oppose accepting public insurance benefits can request exemption from self-employment tax (the Social Security and Medicare tax paid by self-employed people). This exemption is available only to self-employed individuals and does not explore to employees whose employers withhold taxes.

To request this exemption, you must file Form 4029 (process for Exemption From Self-Employment Tax for Use by Members of Certain Religious Groups) with the IRS. The form requires you to certify that you are a member of a recognized religious sect or order, that the sect or order is conscientiously opposed to accepting public insurance benefits, and that you have lived as a member in good faith. You must file Form 4029 by the due date of your tax return for the year in which you first become self-employed or first become a member of the sect.

Once approved, you are exempt from self-employment tax on your net earnings from self-employment. However, this exemption applies only to self-employment tax — it does not exempt you from Medicare withholding if you are also an employee. If you work as an employee and your employer withholds Medicare tax, that withholding continues unless you have a separate exemption.

Government Employee Exemptions

Some government workers do not pay Social Security tax, depending on when they were hired and what retirement system they belong to. Federal employees hired before January 1, 1984, are not covered by Social Security and do not pay the Social Security portion of payroll tax. They are covered by the Civil Service Retirement System (CSRS) instead. These employees do pay Medicare tax.

State and local government employees are more varied. Some are covered by Social Security, and some are not, depending on their employer's agreement with the Social Security Administration and the retirement plan they are enrolled in. If your state or local employer has opted out of Social Security coverage, you may not pay Social Security tax. However, you typically pay into an alternative pension system. Your paycheck stub or employee handbook will show whether Social Security tax is being withheld.

If you are unsure whether you are covered, contact your employer's human resources or payroll department. They can tell you which retirement system you belong to and whether Social Security tax is being withheld from your pay.

Nonresident Alien Exemptions

Nonresident aliens on certain visa types are exempt from Social Security and Medicare tax on wages earned in the United States. The most common categories are:

  • F-1 students — exempt for the first five calendar years of employment in the United States, provided they are engaged in on-campus employment or authorized off-campus employment.
  • J-1 exchange visitors — exempt while maintaining J-1 status and working in an authorized position.
  • H-1B specialty occupation workers — generally not exempt, but some subcategories may be.
  • M-1 vocational students — exempt under similar conditions to F-1 students.
  • Q-1 cultural exchange visitors — exempt while in valid Q-1 status.

To claim exemption, you must provide your employer with a valid passport and visa documentation showing your status. Your employer should not withhold Social Security and Medicare tax if you meet the requirements. If withholding has already occurred, you may be able to recover it through your tax return or by requesting a refund from the IRS, but the process depends on your visa category and how long you have been in the United States.

How to Notify Your Employer of an Exemption

If you are exempt from Social Security or Medicare withholding, you must inform your employer in writing. Withholding does not stop automatically — you have to take action. The process depends on your type of exemption.

For religious group exemptions, provide a copy of your approved Form 4029 to your employer's payroll department. For nonresident alien exemptions, provide your passport and visa documentation. For government employee exemptions, your employer should already know your status based on your hiring date and employment classification, but confirm this with payroll if you see withholding on your stub that you believe should not be there.

Keep a copy of any documentation you submit. If your employer continues to withhold after you have provided proof of exemption, contact payroll again in writing and request a correction. If the problem persists, you may need to file a complaint with the IRS or seek guidance from a tax professional.

What Exemption Means for Your Benefits

If you are exempt from Social Security tax, you do not earn work credits toward Social Security retirement, disability, or survivor benefits. Social Security requires a certain number of credits to may have access to for benefits. Each year you work and pay Social Security tax, you earn up to four credits. If you are exempt, you earn zero credits for those years.

This can significantly affect your future benefit amount. If you have years of exemption early in your career, your average earnings will be lower, which reduces your retirement benefit. If you never pay enough Social Security tax to earn the required 40 credits, you will not be able to receive Social Security retirement benefits at all, though you may still be able to receive benefits based on a spouse's or ex-spouse's record under certain conditions.

Medicare exemption is different. If you are exempt from Medicare tax as a nonresident alien or under another category, you are not automatically enrolled in Medicare at age 65. You may still be able to purchase Medicare coverage if you meet other requirements, but you should plan ahead and understand your options before your 65th birthday.

Frequently Asked Questions

Can I get back Social Security and Medicare taxes I already paid if I am exempt?

Possibly, but it depends on your situation. If you were exempt but your employer withheld anyway, you may be able to recover the money through your tax return or by filing Form 843 (Claim for Refund and Request for Abatement) with the IRS. Nonresident aliens can sometimes recover taxes paid before their visa status was established. Contact the IRS or a tax professional for guidance specific to your case.

If I am exempt from Social Security tax, do I still have to file a tax return?

That depends on your total income and filing status. Exemption from Social Security tax does not automatically exempt you from filing a federal income tax return. You must still file if your income exceeds the threshold for your age and filing status. Check the IRS website or speak with a tax professional to determine whether you are required to file.

What happens to my exemption if I change jobs?

Your exemption status does not automatically transfer to a new employer. You must notify your new employer of your exemption and provide the required documentation (Form 4029, visa documents, or other proof). If you do not inform them, they will withhold Social Security and Medicare tax from your pay.

Can I lose my exemption?

Yes. Religious group exemptions can be revoked if you leave the sect or order or if the IRS determines you no longer meet the requirements. Nonresident alien exemptions end if your visa status changes or expires. Government employee exemptions are tied to your employment classification and do not change unless you transfer to a different position or employer.

Does exemption from Social Security tax mean I do not have to pay income tax?

No. Exemption from Social Security and Medicare tax is separate from income tax. You can be exempt from payroll taxes but still owe federal income tax on your wages. Your employer will still withhold income tax from your paycheck unless you have filed a separate exemption for that (which is rare and requires specific circumstances).