VestedGrant
Find an advisor

Wash sale

Also called wash sale, wash-sale rule, section 1091

A wash sale is a loss sale of stock or securities combined with an acquisition of substantially identical shares within 30 days before or after it, a 61-day window. Under Section 1091 the loss is disallowed and normally added to the replacement shares' basis. RSU vests and ESPP purchases count as acquisitions; the rule is unchanged for 2026.

Facts checked November 21, 2026 · Tax year 2026

Under IRC Section 1091, a loss on the sale of stock or securities is disallowed if the taxpayer acquires substantially identical stock or securities within 30 days before or after the sale, a 61-day window including the sale date. The disallowed loss is added to the basis of the replacement shares, and their holding period includes the holding period of the shares sold, so the loss is postponed rather than lost. IRS Publication 550 extends the rule to purchases by the taxpayer’s spouse or a corporation the taxpayer controls and to purchases in the taxpayer’s IRA or Roth IRA; in the IRA case the disallowed loss is not added to any basis, so it is lost permanently. Publication 550 also gives the example of an employee who receives company shares as a bonus award within the window, which is how RSU vests can trigger the rule.

Example (hypothetical): take an engineer who sells 400 shares of employer stock at a $12,000 loss on December 15, 2026. An RSU vest on January 5, 2027 delivers 300 shares. Because 300 of the 400 shares were replaced within 30 days, three quarters of the loss, $9,000, is disallowed and added to the basis of the 300 vested shares. Only $3,000 of the loss is deductible for 2026.

Common mistake: overlooking acquisitions that happen automatically. RSU vests, ESPP purchases and dividend reinvestments in the same stock all count as acquisitions, so a loss sale of employer stock within 30 days of any of them can be partly or fully disallowed.

Wash sale rules matter in year-end tax-loss harvesting, in sales near vesting dates, and around ESPP purchase dates that fall within 30 days of a loss sale.

Sources

  1. IRS Topic no. 409, Capital gains and lossesirs.gov
    Supporting text
    the amount of the excess loss that you can claim to lower your income is the lesser of $3,000 ($1,500 if married filing separately)
  2. 26 U.S.C. § 1091 (Loss from wash sales of stock or securities)uscode.house.gov
    Supporting text
    within a period beginning 30 days before the date of such sale or disposition and ending 30 days after such date, the taxpayer has acquired
  3. IRS Publication 550, Investment Income and Expensesirs.gov
    Supporting text
    If you sell stock and your spouse or a corporation you con- trol buys substantially identical stock, you also have a wash sale.

Facts checked November 21, 2026 · Tax year 2026

Find a fee-only advisor