Tax year 2026Checked

Morocco tax treaty for students: the $2,000 Article 18 exemption in 2026

Article 18 of the US-Morocco treaty keeps up to $2,000 of a Moroccan student's US pay a year free of federal income tax, for up to 5 years. A dining-hall worker's 2026 numbers, grants from Morocco, and how to claim it.

$2,000 of US pay a year at most, free of federal income tax

Line 1k Treaty-exempt incomeForm 1040-NR (2026 draft)

In short

  1. For tax year 2026, Article 18 of the US-Morocco tax treaty lets a Moroccan student exclude up to $2,000 of US pay a year from federal income tax, for up to 5 years.
  2. Article 18 limits the exemption to five taxable years from the date you arrive, and the Publication 519 Morocco statement counts them from the tax year that includes your arrival date.
  3. On $12,900 of dining-hall pay, the exemption cuts 2026 federal income tax from about $1,300 to $1,090.
  4. Article 18 also covers gifts from abroad for your studies and the grant or award itself, and Publication 4011 shows no dollar limit on scholarships for Morocco.
  5. You claim it on Schedule OI item L and Form 1040-NR line 1k; Form 8233 with the Morocco statement from Publication 519 only stops withholding during the year.
Contents, 10 sections

For tax year 2026, a Moroccan student who is a nonresident alien can exclude up to $2,000 of US pay a year from federal income tax under Article 18. The US-Morocco treaty allows this for up to 5 years (Publication 901; Publication 4011).

The $2,000 is one limit for all your US jobs. The treaty guide by country compares Morocco with the other treaty countries.

Do I qualify for Article 18 as a Moroccan student?

You qualify if you were a resident of Morocco when you arrived in the US, are here mainly to study or train, and are a nonresident alien for 2026. The Treasury's explanation of the treaty names three purposes that count:

  1. studying at a university or other recognized educational institution;
  2. getting the training you need to qualify for a profession or professional specialty;
  3. studying or doing research on a grant, allowance or award from a qualifying organization.

Residence here means tax residence, not citizenship (item B of Schedule OI). The Treasury explanation words the test as being a resident of Morocco when you become temporarily present in the US.

The US-Morocco treaty has no article for teachers or researchers. A Moroccan J-1 researcher on a grant may qualify under the third purpose above. Publication 901 says a teacher may qualify under the treaty's rules for personal services income (J-1 researcher guide).

Key facts

Treaty article
18 of the US-Morocco treaty (Publication 4011)
Student pay exempt
Up to $2,000 a tax year
Time limit
5 taxable years, counted from the tax year you arrived (Publication 519)
Where it goes
Schedule OI item L and Form 1040-NR line 1k
Social Security and Medicare tax
A treaty generally does not exempt you from them
For
F-1, J-1 and M-1 students who were residents of Morocco when they arrived in the US and are nonresident aliens for tax year 2026.
Not for
Resident aliens, who file Form 1040, and J-1 professors and researchers who are not here on a grant: the treaty has no teacher or researcher article.

How much does a dining-hall job save in 2026?

On $12,900 of dining-hall pay, Article 18 saves about $210 of 2026 federal income tax.

$12,900
Federal income tax
$1,090
Florida income tax
$0
Left after these taxes
$11,810

Social Security and Medicare: $0. A US worker earning the same would pay $987. Your treaty keeps $2,000 of your pay free of federal tax, which saves $210 of federal income tax this year.

What an F-1 student from Morocco keeps from $12,900 of dining hall pay in Florida, with the $2,000 treaty exemption. From the Florida tax calculator: 2026 federal brackets for a nonresident alien, first in the US in 2025. No state income tax on wages.

Worked example: Youssef, F-1 undergraduate from Morocco, campus dining hall in 2026

Youssef is an illustrative student from Fès who arrived in January 2025, so he is a nonresident alien for 2026. He works in his university's dining hall in Florida, which has no tax on wages, and earned $12,900 in 2026. He has nothing to itemize, and nonresidents get no standard deduction.

Line (2026 draft Form 1040-NR)Without treatyWith treaty
1ataxable wages$12,900$10,900
1ktreaty-exempt pay$0$2,000
15taxable income$12,900$10,900
16federal tax (about)$1,300$1,090

The figures use the 2026 single-filer rates; the 2026 Tax Table, not yet published, can move the tax by a few dollars.

Social Security and Medicare tax is usually $0 for F-1 and J-1 nonresident aliens under a separate rule (IRS), not the treaty (IRS). The on-campus job guide explains what a pay stub should show.

How many years can I use Article 18?

Article 18 allows no more than five taxable years from the date of your arrival in the US (treaty text). Publications 901 and 4011 also give 5 years.

The Morocco statement in Appendix A of Publication 519 counts 5 tax years "beginning with the tax year that includes my arrival date". For a January 2025 arrival like Youssef's, 2029 is the last year.

Is a scholarship or money from Morocco taxed in the US?

Usually not while you are a nonresident alien. The Treasury explanation says Article 18 also exempts gifts from abroad for your maintenance, education or research, and the grant, allowance or award itself (Treasury explanation).

The scholarship table in Publication 4011 lists Morocco with no dollar limit and a 5-year limit. Even without the treaty, a scholarship from the Moroccan government or another payer outside the US is generally foreign-source income, not taxed for a nonresident alien (Publication 519).

For one from your US university, the scholarship guide explains which part is taxable. To claim the treaty on a US scholarship that is not pay, give your school Form W-8BEN (IRS).

How do I claim Article 18 on my 2026 return?

You claim it on Schedule OI item L and Form 1040-NR line 1k. Form 8233 only stops withholding on the exempt pay during the year.

  1. Give Form 8233 to whoever pays you, with the Morocco statement from Appendix A of Publication 519, which names the $2,000 limit. At some universities an outside company runs the dining hall and issues the W-2, and that company is the one to give it to. The Form 8233 instructions ask for a new one each tax year.
  2. On Schedule OI item L, enter Morocco, 18, the months you claimed it in earlier tax years, and the 2026 exempt amount (2025 Schedule OI columns; the 2026 schedule is not yet published).
  3. Enter the item L total on line 1k of the 2026 draft Form 1040-NR.
  4. If tax was withheld from all your pay, enter W-2 box 1 minus the exempt amount on line 1a and attach the statement the Form 1040-NR instructions describe. The extra tax comes back in your refund.

Students claiming a treaty exemption for pay generally need no Form 8833 (IRS). The how-to guide shows a completed item L, and the Form 1042-S guide covers exempt pay reported on Form 1042-S.

Will my state tax the $2,000?

Florida, where Youssef works, does not: it has no tax on wages. California taxes treaty-exempt wages on Form 540NR (FTB), while New York and Massachusetts follow the federal exemption.

Illinois starts from your federal adjusted gross income, and its 2025 Schedule M lists no addition for treaty income, so the $2,000 stays out (state tax guide).

What happens to Article 18 when I become a resident alien?

Article 18 can continue if you do not have a green card. Most treaty benefits stop when you become a resident alien, but Article 20(4)(b) of the treaty keeps Article 18 for people who are neither US citizens nor immigrants.

For a Moroccan F-1 student the question rarely comes up: the five taxable years have usually run out by the sixth calendar year, when residency usually starts (sixth-year guide). Residents file Form 1040, which F1TaxReturn does not prepare.

What to do next

  1. Confirm you are a nonresident alien for 2026 with the substantial presence test guide, and count the tax years since you arrived.
  2. If you still work in 2026, give your employer Form 8233 with the Morocco statement now, and a new one for 2027 before your first 2027 paycheck.
  3. Collect your W-2 (due by Monday, February 1, 2027) and any Form 1042-S (due by Monday, March 15, 2027).
  4. File Form 1040-NR, Schedule OI and Form 8843 by Thursday, April 15, 2027 if you were paid wages subject to US income tax withholding in 2026, or by Tuesday, June 15, 2027 if you were not. Check where to mail it.

F1TaxReturn prepares Form 1040-NR and Form 8843 for free and applies the Morocco exemption to W-2 wages. It also takes Form 1042-S, where exempt pay is often reported, for 2025 and 2026 returns. It will prepare 2026 returns once the IRS publishes the final 2026 forms, and you print, sign and mail the return yourself.

Questions students ask

I arrived in January 2025. What is my last year for Article 18?

Article 18 allows no more than five taxable years from the date of your arrival, and the Morocco statement in Publication 519 counts 5 tax years beginning with the tax year that includes your arrival date. With 2025 as year one, your last year is 2029.

My scholarship comes from the Moroccan government. Do I pay US tax on it?

Generally not while you are a nonresident alien. A scholarship from a payer outside the US is generally foreign-source income (Publication 519), and Article 18 also covers grants and payments from abroad for your studies. A scholarship paid by your US university follows different rules.

Can I use Article 18 for OPT pay after I graduate?

No IRS ruling we found settles whether a student article covers OPT pay, and schools and payroll providers treat it differently. Article 18 is written for people in the US to study or train. Get advice before you claim it for OPT pay.

Does Article 18 stop Social Security and Medicare tax on my dining-hall pay?

No. An income tax treaty generally does not exempt pay from those taxes. F-1 and J-1 nonresident aliens are usually exempt from them on pay for work their visa allows, such as an on-campus job, under a separate rule in US law.

Sources

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

  1. Tax convention with the Kingdom of Morocco, IRS
  2. Morocco: Treasury technical explanation, US Treasury, via IRS
  3. Publication 901, U.S. Tax Treaties (Rev. September 2024), IRS
  4. Publication 4011, Foreign Student and Scholar Volunteer Resource Guide (Rev. 10-2026), IRS
  5. Publication 519 (2025), U.S. Tax Guide for Aliens, IRS
  6. Instructions for Form 8233 (Rev. December 2025), IRS
  7. Claiming tax treaty benefits, IRS
  8. Schedule OI (Form 1040-NR) (2025), IRS
  9. Form 1040-NR (2026), draft, IRS
  10. Working Families Tax Cuts: individuals and workers (2026 tax rates), IRS
  11. Foreign student liability for Social Security and Medicare taxes, IRS
  12. Withholding and reporting of tax on wage payments to foreign persons, IRS
  13. 2025 Instructions for Schedule CA (540NR), California Franchise Tax Board
  14. 2025 Schedule M (IL-1040), Other Additions and Subtractions for Individuals, Illinois Department of Revenue