Tax year 2026Checked

Spain tax treaty for students: the $5,000 Article 22(1) exemption (2026)

Article 22(1) of the US-Spain treaty keeps up to $5,000 of a Spanish student's US pay free of federal income tax each year, for at most 5 years. A dining-hall example with tax withheld, the separate $8,000 rule, and how to claim.

$5,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 22(1) of the US-Spain tax treaty lets a Spanish student exclude up to $5,000 of US pay a year from federal income tax, for a maximum of 5 years.
  2. On a $7,200 dining-hall job, the exemption cuts 2026 federal income tax from about $720 to $220, a $500 saving even if payroll withheld tax all year.
  3. Publication 901 (Rev. September 2024) says the article also covers payments from abroad for your maintenance or education and the grant, allowance or award itself.
  4. You claim it on Schedule OI item L and Form 1040-NR line 1k, and Form 8233 stops withholding on the exempt pay during the year.
Contents, 10 sections

For tax year 2026, a Spanish student who is a nonresident alien can exclude up to $5,000 of US pay a year from federal income tax under Article 22(1). The US-Spain treaty benefit lasts a maximum of 5 years (Publication 901; Publication 4011).

The treaty guide by country compares Spain with other countries.

Who qualifies for the Spain student exemption?

You qualify if you were a resident of Spain at the beginning of your visit to the US and are here temporarily. Your main purpose must be study at a university or other accredited educational institution, training for a profession, or study or research on a grant (Publication 901).

You must also be a nonresident alien for 2026 (F-1 and J-1 students usually are in their first 5 calendar years). Residence means tax residence, not citizenship (item B of Schedule OI), so a Spanish citizen who was tax resident elsewhere before arriving should check that country's treaty.

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

Key facts

Treaty article
22(1) of the US-Spain treaty
Student pay exempt
Up to $5,000 a tax year
Time limit
5 years from your arrival date (treaty text); Publication 519 counts 5 tax years
Where it goes
Schedule OI item L and Form 1040-NR line 1k
Form 8833
Generally not needed for a student claim
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 Spain at the beginning of their US visit, are here temporarily to study or train, 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 it save on a dining-hall job in 2026?

On $7,200 of dining-hall pay, the exemption saves about $500 of 2026 federal income tax, because all of Lucía's pay falls in the 10% bracket.

$7,200
Federal income tax
$220
Florida income tax
$0
Left after these taxes
$6,980

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

What an F-1 student from Spain keeps from $7,200 of dining hall pay in Florida, with the $5,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: Lucía, F-1 undergraduate from Spain, dining-hall job in 2026

Lucía is an illustrative first-year student from Valencia who arrived in August 2025. She works in a campus dining hall in Florida, which has no tax on wages, and earns $7,200 in 2026. She did not give payroll a Form 8233, so her W-2 shows all $7,200 in box 1 and $480 of federal income tax withheld in box 2. She has nothing to itemize, and nonresidents get no standard deduction.

Line (2026 draft Form 1040-NR)With treatyWithout treaty
1ataxable wages$2,200$7,200
1ktreaty-exempt pay$5,000$0
15taxable income$2,200$7,200
16federal tax (about)$220$720
25atax withheld$480$480
Refund or amount owed$260 back$240 owed

Line 1a is W-2 box 1 minus the exempt amount, and the treaty turns $240 owed into $260 back. The figures use the 2026 single-filer rates; the 2026 Tax Table, not yet published, can move the tax by a few dollars.

How many years can I claim Article 22?

Article 22(1) allows a maximum of 5 years from the date of your arrival (treaty text), and Publication 901 also gives 5 years. The "Portugal and Spain" statement in Publication 519 counts them as 5 tax years beginning with the tax year that includes your arrival date.

The two counts differ only in the sixth calendar year. For Lucía, who arrived in August 2025, both cover 2025 to 2029, and only the treaty's count reaches into 2030. Which count governs there is not settled, so get advice before you claim for your sixth calendar year, whatever your residency.

Does the treaty cover a scholarship or money from Spain?

Yes: Publication 901 says Article 22 also exempts payments from abroad for your maintenance, education, study, research or training, and the grant, allowance or award itself. The $5,000 cap applies to pay for your work.

Any part of a scholarship paid for teaching or research is taxable as pay; the scholarship guide explains which part of the rest is taxable. For a treaty claim on a scholarship that is not payment for work, the IRS says to give your school Form W-8BEN (IRS).

How do I claim it on my 2026 Form 1040-NR?

You claim the exemption on Schedule OI item L and Form 1040-NR line 1k. Form 8233 is optional and only changes withholding during the year.

  1. To stop withholding, give payroll Form 8233 with the statement headed "Portugal and Spain" in Appendix A of Publication 519, which names the $5,000 limit, and a new one each year.
  2. On Schedule OI item L, enter Spain, 22(1), 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 the exempt pay is inside W-2 box 1, as in Lucía's case, put box 1 minus the exempt amount on line 1a and attach the statement the instructions describe.

Students claiming a treaty exemption for pay generally need no Form 8833 (IRS). If the exempt pay arrives on Form 1042-S instead, the Form 1042-S guide explains it. The how-to guide walks through item L.

Will my state tax the $5,000?

California ignores tax treaties, so the $5,000 is still taxed on Form 540NR (FTB). 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 $5,000 stays out (state tax guide).

What happens when I become a resident alien?

Spain's 5 years have usually run out by the time you become a resident alien, or run out during that year. For an F-1 student, residency usually starts in the sixth calendar year (sixth-year guide).

Article 22 itself can continue, within the same 5 years, for a resident who is neither a US citizen nor an immigrant (treaty text, Article 1(4)(b)). Residents file Form 1040, which F1TaxReturn does not prepare.

What to do next

  1. If you are still working in 2026, give payroll Form 8233 with your treaty statement. We recommend a new one for 2027 before your first 2027 paycheck.
  2. Confirm you are a nonresident alien for 2026 with the substantial presence test guide.
  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.

F1TaxReturn prepares Form 1040-NR and Form 8843 for free and applies the Spain exemption to W-2 wages. It also takes Form 1042-S scholarships and treaty-exempt pay, 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

What is the $8,000 rule I have seen for Spain?

It is a separate paragraph, not the student exemption. Publication 901 describes up to $8,000 for 12 consecutive months for a Spanish resident who is an employee of, or under contract with, a Spanish resident. A student paid by a US school or company uses the $5,000 student article instead.

Is there a Spain statement to attach to Form 8233?

Yes. Appendix A of Publication 519 has a student statement headed "Portugal and Spain", for up to $5,000 of pay a tax year. Fill in Spain where it asks for the country.

Does Article 22 cover my OPT pay after I graduate?

No IRS ruling we found settles this. The article is for people in the US temporarily to study or train, and payroll offices treat OPT differently. Get advice before you claim the exemption for OPT pay.

Does the treaty exempt me from Social Security and Medicare tax?

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

Sources

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

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