How are Capital Gains taxed when earned before immigrating to the US?
I'm trying to wrap my head around a capital gains situation after getting my green card. Here's my situation - I bought a property in my home country for $370,000 about 8 years ago. When I immigrated to the US and got my green card last month, the property was worth approximately $650,000 according to an appraisal. Due to some family circumstances, I had to sell this property just three weeks after becoming a US permanent resident. The sale went through for $655,000, so technically there's a total gain of $285,000. My question is: How much of this gain is actually taxable in the US? Do I have to pay capital gains tax on the entire $285,000 even though almost all of that appreciation happened while I wasn't a US resident? Or is there some kind of "step-up" in basis to the property's value when I became a US person? It feels unfair if I have to pay US tax on gains that accumulated over years when I wasn't even living here or benefiting from US services. Can anyone explain how this works with the IRS? I'm preparing for the 2025 tax season and want to understand my tax liability before I make any financial decisions with the proceeds.
20 comments


Malia Ponder
You've asked a really good question about a somewhat complex situation. The good news is that the US tax code actually considers this exact scenario! When you become a US tax resident (getting your green card makes you a US person for tax purposes), you generally get what's called a "step-up in basis" to the fair market value of your foreign assets on the date you became a US resident. In your case, this means your new "basis" in the property would be $650,000 (the appraised value when you got your green card), not the $370,000 you originally paid for it. So when you sold it for $655,000, your taxable capital gain in the US would only be $5,000 ($655,000 - $650,000), not the entire $285,000. Make sure to document the property's value as of your US residency date. Having that appraisal is perfect - keep it with your tax records! You'll report this on Schedule D of your tax return, and you'll want to clearly note the step-up in basis when you file.
0 coins
Kyle Wallace
•Thank you for this info! I'm in a similar situation but with stocks instead of property. Do I also get this "step-up in basis" for my foreign stock holdings? And do I need to get some kind of formal valuation for the stocks or just use the market price on the day I got my green card?
0 coins
Malia Ponder
•For stocks and other publicly traded securities, you would also get a step-up in basis to the fair market value on the date you became a US resident. The nice thing about publicly traded stocks is that you don't need a formal appraisal - you can simply use the market closing price on that date. For private company stocks or investments without readily available market prices, you would want to get a valuation similar to what the original poster did with their property. Documentation is key - save screenshots of the stock prices on your residency date or statements showing the values.
0 coins
Ryder Ross
I went through something very similar last year when I moved from Canada with investments and property. Let me share what made my life easier - I used this service called taxr.ai (https://taxr.ai) that specializes in analyzing international tax situations like yours. They were super helpful in documenting my step-up in basis for all my foreign assets, including a rental property I sold shortly after moving. They generated a detailed analysis report that showed exactly how the step-up basis works and the documentation requirements for the IRS. The report even included specific citations to tax code sections that supported my position. I was really nervous about getting this wrong since the potential tax difference was huge, but having everything properly documented gave me peace of mind when filing.
0 coins
Gianni Serpent
•How exactly does this taxr.ai thing work? Do you just upload documents to it or do you talk to actual tax professionals? I've got a similar situation with assets in Australia but I'm scared of getting audited if I don't report things correctly.
0 coins
Henry Delgado
•I'm a bit skeptical of online tax services, especially for international situations. Did they help you with actually filing the taxes or just give you information? And how did they handle the FBAR requirements for foreign accounts?
0 coins
Ryder Ross
•The service works by analyzing your documents and tax situation through their AI system, but there are also tax professionals who review everything. You upload your relevant documents (property deeds, investment statements, etc.) and they provide detailed analysis specific to your situation. They provided me with comprehensive documentation that I used when filing my taxes. Their report covered everything from step-up basis calculations to how to report foreign assets properly. For FBAR requirements, they provided a separate detailed guide explaining exactly which accounts needed to be reported, the thresholds, and how to complete the forms correctly. They also flagged some accounts I wouldn't have thought to include.
0 coins
Henry Delgado
I was initially skeptical about using an online service for my complex international tax situation, but after struggling with conflicting advice from two different accountants, I decided to try taxr.ai. I'm really glad I did! My situation was complicated - stock options from my foreign employer that vested over several years, plus rental property in my home country. The step-up basis calculations were driving me crazy. What impressed me was how detailed their analysis was. They broke down exactly which portion of my capital gains were taxable in the US, provided clear documentation I could attach to my return, and even explained the treaty provisions that applied to my specific case. The best part was when I did get a letter from the IRS (not even an audit, just a question), I had perfect documentation ready to go that resolved the issue immediately. Definitely worth checking out if you're dealing with international tax complications.
0 coins
Olivia Kay
When I became a US resident last year, I had a nightmare trying to reach the IRS to get clarification on my foreign property sale. Called for weeks and couldn't get through. Finally found Claimyr (https://claimyr.com) which got me connected to an actual IRS agent in about 20 minutes. You can see how it works here: https://youtu.be/_kiP6q8DX5c The IRS agent confirmed what others here have said about the step-up basis, but also warned me about a couple of potential pitfalls. For example, if you owned the property through a foreign corporation or partnership, the rules can be different. Also, they walked me through how to properly document everything on my tax return to avoid triggering unnecessary flags. Totally worth it to get official confirmation directly from the IRS rather than hoping I was interpreting things correctly. They saved me from potentially overpaying by thousands.
0 coins
Joshua Hellan
•Wait, so this Claimyr thing actually gets you through to the IRS? How is that even possible? I've literally spent hours on hold and never gotten through. What's their secret and is it actually legit?
0 coins
Jibriel Kohn
•This sounds like an ad. There's no way to "skip the line" with the IRS. They're notoriously understaffed and everyone has to wait. I'm calling BS on this one.
0 coins
Olivia Kay
•Yes, it actually works! They use some kind of callback technology that continuously redials and navigates the IRS phone system until it gets through, then it calls you when an agent is on the line. I was connected in about 20 minutes after weeks of failing on my own. It's completely legitimate. From what I understand, they're not "skipping" any lines - they're just automating the tedious process of calling, navigating the menu options, waiting on hold, getting disconnected, and repeating. The IRS agent I spoke with had no idea I'd used a service to get connected - to them it was just a normal call.
0 coins
Jibriel Kohn
I have to eat my words and apologize for my skepticism about Claimyr. After posting my doubtful comment, I decided to try it myself since I've been trying to reach the IRS for WEEKS about my foreign income questions. To my complete surprise, I was connected to an IRS representative in about 35 minutes. I almost fell out of my chair when my phone rang and it was actually the IRS on the line! The agent was able to confirm the step-up basis rules for my situation and also pointed me to some specific forms I needed for reporting my foreign rental income correctly. For anyone dealing with international tax situations like the original poster, getting direct confirmation from the IRS is incredibly valuable. The agent even emailed me some relevant tax publications that specifically addressed my situation. Sorry for doubting - this service is the real deal.
0 coins
Edison Estevez
Just wanted to add another perspective: make sure you check if there's a tax treaty between the US and your former country. Some treaties have specific provisions about capital gains taxation that might affect your situation. Also, if your former country has already taxed you on the gain (some countries impose an "exit tax" when you leave), you might be eligible for a foreign tax credit in the US to avoid double taxation. The forms for this get complicated fast though.
0 coins
Holly Lascelles
•Thanks for bringing this up! I actually did pay some taxes in my home country (about 8% of the gain). Is there a specific form I need to fill out to claim this as a foreign tax credit? And does this apply even though I'm using the step-up basis for US tax purposes?
0 coins
Edison Estevez
•You'll want to use Form 1116 to claim the foreign tax credit. The interesting part of your situation is that you'll need to determine how the foreign tax you paid relates to the gain that's recognized for US tax purposes. Since you're getting a step-up in basis for US purposes, you're only being taxed on a small portion of the gain here. You may not be able to claim the full foreign tax as a credit - generally, you can only claim credits proportional to the amount included in your US income. So if your country taxed the full gain but the US is only taxing a small portion, you might only get to claim a proportional credit.
0 coins
Emily Nguyen-Smith
Has anyone dealt with Form 8833? My accountant is saying I need to file this to claim treaty benefits for the step-up basis on property I sold after immigration. Is this really necessary?
0 coins
James Johnson
•Form 8833 is for reporting treaty-based return positions, but the step-up in basis for new residents isn't actually a treaty provision - it's part of regular US tax law (specifically IRC Section 1.1-1(b)). So you shouldn't need Form 8833 for just the step-up basis claim. However, if you're claiming benefits under a specific treaty provision between the US and your former country, then Form 8833 would be needed for those specific claims.
0 coins
Nia Thompson
This is exactly the kind of situation where having proper documentation from day one of your US residency is crucial. I went through something similar when I moved from the UK with both property and investment accounts. One thing I'd add to the excellent advice already given - make sure you also document any improvements or renovations you made to the property during your ownership, even before becoming a US resident. While you get the step-up basis to fair market value on your residency date, any additional improvements after that date can be added to your basis as well. Also, keep in mind that different states might have different rules for how they treat this situation, so if you're in a state with income tax, you'll want to check their specific requirements too. Some states don't automatically follow the federal step-up basis rules. The $5,000 gain you're looking at is definitely manageable tax-wise, especially compared to what it could have been! Just make sure you have all your documentation organized - the appraisal, the sale documents, and any records showing the timeline of your residency status change.
0 coins
Jasmine Hernandez
•This is really helpful advice about documentation! I'm curious about the state tax implications you mentioned. I'm currently in California and wondering if they have any special rules for new residents with foreign assets. Do you know if California recognizes the federal step-up basis, or do they have their own calculation method? I want to make sure I'm prepared for both federal and state filing requirements.
0 coins