Wash Sales: Investment Taxes (2025 IRS Guide)
This guide covers “Wash Sales” within investment taxes. The following material presents the IRS treatment of this topic, including the qualifications, exceptions, and examples in the source section. Read the rules alongside the facts of your own situation before deciding what to report, deduct, or document.
Adapted from Publication 550 (2025), Investment Income and Expenses, published by the Internal Revenue Service. This guide retains the source edition’s years, amounts, deadlines, and examples. It is guidance for that edition, not a statement that the same figures apply to every tax year.
Wash Sales
You cannot deduct losses from sales or trades of stock or securities in a wash sale unless the loss was incurred in the ordinary course of your business as a dealer in stock or securities.
A wash sale occurs when you sell or trade stock or securities at a loss and within 30 days before or after the sale you:
-
Buy substantially identical stock or securities,
-
Acquire substantially identical stock or securities in a fully taxable trade,
-
Acquire a contract or option to buy substantially identical stock or securities, or
-
Acquire substantially identical stock for your individual retirement arrangement (IRA) or Roth IRA.
If your loss was disallowed because of the wash sale rules, add the disallowed loss to the cost of the new stock or securities (except in (4) above). The result is your basis in the new stock or securities. This adjustment postpones the loss deduction until the disposition of the new stock or securities. Your holding period for the new stock or securities includes the holding period of the stock or securities sold.
Example 1.
You buy 100 shares of X stock for $1,000. You sell these shares for $750 and within 30 days from the sale you buy 100 shares of the same stock for $800. Because you bought substantially identical stock, you cannot deduct your loss of $250 on the sale. However, you add the disallowed loss of $250 to the cost of the new stock, $800, to obtain your basis in the new stock, which is $1,050.
Example 2.
You are an employee of a corporation with an incentive pay plan. Under this plan, you are given 10 shares of the corporation's stock as a bonus award. You include the fair market value of the stock in your gross income as additional pay. You later sell these shares at a loss. If you receive another bonus award of substantially identical stock within 30 days of the sale, you cannot deduct your loss on the sale.
Options and futures contracts.
The wash sale rules apply to losses from sales or trades of contracts and options to acquire or sell stock or securities. They do not apply to losses from sales or trades of commodity futures contracts and foreign currencies. See Coordination of Loss Deferral Rules and Wash Sale Rules, later, for information about the tax treatment of losses on the disposition of positions in a straddle.
Securities futures contract to sell.
Losses from the sale, exchange, or termination of a securities futures contract to sell are generally treated in the same manner as losses from the closing of a short sale, discussed later in this section under Short sales.
Warrants.
The wash sale rules apply if you sell common stock at a loss and, at the same time, buy warrants for common stock of the same corporation. But if you sell warrants at a loss and, at the same time, buy common stock in the same corporation, the wash sale rules apply only if the warrants and stock are considered substantially identical, as discussed next.
Substantially identical.
In determining whether stock or securities are substantially identical, you must consider all the facts and circumstances in your particular case. Ordinarily, stocks or securities of one corporation are not considered substantially identical to stocks or securities of another corporation. However, they may be substantially identical in some cases. For example, in a reorganization, the stocks and securities of the predecessor and successor corporations may be substantially identical.
Similarly, bonds or preferred stock of a corporation are not ordinarily considered substantially identical to the common stock of the same corporation. However, where the bonds or preferred stock are convertible into common stock of the same corporation, the relative values, price changes, and other circumstances may make these bonds or preferred stock and the common stock substantially identical. For example, preferred stock is substantially identical to the common stock if the preferred stock:
-
Is convertible into common stock,
-
Has the same voting rights as the common stock,
-
Is subject to the same dividend restrictions,
-
Trades at prices that do not vary significantly from the conversion ratio, and
-
Is unrestricted as to convertibility.
More or less stock bought than sold.
If the number of shares of substantially identical stock or securities you buy within 30 days before or after the sale is either more or less than the number of shares you sold, you must determine the particular shares to which the wash sale rules apply. You do this by matching the shares bought with an equal number of the shares sold. Match the shares bought in the same order that you bought them, beginning with the first shares bought. The shares or securities so matched are subject to the wash sale rules.
Example 1.
You bought 100 shares of M stock on September 20, 2024, for $5,000. On December 13, 2024, you bought 50 shares of substantially identical stock for $2,750. On December 20, 2024, you bought 25 shares of substantially identical stock for $1,125. On January 3, 2025, you sold for $4,000 the 100 shares you bought in September. You have a $1,000 loss on the sale. However, because you bought 75 shares of substantially identical stock within 30 days before the sale, you cannot deduct the loss ($750) on 75 shares. You can deduct the loss ($250) on the other 25 shares. The basis of the 50 shares bought on December 13, 2024, is increased by two-thirds (50 ÷ 75) of the $750 disallowed loss. The new basis of those shares is $3,250 ($2,750 + $500). The basis of the 25 shares bought on December 20, 2024, is increased by the rest of the loss to $1,375 ($1,125 + $250).
Example 2.
You bought 100 shares of M stock on September 16, 2024. On January 29, 2025, you sold those shares at a $1,000 loss. On each of the 4 days from February 3, 2025, to February 6, 2025, you bought 50 shares of substantially identical stock. You cannot deduct your $1,000 loss. You must add half the disallowed loss ($500) to the basis of the 50 shares bought on February 3. Add the other half ($500) to the basis of the shares bought on February 4.
Loss and gain on same day.
Loss from a wash sale of one block of stock or securities cannot be used to reduce any gains on identical blocks sold the same day.
Example.
During 2019, you bought 100 shares of X stock on each of three occasions. You paid $158 per share for the first block of 100 shares, $100 per share for the second block, and $95 per share for the third block. On December 27, 2024, you sold 300 shares of X stock for $125 per share. On January 10, 2025, you bought 250 shares of identical X stock. You cannot deduct the loss of $33 per share on the first block because within 30 days after the date of sale, you bought 250 identical shares of X stock. In addition, you cannot reduce the gain realized on the sale of the second and third blocks of stock by this loss.
Dealers.
The wash sale rules do not apply to a dealer in stock or securities if the loss is from a transaction made in the ordinary course of business.
Short sales.
The wash sale rules apply to a loss realized on a short sale if you sell, or enter into another short sale of, substantially identical stock or securities within a period beginning 30 days before the date the short sale is complete and ending 30 days after that date.
For purposes of the wash sale rules, a short sale is considered complete on the date the short sale is entered into if:
-
On that date, you own stock or securities identical to those sold short (or by that date you enter into a contract or option to acquire that stock or those securities); and
-
You later deliver the stock or securities to close the short sale.
Otherwise, a short sale is not considered complete until the property is delivered to close the sale.
This treatment also applies to losses from the sale, exchange, or termination of a securities futures contract to sell.
Example.
On June 4, you buy 100 shares of stock for $1,000. You sell short 100 shares of the stock for $750 on October 15. On October 16, you buy 100 shares of the same stock for $750. You close the short sale on November 19 by delivering the shares bought on June 4. You cannot deduct the $250 loss ($1,000 − $750) because the date of entering into the short sale (October 15) is considered the date the sale is complete for wash sale purposes and you bought substantially identical stock within 30 days from that date.
Residual interests in a real estate mortgage investment conduit (REMIC).
The wash sale rules will generally apply to the sale of your residual interest in a REMIC if, during the period beginning 6 months before the sale of the interest and ending 6 months after that sale, you acquire any residual interest in any REMIC or any interest in a taxable mortgage pool that is comparable to a residual interest. REMICs are discussed in chapter 1.
Nondeductible wash sale loss.
If you received a Form 1099-B, box 1g will show the amount of wash sale loss disallowed if:
-
The stock or securities sold were covered securities, and
-
The substantially identical stock or securities you bought had the same CUSIP numbers as the stock or securities you sold and were bought in the same account as the stock or securities you sold.
However, you cannot deduct a loss from a wash sale even if it is not reported on Form 1099-B.
How to report.
Report a wash sale transaction in Part I or Part II of Form 8949 with the appropriate box checked. Complete all columns. Enter “W” in column (f). Enter as a positive number in column (g) the amount of the loss not allowed. See the Instructions for Form 8949.
Securities Futures Contracts
A securities futures contract is a contract of sale for future delivery of a single security or of a narrow-based security index.
Gain or loss from the contract will generally be treated in a manner similar to gain or loss from transactions in the underlying security. This means gain or loss from the sale, exchange, or termination of the contract will generally have the same character as gain or loss from transactions in the property to which the contract relates. Any capital gain or loss on a sale, exchange, or termination of a contract to sell property will be considered short term, regardless of how long you hold the contract. These contracts are not section 1256 contracts (unless they are dealer securities futures contracts).
Using the guidance
Keep the documents that establish the dates, amounts, and circumstances described above. References to other chapters, forms, worksheets, or earlier and later sections refer to the linked IRS publication. Check the full publication and its updates before relying on a rule for a different tax year or a situation not addressed here.
Sources and further reading
- Publication 550 (2025), Investment Income and Expenses: Sales and Trades of Investment Property — Capital Gains and Losses — Wash Sales — Internal Revenue Service; 2025 edition.
The cited U.S. government text is in the public domain. Source accessed October 28, 2026. Fynoptic has organized this material for educational use and is independent of, and not endorsed by, the IRS.