Free fifteen-minute call. With a CPA, no payment until after.
Client login786-952-6621

F-1 and OPT: Which Year Do I Become a US Tax Resident?

Written by Yarik Yarosh, CPA (US & Canada) August 21, 2026 · FL CPA license AC61704 · CPA Ontario

Not until the five-calendar-year exemption runs out and your counted days pass the substantial presence test. While you are an exempt individual under IRC 7701(b)(5)(D), your days in the US do not count toward the 183-day weighted test at all. You file as a nonresident alien on Form 1040-NR, not as a US tax resident. This matters because nonresidents are taxed only on US-source income, while residents owe tax on worldwide income, including Canadian bank interest, TFSA growth, and anything else that never touched the US.

The exemption covers five calendar years, not five complete years. A partial first year uses one of them. And OPT (Optional Practical Training) does not reset or extend the clock; it is still F-1 status, still the same exemption, still counting down.

Key takeaway

F-1 students are exempt individuals for five calendar years. During that window, your US presence days do not count toward the substantial presence test, and you file as a nonresident (Form 1040-NR, US-source income only). Once the exemption expires, usually in your sixth calendar year, every day counts. If you stay on OPT into that year, you can become a US tax resident mid-year. The shift from nonresident to resident changes everything: worldwide income, FBAR, Form 8938, and potentially PFIC reporting on Canadian investments.

What is the exempt individual rule?

IRC 7701(b)(5) defines four categories of exempt individuals whose days do not count toward the substantial presence test. Students present in the US on F, J, M, or Q visas are one category, covered by subsection (D). The exemption lasts for five calendar years.

The five years are calendar years, not full 365-day periods. If you arrived on an F-1 in August 2021, that partial year is year one. The five calendar years are 2021, 2022, 2023, 2024, and 2025. Starting in 2026, you are no longer an exempt individual, and every day of US presence counts.

The exemption is not automatic. You claim it by filing Form 8843, Statement for Exempt Individuals, with the IRS each year. You do not need to attach it to a tax return if you have no US-source income, but you do need to file it. Missing it does not destroy the exemption retroactively (the exemption is statutory, not elective), but the IRS can challenge your exempt status if the form was never filed.

Does OPT change the exemption?

No. OPT is an extension of F-1 status, not a new immigration classification. You remain on the same visa, and the exempt individual rule continues to apply until the five calendar years are used up. A STEM OPT extension does not add more exempt years either. The clock runs on calendar years of F-1 status, and OPT does not pause or restart it.

This catches people who arrive as freshmen, spend four years in school, and then start OPT in their fifth calendar year. They are still exempt that year. But if OPT runs into a sixth calendar year, the exemption is gone, and days start counting.

What happens in the first year after the exemption expires?

The substantial presence test runs on a weighted formula across three years: current-year days count in full, prior-year days at one-third, and the year before that at one-sixth. But days from years when you were an exempt individual do not get weighted into the prior-year buckets. Only post-exemption days count.

So in your sixth calendar year (the first non-exempt year), only the current year’s days matter. If you are present for 183 days or more in that year, you meet the test. If you are present for fewer than 183 days, you remain a nonresident for the full year (assuming no green card or first-year election).

The residency start date, when you do meet the test, is the first day of presence in the calendar year, per IRC 7701(b)(2)(A)(iii). That means if you are present from January 1 and pass 183 days by early July, your residency reaches back to January 1. You are a US tax resident for the entire year.

What about the closer connection exception?

Even after your exempt years end, you can avoid US tax residency under the closer connection exception if you were present for fewer than 183 current-year days and you maintained a tax home in and closer connection to Canada (or another foreign country). You claim it on Form 8840.

This matters for someone whose OPT ends mid-year and they return to Canada. If they were present for, say, 150 days and can show their tax home shifted back to Canada, they may avoid residency for that year. The closer connection test looks at where your permanent home is, where your family lives, where your bank accounts are, where your driver’s license is issued, and similar ties. For a Canadian who just spent five years studying in the US, the answer depends on the facts: did you keep a Canadian address, Canadian bank accounts, a Canadian driver’s license? Or did you cut those ties during school?

The exception does not apply if you had 183 or more current-year days. At that point, the test is met regardless of ties.

What filings change when I become a resident?

The shift is large. As a nonresident, you filed Form 1040-NR and reported only US-source income. As a resident, you file Form 1040 and report worldwide income. The new obligations that appear:

FBAR (FinCEN Form 114). If your Canadian bank accounts, RRSP, TFSA, and any other foreign financial accounts exceed $10,000 in aggregate value at any point during the year. The FBAR vs Form 8938 guide covers the thresholds and overlaps.

Form 8938. If your specified foreign financial assets exceed $50,000 at year-end or $75,000 at any time (single, living in the US). The threshold was $200,000/$300,000 when you were a nonresident living abroad.

TFSA. The CRA’s Tax-Free Savings Account is not recognized as tax-exempt by the IRS. As a US tax resident, the growth is taxable, and the account may require Form 3520/3520-A if the IRS treats it as a foreign trust.

Canadian mutual funds as PFICs. If you hold Canadian mutual funds or ETFs in a non-registered account, they may be passive foreign investment companies under IRC 1291, with punitive tax treatment unless you make a QEF or mark-to-market election. The PFIC guide covers the mechanics.

Canadian employment income. If you have Canadian-source employment income (from a job before you left, or remote work for a Canadian employer), you report it on Form 1040 and claim a foreign tax credit on Form 1116 for the Canadian tax paid.

Can I elect to be a resident earlier?

Yes, under the first-year election in IRC 7701(b)(4). If you are present for 31 consecutive days and at least 75% of the days from the start of that 31-day period through December 31, you can elect to treat yourself as a resident from the first day of the 31-day period. This is the same election available to any first-year arrival, and the first-year election guide works through the trade-offs.

Why would you elect early? Usually to file jointly with a US-citizen or US-resident spouse, which opens better tax brackets and the standard deduction. But electing early also pulls your worldwide income into the US net sooner, and triggers all the foreign-asset reporting from the election date. It is not free, and the cost depends on what you own in Canada.

What should I do next?

Count your exempt calendar years. If you arrived on an F-1, the first calendar year with any presence is year one, even if you arrived in December. Once you know which year the exemption ends, plan the transition: review what you own in Canada, understand the new reporting obligations, and decide whether the closer connection exception or a first-year election changes the math.

Not sure when you became a US tax resident?

The Cross-Border Assessment is a fixed $249. You get a written, CPA-reviewed read on your specific residency timeline and the filings that follow from it.

Book a free call →
Get the next cross-border guide by email

One or two plain-English guides a week on US-Canada tax. No spam, unsubscribe anytime.

Cite this page

Yarik Yarosh, CPA. "F-1 and OPT: Which Year Do I Become a US Tax Resident?." Blue Cloud CPA, August 21, 2026. https://bluecloudcpa.com/guides/f1-opt-which-year-become-us-tax-resident

This guide is general information, not tax advice for your specific situation. Which points apply, and how, depends on your facts.