For most NRIs, there's no Section 54 capital gains exemption on a US sale. The gain isn't taxable in India until you're an ordinarily resident taxpayer, and even then it's Section 54F, not Section 54, that applies to stock. Zeroing out India tax rarely saves money if you file US returns too, since the IRS ignores it and you lose the credit for tax you never paid. Here's where the lines fall.
Does the gain even land in India in the first place
Start here, because it settles the question for most people before Section 54F ever comes up. India taxes an NRI or an RNOR only on income that arises in India or is received there.
A capital gain on a US stock, ETF, or RSU sale is foreign income. It stays outside India's tax net for as long as you hold NRI or RNOR status, however much of the proceeds you later wire to an Indian bank account. Moving money to India after the fact doesn't turn it into Indian-source income.
RNOR (Resident but Not Ordinarily Resident) status usually applies for two to three financial years after you move back, if you were an NRI for nine of the preceding ten years, or spent 729 days or fewer in India across the preceding seven years.
Only once you cross into ROR (Resident and Ordinarily Resident) does your worldwide income, including that US gain, enter India's tax computation. Working out exactly which bucket you're in matters more here than the exemption itself, and it's covered in full in the guide to residential status I wrote.
So if you sold the US investment while still NRI or within your RNOR window, you can stop reading the rest of this for tax purposes. There's no India tax bill to shelter, which means Section 54F has nothing to do.
Which exemption, Section 54 or Section 54F, actually applies to a stock sale
Once you are ROR and the gain is genuinely taxable in India, the next confusion is which section even applies. Section 54 exempts gains from selling a residential house, full stop.
It has never covered shares, mutual funds, or any asset that isn't a residential property, so it simply doesn't reach a US stock sale.
Section 54F is the one that does. It exempts long-term capital gains from selling any asset other than a residential house, which is exactly what a US-listed stock, ETF, or vested RSU is. The Income Tax Department's page on capital gains exemptions lays out both provisions side by side.
Two details trip people up here. First, the holding period: a US-listed share only counts as long-term if you've held it more than 24 months.
That's neither the 12-month rule India uses for Indian-listed shares, nor the 1-year line the US applies to its own long-term rate. It's easy to assume one of those carries over.
Second is Section 112A, the provision that gives Indian-listed shares a Rs 1.25 lakh LTCG exemption and a 12.5% rate. It never applies to a foreign stock, because that relief is conditioned on securities transaction tax, which is only charged on Indian exchanges.
A US-listed long-term gain is taxed at 12.5% flat, no indexation, and no threshold exemption.
To claim Section 54F on that gain, you need to reinvest the full net sale consideration, not just the gain, into one residential house in India. You have up to a year before the sale or two years after it to buy, or three years to build.
If the purchase isn't done by the time you file your return, parking the money in the Capital Gains Account Scheme before the July 31 deadline keeps the exemption alive.
You also can't already own more than one other residential house when you sell. And if you sell the new house within three years, the exemption you claimed gets added back as taxable income that year.
Worked example: Priya's US stock sale
Priya moved back to India in 2019 and is now ROR. In 2026 she sells US stock she'd held for several years.
- Sale proceeds: $200,000
- Original cost: $120,000
- Long-term gain: $80,000
- India tax at 12.5% plus cess: roughly 13% of the $80,000 gain
- To exempt it fully under Section 54F: reinvest the full $200,000, not just the $80,000 gain, into one Indian residential house inside her window
If she reinvested only the $80,000 gain, she'd get a partial exemption, not a full one.
What Section 54F does and doesn't do to your US tax bill
This is where the exemption stops paying off for most people asking this question. The IRS does not recognize Section 54F.
Whatever you claimed in India, the full US-dollar gain is still reportable on Schedule D, converted at the exchange rates on your purchase and sale dates.
The mechanism that normally prevents double taxation is the foreign tax credit on Form 1116. It lets you credit India tax paid against the US tax on that same income, capped at the lower of the two.
If you use Section 54F to bring your India tax to zero, there's nothing left to credit, so the US tax on the gain is due in full regardless.
What I see in practice?
Using Section 54F on a US-sourced gain rarely lowers what you pay in total. Depending on your bracket, the India tax you'd otherwise owe often gets absorbed entirely by the foreign tax credit against your US bill anyway, so paying it costs you nothing extra.
Claiming 54F instead of paying it mostly decides which government collects the money. You've locked a large lump sum into Indian property for at least three years to get there.
If Form 1116 is new to you, that guide walks through how the credit and its basket limits actually work.
Who this applies to
This whole question is relevant only if four things are all true. You're ROR under Indian tax law, not NRI or RNOR. The US asset you sold was held more than 24 months.
You don't already own more than one other residential house in India, and you still file a US tax return on worldwide income.
Miss any one of those and Section 54F is either unavailable or beside the point, because there was no India tax to begin with.
| Your situation | Is the US gain taxed in India | Can Section 54F apply |
|---|---|---|
| Still NRI, living and filing abroad | No, foreign-source gains stay outside India's tax net | Not applicable, there's no India tax to exempt |
| RNOR, within the 2 to 3 year window after returning | No, foreign income is excluded during RNOR | Not applicable, same reason |
| ROR, sold a long-term US holding (24+ months) | Yes, 12.5% flat, no indexation, no Rs 1.25 lakh relief | Yes, if the full proceeds go into one Indian house on time |
| ROR, sold a short-term US holding (24 months or less) | Yes, at your regular slab rate | No, Section 54F only shields long-term gains |
What to do about it
If you're still NRI or inside your RNOR window, there's nothing to file or claim here. Keep a clear record of your return date and days spent in India, since that's what proves the window if it's ever questioned.
If you're ROR and the gain is real, model the India tax plus US credit together against the Section 54F path first. Do that before you commit to buying property you hadn't otherwise planned to buy.
A number that looks like a win on your Indian return can be a wash, or worse, once you see the full US picture. If you were already going to buy a house in India regardless, timing that purchase to qualify under Section 54F can still be worth doing. Just don't expect it to reduce your combined tax bill.
The property-side mechanics of Section 54, including the Capital Gains Account Scheme and TDS certificates, sit in the tax planning guide for NRIs selling property in India I put together separately. For where this fits in a move back, there's also a complete return-to-India tax planning guide.
Either way, this is a two-country calculation. A preparer who only sees one side of it, the Indian CA or the US CPA working alone, is structurally unable to catch the credit you'd be giving up.
Common misreadings
"Section 54 lets me reinvest my sale proceeds tax-free."
Only for a house sale, and only the gain needs reinvesting, not the full proceeds. A US stock sale falls under Section 54F, which requires the full net sale consideration for a complete exemption.
"The same 12-month rule that applies to my other shares applies here."
It doesn't. Foreign shares need to be held more than 24 months to count as long-term for this exemption. The 12-month threshold is reserved for securities traded on a recognized Indian exchange where securities transaction tax was paid.
"The India-US treaty exempts this from double taxation."
Article 13 of the treaty lets both countries tax the same gain under their own domestic law.
What prevents you from paying it twice is the foreign tax credit, not a treaty exemption, and Section 54F removes the India tax that credit was meant to offset.
The one thing to check before you buy anything
If you haven't crossed into ROR status yet, none of this applies to you, and the date that matters is when your RNOR window ends, not anything to do with Section 54F.
If you have crossed it and you're sitting on a real US gain, run the India tax and the US credit together before you sign for a flat you weren't already planning to buy. An advisor who works both returns at once can usually tell you within an afternoon whether Section 54F actually helps or just moves the same money to a different tax authority.
Frequently asked questions
What's the difference between Section 54 and Section 54F for NRIs?
Section 54 exempts capital gains from selling a residential house, and only the gain itself needs reinvesting in a new one. Section 54F exempts long-term gains from any other asset, shares, ETFs, gold, and so on, but requires reinvesting the entire net sale consideration to get the full exemption.
A US stock sale always falls under Section 54F, never Section 54.
Do I need to reinvest the full sale amount or just the gain to claim Section 54F?
The full net sale consideration. Reinvest only part of it, and you get a proportional exemption rather than a full one, calculated as the amount reinvested divided by the net consideration, multiplied by the gain.
Can I claim Section 54F if I already own a house in India?
Only if that's your one other residential house. Section 54F is unavailable if you own more than one other residential property on the date you sell the original asset.
The exemption is also reversed if you buy a further house within two years, or build one within three years of the sale, aside from the one you claimed the exemption on.
Are capital gains on US investments taxable in India if I'm still an NRI?
No. As long as you're classified Non-Resident or RNOR under India's residential status rules, foreign-source income, including gains on US stocks, stays outside India's tax net. It only becomes taxable once you qualify as Resident and Ordinarily Resident.
Does claiming Section 54F reduce my US tax bill on the same gain?
No, and this is the part that catches people out. The US doesn't recognize Section 54F, so the full gain is still reportable on your US return.
Bringing your India tax to zero through Section 54F also brings your foreign tax credit to zero. You typically end up paying the US roughly what you'd have paid anyway, minus the India-side credit that would otherwise have offset it.