# Wash sale

A wash sale is a sale of a security (stocks, bonds, options) at a loss and repurchase of the same or substantially identical security (judging by CUSIP or Committee on Uniform Securities Identification Procedures numbers) shortly before or after. Losses from such sales are not deductible in most cases under the Internal Revenue Code in the United States. Wash sale regulations disallow an investor who holds an unrealized loss from accelerating a tax deduction into the current tax year, unless the investor is out of the position for some significant length of time. A wash sale can take place at any time during the year, or across year boundaries.
In the United Kingdom, a similar practice which specifically takes place at the end of a calendar year is known as bed and breakfasting. In a bed-and-breakfasting transaction, a position is sold on the last trading day of the year (typically late in the trading session) to establish a tax loss. The same position is then repurchased early on the first session of the new trading year, to restore the position (albeit at a lower cost basis). The term, therefore, derives its name from the late sale and early morning repurchase.
Wash sale rules don't apply when stock is sold at a profit. A related term, tax-loss harvesting is "selling an investment at a loss with the intention of ultimately repurchasing the same investment after the IRS's 30 day window on wash sales has expired". This allows investors to lower their tax amount with the use of investment losses. Wash sales and similar trading patterns are not themselves prohibited; the rules only deal with the tax treatment of capital losses and the accounting of the ongoing tax basis. Tax rules in the U.S. and U.K. defer the tax benefits of wash selling at a loss. Such losses are added to the basis of the newly acquired security, essentially deferring the tax benefits until a non-wash sale occurs, if ever.

## Identification

According to the Merriam-Webster Legal Dictionary, the legal definition is "a sale and purchase of securities that produces no change of the beneficial owner." The IRS broadened its definition of wash sales in 1993. In the United States, wash sale laws are codified in "26 USC § 1091 - Loss from wash sales of stock or securities". The corresponding treasury regulations are given by CFR 1.1091-1 and 1.1091-2.
Under Section 1091, a wash sale occurs when a taxpayer sells or trades stock or securities at a loss, and within 30 days before or after the sale:
* Buys substantially identical stock or securities,
* Acquires substantially identical stock or securities in a fully taxable trade,
* Acquires a contract or option to buy substantially identical stock or securities, or
* Acquires substantially identical stock for an individual retirement account (IRA).
The "substantially identical stock" acquired in any of these ways is called the "replacement stock" for that original position. The IRS has not formally defined what "substantially identical" funds are constituted of.

## Consequences

In the United States, the wash sale rule has the following consequences:
* The taxpayer is not allowed to claim the loss on the sale (the loss is not "realized").
* Basis Adjustment: The disallowed loss is added to the cost basis of the replacement stock.
* Holding Period: The holding period for the replacement stock includes the holding period of the stock sold.
In the United States, reporting wash sale loss adjustments is done on the 1099-B form. According to Forbes, "most brokers don't report wash sale (WS) loss calculations during the year". For the IRS, taxpayers in the United States must calculate their WS losses "across all taxpayer's brokerage accounts, including IRAs and spousal accounts if married/filing joint. Wash sale rules can also be avoided by "not buying a security within 30 days of selling the same one or a similar one for a loss."

### Basis adjustment

After a sale is identified as a wash sale and if the replacement stock is bought within 30 days before or after the sale then the wash sale loss is added to the basis of the replacement stock. The basis adjustment preserves the benefit of the disallowed loss; the holder receives that benefit on a future sale of the replacement stock. However, if the replacement shares are in a tax-advantaged account, such as an IRA, the disallowed loss cannot be added to the basis and there is no benefit for the loss.