Capital gains for non resident aliens — sold stock, no idea what the IRS wants
I moved here on a work visa last spring and I'm still being treated as a nonresident for tax purposes, as far as I understand. In the summer I sold some shares I bought back home, and now I'm completely lost on whether I owe the IRS anything on that. The IRS doesn't seem to have a plain page that answers capital gains for non resident aliens in two sentences. I also filed my 2025 return on extension and have no clue if the sale belongs on it. I'm not asking anyone to tell me how it's taxed, I just want to know where I'd even look and who I'd ask at the IRS. Has anyone dealt with this?
68 comments

Jason Brewer
Which return did you file for 2025, a 1040-NR or a regular 1040? That decides which form's instructions to open. Nobody here can say how your sale is taxed without your whole situation, and I'm not going to guess at it. What I can say for certain: the IRS posts free instructions for every form on irs.gov, and the Taxpayer Advocate Service is free if you get stuck with an unresolved problem. Start with the instructions for the form you filed.
0 coins
Nina Fitzgerald
AuthorIt was a 1040-NR, my employer's payroll person pointed me that way. Going to read the instructions tonight and write down my questions.
0 coins
Kiara Fisherman
I did the same thing the first year, opened the instructions with no list of questions and drowned. Write the questions first, you'll skim faster.
0 coins
Liam Cortez
My tax preparer was the one who sorted this for me when I sold a few shares my second year here. Honestly for a question that's about how something is taxed, a preparer who works with nonresidents is a better bet than a forum. I'm not saying that to be dismissive, nobody here can responsibly tell you how your gain counts.
0 coins
Nina Fitzgerald
AuthorThat's fair. How did you find one who handles nonresident returns? Asked around at work and got blank looks.
0 coins
Liam Cortez
Word of mouth, a coworker from another country had used the same person. I ended up paying for one hour of their time just for that question.
0 coins
Savannah Vin
Same here, a preparer who does 1040-NRs all day beats guessing. Ask them before you mail anything.
0 coins
Mason Stone
The payment I made with my extension request in April hadn't shown up on my account by the time I got a notice in October saying I owed a balance. I made the original payment by bank draft, so I wanted to know the date it posted. I finally had Claimyr (claimyr.com) wait on hold on the IRS's phone line while I did other things, and when the IRS representative picked up I asked for the posting date of that April payment. The representative read me the date it posted and the amount on my record, and it was the date I'd expected. Claimyr's video on reaching a live person at the IRS: https://youtu.be/_kiP6q8DX5c
0 coins
Nina Fitzgerald
AuthorIs that the number on the notice or the main 800 line? Mine hasn't come yet but I'd like to be ready.
0 coins
Mason Stone
The representative I reached was on the same 800 line the IRS lists for individuals. If a notice has its own number, that's the one to use for that notice.
0 coins
Makayla Shoemaker
I have an extension payment I want to confirm too. Did you have your return in front of you when they picked up?
0 coins
Mason Stone
I had the notice, the filing status and my SSN ready, plus the return. They asked for those before looking anything up.
0 coins
Christian Bierman
WHY does the IRS make every nonresident question feel like a trap?? I got three different answers from three different people about whether I even needed to file. Fed up with the whole thing.
0 coins
Jason Brewer
Three answers usually means three different questions were being answered. Whether you're a nonresident or resident for tax purposes is its own question, and the IRS has instructions on its site for that exact test.
0 coins
Christian Bierman
Maybe. Or it's just a mess. But fine, I'll go look at the instructions instead of phoning again.
0 coins
Emma Olsen
You can request an account transcript in the IRS Online Account and see what the IRS shows for your 2025 return. It at least tells you what's on file, and that helps when you're talking to a preparer.
0 coins
Nina Fitzgerald
AuthorDo nonresidents get access to the Online Account? I haven't tried signing up with ID.me yet.
0 coins
Emma Olsen
I'm not sure it works for every nonresident. The sign-in page is https://www.irs.gov/your-account, try it and see. If it won't take you, Get Transcript by Mail goes to the address the IRS has on file.
0 coins
Lucas Lindsey
I got my transcript by mail, took about a week. Fine if you don't mind waiting.
0 coins
Sophie Duck
Did you check whether the broker sent you any tax form for the sale? Mine did, and it helped to have the number printed on it when I sat with my preparer. I kept both in one folder.
0 coins
Nina Fitzgerald
AuthorThe broker is overseas so I'm not sure what they'd send. Will check my email for anything from them.
0 coins
Sophie Duck
Worth checking junk too, mine went to spam for weeks.
0 coins
Austin Leonard
You mentioned you filed on extension. Remember an extension to file isn't an extension to pay, so if you owe anything it started building interest back in April. I learned that the expensive way.
0 coins
Nina Fitzgerald
AuthorThat I didn't know. I did pay an estimate when I filed the extension, but it might not cover anything extra.
0 coins
Austin Leonard
Then your account probably shows that payment. Compare it against your return once you know the real total.
0 coins
Jason Brewer
Right, Form 4868 gives six more months to file only. Paying late adds a penalty and interest keeps running until the balance is paid.
0 coins
Anita George
I thought nonresidents just don't file anything unless they have a US job? That's what my roommate told me when I first got here.
0 coins
Jason Brewer
That's not a rule I'd rely on. Whether someone has to file depends on their own facts, and the IRS's instructions for the form lay out who files. Don't go by hearsay.
0 coins
Anita George
Ok, I guess the roommate was guessing. I'm going to read the instructions myself.
0 coins
Abigail Spencer
A tax letter came to my old apartment in August and I only found out when the landlord forwarded it, so I wanted to confirm which address the IRS had on file for me. Claimyr stayed on hold on the IRS line, and the representative who picked up read me the address on my record. It was still the old one, so I asked what I needed to do, and the representative said to update it with the IRS and gave me the next step from the IRS's side. After that I went through the IRS's own address-change instructions.
0 coins
Nina Fitzgerald
AuthorThat could be my situation too since I moved after filing. Did they ask for your SSN or ITIN first?
0 coins
Abigail Spencer
They asked for my identifying number and filing status before reading anything out, yes. Have your return nearby.
0 coins
Mason Stone
Same experience on my call, the representative needed my details before giving any information at all.
0 coins
Logan Chiang
Is there any chance the sale is reported on a form that goes with the return rather than the return itself? I'm asking because my own return had a couple of attached forms and I never knew which was which.
0 coins
Jason Brewer
That's a question for the form instructions or a preparer. How a sale gets reported depends on the facts, and I'd be guessing.
0 coins
Logan Chiang
Yeah, that makes sense. I'll bring it to my preparer rather than argue it here.
0 coins
Isla Fischer
My employer did the withholding on my first paychecks, so I never even thought about the sale until you posted. Honestly makes me worried about what I haven't reported.
0 coins
Nina Fitzgerald
AuthorThat's exactly my worry. I'd rather find out now than get a notice later.
0 coins
Isla Fischer
If a notice does show up, it carries a number and a date to answer by. Mine did and answering it in time was the main thing.
0 coins
Miles Hammonds
Hold on, are we mixing up nonresident and resident rules in this thread? I think the posters are talking past each other. Someone should say which one the OP is, because the instructions differ.
0 coins
Jason Brewer
Fair point, and it's why my first answer asked which return was filed. The OP said a 1040-NR, so that's the nonresident side.
0 coins
Miles Hammonds
Ok good. Then the 1040-NR instructions are the right place to start.
0 coins
Ruby Blake
The amended return I mailed in July showed nothing on the IRS's amended return tool through the fall, and I needed to know the date they'd received the 1040-X. Claimyr kept the line on hold at the IRS number while I got on with my day, and then the representative who answered looked up my record. The representative told me my 1040-X had been received on the date I mailed it, and that it was still being processed. The IRS says to allow 8 to 12 weeks, and up to 16 in some cases, so I stopped worrying.
0 coins
Nina Fitzgerald
AuthorIf I find I need to amend my return after talking to the preparer, I'll remember that timeline.
0 coins
Ruby Blake
Keep a copy of the 1040-X and the mailing date. They'll ask for it.
0 coins
Micah Franklin
On the first Monday after my extended return went in, a letter arrived asking me to reply by a date I couldn't read clearly on the scan. I wanted the letter's date and what it was asking for read against my record, so Claimyr waited on hold on the IRS line. Once the IRS's own representative picked up, they read me the notice's date and what it asked me to send, and I had them repeat the response date. Then I sent my reply by mail before that date.
0 coins
Nina Fitzgerald
AuthorGood to know the response date is something they can read back. Mine hasn't arrived yet but I'll keep the envelope.
0 coins
Micah Franklin
Keep the envelope and the notice together, they asked for the notice's number on my call.
0 coins
Ella Harper
I answered mine by mail and kept proof of mailing. Never heard a thing more.
0 coins
PrinceJoe
If your problem drags past the normal processing time or you miss a response date, the Taxpayer Advocate Service at taxpayeradvocate.irs.gov might take it up. They don't promise to, but it's free and independent inside the IRS. Form 911 or 1-877-777-4778.
0 coins
Nina Fitzgerald
AuthorI'll keep that in my notes in case it gets that far. Hopefully a preparer solves it before then.
0 coins
PrinceJoe
Right, it's a fallback, not the first stop.
0 coins
Brooklyn Knight
The ITIN part got me. I applied for mine with Form W-7 and sent it with my tax return, and my original passport sat at the IRS for weeks. If your account involves an ITIN, be ready for a long wait and a CP565 notice when it's assigned.
0 coins
Nina Fitzgerald
AuthorMine is an SSN, so I should be fine there, but I'll tell a friend who's still waiting on an ITIN.
0 coins
Brooklyn Knight
Tell them the IRS says to allow 7 weeks, longer in tax season. And that original documents not returned in 60 days are a reason to call.
0 coins
Kiara Fisherman
Did anyone else get their paystub numbers confused with tax rules? Mine has a MED line and an OASDI line and I assumed they were extra IRS charges on my sale.
0 coins
Jason Brewer
Those are on your paycheck from wages, so they have nothing to do with a stock sale. MED matches Medicare tax and OASDI matches Social Security tax by their names, but your payroll office can say what each line stands for.
0 coins
Kiara Fisherman
Oh. So separate things entirely. Glad I asked before panicking.
0 coins
Savannah Vin
What I did: wrote out the sale date, the amount, and my filing status on one page, then called a preparer. They had my answer in one conversation. The forum can't replace that.
0 coins
Nina Fitzgerald
AuthorDoing exactly that tomorrow. One page, three facts, and the instructions for the form I filed.
0 coins
Liam Cortez
Add the extension payment amount too, it comes up.
0 coins
Nina Fitzgerald
AuthorAdding that. Thanks all.
0 coins
Ella Harper
The refund hotline is automated, by the way, and my situation wasn't a refund anyway. If you have a real question about a sale, don't waste a call on Where's My Refund, it can't answer that.
0 coins
Nina Fitzgerald
AuthorUnderstood, I wasn't planning to call the refund line, mine isn't a refund question at all.
0 coins
Ella Harper
Then the main individual line or your preparer is the right route.
0 coins
Lucas Lindsey
Update for anyone in the same spot: after reading the instructions and one hour with a preparer, I knew what to bring and what my return needed. The IRS still didn't tell me how my own sale counts, and that was the preparer's job, not theirs.
0 coins
Nina Fitzgerald
AuthorThat matches what I'm planning. Appreciate everyone who pointed me to a preparer and the form instructions rather than guessing at an answer.
0 coins
Jason Brewer
Keep the one-page summary and your account transcript, and you're set. Good luck.
0 coins