The 5-year rule
How to count your 5 exempt calendar years
The IRS counts calendar years, not total months or days. If you entered the U.S. on August 15, 2022, that counts as your first calendar year โ even though you were only present for 4.5 months. Your five exempt calendar years would be 2022, 2023, 2024, 2025, and 2026. Starting January 1, 2027, the automatic FICA exemption tied to your F-1 status ends.
Why the exemption exists
The FICA exemption is a consequence of the substantial presence test. F-1 students who have been in the U.S. for fewer than 5 calendar years are classified as exempt individuals โ their days of presence do not count toward the 183-day threshold. Because they remain nonresident aliens, IRC Section 3121(b)(19) exempts their wages from Social Security and Medicare. This is not a benefit you apply for; it is an automatic classification based on your visa type and presence history.
For the full formula behind the 183-day calculation, see our substantial presence test guide.
What if your employer withholds FICA anyway?
This is the single most common problem F-1 students encounter with U.S. payroll. Many payroll systems do not automatically recognize the FICA exemption, and the burden falls on you to flag it. Here is the step-by-step process:
Step 1: Contact your employer first
Notify your payroll department in writing. Provide a copy of your I-20, visa stamp, and I-94 arrival record showing your F-1 status and date of entry. Reference IRS Publication 519 and IRC 3121(b)(19). In most cases, the employer will correct the withholding and issue a refund for the amounts already deducted.
Step 2: If the employer cannot or will not refund
If your employer refuses, is unable to process the refund (for example, because the company closed or you no longer work there), or does not respond, you can claim the refund directly from the IRS. You will need to file:
- Form 843 โ Claim for Refund and Request for Abatement. Attach a statement explaining that you are an F-1 nonresident alien exempt from FICA under IRC 3121(b)(19).
- Form 8316 โ 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.
Include copies of your W-2 (showing FICA withholding), I-20, visa, I-94, and a letter from your employer stating they cannot process the refund (or proof you attempted to contact them). Mail the package to the IRS address listed in the Form 843 instructions.
Step 3: Do not claim FICA refunds on Form 1040-NR
You cannot claim a FICA refund by reducing your tax liability on your income tax return. FICA and income tax are separate systems. The only correct method is through your employer or Form 843. Filing a return with inflated withholding credits will trigger an IRS notice.
What happens after your 5 years expire?
After your fifth calendar year, you are no longer an "exempt individual." If you now meet the substantial presence test (which you almost certainly will if you are living in the U.S. full-time on OPT or STEM OPT), you become a resident alien. At that point:
- FICA applies to all your wages, at 6.2% (Social Security) + 1.45% (Medicare). Your employer withholds and matches.
- You file Form 1040 instead of 1040-NR.
- You can claim the standard deduction.
- You must report worldwide income.
There is one possible exception: if you are employed by the educational institution where you are enrolled at least half-time, you may qualify for the student FICA exemption under IRC Section 3121(b)(10). This is a separate exemption based on your student-employee status at a school, not your visa type, and it can continue beyond the 5-year mark. But it does not apply to OPT employment at a private company.
STEM OPT and the FICA exemption
The 24-month STEM OPT extension does not create any additional FICA rules. You remain FICA-exempt as long as you are within your first 5 calendar years and maintain valid F-1 status. If your STEM OPT carries you into your sixth calendar year, FICA begins applying. For example, if your first year in the U.S. was 2021 and your STEM OPT runs through July 2027, FICA starts January 1, 2026 (your sixth calendar year).
F-1 vs. H-1B: the FICA difference
| Factor | F-1 (first 5 years) | H-1B |
|---|---|---|
| FICA exempt? | Yes | No โ FICA from day one |
| Tax residency | Nonresident alien | Resident alien (after SPT) |
| Tax return form | 1040-NR | 1040 |
| Standard deduction | Generally no | Yes |
| Worldwide income | Only U.S.-source income | All worldwide income |
If you transition from F-1 OPT to H-1B, FICA begins with your first H-1B paycheck โ regardless of how many calendar years you have been in the U.S. H-1B is a work visa, and there is no FICA exemption for work visas. See our H-1B visa tax guide for the full breakdown.
Common mistakes F-1 students make with FICA
- Not telling the employer about the exemption. Your payroll system defaults to withholding FICA. You must proactively inform your employer that you are an F-1 nonresident alien. Provide your I-20 and visa documentation.
- Counting months instead of calendar years. The IRS counts calendar years, not 60 months. Entering in December still uses up a full calendar year.
- Filing Form 1040 instead of 1040-NR. If you are still within your 5-year exempt period, you are a nonresident alien and must file 1040-NR. Software like TurboTax does not support 1040-NR; use Sprintax or a similar NRA-specific filing service.
- Forgetting Form 8843. Even if you have no U.S. income, you must file Form 8843 to establish your exempt individual status. This is separate from your tax return.
- Assuming CPT and OPT have different FICA rules. Both Curricular Practical Training (CPT) and OPT fall under the same F-1 FICA exemption rules. The exemption applies to all F-1 employment authorization types during the 5-year period.
For a broader look at how FICA works for all workers, see our FICA tax explained guide.
Questions
F-1 OPT FICA exemption FAQ
How long are F-1 students exempt from FICA taxes?
F-1 visa holders, including those on OPT, are exempt from Social Security and Medicare taxes for their first 5 calendar years in the United States. The count is based on calendar years, not total months. So if you entered the U.S. in September 2022, your 5 calendar years run through December 31, 2026, even though you were only present for 4 months in the first year.
My employer is withholding FICA from my OPT paycheck โ what do I do?
First, notify your employer or payroll department and show them IRS Publication 519, which confirms the FICA exemption for F-1 nonresident aliens. If your employer agrees, they should stop withholding and refund the amounts already taken. If your employer refuses or cannot process the refund, you can file Form 843 (Claim for Refund) along with Form 8316 directly with the IRS.
What happens to my FICA exemption after 5 calendar years?
After your fifth calendar year in the U.S., you lose the automatic FICA exemption tied to your F-1 status. At that point, if you meet the substantial presence test, you become a resident alien for tax purposes and owe Social Security and Medicare taxes just like a U.S. citizen. You may still qualify for a student FICA exemption under Section 3121(b)(10) if you are enrolled at least half-time and your employment is at the school where you study.
Does the FICA exemption apply during STEM OPT extension?
Yes, as long as you are still within your first 5 calendar years in the U.S. and maintain valid F-1 status. The STEM OPT extension itself does not change the FICA exemption rules. However, if your STEM OPT extension carries you past the 5-year mark, FICA applies starting in the calendar year after your exemption period ends.
Do I need to file a tax return if I only have OPT income?
Yes. Even though you may be exempt from FICA, you still owe federal income tax on your OPT earnings. F-1 nonresident aliens file Form 1040-NR. You should also file Form 8843 to document your exempt individual status, even if you had no income.
Can my employer be penalized for not withholding FICA from an exempt F-1 student?
No. The IRS exempts wages paid to F-1 nonresident alien students from FICA under Internal Revenue Code Section 3121(b)(19). Your employer is following the law by not withholding. In fact, withholding FICA from an exempt F-1 student is the error โ it creates a refund obligation.
- Sources: IRS Publication 519 ยท IRC Section 3121(b)(19) ยท IRS Form 843/8316 instructions.
- ๐ Last updated July 31, 2026 ยท Tax year 2026
โ Back to the full salary calculator ยท Related: FICA calculator ยท H-1B visa taxes ยท Substantial presence test ยท FICA explained
