8 min readUpdated March 12, 2026H1B TaxFile Editorial

Key Takeaways

  • F-1 students are exempt from Social Security and Medicare (FICA) taxes for 5 calendar years
  • The exemption covers on-campus employment, CPT, OPT, and STEM OPT
  • If your employer wrongly withheld FICA, you can claim a refund via Form 843
  • After 5 calendar years, FICA applies regardless of whether you are still on F-1
  • The FICA exemption is separate from income tax — you still owe federal income tax on wages

File your H-1B return — $49.99

Start free

FICA Exemption for F-1 Students: Rules and Refunds

One of the most valuable tax benefits for F-1 students is the exemption from FICA taxes — Social Security (6.2%) and Medicare (1.45%). This exemption saves you 7.65% of your gross wages, but it only lasts for your first five calendar years of F-1 status. This guide explains the rules, what happens when the exemption ends, and how to get a refund if your employer withheld FICA incorrectly.

What Is the FICA Exemption for F-1 Students?

Under IRC §3121(b)(19), services performed by a nonresident alien who is temporarily in the United States on an F-1, J-1, M-1, or Q-1 visa are exempt from Social Security and Medicare (FICA) taxes. For F-1 students, this exemption applies during the first five calendar years of F-1 status, when you are classified as a nonresident alien under the Substantial Presence Test's student exemption.

The exemption applies to all types of employment authorized under F-1 status:

The 5-Calendar-Year Rule Explained

The five-year count is based on calendar years, not months or days. This distinction matters:

Example

If you entered the U.S. on F-1 in August 2021, your five exempt calendar years are 2021, 2022, 2023, 2024, and 2025 — even though you were only present for five months of 2021. Starting January 1, 2026, you are no longer exempt from FICA.

Any calendar year in which you held F-1 status for even a single day counts as one of your five years. If you left the U.S. and returned on a new F-1 visa, the clock generally does not reset. The IRS looks at your total calendar years in F/J/M/Q status, not individual visa stamps.

There is a special rule for individuals who have been in the U.S. in F/J/M/Q status for any part of more than five calendar years: the FICA exemption expires at the start of the sixth calendar year, not at any particular date within the fifth year.

When the FICA Exemption Ends

The FICA exemption ends in two scenarios:

  • After 5 calendar years: Starting in the sixth calendar year of F-1 status, your days count toward the Substantial Presence Test. If you meet the 183-day threshold, you become a resident alien and FICA applies. Your employer must begin withholding Social Security and Medicare taxes.
  • Change of status to H-1B: If you transition from F-1 to H-1B, the FICA exemption ends on the date your H-1B status begins (typically October 1). From that date forward, FICA is withheld regardless of how many calendar years you have been in the U.S.

When FICA starts, your take-home pay decreases by 7.65%. Your employer also begins paying the employer's matching 7.65%. Plan for this change in your budget.

Employer Withheld FICA Incorrectly: How to Get a Refund

Many employers are unfamiliar with the F-1 FICA exemption and automatically withhold Social Security and Medicare taxes from all employees. If your employer withheld FICA during your exempt period, you can get it back. Follow this two-step process:

  1. Step 1: Request a refund from your employer. Contact your payroll department, explain that you are an F-1 student within your first five calendar years and exempt from FICA under IRC §3121(b)(19). Provide your I-20 and visa documentation. The employer can correct the withholding and refund the amounts. They must also adjust their own employer-share FICA payment.
  2. Step 2: If the employer cannot or will not refund: File Form 843 (Claim for Refund and Request for Abatement) directly with the IRS. You will need to include Form 8316 (Information Regarding Request for Refund of Social Security Tax), a copy of your W-2, a copy of your I-20, and a letter from your employer stating they will not issue the refund.

Important: 3-year deadline

You must file Form 843 within three years of the date you filed the tax return for the year in question, or two years from the date you paid the tax, whichever is later. Do not wait too long to claim your refund.

Filing Form 843 and Form 8316 for FICA Refund

If you need to file directly with the IRS for a FICA refund, here is what to include:

  • Form 843: Fill in your personal information, the tax period (the year the incorrect withholding occurred), the amount of the refund (Social Security + Medicare amounts from your W-2 Boxes 4 and 6), and the reason for the claim.
  • Form 8316: Certifies that you have requested a refund from your employer and they were unable or unwilling to provide it.
  • Supporting documents: Copy of your W-2, copy of your I-20, copy of your I-94, copy of your visa, and a statement from your employer.

Mail the package to the IRS address listed in the Form 843 instructions. Processing typically takes 6 to 12 months. The IRS will mail you a check if the refund is approved.

FICA During OPT, STEM OPT, and CPT

The FICA exemption applies uniformly across all F-1 employment authorizations. There is no difference in FICA treatment between on-campus work, CPT, OPT, or STEM OPT — the exemption is based on your F-1 status and the five-calendar-year rule, not the type of employment authorization.

Key points:

  • Pre-completion OPT: FICA exempt (within 5 years).
  • Post-completion OPT: FICA exempt (within 5 years).
  • STEM OPT extension: FICA exempt (within 5 years). Many STEM OPT students cross the 5-year line during their extension.
  • CPT: FICA exempt (within 5 years).
  • After 5 calendar years: FICA applies to all employment, regardless of the authorization type.

Read our complete F-1 student tax filing guide for the full picture of your tax obligations.

Disclaimer: This guide is for educational purposes only and does not constitute tax or legal advice. FICA exemption rules can be complex. Consult a qualified tax professional for advice specific to your situation.

Frequently Asked Questions

Skip the complexity. We handle all of this for you.

H1B TaxFile supports every form in this guide — FATCA, PFIC, FTC, RSU basis correction, and 22 more H-1B-specific features. Flat price, no surprises.

No credit card to start Printable PDF in 15 minutes 22 H-1B-specific features
File your return — $49.99

H1B TaxFile Team

Written by the H1B TaxFile editorial team — tax professionals and software engineers who specialize in U.S. federal tax filing for H-1B visa holders, F-1 students, and nonresident aliens.

Reviewed by a licensed CPA with international tax experience.

Disclaimer: This guide is for educational purposes only and does not constitute tax or legal advice. Tax laws are complex and change frequently. Consult a qualified tax professional for advice specific to your situation.

Recommended Reading