Skip to main content
By visa program

F-1 OPT taxes: nonresident years, FICA and what comes next.

OPT is often the first full-time US salary for an F-1 student. You are still on an F-1 visa, so the student rules continue: you are usually a nonresident for your first five calendar years in the US and exempt from Social Security and Medicare. Many employers get one of these points wrong, and the five years often run out during OPT or the move to H-1B.

Written by the TaxReturn4You teamLast reviewed November 2026Tax year 20263 min read

Key facts

F-1 OPT taxes at a glance

Tax status
Nonresident for up to 5 calendar years as an F-1 student, counted over your lifetime. OPT years are student years.
Return
Form 1040-NR and Form 8843 while a nonresident; Form 1040 once you are a resident.
Social Security and Medicare
Exempt on OPT and STEM OPT pay while you are a nonresident. Check Boxes 4 and 6.
1099 work
Self-employment on OPT is taxable income, but nonresidents generally do not pay self-employment tax.
After 5 years
Your days count; a full year in the US usually makes you a resident, with FICA on your pay.
H-1B
H-1B days always count. The year you switch is often your first resident or dual-status year.

Am I still a nonresident on OPT?

Usually yes, for a while. OPT and STEM OPT are part of F-1 status, so your days stay exempt from the Substantial Presence Test for up to five calendar years as a student. Any part of a year counts as a full year, and earlier student years, including years on a J-1 student program, count toward the five. Resident or nonresident?

Arrived in the US Exempt student years OPT First year days count
August 2022 2022 to 2026 2026 to 2027 2027: resident if 183 or more days
August 2024 2024 to 2028 2028 to 2029 2029
August 2021 2021 to 2025 2026 2026: resident, often for the whole year

A student can sometimes stay exempt beyond five years by showing that they do not intend to live in the US permanently and have complied with their visa. That needs an individual review and a statement with Form 8843.

Should Social Security and Medicare be withheld from OPT pay?

Not while you are a nonresident. US law exempts nonresident F-1 students from FICA on work allowed by their visa, which includes OPT and STEM OPT. Many payroll systems still withhold 7.65 percent. Ask the employer to stop and refund it; if they do not, you can claim it from the IRS on Form 843, generally within three years. Once you become a resident, FICA is due. FICA tax refund

What if I work as a contractor on a 1099?

OPT allows some self-employment. The income is taxable and goes on your return, and you may need to make estimated tax payments because nothing is withheld. As a nonresident you generally do not pay self-employment tax, the contractor version of Social Security and Medicare. As a resident, you do.

What changes after five years or on H-1B?

  • Your days count. From the sixth calendar year, or from your first day on H-1B, every day counts toward the 183-day test.
  • Form 1040. A resident files Form 1040 and reports worldwide income. The first resident year can be a dual-status year.
  • Standard deduction. Available in a full resident year ($16,100 single in 2026). As a nonresident, only students from India can claim it, under the US-India treaty.
  • FICA. Due on your wages from the time you are a resident, and on all H-1B wages.
  • Form 8843. No longer filed for years in which you are not an exempt student.

What are the most common mistakes?

  • Paying FICA during nonresident OPT years and never claiming it back.
  • Filing Form 1040 too early with resident software, often in the first OPT year.
  • Filing Form 1040-NR too late, in a year when the five years have already run out.
  • Forgetting earlier J-1 or F-1 years in the five-year count.
  • Ignoring estimated tax on 1099 work.

How does TaxReturn4You help on OPT?

In the application you give your days in the US over the last three years and your entry and exit dates. You choose your tax status, resident or nonresident, when you approve your calculation online; we do not check your status for you. We prepare Form 1040-NR and Form 8843, or Form 1040, and we can claim back FICA withheld while you were exempt as a €129 add-on. For a dual-status year, H-1B wages or 1099 contractor income, contact us and we will tell you if we can help. F-1 student tax return

QuestionsF-1 OPT tax questions

More answers in ourFAQ

Next stepOn OPT? Check your status and your FICA.

You choose your tax status when you approve your calculation online; if you are unsure, contact us. If FICA was withheld in error, we prepare the claim as a €129 add-on to the federal return we prepare for you.

Written by the TaxReturn4You team, former J-1 Work and Travel participants. Last reviewed: November 2026. This page is general information, not individual tax advice.

We use cookies to understand how this site is used.