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
- 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.
- 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.
- 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).
- 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.
- 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.
| Situation | What it means for your tax |
|---|---|
| Summer CPT in a different state from your school | The state where you did the work can tax that pay, and you may file a nonresident return there |
| You are a student from India | You can take the $16,100 standard deduction under Article 21(2) |
| You are a student from China | Article 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 home | That 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.
- In Step 1(c), check "Single or Married filing separately", whatever your marital status.
- Leave Step 3 blank in most cases. Nonresidents generally cannot claim dependents or credits there; Notice 1392 lists limited exceptions, including students from India.
- 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.
- 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 income | What you file | Due date |
|---|---|---|
| Wages, such as OPT or CPT pay on a W-2 | Form 1040-NR with Form 8843 | Thursday, April 15, 2027 |
| No wages, but other taxable US income | Form 1040-NR with Form 8843 | Tuesday, June 15, 2027 |
| No income subject to US tax | Form 8843 only | Tuesday, 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.
- 20211 of 5: exempt, days do not count
- 20222 of 5: exempt, days do not count
- 20233 of 5: exempt, days do not count
- 20244 of 5: exempt, days do not count
- 20255 of 5: exempt, days do not count
- 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).
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.
- 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.
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.
| Step | Amount |
|---|---|
| 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
- 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).
- Count your calendar years in student status with the substantial presence test guide, so you know whether 2026 or 2027 is your sixth year.
- 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.
- Expect a W-2 from each 2026 employer, sent by Monday, February 1, 2027. Add their box 1 amounts for line 1a.
- 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.
- To prepare the federal forms for free, start your return.
Questions students ask
Is CPT taxed differently from OPT?
Does STEM OPT change my taxes?
My employer took Social Security and Medicare out of my OPT pay. What do I do?
Will I get a tax refund on OPT?
Sources
This guide is checked against these 34 documents, most recently on .
- Foreign student liability for Social Security and Medicare taxes, IRS
- Aliens employed in the U.S.: Social Security taxes, 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 3101, rate of tax (Social Security and Medicare), US Code (Legal Information Institute)
- Form 1040-NR (2026 draft), IRS
- Schedule A (Form 1040-NR) (2026 draft), IRS
- Schedule 1 (Form 1040) (2026 draft), IRS
- Form 8843 (2026 draft), IRS
- Publication 505 (2026), Tax Withholding and Estimated Tax, IRS
- Working Families Tax Cuts: individuals and workers (2026 tax brackets), IRS
- Revenue Procedure 2025-32 (2026 inflation adjustments), IRS
- Nonresident: figuring your tax, IRS
- Form W-4 (2026), Employee's Withholding Certificate, IRS
- Notice 1392, Supplemental Form W-4 Instructions for Nonresident Aliens, IRS
- Publication 15-T (2026), Federal Income Tax Withholding Methods, IRS
- Tax Withholding Estimator FAQs, IRS
- General Instructions for Forms W-2 and W-3 (2026), IRS
- Claiming tax treaty benefits, IRS
- Withholding and reporting of tax on wage payments to foreign persons (training material), IRS
- Publication 901, U.S. Tax Treaties, IRS
- United States and People's Republic of China income tax treaty, IRS
- Exempt individual: who is a student, IRS
- Residency starting and ending dates, IRS
- Instructions for Form 1040-NR (2025), IRS
- S. 2940, OPT Fair Tax Act: all actions, Congress.gov (Library of Congress)
- H.R. 8972, OPT Fair Tax Act (introduced in the House), US Government Publishing Office
- Publication 1031 (2025), Guidelines for Determining Resident Status, California Franchise Tax Board
- 2025 Instructions for Schedule CA (540NR), California Franchise Tax Board
- Personal income tax definitions (resident, statutory resident), New York State Department of Taxation and Finance
- Regulatory impact statement: permanent place of abode for students, New York State Department of Taxation and Finance
- Informational Bulletin FY 2026-15, What's New for Illinois Income Taxes, Illinois Department of Revenue
- IL-700-T, Illinois Withholding Tax Tables (2026), Illinois Department of Revenue
- Capital gains tax, Washington State Department of Revenue