Tax year 2026Checked

OPT, STEM OPT and CPT taxes for F-1 students (tax year 2026)

How OPT, STEM OPT and CPT pay is taxed in 2026: income tax, the Social Security and Medicare exemption, Form W-4, treaties, state returns, gaps between jobs and your sixth year.

In short

  1. OPT, STEM OPT and CPT pay is taxed like any other wages for federal income tax, at the 2026 rates of 10% to 37%, and goes on line 1a of the 2026 draft Form 1040-NR.
  2. While you are a nonresident alien in F-1 status, you owe no Social Security tax (6.2%) or Medicare tax (1.45%) on CPT, OPT or STEM OPT pay.
  3. Nonresident aliens generally cannot take the $16,100 standard deduction (students from India are the exception), but they can deduct state income tax on Schedule A (Form 1040-NR).
  4. On Form W-4, follow IRS Notice 1392: check Single or Married filing separately, write "Nonresident Alien" or "NRA" below Step 4(c), and do not claim exempt.
  5. If you are in the US at least 183 days in your sixth calendar year in student status, you usually become a resident alien, and Social Security and Medicare tax then apply to OPT pay.
Contents, 13 sections

In tax year 2026, F-1 students pay federal income tax on OPT, STEM OPT and CPT pay like any other wages, plus state tax where the state taxes wages. While you are a nonresident alien, you owe no Social Security or Medicare tax on that pay, which other workers pay at 7.65%. For most F-1 students, nonresident status, and with it this exemption, lasts through the fifth calendar year in student status.

Do I pay income tax on OPT, STEM OPT and CPT pay?

Yes: pay for practical training is wages, taxed at the same 2026 rates as any other worker's. Your employer reports it on Form W-2, and the box 1 amount goes on line 1a of the 2026 draft Form 1040-NR.

On Form 1040-NR these 2026 single-filer rates apply to effectively connected income, such as wages (IRS: 2026 tax brackets; Rev. Proc. 2025-32).

2026 taxable income Rate on that part
Up to $12,400 10%
$12,400 to $50,400 12%
$50,400 to $105,700 22%
$105,700 to $201,775 24%
Over $201,775 32% to 37%

The difference from a US worker is the deductions. Nonresident aliens generally cannot take the $16,100 standard deduction for 2026. Students and business apprentices from India are the exception, under Article 21(2) of the US-India tax treaty (IRS: nonresident figuring your tax).

Instead, you can itemize on Schedule A (Form 1040-NR), which for most OPT workers means the state and local income tax withheld from your pay. Gifts to US charities count too (2026 draft Schedule A (Form 1040-NR)), but from 2026 only the part above 0.5% of your adjusted gross income (Publication 505 (2026)).

Property tax and sales tax are not on that schedule. The 2026 cap on the state tax deduction is $40,400, far above what a student pays.

Key facts

Social Security and Medicare on OPT or CPT pay
Not owed while you are a nonresident alien in F-1 status
Social Security and Medicare for other workers, 2026
6.2% of wages up to $184,500, plus 1.45% of all wages
Federal income tax, 2026 (single)
10% up to $12,400 of taxable income, 12% up to $50,400, then 22% to 37%
Standard deduction on Form 1040-NR
None, except students and business apprentices from India ($16,100)
Employers send your 2026 W-2 by
Monday, February 1, 2027
Form 1040-NR due if you had wages
Thursday, April 15, 2027
For
F-1 students who were paid for CPT, OPT or STEM OPT in 2026 while they were nonresident aliens, and students on OPT who are reaching their sixth calendar year in student status.
Not for
H-1B workers, F-2 and J-2 family members, and J-1 researchers and scholars. Students who were resident aliens for all of 2026 file Form 1040, which this guide covers only briefly.

Do I pay Social Security and Medicare tax on OPT or CPT?

No, not while you are a nonresident alien. Section 3121(b)(19) of the Internal Revenue Code exempts nonresident aliens in F, J, M or Q status from both taxes. The work must serve the purpose of that status (26 U.S.C. 3121).

For F-1 students, the IRS lists practical training on or off campus, such as CPT and OPT (STEM OPT included), as exempt work (IRS: foreign student liability). For other workers in 2026, Social Security tax is 6.2% of wages up to $184,500 (SSA), and Medicare tax is 1.45% of all wages (26 U.S.C. 3101).

Your situation when you were paid Social Security and Medicare
Nonresident alien in F-1 status, on CPT, OPT or STEM OPT Not owed
Resident alien for tax purposes, on OPT or CPT with an outside employer Owed, 7.65%
Pay in H-1B status, from its first day Owed, 7.65%
Work USCIS has not authorized Owed, 7.65%

The last row comes from the IRS page on aliens employed in the US. You file no form to claim the exemption: your employer applies it.

Neither Form 8843 nor Form 8233 is used for it. It does not depend on your country or on any tax treaty.

Check your pay stub for lines named "Social Security", "OASDI" or "Medicare", and boxes 4 and 6 of your W-2 (2026 W-2 instructions). If either tax was taken from exempt pay, ask your employer to refund it. If it will not, claim it on Form 843 with Form 8316 by Monday, April 15, 2030 for 2026 pay (FICA refund guide).

A proposed law, not current law

Two bills named the OPT Fair Tax Act would make OPT pay subject to Social Security and Medicare tax. As of October 14, 2026, S. 2940 (introduced on September 30, 2025) and its House companion, H.R. 8972, had only been sent to committees (Congress.gov). Under current law, a nonresident student's 2026 OPT pay is exempt.

How is CPT pay taxed?

CPT pay is taxed exactly like OPT pay. Income tax applies; Social Security and Medicare tax do not while you are a nonresident alien.

These situations change what you file for CPT and other summer work.

SituationWhat it means for your tax
Summer CPT in a different state from your schoolThe state where you did the work can tax that pay, and you may file a nonresident return there
You are a student from IndiaYou can take the $16,100 standard deduction under Article 21(2)
You are a student from ChinaArticle 20(c) lets you exclude up to $5,000 a year of US pay
Work you did while outside the US, such as a summer internship at homeThat pay is foreign-source and does not go on your Form 1040-NR

For example, California taxes nonresidents on California-source income, so a student who lives in Texas and interns in California usually files a California nonresident return (FTB Publication 1031). The two-state guide covers these cases, and the China and India guides the treaties.

How do I fill out Form W-4 on OPT or CPT?

Nonresident aliens fill in Form W-4 using IRS Notice 1392, and the 2026 Form W-4 tells them to read it first (Form W-4; Notice 1392). These steps matter most to students.

  1. In Step 1(c), check "Single or Married filing separately", whatever your marital status.
  2. Leave Step 3 blank in most cases. Nonresidents generally cannot claim dependents or credits there; Notice 1392 lists limited exceptions, including students from India.
  3. In the space below Step 4(c), write "Nonresident Alien" or "NRA". You may add extra withholding in Step 4(c) if you want it.
  4. Do not write "Exempt". A nonresident alien cannot claim exemption from withholding on Form W-4.

Your employer then adds an extra amount to your wages, only to work out income tax withholding, because nonresidents do not get the standard deduction (Publication 15-T). The amount is not wages, is not on your W-2 and does not change the tax you owe. Students and business apprentices from India are not subject to this step.

Form W-4 sets federal income tax withholding only. It does not turn Social Security and Medicare tax on or off. To have treaty-exempt pay left out of withholding, give your employer Form 8233 for the exempt part, not Form W-4 (IRS: claiming tax treaty benefits).

The IRS Tax Withholding Estimator is not for nonresident aliens (IRS FAQs). Our 2026 take-home calculator estimates take-home pay for F-1 and J-1 students instead.

Does my tax treaty cover OPT or CPT pay?

Some tax treaties exempt part of a student's US pay from federal income tax, such as up to $5,000 a year for students from China. A treaty generally does not exempt pay from Social Security and Medicare tax (IRS training material). We found no IRS ruling on whether a student article still covers OPT or STEM OPT pay, so this page does not answer that for any country.

Student articles set their own limits and conditions. China's Article 20(c) requires that you were a resident of China when you arrived and are in the US "solely" for education or training (US-China treaty; Publication 901).

India's Article 21(2) gives a deduction, not an exemption, so the wages stay on line 1a. The treaty guide lists other countries.

If you plan to claim a student article on OPT or STEM OPT pay, read its full text first, and consider advice from a tax professional.

You claim a treaty on your return by listing the exempt pay on Schedule OI and line 1k of the 2026 draft Form 1040-NR. Treaty-exempt wages go on line 1k only, not also on line 1a. Giving your employer Form 8233 during the year is optional: it keeps the exempt pay out of withholding.

Without it, you get the extra tax withheld back as a refund when you file. You then attach a statement with the information Form 8233 would have given (2025 Form 1040-NR instructions). The treaty claim guide shows both steps.

States do not all follow federal treaties. California does not, so treaty-exempt wages are still taxable on Form 540NR (FTB).

Which state do I pay tax to on OPT or CPT?

You usually pay income tax to the state where you did the work, if that state taxes wages, and to the state where you are a resident. A state taxes a nonresident only on income from sources in that state, mostly pay for work done there, and taxes its residents on all their income (FTB Publication 1031).

Being a nonresident alien does not make you a nonresident of your state, because each state has its own residency tests. New York, for example, has a second resident test. If you keep a permanent place to live there for substantially all of the year, and spend 184 days or more in the state, you are a resident (NY definitions).

Housing kept by a full-time undergraduate while at school does not count as a permanent place to live. That exception does not cover graduate students or graduates on OPT (NY regulatory impact statement). A New York resident files Form IT-201, not IT-203.

Washington does not tax wages for tax year 2026 (Washington DOR), and the state-by-state guide lists the other states that do not. To get back state tax withheld from your pay, you file that state's return, because withholding is credited only on the return.

As of October 14, 2026, none of California, New York, Illinois and Massachusetts had published its 2026 forms or 2027 due date. Their returns are expected to be due Thursday, April 15, 2027, as all four were due April 15, 2026 for tax year 2025.

What if I am between jobs on OPT?

A gap between OPT jobs does not change how your pay is taxed. Your 2026 return covers the wages you were actually paid in 2026, at the same rates.

How long you may be unemployed on OPT is an immigration rule, not a tax rule, so ask your school's designated school official (DSO). For tax, the five-year count runs by calendar year, and OPT does not pause or restart it (IRS: exempt individual who is a student).

With more than one employer, you get a W-2 from each, and line 1a of Form 1040-NR is the total of their box 1 amounts. Each employer works out withholding paycheck by paycheck, so compare the total withheld with the tax on your return to see whether you get a refund or owe.

Your 2026 incomeWhat you fileDue date
Wages, such as OPT or CPT pay on a W-2Form 1040-NR with Form 8843Thursday, April 15, 2027
No wages, but other taxable US incomeForm 1040-NR with Form 8843Tuesday, June 15, 2027
No income subject to US taxForm 8843 onlyTuesday, June 15, 2027

The Form 8843 only rule is in the Form 1040-NR instructions, and the Form 8843 guide explains that form.

What changes in my sixth year on OPT or STEM OPT?

In your sixth calendar year in student status, your days in the US usually start to count toward the substantial presence test. If you are in the US at least 183 days that year, you usually become a resident alien. Social Security and Medicare tax then apply to your OPT pay.

First year in the US on an F, J, M or Q visa
  1. 20211 of 5: exempt, days do not count
  2. 20222 of 5: exempt, days do not count
  3. 20233 of 5: exempt, days do not count
  4. 20244 of 5: exempt, days do not count
  5. 20255 of 5: exempt, days do not count
  6. 20266th: days count

2026 is your 6th year: your days now count.

Most students who stay all year pass the 183-day test and become resident aliens: Form 1040, the standard deduction, and Social Security and Medicare tax on most pay (work for your own school while you are enrolled can stay exempt). Residency starts on the first day you were in the US this year. You stay exempt only if you show the IRS you do not intend to live in the US permanently (Form 8843, Part III).

The five exempt calendar years of an F-1 student first here in 2021, and why 2026 is the year Social Security and Medicare tax can start. Any part of a calendar year counts as a whole one, and years on F, J, M or Q visas before this one count toward the five (IRC 7701(b)(5)(E)).

Earlier years as an F, J, M or Q student, or as a J or Q teacher, researcher or trainee, also use up the five (IRS). This assumes you were in the US in student status every year since you first came.

If you meet the test and are in the US on January 1 of your sixth year, your residency starts on January 1. If you are abroad that day, it starts on your first day back, and that year is a dual-status year (IRS: residency starting and ending dates).

A resident alien for all of 2026 files Form 1040 instead of Form 1040-NR, takes the $16,100 standard deduction and is taxed on worldwide income. A separate Social Security and Medicare exception for students who work for their own school never covers OPT or CPT with an outside company (on-campus job guide).

Watch out

Once you are a resident alien, Social Security and Medicare tax apply to your OPT pay. Tell your payroll office the year you first came to the US as a student, so it starts withholding these taxes at the right time.

Some students stay nonresidents after five years by checking "Yes" on line 12 of the 2026 draft Form 8843. They must show that they do not intend to live in the US permanently.

If that claim holds, the exemption continues (sixth-year guide). Social Security and Medicare tax also apply from your first day in H-1B status if you move from OPT to H-1B (F-1 to H-1B guide).

How is half a year of OPT pay in Illinois taxed? A worked example

A nonresident F-1 student with $36,000 of 2026 OPT pay in Illinois and no treaty pays about $3,876 of federal income tax and $1,637 of Illinois tax. Social Security and Medicare tax are $0.

$36,000
Federal income tax
$3,876
Illinois income tax
$1,637
Left after these taxes
$30,487

Social Security and Medicare: $0. A US worker earning the same would pay $2,754.

Where $36,000 of 2026 OPT pay goes for a nonresident F-1 student in Illinois with no tax treaty. From the Illinois tax calculator: 2026 federal brackets for a nonresident alien, first in the US in 2022.

The example uses the 2026 federal brackets, the 2026 Illinois exemption (IDOR bulletin FY 2026-15) and the 4.95% Illinois rate (IL-700-T).

Worked example: Ana, F-1 graduate on OPT in Chicago in 2026

Ana is an illustrative student. She first came to the US in August 2022 and has been here in F-1 status every year since, so 2022 to 2026 are her exempt years. She is a nonresident alien for all of 2026. For this example, no tax treaty applies to her pay.

She starts an OPT job in Chicago on July 1, 2026, at $72,000 a year. Her 2026 W-2 shows $36,000 of wages. Assume her employer withheld $1,637 of Illinois tax, the same as her Illinois tax below.

StepAmount
Social Security and Medicare withheld (exempt)$0
Illinois: $36,000 minus the $2,925 exemption = $33,075$33,075
Illinois tax: 4.95% of $33,075$1,637
Federal: line 1a wages$36,000
Schedule A: Illinois income tax withheld in 2026$1,637
Taxable income: $36,000 minus $1,637$34,363
Federal tax: $1,240 + 12% of ($34,363 minus $12,400) = $1,240 + $2,636$3,876

Ana's income tax for 2026 is about $3,876 federal and $1,637 Illinois. A worker who was not exempt would also pay 7.65% of $36,000 = $2,754 in Social Security and Medicare tax. The IRS Tax Table can differ from the rate formula by a few dollars. Deducting her Illinois tax lowered her federal tax by about $196 (12% of $1,637).

If her W-2 shows more than $3,876 of federal tax withheld, she gets the difference back. If it shows less, she pays the rest by Thursday, April 15, 2027.

2027 is her sixth calendar year. If she is in the US on January 1, 2027 and is present at least 183 days that year, she is a resident alien from January 1, unless the Form 8843 line 12 exception applies. As a resident, she would owe Social Security and Medicare tax on her 2027 OPT pay.

For worked examples at other salaries and in other states, see the OPT take-home pay examples.

What do I file for 2026, and by when?

If you were paid wages in 2026, file Form 1040-NR with Form 8843 attached by Thursday, April 15, 2027. Your employer must send your 2026 W-2 by Monday, February 1, 2027, because January 31, 2027 is a Sunday.

The 2026 draft Form 1040-NR adds a new question. It asks whether, at the time you file, you are "a U.S. citizen, U.S. national, or an alien lawfully authorized to work in the U.S." Its instructions are not yet published, so we do not tell you how to answer it yet; the tax year 2026 changes guide tracks it.

F1TaxReturn prepares Form 1040-NR and Form 8843 for free, as a paper return that you sign and mail, once the IRS publishes the final 2026 forms. It does not prepare Form 1040 or dual-status returns, so a sixth-year resident needs another way to file. It also takes Form 1042-S, where treaty-exempt pay is often reported, for 2025 and 2026 returns.

For a state return in its nine states (for 2026 returns: CA, NY, IL, MA, IN, MI, NC, AZ and NJ), one payment of $30 plus a $2 processing fee covers the state forms on your return. If Social Security and Medicare tax was taken from your OPT pay and your employer will not refund it, F1TaxReturn prepares Form 843 with Form 8316 for $20.

What to do next

  1. Check your latest pay stub now for Social Security and Medicare lines. If you see them while you are a nonresident alien, write to payroll (FICA refund guide).
  2. Count your calendar years in student status with the substantial presence test guide, so you know whether 2026 or 2027 is your sixth year.
  3. When you start a new job, fill in Form W-4 using Notice 1392. If you claim a treaty exemption, give your employer Form 8233 for the exempt part.
  4. Expect a W-2 from each 2026 employer, sent by Monday, February 1, 2027. Add their box 1 amounts for line 1a.
  5. Mail Form 1040-NR with Form 8843 by Thursday, April 15, 2027, and any state return by its due date. The mailing guide will have the 2027 IRS address once it is published.
  6. To prepare the federal forms for free, start your return.

Questions students ask

Is CPT taxed differently from OPT?

No. CPT and OPT pay are both wages, subject to federal income tax and to state income tax in states that tax wages. Both are free of Social Security and Medicare tax while you are a nonresident alien. There is no special income tax rule for CPT.

Does STEM OPT change my taxes?

No. The STEM OPT extension is practical training, like OPT, so the same income tax rules and the same Social Security and Medicare exemption apply. What can change during STEM OPT is your residency: if you reach your sixth calendar year in student status, you can become a resident alien.

My employer took Social Security and Medicare out of my OPT pay. What do I do?

If you were a nonresident alien when you were paid, ask your employer's payroll office in writing to stop the withholding and refund it. If it will not refund all of it, claim the rest from the IRS on Form 843 with Form 8316. For 2026 pay you have until Monday, April 15, 2030.

Will I get a tax refund on OPT?

You may. Employers add an extra amount to a nonresident's wages when they work out income tax withholding, which can make the tax withheld higher than the tax you owe. Whether you get a refund depends on your total 2026 wages, your deductions and how much was withheld, and you get it only by filing Form 1040-NR.

Do I still file Form 8843 while I am on OPT?

Yes, for every year you are a nonresident alien student, because Form 8843 is how you leave your exempt days out of the substantial presence test. Attach it to your Form 1040-NR and mail both together.

Can I deduct the cost of moving for my OPT job?

No. On the 2026 draft Schedule 1, the moving expense line is only for members of the Armed Forces and the intelligence community. A relocation payment from your employer is generally taxable as wages.

Sources

This guide is checked against these 34 documents, most recently on .

  1. Foreign student liability for Social Security and Medicare taxes, IRS
  2. Aliens employed in the U.S.: Social Security taxes, IRS
  3. Contribution and benefit base, Social Security Administration
  4. 26 U.S. Code 3121, definitions (section 3121(b)(19) and (b)(10)), US Code (Legal Information Institute)
  5. 26 U.S. Code 3101, rate of tax (Social Security and Medicare), US Code (Legal Information Institute)
  6. Form 1040-NR (2026 draft), IRS
  7. Schedule A (Form 1040-NR) (2026 draft), IRS
  8. Schedule 1 (Form 1040) (2026 draft), IRS
  9. Form 8843 (2026 draft), IRS
  10. Publication 505 (2026), Tax Withholding and Estimated Tax, IRS
  11. Working Families Tax Cuts: individuals and workers (2026 tax brackets), IRS
  12. Revenue Procedure 2025-32 (2026 inflation adjustments), IRS
  13. Nonresident: figuring your tax, IRS
  14. Form W-4 (2026), Employee's Withholding Certificate, IRS
  15. Notice 1392, Supplemental Form W-4 Instructions for Nonresident Aliens, IRS
  16. Publication 15-T (2026), Federal Income Tax Withholding Methods, IRS
  17. Tax Withholding Estimator FAQs, IRS
  18. General Instructions for Forms W-2 and W-3 (2026), IRS
  19. Claiming tax treaty benefits, IRS
  20. Withholding and reporting of tax on wage payments to foreign persons (training material), IRS
  21. Publication 901, U.S. Tax Treaties, IRS
  22. United States and People's Republic of China income tax treaty, IRS
  23. Exempt individual: who is a student, IRS
  24. Residency starting and ending dates, IRS
  25. Instructions for Form 1040-NR (2025), IRS
  26. S. 2940, OPT Fair Tax Act: all actions, Congress.gov (Library of Congress)
  27. H.R. 8972, OPT Fair Tax Act (introduced in the House), US Government Publishing Office
  28. Publication 1031 (2025), Guidelines for Determining Resident Status, California Franchise Tax Board
  29. 2025 Instructions for Schedule CA (540NR), California Franchise Tax Board
  30. Personal income tax definitions (resident, statutory resident), New York State Department of Taxation and Finance
  31. Regulatory impact statement: permanent place of abode for students, New York State Department of Taxation and Finance
  32. Informational Bulletin FY 2026-15, What's New for Illinois Income Taxes, Illinois Department of Revenue
  33. IL-700-T, Illinois Withholding Tax Tables (2026), Illinois Department of Revenue
  34. Capital gains tax, Washington State Department of Revenue