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

