What is Wash Sale Rule?
Reviewed by Karthikeyan Anbarasan (Founder, TradeLyser) · Updated 19 Oct 2026 · Editorial policy
How the US rule works
The rule sits in Section 1091 of the US Internal Revenue Code. It looks at a 61-day window: the 30 days before a loss sale, the day of the sale and the 30 days after. If you, your spouse or an account you control, such as an IRA, buys substantially identical securities inside that window, the loss cannot be claimed for that year. Buying options or contracts to acquire the same shares can also count.
- The loss on the sale is disallowed for the current tax year.
- The disallowed loss is added to the cost basis of the replacement shares.
- The holding period of the old shares carries over to the new ones.
- The loss is recovered when the replacement shares are finally sold, except where they were bought in an IRA, in which case it is generally lost.
Worked example (US, illustrative)
| Date | Action | Effect |
|---|---|---|
| March | Buy 100 shares at $50 ($5,000) | Cost basis $50 a share |
| 10 December | Sell 100 at $40 ($4,000) | Loss of $1,000 |
| 20 December | Buy 100 at $42 ($4,200), 10 days later | Inside 30 days: loss disallowed; new basis $42 + $10 = $52 a share ($5,200) |
| Next year | Sell 100 at $55 ($5,500) | Gain of $5,500 − $5,200 = $300, not $1,300 |
The rule does not erase the loss; it moves it into the next sale. Over the whole sequence the investor made $300 (−$5,000 + $4,000 − $4,200 + $5,500), and $300 is what ends up taxed, but none of the $1,000 loss could be used in the year it happened. That timing is what the rule is designed to block: booking a loss for tax while keeping the same position.
What applies in India
India’s income-tax law has no wash-sale provision for listed shares at the time of writing. A capital loss on shares sold on a recognised exchange is set off under the normal rules: a short-term loss against short-term or long-term gains, a long-term loss only against long-term gains, and 8 years of carry forward if the return is filed by the due date. That does not make every sale-and-rebuy safe. Tax authorities can question a transaction that exists only to create a loss, with no real change in position, so confirm with a tax professional.
United States
India
- Avoid selling and buying back the same quantity on the same day. The two legs can net off at settlement and be treated as an intraday trade, which is taxed as speculative business income rather than as a capital loss.
- Keep the contract notes that show the sale and the repurchase on different days.
- Remember that a buy-back resets your cost and restarts the 12-month holding period for long-term treatment.
- If you are also a US taxpayer, for example a US citizen or green-card holder living in India, the US rule applies to your US return as well.
Reference guide
| Context | Value | Reading |
|---|---|---|
| US taxpayer waits 31 days before buying back | Loss allowed | Clear of the 61-day window: 30 days before the sale, the sale day and 30 days after |
| US taxpayer buys back within 30 days, including in an IRA or a spouse’s account | Loss disallowed | In an IRA the loss is generally lost for good, not just deferred |
| Indian resident selling and later rebuying NSE shares | No statutory wash-sale rule | Normal set-off rules apply; avoid same-day buy-backs and confirm with a tax professional |
Questions
What is the wash sale rule?
A US tax rule that disallows a loss if you buy substantially identical securities within 30 days before or after the loss sale. The disallowed loss is added to the cost of the new shares.
Is there a wash sale rule in India?
Not as a statutory rule for listed shares at the time of writing. Losses follow the normal set-off rules, but a transaction made only to create a loss can be questioned, so confirm with a tax professional.
How many days is the wash sale period?
30 days before and 30 days after the sale, which with the sale day itself makes a 61-day window.
What happens to a loss disallowed by the wash sale rule?
It is added to the cost basis of the replacement shares and recovered when they are sold. If the replacement was bought in an IRA, the loss is generally lost.
Does the wash sale rule apply to Indians investing in US stocks?
It is a rule for US taxpayers. A resident Indian who is not a US taxpayer reports foreign share gains and losses under Indian rules. Confirm your own case with a tax professional.