New: Try our GST, HRA and NRI residency calculators for quick planning.
International taxation: DTAA, foreign income and FEMA touchpoints need documentation-first handling.
US Taxation answer

Do F-1 students on OPT pay Social Security and Medicare tax?

Not while they are nonresident aliens. F-1, J-1 and M-1 students are generally nonresidents for their first five calendar years in the US, and during that time wages from on-campus work, CPT and OPT are exempt from Social Security and Medicare tax. Once a student becomes a resident alien — often in the sixth year — or changes to H-1B, the exemption ends.
Last reviewed: 2026-11-13•Category: US Taxation
Detailed answer

The exemption covers work allowed by the student's immigration status, including Curricular and Optional Practical Training, on or off campus.

If an employer withholds FICA from an exempt student, ask the employer for a refund first; otherwise claim it from the IRS on Form 843 with Form 8316.

Students still pay federal income tax on wages, file Form 1040-NR if they had income, and file Form 8843 every year — even with no income.

Indian students can claim the standard deduction on Form 1040-NR under Article 21 of the India–US treaty.

Source and citation links
IRS — Foreign student liability for Social Security and Medicare taxes
FAQ

Frequently Asked Questions

Quick answers to the questions we hear most often.

Does the exemption cover STEM OPT?
Yes, while the student is still a nonresident alien.
Does it cover an F-2 spouse?
No. Spouses and children in F-2 or J-2 status are not covered.