Title 26, Internal Revenue CodeRelease 119-110

§1091 Loss From Wash Sales of Stock or Securities

Title 26 › Subtitle A — Income Taxes › CHAPTER 1 — NORMAL TAXES AND SURTAXES › Subchapter O — Gain or Loss on Disposition of Property › PART VII — WASH SALES; STRADDLES › § 1091

Last updated Sep 22, 2026|Official source

Summary

You cannot deduct a loss on the sale of stock or securities if you bought (or agreed to buy) basically the same stock within 30 days before or 30 days after the sale. This rule also covers contracts or options to buy or sell those stocks. The only exception is if you are a dealer in stock or securities and the loss happened in your regular business. If you bought less than you sold, the Treasury Secretary will make rules to decide which shares’ loss is disallowed. If you bought as much or more than you sold, the Secretary will make rules to decide which acquired shares caused the loss to be disallowed. If the loss is disallowed and you keep the replacement stock, your cost for that stock is adjusted by the difference between what you paid for the replacement and what you sold the original for. The same 30-day rule applies to closing short sales and to selling through securities futures contracts (including entering another short sale in that period). The rule still applies even if a contract or option can be settled in cash or with other property. "Securities futures contract" has the meaning given in section 1234B(c).

Full Legal Text

Title 26, §1091

Internal Revenue Code, Source: USLM XML via OLRC

(a)Disallowance of loss deduction
In the case of any loss claimed to have been sustained from any sale or other disposition of shares of stock or securities where it appears that, 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 (by purchase or by an exchange on which the entire amount of gain or loss was recognized by law), or has entered into a contract or option so to acquire, substantially identical stock or securities, then no deduction shall be allowed under section 165 unless the taxpayer is a dealer in stock or securities and the loss is sustained in a transaction made in the ordinary course of such business. For purposes of this section, the term “stock or securities” shall, except as provided in regulations, include contracts or options to acquire or sell stock or securities.
(b)Stock acquired less than stock sold
If the amount of stock or securities acquired (or covered by the contract or option to acquire) is less than the amount of stock or securities sold or otherwise disposed of, then the particular shares of stock or securities the loss from the sale or other disposition of which is not deductible shall be determined under regulations prescribed by the Secretary.
(c)Stock acquired not less than stock sold
If the amount of stock or securities acquired (or covered by the contract or option to acquire) is not less than the amount of stock or securities sold or otherwise disposed of, then the particular shares of stock or securities the acquisition of which (or the contract or option to acquire which) resulted in the nondeductibility of the loss shall be determined under regulations prescribed by the Secretary.
(d)Unadjusted basis in case of wash sale of stock
If the property consists of stock or securities the acquisition of which (or the contract or option to acquire which) resulted in the nondeductibility (under this section or corresponding provisions of prior internal revenue laws) of the loss from the sale or other disposition of substantially identical stock or securities, then the basis shall be the basis of the stock or securities so sold or disposed of, increased or decreased, as the case may be, by the difference, if any, between the price at which the property was acquired and the price at which such substantially identical stock or securities were sold or otherwise disposed of.
(e)Certain short sales of stock or securities and securities futures contracts to sell
Rules similar to the rules of subsection (a) shall apply to any loss realized on the closing of a short sale of (or the sale, exchange, or termination of a securities futures contract to sell) stock or securities if, within a period beginning 30 days before the date of such closing and ending 30 days after such date—
(1)substantially identical stock or securities were sold, or
(2)another short sale of (or securities futures contracts to sell) substantially identical stock or securities was entered into.
For purposes of this subsection, the term “securities futures contract” has the meaning provided by section 1234B(c).
(f)Cash settlement
This section shall not fail to apply to a contract or option to acquire or sell stock or securities solely by reason of the fact that the contract or option settles in (or could be settled in) cash or property other than such stock or securities.

Legislative History

Notes & Related Subsidiaries

Editorial Notes

Amendments

2002—Subsec. (e). Pub. L. 107–147 substituted “securities and securities futures contracts to sell” for “securities” in heading, inserted “(or the sale, exchange, or termination of a securities futures contract to sell)” after “closing of a short sale of” in introductory provisions and “(or securities futures contracts to sell)” after “short sale of” in par. (2), and inserted concluding provisions. 2000—Subsec. (f). Pub. L. 106–554 added subsec. (f). 1988—Subsec. (a). Pub. L. 100–647 inserted sentence at end defining “stock or securities”. 1984—Subsec. (a). Pub. L. 98–369, § 106(b), substituted “no deduction shall be allowed under section 165 unless the taxpayer is a dealer in stock or securities and the loss is sustained in a transaction made in the ordinary course of such business” for “no deduction for the loss shall be allowed under section 165(c)(2); nor shall such deduction be allowed a corporation under section 165(a) unless it is a dealer in stocks or securities, and the loss is sustained in a transaction made in the ordinary course of business”. Subsec. (e). Pub. L. 98–369, § 106(a), added subsec. (e). 1976—Pub. L. 94–455 struck out “or his delegate” after “Secretary” wherever appearing.

Statutory Notes and Related Subsidiaries

Effective Date

of 2002 AmendmentAmendment by Pub. L. 107–147 effective as if included in the provisions of the Community Renewal Tax Relief Act of 2000 [H.R. 5662, as enacted by Pub. L. 106–554], to which such amendment relates, see section 412(e) of Pub. L. 107–147, set out as a note under section 151 of this title.

Effective Date

of 1988 Amendment Pub. L. 100–647, title V, § 5075(b), Nov. 10, 1988, 102 Stat. 3682, provided that: “The amendment made by subsection (a) [amending this section] shall apply with respect to any sale after the date of enactment of this Act [Nov. 10, 1988], in taxable years ending after such date.”

Effective Date

of 1984 Amendment Pub. L. 98–369, div. A, title I, § 106(c),
July 18, 1984, 98 Stat. 629, provided that: “(1) Subsection (a).—The amendment made by subsection (a) [amending this section] shall apply to short sales of stock or securities after the date of the enactment of this Act [
July 18, 1984] in taxable years ending after such date. “(2) Subsection (b).—The amendment made by subsection (b) [amending this section] shall apply to sales after
December 31, 1984, in taxable years ending after such date.”

Reference

Citations & Metadata

Citation

26 U.S.C. § 1091

Title 26, Internal Revenue Code

Last Updated

Sep 22, 2026

Release point: 119-110