Moving from US to Canada with green card: exit tax and stock basis questions

Got a job offer in Canada and my employer is sponsoring a Canadian work permit, so I'm planning to formally abandon my green card before I leave. I've been reading about the expatriation rules and the mark-to-market exit tax and I'm genuinely confused about what happens to my brokerage account. I have a mix of shares I bought over several years, some with gains and some underwater, plus a handful of RSUs that vested last year. My broker sent a 1099-B with cost basis reported for most lots but a couple show basis not reported to the IRS. I'm trying to figure out how the deemed sale on the exit tax return works with the existing basis on those lots, and whether the basis carries over or resets after the deemed sale. Has anyone actually been through moving from US to Canada with green card, exit tax, and stock basis questions like this?

43 comments

Did you already figure out whether you meet the "covered expatriate" threshold? Because the mark-to-market rules under IRC 877A only apply if you are a covered expatriate, and if you don't meet any of the three tests you just file Form 8854 and move on without a deemed sale. The net worth and tax liability tests both matter here. Worth checking before you spend a lot of time modeling gains. I went through something similar last year. I uploaded my 1099-B and my draft 8854 worksheet to taxr.ai and it compared the cost basis column on each lot against what I had entered on the deemed sale schedule, flagged the two lots where basis wasn't reported to the IRS, and drafted a note reminding me to use my own records for those. Saved me from using the wrong number on a couple of lots.

Jordan K.

Author

I haven't confirmed the covered expatriate status yet, that's a fair point. I know my net worth is probably close to the threshold and I'd need to look at the five-year average tax liability test. Where do I find the actual thresholds? I keep seeing numbers online but they vary.

The thresholds adjust each year, so whatever you find on a tax blog may be for the wrong year. The Form 8854 instructions on irs.gov list the current amounts and which test applies to you. That's the only place I'd trust.

Are you a long-term resident under the expatriation rules? A green card holder is treated as a long-term resident only if you held the green card in at least 8 of the last 15 tax years, and that's what triggers the 877A rules at all. If you've had the card fewer than 8 years you're not subject to the same exit tax framework even if you formally abandon.

Jordan K.

Author

I've had the card for 11 years so yes, long-term resident. That part I did check.

Yes, that confirms you're in scope. So Form 8854 is required and the covered expatriate analysis matters for whether the mark-to-market deemed sale applies.

What date are you planning to formally abandon? The expatriation date is the day you file Form I-407 or the day a final order of exclusion is issued. That date sets the valuation date for the deemed sale — fair market value on the day before that date is your deemed proceeds. Getting the date wrong shifts which tax year the gain falls in.

Jordan K.

Author

I was planning to do it at the consulate in Toronto once I arrive. So the date would be the I-407 filing date, not the date I physically leave the US?

Yes, exactly. The day you file I-407 is the expatriation date under the immigration rules, and that's what Form 8854 uses. The day you board the flight is irrelevant for tax purposes.

On the basis question specifically: for lots where your broker reported basis to the IRS (box A or D on Form 8949), the deemed sale uses that same cost basis as your starting point for figuring the gain or loss. For the lots where basis is not reported, you use your actual records — purchase confirmations, DRIP statements, whatever you have. The 1099-B cost basis column is your reference but it isn't the legal basis; your records control.

Jordan K.

Author

So for the not-reported lots, I need to go back to my actual trade confirmations. I have most of them but a couple of positions go back to 2016 and I'm not sure I have the confirmations. Is there another way to establish basis?

Brokerage statements showing the purchase price work. If you transferred the account from another broker, the receiving broker's records of the transfer include the original basis. Publication 551 on irs.gov covers basis of assets and lists what records are acceptable. If you genuinely can't find anything, you'd want to talk to a CPA or enrolled agent before you file.

Nobody above has mentioned this yet but after the deemed sale, your basis in the shares resets to the fair market value used as the deemed proceeds. So when you eventually sell the actual shares in Canada, your US basis for any future US filing purposes is the FMV on expatriation date, not your original purchase price. The holding period also restarts from that date.

Jordan K.

Author

This is the part I really needed to understand. So the deemed sale both triggers the gain now AND resets basis going forward. That means I won't be double-taxed on the same appreciation if I sell later?

Yes, that's right. The basis step-up to FMV is specifically what prevents double taxation. Canada will also have its own deemed disposition rules on the day you become a Canadian resident, so you'll have two sets of rules to track, one per country.

Have you thought about the RSUs separately? RSUs that have already vested and settled before the expatriation date are just shares in your account, so they go into the deemed sale like any other lot. The basis is the FMV on the vesting/settlement date, which should be on your pay stub or the equity platform statement. RSUs that haven't vested yet are a different issue — deferred compensation under 877A is treated under section 877A(d), not mark-to-market, and there's a separate withholding mechanism. I fed my equity plan statements and my draft 877A deferred comp schedule to Taxr and it worked through each unvested grant, identified which ones were likely section 457A plans versus standard deferred comp, and listed the questions I needed to bring to my CPA before filing.

Jordan K.

Author

I have two grants that haven't fully vested yet. So those fall under the deferred compensation side rather than mark-to-market? That's a completely different calculation.

Yes, different track entirely. The payor (your employer) is supposed to withhold a flat 30% on taxable payments of eligible deferred comp once you're a covered expatriate. The Form 8854 instructions walk through the deferred comp section. Given unvested grants in a cross-border situation I'd strongly suggest a CPA who does US-Canada cross-border work, not just a general preparer.

Does the $600,000 exclusion apply here? I keep seeing that figure mentioned alongside 877A.

Yes, covered expatriates get an exclusion amount applied against the net deemed gain before tax. The figure adjusts for inflation each year — the Form 8854 instructions for your expatriation year will show the current amount. Don't use a number from an old blog post.

Got it. So I look at the instructions for the year of expatriation, not whatever year I'm reading about online.

Are you filing a dual-status return for the year of expatriation? The year you abandon the green card you're a US resident for part of the year and a nonresident for the rest. That changes the return type — since you'll be a nonresident at year end, it's a dual-status return filed on Form 1040-NR, with a Form 1040 attached as the statement for the resident period. The deemed sale income goes on the resident portion.

Jordan K.

Author

I hadn't thought about dual-status at all. So I'd essentially be filing two forms for the same tax year?

Yes, one return with both parts. The instructions for Form 1040-NR explain how the dual-status year works. It's one of the more complicated return types — this is a situation where a CPA or enrolled agent with international experience is worth it, not optional.

What about the Canada side? When you become a Canadian tax resident you trigger Canada's deemed disposition rules on most property you own, as of the date you arrive. So you could have a Canadian deemed sale on the same shares on nearly the same date as the US deemed sale. The valuations may differ slightly depending on timing.

Jordan K.

Author

So I might need a US tax person AND a Canadian tax person to coordinate? This is getting complicated.

Yes, ideally someone who does US-Canada cross-border or two professionals who talk to each other. The tax treaty matters but it doesn't eliminate either country's deemed sale.

On the wash sale question — I want to flag this because it comes up when people are selling positions before they leave. If you sell a loss position to harvest the loss before expatriation and then buy substantially identical shares within 30 days before or after, the wash sale rules still apply and the loss is disallowed. The disallowed amount gets added to the basis of the replacement shares. That would actually affect what basis you carry into the deemed sale.

Jordan K.

Author

I wasn't planning to harvest losses before leaving but good to know. So if I did that and triggered a wash sale, my basis on the replacement lot would be higher, which would reduce the deemed gain?

Yes, higher basis from the wash sale adjustment means less gain (or more loss) on the deemed sale. But you'd still have the disallowed loss sitting in those shares — the disallowance doesn't disappear, it shifts into the basis of the replacement lot. Publication 550 on irs.gov covers the mechanics of how the disallowed amount moves to the new shares' cost.

Worth noting: if you have any positions that are currently at a loss, the deemed sale allows you to recognize those losses too. The mark-to-market goes both directions. Net gains and net losses offset each other before you apply the exclusion amount. So the underwater positions aren't just dead weight — they reduce your taxable deemed gain.

Jordan K.

Author

That's actually helpful. I have two lots that are pretty far underwater. So I'd recognize those losses in the deemed sale and they'd offset the gains on the other lots before hitting the exclusion?

Correct. The Form 8854 instructions walk through the netting. Keep in mind that if a lot is excluded from the deemed sale for some reason (certain retirement accounts, deferred comp treated under 877A(d)), you can't use losses in those excluded categories to offset gains in the mark-to-market pool.

IRAs are excluded from the mark-to-market rules under 877A, but they're not off the hook entirely. A covered expatriate's IRA is treated as if it distributed everything on the day before expatriation, though there's no early-distribution penalty on it. So if you have a traditional IRA that deemed distribution is taxable income even though the custodian doesn't withhold on it. That's a separate line on Form 8854 from the stock deemed sale.

Jordan K.

Author

I do have a traditional IRA. So that gets its own treatment separate from the brokerage account. Good to know before I assume everything flows through the same deemed sale calculation.

Have you checked whether any of your stock lots are in a retirement account versus a taxable brokerage? Because as noted above, the accounts get split into different buckets on Form 8854. Getting that wrong would put IRA assets into the mark-to-market section when they don't belong there.

Jordan K.

Author

Yes, I keep everything in separate accounts — taxable brokerage in one place, IRA in another. So the split should be clean. I just didn't realize the IRA had its own deemed distribution rule.

The Form 8854 must be filed by the due date (including extensions) of your US tax return for the year of expatriation, and you also have to attach a copy to your return. Missing it or filing it without the return has consequences — the IRS can treat you as not having certified compliance, which affects covered expatriate status. The 8854 instructions on irs.gov lay out the certification checklist.

Jordan K.

Author

So Form 8854 is both attached to the return AND filed separately? Or just attached?

Both — attached to your return and also a copy filed separately with the IRS at the address in the instructions. The instructions confirm this. Some people get confused because earlier guidance described it differently, but the current instructions are clear on this point.

Are you planning to get a professional to handle the 8854 and the dual-status return, or are you trying to DIY this? I ask because a covered expatriate situation with RSUs and unreported basis lots is one of the more fact-specific filings out there. A CPA who specializes in US expat or cross-border work (not just a general preparer) would be worth finding before you finalize the expatriation date, not after.

Jordan K.

Author

Probably a professional, yes. I wanted to understand the mechanics myself first so I'm not going in blind and so I can ask the right questions. This thread has actually helped a lot with that.

Yes, understanding it yourself first is exactly the right move. You'll be able to spot if something looks off in what the preparer gives you, and you can brief them efficiently on the RSU grants and the not-reported basis lots upfront.