General

What is Wash Sale Rule?

Reviewed by Karthikeyan Anbarasan (Founder, TradeLyser) · Updated 19 Oct 2026 · Editorial policy

DefinitionThe wash sale rule is a US tax rule that disallows a loss on selling shares if you buy substantially identical shares within 30 days before or after the sale; the disallowed loss is added to the cost of the new shares instead. India has no equivalent statutory rule for listed shares at the time of writing, so an Indian investor who books a ₹50,000 loss on NSE shares and buys back later is covered by the ordinary set-off rules, although a sale made only to create a loss can still be questioned.
Formula
New cost basis per share (US) = Repurchase price + Disallowed loss per share
Example
$42 repurchase price + $10 disallowed loss = $52 a share

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.

  1. The loss on the sale is disallowed for the current tax year.
  2. The disallowed loss is added to the cost basis of the replacement shares.
  3. The holding period of the old shares carries over to the new ones.
  4. 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)

DateActionEffect
MarchBuy 100 shares at $50 ($5,000)Cost basis $50 a share
10 DecemberSell 100 at $40 ($4,000)Loss of $1,000
20 DecemberBuy 100 at $42 ($4,200), 10 days laterInside 30 days: loss disallowed; new basis $42 + $10 = $52 a share ($5,200)
Next yearSell 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.

Window around the sale
61 days
Loss disallowed this year
$1,000
New basis per share
$52
Gain when sold at $55
$300

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

Statutory 30-day rule before and after a loss sale. The disallowed loss moves into the cost of the new shares.
Internal Revenue Code Section 1091

India

No equivalent statutory rule for listed shares at the time of writing. A transaction done only to create a loss can still be questioned.
Confirm with a tax professional
  • 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.
US shares bought from India
A resident Indian who buys US-listed shares under the Liberalised Remittance Scheme and is not a US taxpayer reports the gains and losses in India, under the Indian rules for foreign shares, which differ from those for NSE and BSE shares. The US wash sale rule is aimed at US taxpayers. Confirm your own position with a tax professional.

Reference guide

ContextValueReading
US taxpayer waits 31 days before buying backLoss allowedClear 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 accountLoss disallowedIn an IRA the loss is generally lost for good, not just deferred
Indian resident selling and later rebuying NSE sharesNo statutory wash-sale ruleNormal 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.

Related terms