Do I have to file as a dual-status alien for tax purposes?
I'm trying to figure out if I need to file my taxes as a dual-status alien and getting really confused about the requirements. So here's my situation - I was working in the US on an L1 visa until April 2024, then I stayed a bit longer than my authorized period (my visa expired) until May 2025 when I finally returned to my home country. During 2025, I only had some investment income from stocks I sold while still in the US (about $12,000 in capital gains). Now I'm reading about dual-status filing requirements and I'm seeing mentions of having to file both Form 1040 and Form 1040NR? This seems really complicated and I tried using TurboTax but it looks like they don't support dual-status cases. I'm getting stressed trying to figure this out! Does anyone know if I actually have to file as dual-status? And if so, is there any tax software that handles this type of situation? Any help would be greatly appreciated!
19 comments


Keisha Johnson
This is definitely a tricky situation but I can help clarify! The key factor for determining dual-status filing is your residency status for tax purposes during the year. Based on what you described, you were physically present in the US until May 2025, which means you were a US resident for tax purposes for part of the year (January through May) and a nonresident for the remainder of the year (June through December). This does indeed make you a dual-status alien for tax year 2025. For dual-status filing, you'll need to file both forms - Form 1040 for the resident portion and Form 1040NR for the nonresident portion. Unfortunately, most consumer tax software (including TurboTax) doesn't handle dual-status returns well because they're relatively uncommon and complex. Your capital gains would be reported on the form corresponding to when you realized those gains (sold the stocks). If you sold while still physically present in the US, they'd go on the 1040 portion.
0 coins
Yara Sabbagh
•Thanks for explaining! So there's no way around filing as dual-status in my situation? I was hoping I could just file a regular 1040 since the capital gains happened while I was still in the US. Do you know if there are any tax software options that can handle dual-status returns? Or will I need to prepare these forms manually or hire a professional?
0 coins
Keisha Johnson
•You're required to file as dual-status when you change from resident to nonresident (or vice versa) during the tax year. Since you were physically present in the US until May and then left, this applies to you - the IRS doesn't make exceptions based on the simplicity of your income sources. Most dual-status filers end up either preparing forms manually or hiring a tax professional familiar with international tax situations. Some specialized tax preparation services like Sprintax or Taxback can handle dual-status returns, though they're more expensive than regular tax software. H&R Block's premium service with a tax professional might also be an option, but I'd recommend calling to confirm they can handle your specific situation before committing.
0 coins
Paolo Rizzo
I went through something similar last year and discovered taxr.ai (https://taxr.ai) which really helped with my complicated immigration status tax situation. I initially tried using regular tax software but kept getting stuck with the dual-status requirements. Taxr.ai specifically helped me understand which income belonged on which form and guided me through the whole dual-status alien process. What I found really helpful was that it analyzed my specific circumstances and provided personalized guidance rather than generic advice. For someone in your situation with capital gains during a year with changing residency status, it might be worth checking out.
0 coins
QuantumQuest
•How exactly does this work? Does it actually file the forms for you or just tell you what to do? I'm also dealing with a visa status change this year and the dual-status thing is making my head spin.
0 coins
Amina Sy
•I'm a bit skeptical about online tax services handling complicated international situations. Did they actually understand the specific rules about capital gains for dual-status aliens? That's a pretty niche area and I've found even some tax pros get confused about it.
0 coins
Paolo Rizzo
•It actually analyzes your specific situation and gives you detailed instructions on how to file correctly. It doesn't file the forms for you, but it breaks down exactly what goes where, which is what I needed most with the dual-status confusion. For capital gains specifically, it helped me determine which transactions belonged on which form based on my residency dates, which sounds like what you're dealing with. It even helped me understand the substantial presence test calculation to confirm my exact residency status change date.
0 coins
QuantumQuest
Just wanted to update after trying taxr.ai that the previous commenter recommended! It actually worked really well for my dual-status situation. The system asked me specific questions about my visa history, physical presence, and when I realized my capital gains. What surprised me was how clear the instructions were - it confirmed I needed to file as dual-status and broke down exactly how to report my investment income on the correct forms. It even explained how the tax treaty with my home country applied to my specific situation. Definitely worth checking out if you're facing this dual-status filing complexity!
0 coins
Oliver Fischer
If you're struggling to get through to the IRS for guidance on your dual-status situation, I'd recommend trying Claimyr (https://claimyr.com). I was in a similar position last year with my dual-status return and had specific questions about Form 1040NR that I couldn't figure out. I spent hours on hold trying to reach the IRS international tax department until someone told me about Claimyr. They have this service where they wait on hold with the IRS for you and call you back when an agent is ready to talk. You can see how it works here: https://youtu.be/_kiP6q8DX5c When I finally got to speak with an actual IRS agent, they confirmed exactly how to handle my capital gains in a dual-status situation and gave me specific instructions that no online guide had mentioned.
0 coins
Natasha Petrova
•Wait, so how does this actually work? Do they just call the IRS for you? Why couldn't I just do that myself? The IRS wait times are bad but not THAT bad.
0 coins
Amina Sy
•This sounds like a complete waste of money. I've called the IRS international tax line multiple times and while the wait can be long, you'll eventually get through. Plus, I doubt the average IRS agent even understands the complexities of dual-status filing with capital gains. They usually just read from the same publications we can access ourselves.
0 coins
Oliver Fischer
•They call and wait on hold for you, then call you when they have an agent on the line. It saves you from being stuck on hold for literally hours - the international tax line had over 2 hour waits when I was calling. The IRS agents I spoke to were actually quite knowledgeable about dual-status situations. The one I reached through Claimyr was from the international tax department and walked me through exactly which form (1040 vs 1040NR) to report my investment income on based on when I sold the assets relative to my residency status change. They even explained which tax treaty provisions applied to my specific case.
0 coins
Amina Sy
I have to admit I was completely wrong about Claimyr. After posting my skeptical comment, I decided to try it myself since I was getting nowhere with my dual-status questions. I was shocked when they actually got me through to an IRS international tax specialist in about 45 minutes (while I was just going about my day). The agent confirmed that I did indeed need to file as dual-status and explained exactly how to split my income between the 1040 and 1040NR forms. They even mailed me the specific publications I needed. For what it's worth, the agent told me that for capital gains specifically, they're reported on the form that corresponds to your residency status on the date you sold the investments. This answered the exact question I'd been struggling with for weeks.
0 coins
Javier Morales
Just adding another perspective - I was in a similar situation and ended up using a tax professional who specializes in expat taxes. Cost me about $450 but worth every penny because dual-status filing is truly complicated. The most important thing the tax pro explained was that the "substantial presence test" determines your exact residency transition date, which isn't necessarily the day you physically left the US. They also confirmed that for dual-status aliens, capital gains are generally taxable by the US if you were physically present when you sold the assets, regardless of your technical residency status.
0 coins
Yara Sabbagh
•Thanks for sharing! Did your tax professional file both the 1040 and 1040NR forms separately, or is there some special way to combine them for dual-status? Also, how did they determine your exact transition date from resident to nonresident status?
0 coins
Javier Morales
•They filed both forms but attached them together with a statement explaining the dual-status nature of the return. The 1040 was actually used as the "primary" form with the 1040NR attached as a supplement with a clear indication of which tax periods each covered. For determining my exact transition date, they used the substantial presence test which involves counting the days I was physically present in the US over a 3-year period. In my case, even though I physically left in March, my official residency status for tax purposes didn't change until April because of how the day-counting formula works. They were very thorough about documenting every day I was in the US to support this calculation in case of an audit.
0 coins
Emma Davis
Has anyone had experience with how state taxes work with dual-status federal returns? I'm in a similar situation but also worried about state filing requirements. California seems particularly aggressive about taxing people with any connection to the state.
0 coins
GalaxyGlider
•California is indeed very aggressive! I moved out mid-year and they required me to file a part-year resident return. The tricky part was that they considered certain income items taxable even after I physically left the state if they originated from California sources. Definitely check your specific state's rules - they don't necessarily align with federal residency definitions.
0 coins
GalacticGuardian
I went through a very similar situation last year and can confirm you'll need to file as dual-status. The IRS is pretty strict about this - if you change residency status during the tax year, dual-status filing is mandatory regardless of how simple your income situation might seem. For your capital gains, since you sold the stocks while physically present in the US (before May 2025), they'll be reported on the Form 1040 portion of your return, not the 1040NR. This is because the US has taxing rights on capital gains realized while you were a US resident for tax purposes. One thing to watch out for - make sure you're calculating your exact residency termination date correctly using the substantial presence test. It might not be exactly when you physically left in May, depending on your presence history in prior years. The IRS has specific rules about this that can affect which form certain income items go on. I ended up hiring a CPA who specializes in international tax because the dual-status rules are genuinely complex, but I know that's not always budget-friendly. If you do go the DIY route, make sure to attach a statement to your return explaining the dual-status filing and clearly marking which periods each form covers.
0 coins