IRC Section 1091 Explained: The Wash Sale Rule in the Code
IRC Section 1091 may disallow a loss deduction when stock or securities are sold at a loss and substantially identical stock or securities, or a contract or option to acquire them, is acquired within 30 days before or after the sale. A dealer exception and a basis rule may apply if the statutory requirements are met. (IRC § 1091(a), (d).)
This page is general research, not tax, legal, or investment advice. Do not take any action based on this page without first consulting a qualified CPA or tax attorney who knows your facts.
Statute at a glance26 U.S.C. §1091
Overview
Section 1091 of the Internal Revenue Code is usually called the wash sale rule. It applies to losses on stock and securities. When certain replacement purchases happen close in time to a loss sale, the statute disallows the loss deduction that § 165 might otherwise allow.
This explainer covers the operative subsections of § 1091 and questions readers may want to raise with a qualified professional.
The Core Rule in Section 1091(a)
Section 1091(a) addresses a claimed loss from a sale or other disposition of stock or securities. The section applies when, within the statutory period, the taxpayer has done any of the following with "substantially identical stock or securities":
- acquired them,
- entered into a contract to acquire them, or
- taken an option to acquire them.
The statutory period runs from 30 days before to 30 days after the date of the sale or disposition. If the conditions are met, the § 165 loss deduction is disallowed.
The statute also has an exception for certain dealers in stock or securities. Whether a particular taxpayer or transaction falls within that exception depends on the statutory language and the facts, and a qualified professional would need to analyze it.
What "stock or securities" includes
For purposes of § 1091(a), the term "stock or securities" includes contracts or options to acquire or sell stock or securities, except as provided in regulations. The rule therefore covers more than shares themselves.
Partial Replacements: Sections 1091(b) and 1091(c)
The amount of replacement stock or securities acquired may differ from the amount sold. Section 1091 handles two situations and sends the detailed allocation to regulations.
Acquired amount less than amount sold (§ 1091(b)). If the amount of stock or securities acquired is less than the amount sold or disposed of, regulations determine which particular shares' loss is not deductible.
Acquired amount not less than amount sold (§ 1091(c)). If the amount acquired is not less than the amount sold or disposed of, regulations determine which acquired shares, contracts, or options caused the loss to be nondeductible.
In both subsections, the statute supplies the framework and leaves the share-matching method to regulations.
The Basis Rule in Section 1091(d)
Section 1091(d) sets a basis rule for stock or securities whose acquisition caused a loss to be disallowed under the section. The basis of the acquired stock or securities is tied to the basis of the stock or securities sold or disposed of. That basis is then adjusted by the difference, if any, between the price at which the property was acquired and the price at which the substantially identical property was sold or disposed of.
How this adjustment works in a given case, and how it may affect later gain or loss, depends on the transaction and should be reviewed with a qualified professional.
Short Sales and Securities Futures Contracts: Section 1091(e)
Section 1091(e) extends rules similar to § 1091(a) to two more categories of loss:
- a loss realized on the closing of a short sale of stock or securities, and
- a loss realized on the sale, exchange, or termination of a securities futures contract to sell.
These rules apply if the conditions stated in the subsection, which involve substantially identical stock or securities, occur within the specified period. That period runs from 30 days before to 30 days after the closing of the short sale or the specified securities futures contract event.
Section 1091(e) defines "securities futures contract" by reference to § 1234B(c).
Cash-Settled Contracts and Options: Section 1091(f)
Section 1091(f) says the section does not fail to apply to a contract or option to acquire or sell stock or securities solely because the contract or option settles, or could settle, in cash or other property. Cash settlement, by itself, does not take such a contract or option outside § 1091.
Subsection Summary
| Subsection | Subject | Period or date label | Pinpoint cite |
|---|---|---|---|
| § 1091(a) | Loss disallowed when substantially identical stock or securities are acquired, or contracted or optioned for acquisition, within the window. Dealer exception. Contracts and options included. | 30 days before and 30 days after the sale or disposition | IRC § 1091(a) |
| § 1091(b) | Acquired amount less than amount sold. Regulations identify the nondeductible loss shares. | See the Code section | IRC § 1091(b) |
| § 1091(c) | Acquired amount not less than amount sold. Regulations identify the acquired shares, contracts, or options. | See the Code section | IRC § 1091(c) |
| § 1091(d) | Basis of acquired stock or securities | See the Code section | IRC § 1091(d) |
| § 1091(e) | Short sales and securities futures contracts to sell | 30 days before and 30 days after the short sale closing or specified securities futures contract event | IRC § 1091(e) |
| § 1091(f) | Cash-settled contracts and options remain covered | See the Code section | IRC § 1091(f) |
Amendment History and Effective Dates
Amendments to § 1091 are listed for 1976, 1984, 1988, 2000, and 2002. Statutory notes include effective-date provisions for the 1984, 1988, and 2002 amendments. The effective-date provisions include:
| Amendment | Effective-date rule | Pinpoint cite |
|---|---|---|
| 1984 amendment, paragraph (1) | Short sales after July 18, 1984, in taxable years ending after that date | Statutory Notes, "Effective Date of 1984 Amendment," paragraph (1) |
| 1984 amendment, paragraph (2) | Sales after December 31, 1984, in taxable years ending after that date | Statutory Notes, "Effective Date of 1984 Amendment," paragraph (2) |
| 1988 amendment | Sales after November 10, 1988, in taxable years ending after that date | Statutory Notes, "Effective Date of 1988 Amendment" |
These historical dates matter mainly for older transactions. For current transactions, the operative text is the statute in effect when the transaction occurs. Readers should check the applicable version with a qualified professional.
Hypothetical Example
Hypothetical example. This scenario is invented for illustration and uses no dollar amounts.
An individual investor who is not a dealer in stock or securities sells shares of a publicly traded company at a loss. Twelve calendar days later, the investor buys shares of the same company. Assume for this illustration only that the shares bought are substantially identical to the shares sold. That conclusion would itself require professional analysis.
On these assumed facts, the purchase falls within the period running 30 days before to 30 days after the sale. Under § 1091(a), the § 165 deduction for the loss on the sale would generally be disallowed. Section 1091(d) would then tie the basis of the newly acquired shares to the basis of the shares sold, adjusted by the difference, if any, between the acquisition price and the sale price.
If the investor had bought fewer shares than were sold, § 1091(b) would direct the matching of disallowed loss shares to regulations. A different fact, such as a purchase outside the statutory window, a dealer transaction, or a replacement that is not substantially identical, could change the analysis. This example does not predict the outcome for any real taxpayer.
Questions to Raise With a CPA or Tax Attorney
- Within the statutory window, did any acquisition, contract to acquire, or option to acquire occur that could involve substantially identical stock or securities?
- How do the relevant authorities define "substantially identical" for the specific positions involved?
- Does the dealer exception in § 1091(a) apply to any part of the activity?
- If the replacement amount differs from the amount sold, how do the regulations referenced in § 1091(b) or (c) match the shares, contracts, or options?
- How does the § 1091(d) basis rule apply to the specific acquisition and sale prices involved?
- Do any short sales or securities futures contracts to sell raise § 1091(e) questions, and how does § 1234B(c) apply?
- Could cash-settled contracts or options be covered by § 1091 through § 1091(f)?
- Which version of the statute, and which effective-date rules, apply to the years in which the transactions occurred?
- What reporting and recordkeeping obligations follow from the analysis?
Sources
This page is general research, not tax, legal, or investment advice. Do not take any action based on this page without first consulting a qualified CPA or tax attorney who knows your facts.
- 26 U.S.C. § 1091(a), loss disallowance, statutory window, dealer exception, and definition of stock or securities. https://www.law.cornell.edu/uscode/text/26/1091
- 26 U.S.C. § 1091(b) and (c), regulatory determination of affected shares, contracts, or options. https://www.law.cornell.edu/uscode/text/26/1091
- 26 U.S.C. § 1091(d), basis of acquired stock or securities. https://www.law.cornell.edu/uscode/text/26/1091
- 26 U.S.C. § 1091(e), short sales and securities futures contracts, with reference to § 1234B(c). https://www.law.cornell.edu/uscode/text/26/1091
- 26 U.S.C. § 1091(f), cash-settled contracts and options. https://www.law.cornell.edu/uscode/text/26/1091
- Statutory Notes, "Effective Date of 1984 Amendment," paragraphs (1) and (2), and "Effective Date of 1988 Amendment." https://www.law.cornell.edu/uscode/text/26/1091