Title 26 › Subtitle Subtitle A— Income Taxes › Chapter 1— NORMAL TAXES AND SURTAXES › Subchapter P— Capital Gains and Losses › Part IV— SPECIAL RULES FOR DETERMINING CAPITAL GAINS AND LOSSES › § 1233
When you make a short sale, any gain or loss counts as a capital gain or loss if the thing you use to close the short sale (for example a stock or a commodity future) is a capital asset for you. If, on the day you shorted, you already held the same kind of property for not more than 1 year, or you buy the same kind of property after the short sale but before you close it, then any gain when you close the short sale is treated as short-term (held for not more than 1 year). The holding period for those matching items starts on the closing date (or on the date you sell, give away, or otherwise dispose of them), and the rule applies in the order you acquired the items, up to the amount you sold short. If you held the matching property for more than 1 year when you made the short sale, then any loss when you close is treated as long-term (more than 1 year). These rules apply only to stocks, securities, and commodity futures that are capital assets for you, and they do not include positions covered by section 1092(b). A few special rules also apply. An option to sell bought the same day as the identified property and exercised only by selling that identified property is treated differently; if the option is not exercised, you add the option cost to the property’s basis (this applies to options bought after August 16, 1954). Securities futures contracts are treated as the same kind of property; entering one to sell counts as a short sale and its settlement closes the short. Commodity futures with different delivery months are not treated as identical. For individual taxpayers the rules treat the taxpayer and spouse together unless they are legally separated. Dealers in securities have a special rule: if they short stock while holding identical stock for not more than 1 year and close the short more than 20 days later, the short-term rule applies. Arbitrage short sales follow special ordering and record rules and are limited to assets held for arbitrage. Hedging in commodity futures is excluded. If you have an open short sale and the property becomes substantially worthless, the IRS cannot assess a related deficiency before the earlier of (a) 3 years after you notify the IRS of the worthlessness or (b) 6 years after you filed the return, and the IRS may assess the deficiency despite other timing rules.
Full Legal Text
Internal Revenue Code — Source: USLM XML via OLRC
Legislative History
Reference
Citation
26 U.S.C. § 1233
Title 26 — Internal Revenue Code
Last Updated
Apr 5, 2026
Release point: 119-73not60