ESPP Shares After Moving to Canada: The Discount the US Still Taxes, the Gain Canada Measures From Arrival, and the Sale That Straddles Both
Reviewed by the Fairlight Accounting cross-border tax team — U.S. & Canadian Tax Desks
On this page
The ESPP is the equity award that survives a move most quietly — the shares are already owned — and it is taxed on sale in a way that depends on where the employee worked when the shares were purchased and where they live when the shares are sold. The US rules for a qualified (section 423) ESPP: no tax at purchase; on a qualifying disposition (sold more than two years after the offering date and one year after the purchase date), the lesser of the discount at the offering (the offering-date value less the purchase price) and the actual gain is ordinary income (compensation), with the balance capital gain; on a disqualifying disposition (sold before those holding periods), the purchase-date spread (the value at purchase less the price paid) is ordinary income, and the balance is capital gain or loss. The compensation portion is wages — sourced, for a nonresident alien, to the workdays during the offering period that earned the right to buy at the discount, and reported by the employer on a W-2 (or, after departure, treated as US-source compensation the former employee reports). For a Canadian resident who is a nonresident alien selling ESPP shares after the move: the compensation portion of the sale is US-source wages attributable to US workdays (the employee worked in the US during the offering period), taxable by the US on a Form 1040-NR at graduated rates (with the treaty's dependent-personal-services article not exempting it, since the remuneration was borne by the US employer and the work was in the US); the capital gain portion is not US-taxable to a nonresident alien (gains on stock are not US-source for nonresidents, absent a US real property interest); and the former employer's reporting — a W-2 for the compensation portion in the year of sale, or the employee's own reporting where the employer doesn't track post-departure sales — is the paper the 1040-NR runs on. The Canadian rules: Canada does not recognize the ESPP as a special regime — the shares are simply property the newcomer owned on arrival, deemed acquired for Canadian purposes at their fair market value on the residency date (the arrival cost basis); a sale after arrival produces a Canadian capital gain (or loss) measured from that arrival value, taxed at the capital gains inclusion rate; and the compensation element the US recognizes has no Canadian counterpart for shares purchased before Canadian residency (Canada taxes employment benefits from stock plans when the shares are acquired, under its own employee-security-option rules, and shares acquired before arrival were not acquired while a Canadian resident — no Canadian employment benefit arises on the sale). The mismatch: the US taxes a compensation portion the arrival-basis rule ignores; Canada taxes a gain from arrival value that overlaps with the US's capital gain portion but starts from a different date. The foreign tax credit: the US tax on the compensation portion is a foreign tax on income that Canada does not tax (the compensation element is not Canadian income at all), so there is no Canadian tax on it to credit against — the US tax on the compensation portion is a real, uncreditable cost of the ESPP for the Canadian resident; the US does not tax the capital gain portion, so there is nothing to credit there either; and the Canadian gain from arrival value bears Canadian tax alone. The planning: sell before the move where the after-tax result favors it — the entire sale (compensation and gain) is then a US-resident event with US rates on both parts, no Canadian tax, and the proceeds arrive in Canada as cash with no continuing mismatch; hold through the move where the shares have appreciated substantially since purchase and the US holding periods for a qualifying disposition are near (the qualifying disposition's compensation portion is capped at the offering-date discount, often small, and the balance is untaxed by the US for a nonresident alien — while Canada taxes only post-arrival appreciation), which can produce a lower combined tax than a pre-move sale; and, for shares purchased under an offering period that straddled the move (the employee moved mid-period), an allocation of the compensation portion between US and Canadian workdays with Canada taxing the Canadian-workday share as an employment benefit on acquisition and the US taxing the US-workday share — the straddle case that requires the offering-period dates and the workday log. The US citizen's version differs: a US citizen in Canada reports the full sale on the 1040 as a resident (the compensation portion as wages, the capital gain from US basis at ordinary and preferential rates), Canada taxes the gain from arrival value, and the foreign tax credit runs in the ordinary two-return manner on the overlapping gain — with the compensation portion again uncreditable on the Canadian side because Canada sees no income there. The records that make it computable: the ESPP statements (offering dates, purchase dates, prices, values at each), the residency date and the shares' value that day (the arrival basis), the workday log for any straddling offering period, and the employer's post-departure reporting arrangements — assembled before the move, because the former employer's stock plan administrator is harder to reach after it.
Key takeaways
- Two different taxes on one sale: the US taxes a compensation portion (the discount, sized by qualifying or disqualifying disposition rules) as US-source wages for US workdays; Canada taxes a capital gain from the arrival-date value.
- For a nonresident alien after the move: the compensation portion on a 1040-NR at graduated rates (no treaty exemption — US employer, US work); the capital gain portion untaxed by the US; the Canadian gain from arrival value taxed in Canada.
- The compensation portion's US tax is uncreditable: Canada sees no income there — the US tax on it is a permanent cost of selling ESPP shares as a Canadian resident.
- Sell before or hold through: pre-move sales are clean US-resident events; holding through can win where post-purchase appreciation is large, the qualifying disposition's compensation cap is small, and Canada's arrival basis shelters the pre-arrival gain.
- Straddling offering periods allocate by workdays: Canada taxes the Canadian-workday share as an employment benefit on acquisition; the US taxes the US-workday share — the workday log decides.
- Records before the move: ESPP statements, the arrival-date value, the workday log, and the employer's post-departure reporting arrangement — assembled while the plan administrator still returns calls.
The ESPP move analysis
For each lot: offering date, purchase date, price, values at offering, purchase, and arrival; holding-period status (qualifying or disqualifying at a proposed sale date); the US compensation portion under each; the US capital gain portion (untaxed for a nonresident alien after the move); the Canadian gain from arrival value. Path A (sell before the move): US resident tax on compensation and gain; no Canadian tax. Path B (hold, sell after): 1040-NR tax on the compensation portion; Canadian tax on the gain from arrival value; the uncreditable US tax on the compensation portion counted. Compare per lot; sell the lots where Path A wins, hold the others; document the arrival values on the residency date. A spreadsheet per lot, and a decision that is usually mixed.
Worked example
A Seattle engineer moves to Vancouver holding three ESPP lots from her US employer: lot one purchased three years ago at US$40 (offering value US$50, a 15% discount), now US$120; lot two purchased eight months ago at US$85 (offering value US$100), now US$120; lot three purchased in an offering period that straddled her move. Lot one (qualifying disposition available): compensation portion capped at the offering discount (US$10 per share) — small; the US$70 of gain above the purchase price is capital gain, untaxed by the US for a nonresident alien after the move; Canada's arrival basis is US$120 (the value on her residency date) — a sale shortly after arrival produces no Canadian gain. Path B wins clearly: hold through the move, sell in Canada, pay US tax only on US$10 per share of compensation on a 1040-NR, no Canadian tax on the pre-arrival appreciation. Lot two (disqualifying if sold now): compensation portion is the purchase-date spread (US$100 less US$85 = US$15 per share) as US-source wages, the rest capital gain; the same arrival-basis logic applies — but the compensation portion is larger, and the alternative of holding to a qualifying disposition (another year) would cap it at the offering discount (US$15 either way here). She holds lot two too. Lot three (straddled offering period): the compensation portion is allocated by workdays — 60% US, 40% Canadian; the US taxes the 60% as wages on the 1040-NR; Canada taxes the 40% as an employment benefit on the purchase date (a Canadian-resident acquisition for that share), with the Canadian cost base adjusted accordingly, and the later gain from that base. Her records: ESPP statements, the residency-date values (documented from the closing price that day), the workday log for the straddle period, and the employer's confirmation that it will issue a W-2 for post-departure compensation portions. Her colleague, who sold everything the week before moving "to keep it simple," paid US resident rates on every dollar of every lot's gain — including US$70 per share on lot one that Canada would have sheltered entirely with its arrival basis.
Official sources
"A taxable benefit arises from the exercise of a security option when your employee acquires, purchases or receives the securities at less than their FMV at the time they were acquired." — Canada Revenue Agency, Security options, https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/payroll/benefits-allowances/security-options.html
"You are a dual-status individual when you have been both a U.S. resident and a nonresident in the same tax year," and "different rules apply for the part of the year you are a resident of the United States and the part of the year you are a nonresident." — Internal Revenue Service, Taxation of Dual-Status Aliens, https://www.irs.gov/individuals/international-taxpayers/taxation-of-dual-status-aliens
Practitioner note
ESPP shares are the equity award that crosses the border quietly and gets taxed loudly — the US on a compensation slice Canada doesn't recognize, Canada on a gain from arrival value the US doesn't measure, and no credit between them on the compensation portion. Our per-lot analysis compares selling before the move against holding through it, and the answer is usually mixed: hold the appreciated lots (arrival basis shelters the pre-arrival gain), and assemble the records — offering dates, arrival-date values, workday logs — while the plan administrator still answers the phone.
See also: For the re-entry checklist for returning to Canada, see the re-entry checklist for returning to Canada; and browse every cross-border tax topic guide, organized by situation.
Next step
Fairlight prepares the ESPP move engagement — per-lot holding-period and compensation analysis, the sell-before-versus-hold-through comparison, arrival-date valuation documentation, workday allocation for straddling offering periods, and coordination of the employer's post-departure reporting. See cross-border pricing or book a call.
Cross-border taxes, handled in one place
U.S. and Canadian filings prepared together by our U.S. and Canadian Tax Desks.
Book a free fit call