Capital gains tax and non residents: how does it actually work for US-sourced stock sales?
Trying to figure out capital gains tax and non residents — specifically my situation. I'm on an F-1 visa, have been in the US about 14 months, sold some shares through my brokerage in March, and got a 1099-B. My broker withheld nothing. I ran the substantial presence test and I think I'm still a nonresident alien for 2025 but I'm not totally sure. The 1099-B shows proceeds and cost basis both reported to the IRS. I don't know whether I even owe tax on this, whether I file Form 8949 and Schedule D the same way a resident would, or whether I file a different return entirely. I already looked at the IRS digital assets page and Publication 550 but neither one really addresses the nonresident piece directly. What should I actually do here?