Tax year 2026Checked
FICA refund for F-1 students: get Social Security and Medicare tax back
Who is exempt and for how long, how to spot the tax on your W-2, how to ask your employer for it back, and how to claim it from the IRS on Form 843 with Form 8316.
In short
- Nonresident aliens in F-1, J-1, M-1 or Q-1 status owe no Social Security tax (6.2%) or Medicare tax (1.45%) on pay from an on-campus job, CPT, OPT or STEM OPT.
- Box 4 of your Form W-2 shows Social Security tax withheld and box 6 shows Medicare tax withheld; on exempt pay both should be zero.
- Ask the employer that withheld the tax to refund it first; if it will not refund all of it, file Form 843 with Form 8316 and copies of your W-2, visa and I-94.
- You have until Monday, April 15, 2030 to claim back tax taken from 2026 pay, and until Thursday, April 15, 2027 for 2023 pay.
- The exemption ends when you become a resident alien, which for an F-1 student usually happens in the sixth calendar year in student status.
Contents, 12 sections
Nonresident alien students in F-1, J-1, M-1 or Q-1 status owe no Social Security or Medicare tax on pay from campus jobs, CPT or OPT in tax year 2026. If your employer took it anyway, ask the employer for a refund first, then claim anything it will not repay from the IRS on Form 843 with Form 8316.
Together these two taxes, often called FICA, take 7.65% of pay, so on $30,000 of wages the amount is $2,295. For tax taken from 2026 pay, you have until Monday, April 15, 2030 to claim it back.
To check your own W-2, enter boxes 4 and 6 in the free FICA refund calculator.
Note
As of October 14, 2026, the current versions are Form 843 (Rev. December 2024) and Form 8316 (Rev. January 2006). The IRS has posted a draft of new Form 843 instructions, so check the version on irs.gov when you file.
Am I exempt from Social Security and Medicare tax on an F-1 visa?
F-1 students are exempt from Social Security and Medicare tax while they are nonresident aliens, on pay for work their F-1 status allows. The rule is section 3121(b)(19) of the Internal Revenue Code, which covers nonresident aliens in F, J, M or Q status (26 U.S.C. 3121).
For F-1 students, the IRS lists on-campus jobs, off-campus work that USCIS allows, and practical training such as CPT, OPT and STEM OPT (IRS: foreign student liability). You file no form to claim the exemption: your employer applies it.
| Your situation when you were paid | FICA |
|---|---|
| F-1 nonresident alien: on-campus job, CPT, OPT, STEM OPT or other work USCIS allows | Exempt |
| J-1, M-1 or Q-1 nonresident alien, in work your status allows | Exempt |
| Resident alien for tax purposes, on OPT or CPT with an outside employer | Owed |
| Resident alien working for your own school while enrolled | Often exempt (see below) |
| F-2, J-2, M-2 or Q-3 family member with permission to work | Owed, unless another tax rule exempts the work (IRS) |
| Pay in H-1B status, from its first day | Owed |
| Work USCIS has not authorized | Owed |
Work not closely connected to the purpose of your visa is not exempt either (IRS: aliens employed in the US). The exemption does not depend on your country, and IRS training material says income tax treaties "do not generally provide exemptions" from these taxes (IRS).
A proposed law, not current law
Two bills named the OPT Fair Tax Act, S. 2940 and its House companion H.R. 8972, would make OPT pay subject to Social Security and Medicare tax. As of October 14, 2026, each had only been introduced and sent to a committee (Congress.gov). Under current law, a nonresident student's 2026 OPT pay is exempt.
Key facts
- Social Security tax, 2026
- 6.2% of wages up to $184,500 (at most $11,439)
- Medicare tax, 2026
- 1.45% of all wages
- Where it shows on your W-2
- Box 4 (Social Security) and box 6 (Medicare)
- IRS claim forms
- Form 843 with Form 8316
- Last day to claim tax from 2026 pay
- Monday, April 15, 2030
- Last day to claim tax from 2023 pay
- Thursday, April 15, 2027
- For
- F-1, J-1, M-1 and Q students and scholars who had Social Security or Medicare tax taken from their pay while they were nonresident aliens.
- Not for
- Resident aliens for tax purposes, F-2 and J-2 family members, and H-1B workers. Their wages are generally subject to these taxes; a student who works for their own school can be an exception.
When does the FICA exemption end?
The F-1 exemption from Social Security and Medicare tax ends when you become a resident alien for tax purposes, even if you are still on an F-1 visa. For an F-1 student this usually happens in the sixth calendar year in student status, and tax withheld from off-campus pay after that is correct.
- 20221 of 5: exempt, days do not count
- 20232 of 5: exempt, days do not count
- 20243 of 5: exempt, days do not count
- 20254 of 5: exempt, days do not count
- 20265 of 5: exempt, days do not count
- 20276th: days count
2026 is your 5th exempt year: you are a nonresident alien.
File Form 8843, and Form 1040-NR as well if you had taxable US income. No Social Security or Medicare tax on campus, CPT or OPT pay. Your days start to count in 2027.
Earlier years as an F, J, M or Q student, or as a J or Q teacher, researcher or trainee, also use up the 5 (IRS). From the sixth year, if your earlier days were all exempt, you are a resident once you are here at least 183 days that year.
Residency then starts on January 1 if you were here that day. Both assume you were in the US in student status every year since you first came.
The sixth-year guide covers what changes, including the Form 8843 line 12 exception for students who do not intend to live in the US permanently. J-1 researchers and scholars are usually nonresidents for only 2 calendar years (J-1 scholar guide).
A separate rule, section 3121(b)(10), usually exempts pay from the school where you are enrolled and regularly attending classes, whatever your residency (IRS: student FICA exception). It never covers OPT or CPT with an outside company (on-campus job guide), or a full-time employee, which includes anyone who normally works 40 hours or more a week (Rev. Proc. 2005-11). At a public university it also does not apply where the state's Section 218 agreement covers student workers (Rev. Proc. 98-16).
How do I check whether FICA was taken from my pay?
Box 4 of your Form W-2 shows Social Security tax withheld and box 6 shows Medicare tax withheld (2026 W-2 instructions). If all your pay was exempt, both boxes should be empty or zero.
Your employer must send your 2026 W-2 by Monday, February 1, 2027, because January 31 is a Sunday, but you need not wait for it. Every pay stub shows the same taxes, as "Social Security", "OASDI", "FICA" or "Medicare", and raising them with payroll now means fewer paychecks are affected.
In 2026, Social Security tax is 6.2% of wages up to $184,500, so box 4 can be at most $11,439 (SSA). Medicare tax is 1.45% of all wages, with no cap.
Watch out
Do not add Social Security or Medicare tax to line 25a of Form 1040-NR. Line 25a (on the 2025 form and the 2026 draft) is for federal income tax withheld from your W-2s, and adding FICA there produces a wrong refund.
How do I ask my employer to refund FICA?
Ask the payroll office of the employer that withheld the tax to refund it, in writing. The IRS tells you to go to the employer before you file any claim (IRS).
- Say that you were a nonresident alien in F-1 or J-1 status when you were paid, and name the work, such as OPT. Cite section 3121(b)(19) of the Internal Revenue Code and link the IRS page above.
- Attach copies of your I-20 (or DS-2019 for a J-1), your visa, your I-94 record and, for OPT, your EAD card.
- Ask the employer to stop the withholding on future paychecks and to repay what it withheld, with a corrected W-2 (Form W-2c) if one was already issued.
- If the employer refuses or repays only part, ask for a short written statement of how much it refunded, to attach to your IRS claim.
An employer that agrees repays you and corrects its payroll return (Form 941-X) and your W-2. Only your own 7.65% comes back to you; the employer corrects its matching 7.65% itself. If the corrected W-2 has not come by the time you file, what to do about a missing or wrong W-2 covers the IRS call and Form 4852.
How do I claim FICA from the IRS with Form 843 and Form 8316?
If your employer will not refund all of it, file Form 843 (Claim for Refund and Request for Abatement) with Form 8316 and copies of your documents (IRS). Form 8316 is not a claim on its own: it supports Form 843 with facts about your visa, your work and your request to the employer.
These lines of the current Form 843 (Rev. December 2024) carry your claim; for every other line, follow the Form 843 instructions. Every line of both forms, with a two-employer example, is in our step-by-step guide to Forms 843 and 8316.
| Line | What goes there |
|---|---|
| 2 | The amount to be refunded: Social Security plus Medicare tax withheld, minus anything your employer repaid |
| 3 | Leave it blank: it asks for the dates of payments you made yourself, and your employer, not you, paid this tax to the IRS |
| 4 | Type of tax: check "Employment" |
| 5 | Form 941, the payroll return your employer reported the tax on (the instructions name no box for this claim) |
| 8 | Your explanation |
A sample explanation for line 8
"I was a nonresident alien in F-1 status in 2026. My wages from [employer name] were for Optional Practical Training authorized by USCIS. They are exempt from Social Security and Medicare tax under section 3121(b)(19) of the Internal Revenue Code. My employer withheld $[amount] in error and has not refunded it. Form 8316 and supporting documents are attached."
Question A of Form 8316 asks whether the income was "directly related to your course of studies as identified by the provisions of your entry visa". If you check No, the form says the tax was correctly withheld and you are not entitled to a refund. If you check Yes, you complete the rest of the form only if you could not get the refund from your employer.
Attach these to Form 843, as listed in chapter 8 of Publication 519 (2025):
- Form 8316.
- A copy of your Form W-2, and the Form W-2c if you received one.
- A copy of your visa.
- Your Form I-94, or another record of your dates of arrival and departure.
- A complete copy of your Form I-20 (F-1 or M-1), or a copy of your Form DS-2019 (J-1).
- If you were on OPT, your Form I-766 (EAD card). If you worked because of severe economic necessity, proof of your permission to work.
- The employer's statement of how much it repaid you and how much credit or refund it claimed, or you authorized it to claim. If you cannot get one, explain why on Form 8316 or in your own statement.
- If you were exempt for only part of the year, pay statements showing the tax paid while you were exempt.
Where do I mail Form 843 for a FICA refund?
Mail Form 843 for a FICA refund, with Form 8316 and your attachments, to: Department of the Treasury, Internal Revenue Service Center, Ogden, UT 84201-0038. Chapter 8 of Publication 519 (2025) gives this address for Social Security and Medicare tax withheld in error.
The Form 843 instructions print no address for this claim and send nonresident aliens to Publication 519 (Instructions for Form 843). The IRS volunteer guide for 2026 returns, Publication 4011 (Rev. 10-2026), gives the same Ogden address.
The general Form 843 rule on some IRS pages, based on where your employer files its payroll returns, is not the rule for this claim. Check the address again in the 2026 Publication 519 when it is published.
Form 8843 and Form 1040-NR go to other addresses (mailing guide), including the Austin, Texas address an earlier version of this page gave in error. Send Form 843 in its own envelope, by certified mail for proof of the mailing date.
How long do I have to claim back FICA?
You have three years, counted from April 15 of the year after you were paid. For tax taken from 2026 pay the last day is Monday, April 15, 2030, and for 2023 pay it is Thursday, April 15, 2027.
Section 6511(a) allows three years from the filing of the return (26 U.S.C. 6511), and section 6513(c) treats your employer's payroll returns for a year as filed on April 15 of the next year (26 U.S.C. 6513), not on the date of each paycheck.
The same rule applies to 2024 and 2025 pay. April 15 falls on a Saturday in 2028 and on a Sunday in 2029, so mail those claims well before April 15 rather than count on the next business day.
How much can I get back? A worked example
You can get back what was withheld from exempt pay, 6.2% plus 1.45%, minus anything your employer repays.
Worked example: Lucas, F-1 student on OPT in 2026
Lucas is an illustrative F-1 student. He first came to the US in August 2022 and has been here in F-1 status every year since, so 2026 is his fifth exempt year and he was a nonresident alien for all of it. He worked on OPT from June 2026 and earned $42,000. His employer withheld both taxes in error and refuses to refund them.
| Step | Amount |
|---|---|
| Social Security: 6.2% of $42,000 (W-2 box 4) | $2,604 |
| Medicare: 1.45% of $42,000 (W-2 box 6) | $609 |
| Total withheld in error: $2,604 + $609 | $3,213 |
| Refunded by his employer | $0 |
| Form 843, line 2 | $3,213 |
Lucas files Form 843 for $3,213 with Form 8316 and his documents, by Monday, April 15, 2030 at the latest, but not for his employer's own matching $3,213.
2027 is his sixth calendar year. If he is here on January 1 and at least 183 days in 2027, he is a resident alien from January 1, unless the Form 8843 line 12 exception applies. Social Security and Medicare tax on his 2027 OPT pay would then be correct.
What happens after I mail Form 843?
We found no published IRS processing time for Form 843 claims. Keep a full copy of what you sent and your mailing receipt, and give an address on Form 843 where IRS letters will reach you.
Your FICA claim does not replace your income tax return. You still file Form 1040-NR for 2026, by Thursday, April 15, 2027 if you had wages, and its refund comes separately (1040-NR refund guide). OPT and CPT pay is still subject to income tax even when it is exempt from FICA (OPT and CPT tax guide).
F1TaxReturn prepares a student's Form 1040-NR and Form 8843 for free, as a paper return that you sign and mail yourself, once the IRS publishes the final 2026 forms. If your W-2 shows Social Security or Medicare tax, it also writes two free letters for your employer.
One asks for the refund, and the other is a statement for your employer to sign if it will not pay. If your employer will not refund it, F1TaxReturn prepares Form 843 and Form 8316 for $20, for a student it files as a nonresident all year. It is not built for J-1 scholars or researchers.
What to do next
- Check your latest pay stub for Social Security and Medicare lines now. Check boxes 4 and 6 of your W-2 when it arrives, by Monday, February 1, 2027.
- Confirm that you were a nonresident alien when you were paid, using the count in the substantial presence test guide.
- Write to your employer's payroll office with copies of your status documents. Ask it to stop the withholding and repay it, and to issue a Form W-2c.
- If it will not repay all of it, fill in Form 843 and Form 8316 (line by line) and attach the documents listed above.
- Mail them in their own envelope, by certified mail, to Department of the Treasury, Internal Revenue Service Center, Ogden, UT 84201-0038 (Publication 519, chapter 8). Do it by Monday, April 15, 2030 for 2026 pay, or by Thursday, April 15, 2027 for 2023 pay.
- File your 2026 Form 1040-NR separately, by Thursday, April 15, 2027 if you had wages.
Questions students ask
Will my FICA come back with my Form 1040-NR refund?
Can I also get back the 7.65% my employer paid?
My employer says OPT pay is subject to FICA. Is that right?
Does my country's tax treaty exempt me from Social Security tax?
Do I need Form 8843 to get the FICA exemption?
Sources
This guide is checked against these 22 documents, most recently on .
- Foreign student liability for Social Security and Medicare taxes, IRS
- Aliens employed in the U.S.: Social Security taxes, IRS
- Alien liability for Social Security and Medicare taxes of foreign teachers, foreign researchers and other foreign professionals, IRS
- Social Security tax, Medicare tax and self-employment, IRS
- Instructions for Form 843 (Rev. December 2024), IRS
- Form 843, Claim for Refund and Request for Abatement, IRS
- Form 8316 (Rev. January 2006), Information Regarding Request for Refund of Social Security Tax Erroneously Withheld on Wages Received by a Nonresident Alien on an F, J, or M Type Visa, IRS
- Publication 519 (2025), U.S. Tax Guide for Aliens, IRS
- Publication 4011, Foreign Student and Scholar Volunteer Resource Guide (Rev. 10-2026), IRS
- General Instructions for Forms W-2 and W-3 (2026), IRS
- Exempt individual: who is a student, IRS
- Student FICA exception, IRS
- Revenue Procedure 98-16 (student FICA exception and Section 218 agreements), IRS
- Withholding and reporting of tax on wage payments to foreign persons (training material), IRS
- Contribution and benefit base, Social Security Administration
- 26 U.S. Code 3121, definitions (section 3121(b)(19) and (b)(10)), US Code (Legal Information Institute)
- 26 U.S. Code 6511, limitations on credit or refund, US Code (Legal Information Institute)
- 26 U.S. Code 6513, time return deemed filed and tax considered paid, US Code (Legal Information Institute)
- S. 2940, OPT Fair Tax Act (introduced in the Senate), US Government Publishing Office
- H.R. 8972, OPT Fair Tax Act (introduced in the House), US Government Publishing Office
- S. 2940, OPT Fair Tax Act: all actions, Congress.gov (Library of Congress)
- Revenue Procedure 2005-11 (student exception safe harbor), IRS