Wash Sale

What Is a Wash Sale?

A wash sale is a transaction in which an investor seeks to maximize tax benefits by selling a losing security at the end of a calendar year so they can claim a capital loss on taxes that year. The investor's intent is likely to repurchase the security again after the start of the new year, if possible even lower than where they sold. Such wash sales are a method investors have historically considered to recognize a tax loss without limiting their exposure to opportunity they perceive in owning a particular security. The IRS uses the wash-sale rule to eliminate the incentive to arbitrarily sell and reacquire the same security around the end of the calendar years.

Key Takeaways

  • A wash sale occurs when an investor sells a security at a loss for tax benefits.
  • The IRS instituted the wash sale rule to prevent taxpayers from abusing wash sales.
  • Investors who sell a security at a loss cannot purchase shares of the security—or one that is substantially identical to it—within 30 days (before or after) the sale of the security.

Understanding a Wash Sale

A wash sale works when a country's tax laws permit tax deductions for losses on securities held within a given tax year. Without such incentives there would be no need for wash sales. However where such incentives exist, wash sales inevitably result. The wash sale has three parts.

First, when investors notice they are in a losing position at the end of a tax year, they close that position at or near the end of the year. Second, the sale allows them to take a loss that they can legally claim on their tax returns as a reduction of their earnings for that year. In this way the pay a smaller amount of taxes. Third, after the new year begins, the investor will look to purchase the security at or below the price they sold previously.

The Wash-Sale Rule

To prevent the abuse of this incentive, the Internal Revenue Service (IRS) instituted the Wash-Sale Rule in the U.S. (In the U.K. the practice is known as bed-and-breakfasting and the tax rules in the U.K. have an implementation similar to the Wash Sale Rule). The rule designates that if an investor buys a security within 30 days before or after having sold it, that any losses made from that sale cannot be counted against reported income. This effectively removes the incentive to do a short-term wash sale.

For example, let’s assume an investor has a $15,000 capital gain from the sale of ABC stock. He falls in the highest tax bracket and so will have to pay 20% capital gains tax, or $3,000, to the government. But let’s say he sells XYZ security for a loss of $7,000. His net capital gain for tax purposes will be $15,000 - $7,000 = $8,000, which means he’ll have to pay only $1,600 in capital gains tax. Notice how the realized loss on XYZ reduces the gain on ABC and, hence, reduces the investor’s tax bill.

However, if the investor repurchases XYZ stock—or a stock substantially identical to XYZ—within 30 days of the sale, the transaction outlined above is counted as a wash sale and the loss is not allowed to offset any gains. To be more specific, a wash sale involves selling a security at a loss and repurchasing the same security, or one that is substantially identical, within 30 days before or after the sale.

In addition, the IRS does not ordinarily consider bonds and preferred stock of an issuing company to be substantially identical to the company’s common stock. However, there may be circumstances in which preferred stock, for example, may be considered substantially identical to the common stock. This would be the case if the preferred stock is convertible into common stock without any restriction, has the same voting rights as the common stock, and trades at a price close to the conversion ratio.

The good news is that any loss realized on a wash sale is not completely lost. Instead, the loss can be applied to the cost basis of the most recently purchased substantially identical security. Not only does this addition increase the cost basis of the purchased securities, it also reduces the size of any future taxable gains as a result. Thus, the investor still receives credit for those losses, but at a later time. Also, the holding period of the wash sale securities is added to the holding period of the repurchased securities, which increases an investor’s odds of qualifying for the 15% favorable tax rate on long-term capital gains.

Per Revenue Ruling 2008-5, IRA transactions can also trigger the wash-sale rule. If shares are sold in a non-retirement account and substantially identical shares are purchased in an IRA within a 30 day period, the investor cannot claim tax losses for the sale, nor is the basis in the individual's IRA increased.

Article Sources
Investopedia requires writers to use primary sources to support their work. These include white papers, government data, original reporting, and interviews with industry experts. We also reference original research from other reputable publishers where appropriate. You can learn more about the standards we follow in producing accurate, unbiased content in our editorial policy.
  1. Internal Revenue Service. "Rev. Rul. 2008-5," Pages 1–4. Accessed April 29, 2020.

Compare Accounts
The offers that appear in this table are from partnerships from which Investopedia receives compensation. This compensation may impact how and where listings appear. Investopedia does not include all offers available in the marketplace.