You generally cannot opt out of Medicare tax. It is withheld from every dollar of wages and paid on every dollar of self-employment income, with no cap and no personal choice in the matter.1Internal Revenue Service. Social Security Tax/Medicare Tax and Self-Employment A handful of narrow exemptions exist for members of certain religious sects, some ministers, specific visa holders, students working for their own school, and a shrinking group of long-tenured state and local government employees. If you don’t fit one of those categories, no amount of private insurance, personal objection, or tax planning will get you out of paying.
Who Actually Qualifies for an Exemption
Each of the categories below is defined narrowly by statute. Read them as gates, not doorways: you either meet every element or you don’t qualify.
Members of Recognized Religious Sects
If you belong to a religious sect that has existed continuously since December 31, 1950, that opposes accepting insurance benefits, and that has an established practice of caring for its own dependent members, you can apply for an exemption from Medicare and Social Security taxes by filing IRS Form 4029.2Office of the Law Revision Counsel. 26 USC 1402 – Definitions The Amish and certain Mennonite communities are the groups most commonly associated with it.
Approval is not a tax break so much as a swap. You permanently waive all rights to Social Security retirement benefits, disability payments, and Medicare coverage, both on your own work history and on anyone else’s.3Internal Revenue Service. Form 4029 – Application for Exemption From Social Security and Medicare Taxes and Waiver of Benefits Leave the religious group and the exemption ends. Once the IRS approves the form, your employer stops withholding Social Security and Medicare taxes, leaves those wages off quarterly filings, and notes “Form 4029” on your W-2.
Ministers and Members of Religious Orders
Ordained, commissioned, or licensed ministers, members of religious orders who have not taken a vow of poverty, and Christian Science practitioners can file IRS Form 4361 to seek an exemption from self-employment tax on their ministerial earnings.4Internal Revenue Service. About Form 4361 – Application for Exemption From Self-Employment Tax for Use by Ministers, Members of Religious Orders and Christian Science Practitioners The exemption has to rest on conscientious opposition to public insurance, not a preference for keeping the money.
The deadline is strict and easy to miss. You have to file by the due date (including extensions) of the return for the second tax year in which you had at least $400 of net self-employment income from ministerial services. Before filing, you also have to formally notify your ordaining or licensing body that you oppose public insurance benefits on religious grounds. And the exemption only covers ministerial self-employment. If you also have a W-2 job on the side, Medicare tax still comes out of those wages.
Nonresident Aliens on Certain Visas
Foreign students on F-1, J-1, or M-1 visas are generally exempt from Medicare tax for their first five calendar years in the United States, provided they remain nonresident aliens for tax purposes and their work is authorized and tied to the purpose of their visa.5Internal Revenue Service. Foreign Student Liability for Social Security and Medicare Taxes
Foreign teachers, researchers, professors, and other scholars on J-1 or Q-1 visas have a shorter window, generally less than two calendar years. The exemption does not extend to spouses or children on dependent visas, and it ends the moment the person changes to a non-exempt immigration status or becomes a resident alien.6Internal Revenue Service. Alien Liability for Social Security and Medicare Taxes of Foreign Teachers, Foreign Researchers and Other Foreign Professionals
Students Working at Their Own School
If you are enrolled at and regularly attending a school, college, or university and you work for that same institution, your wages from that job are exempt from Medicare tax. What matters is whether your relationship with the school is primarily educational rather than primarily employment.7Internal Revenue Service. Student Exception to FICA Tax A graduate assistant taking a full course load and working 20 hours a week in a campus lab fits. A full-time staff member taking one evening class typically does not.
The exemption also reaches work at organizations described in IRC 509(a)(3) that exist exclusively for the benefit of the school.8Office of the Law Revision Counsel. 26 USC 3121 – Definitions During summer and other breaks, the exemption generally continues only if the break is five weeks or fewer and you are eligible to enroll in the next academic term. Work during a longer break, when you are not enrolled, will normally have Medicare tax withheld again.
Certain State and Local Government Employees
State and local government employees hired before April 1, 1986, may be exempt from Medicare tax if they have kept continuous, uninterrupted employment with the same employer, their position was not already covered by a Social Security (Section 218) agreement, and they have had no break in service since March 31, 1986.8Office of the Law Revision Counsel. 26 USC 3121 – Definitions Anyone hired on or after April 1, 1986, pays Medicare tax on government wages regardless of retirement plan coverage.9eCFR. 42 CFR 406.15 – Special Provisions Applicable to Medicare Qualified Government Employment The category shrinks every year as pre-1986 hires retire.
What Won’t Get You Out of It
Several beliefs about Medicare tax come up again and again. None of them work.
Private insurance does not exempt you. A generous employer plan or a marketplace policy has no effect on the payroll tax. The tax funds a national program; it is not a payment for your personal coverage.
Planning to decline Medicare later does not help either. Your obligation to pay the tax is separate from whether you ever enroll. The IRS is explicit that employers must withhold Medicare tax even from workers who do not expect to qualify for benefits.1Internal Revenue Service. Social Security Tax/Medicare Tax and Self-Employment
Self-employment is not a workaround. If you work for yourself, you pay both the employee and employer shares, for a combined 2.9% of net self-employment earnings. You can deduct half of that on your income tax return, but the tax itself still gets paid.10Office of the Law Revision Counsel. 26 US Code 164 – Taxes
Retirement doesn’t reset the clock. If you are collecting Social Security or Medicare and still earning wages or self-employment income, that earned income is subject to Medicare tax. Age and benefit status have no bearing on the obligation.
And it is not voluntary. The IRS states directly that you cannot make voluntary Social Security or Medicare payments, because the obligation is automatic once you have earned income.1Internal Revenue Service. Social Security Tax/Medicare Tax and Self-Employment Arguments that the tax is contractual or optional have been rejected in federal court.
One boundary worth noting: the 0.9% Additional Medicare Tax on high earners and the 3.8% Net Investment Income Tax on investment income above the same thresholds have no religious, visa, or category-based exemption. If your income crosses the line, you owe them.11Office of the Law Revision Counsel. 26 USC 3101 – Rate of Tax12Office of the Law Revision Counsel. 26 US Code 1411 – Imposition of Tax
If Medicare Tax Was Withheld and Shouldn’t Have Been
Exempt workers often find Medicare tax withheld anyway, especially in the first months of a new job. Start with your employer. They can correct the overcollection through their normal payroll process and refund the excess to you.
If the employer refuses or cannot fix it, file Form 843 (Claim for Refund and Request for Abatement) directly with the IRS.13Internal Revenue Service. Instructions for Form 843 – Claim for Refund and Request for Abatement Attach a copy of the W-2 showing the amount withheld. If you can get a written statement from your employer confirming what was withheld and how much (if anything) they already refunded, attach that too. If they won’t provide one, write your own explanation of what happened and why you couldn’t obtain a statement.
You generally have three years from the date you filed the return or two years from the date the tax was paid, whichever is later, to claim the refund.14Office of the Law Revision Counsel. 26 US Code 6511 – Limitations on Credit or Refund Form 843 is not the right form for the Additional Medicare Tax; that one gets reconciled through your individual income tax return.