The IRS taxes a short sale only when you close the position, and in most cases the resulting gain is treated as a short-term capital gain taxed at ordinary income rates. The IRS short sale tax rules also include a set of anti-abuse provisions under Internal Revenue Code Section 1233 that can reclassify your gain or loss, reset the holding period on related shares you already own, and disallow certain deductions. Miss those rules and you can owe materially more tax than your trading platform’s running total suggests.
When the Tax Hits and How Gain or Loss Is Calculated
A short sale opens when you borrow shares from your broker, sell them, and receive the proceeds. It closes when you buy replacement shares on the open market and deliver them back to the lender. Opening the position is not a taxable event. No gain or loss exists until you close it.1eCFR. 26 CFR 1.1233-1 – Gains and Losses From Short Sales
Your gain or loss equals the net proceeds from the initial short sale minus the cost of the covering property, including commissions on both sides. Sell short at $100 and cover at $70, and you have a $30 per-share gain. Cover at $120 and you have a $20 per-share loss.
The reporting year is the year you close. Sell short in December 2025 and cover in January 2026, and the entire gain or loss belongs on your 2026 return.1eCFR. 26 CFR 1.1233-1 – Gains and Losses From Short Sales That surprises people who expect to be taxed when the cash arrives in their account.
If you close by delivering shares you already owned rather than buying new ones, gain or loss is measured against your original adjusted basis in those specific shares, not their market value on the delivery date.
Why Most Short Sale Gains Are Short-Term
Whether the gain or loss is short-term or long-term depends on how long you held the covering property. In a typical buy-to-cover, you purchase shares and immediately deliver them, so the holding period is essentially zero. That makes the gain short-term, taxed at your ordinary income rate rather than the preferential long-term capital gains rate.2Internal Revenue Service. Topic No. 409 – Capital Gains and Losses
Section 1233 Traps When You Already Own the Stock
The rules get harder when you already own stock that is “substantially identical” to the stock you sold short. Congress wrote Section 1233 to block two moves: converting a short-term gain into a long-term gain, and converting a long-term loss into a short-term one.3Office of the Law Revision Counsel. 26 USC 1233 – Gains and Losses From Short Sales
Short-Held Identical Property
If you have held substantially identical property for one year or less on the date you open the short sale, or you acquire substantially identical property after opening the short but before closing it, two things happen. Any gain on closing the short is automatically short-term regardless of how long you held the covering property. And the holding period of the substantially identical property resets to zero on the date the short sale closes.3Office of the Law Revision Counsel. 26 USC 1233 – Gains and Losses From Short Sales
The reset is the part that hurts most. Hold 500 shares of a stock for 11 months, open a short sale against it, and the holding period on those 500 shares starts over when the short closes. Months of progress toward long-term treatment on a separate position vanish.
Long-Held Identical Property
If you have held substantially identical property for more than one year on the date of the short sale, any loss on closing the short is automatically long-term, even if you held the covering property for days.3Office of the Law Revision Counsel. 26 USC 1233 – Gains and Losses From Short Sales Long-term losses are less valuable because they offset long-term gains first, which are already taxed at lower rates.
What Counts as Substantially Identical
Substantially identical property includes not only the same stock but also options, warrants, and convertible securities tied to it. IRS Publication 550 treats this as a facts-and-circumstances question, with the practical test being whether the two instruments carry the same investment risk and are effectively interchangeable.4Internal Revenue Service. Publication 550 – Investment Income and Expenses
Short Sales Against the Box and Constructive Sales
Selling short a stock you already own is called a short sale against the box. The old attraction was locking in a gain without triggering tax by keeping both positions open. Section 1259 closed that door by treating the transaction as a constructive sale of the appreciated stock.5Office of the Law Revision Counsel. 26 USC 1259 – Constructive Sales Treatment for Appreciated Financial Positions
The rule triggers when the transaction effectively eliminates both your risk of loss and your opportunity for further gain. When it applies, you recognize gain as though you sold the stock at fair market value on the day you opened the short. The character of the gain depends on how long you had already held the underlying stock.
There is one narrow exception. You avoid constructive sale treatment only if all three of these are true: you close the short on or before the 30th day after the end of the tax year, you hold the underlying stock completely unhedged for at least 60 days from the date the short closes, and your risk of loss is not reduced during that 60-day window.5Office of the Law Revision Counsel. 26 USC 1259 – Constructive Sales Treatment for Appreciated Financial Positions Miss any one and the constructive sale stands. If gain was recognized under the rule, your basis in the underlying stock is adjusted upward by that amount, so closing the short later does not tax the same gain twice.
Wash Sales Applied to Short Positions
The wash sale rule most investors know from ordinary trading also applies to shorts. Under Section 1091(e), if you close a short sale at a loss and enter a new short sale of substantially identical stock within 30 days before or after the closing date, the loss is disallowed.6Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities The same disallowance applies if you buy substantially identical stock within that 61-day window.
The disallowed loss is not permanently lost. It gets added to the basis of the replacement position and is recovered when that position closes. But the timing shift can be painful, especially when the replacement position does not close until the following tax year. Active traders who repeatedly short the same name are the most likely to trip this without realizing it.4Internal Revenue Service. Publication 550 – Investment Income and Expenses
Dividends, Payments in Lieu, and Borrow Fees
The lender of the shares you borrowed still expects any dividends the company pays. You cover this by making a payment in lieu of the dividend (a PIL) to the lender. The tax treatment depends on how long the short stays open.
Short Positions Closed Within 45 Days
Close the short on or before the 45th day after opening it and no deduction is allowed for the PIL. The payment is added to the basis of the stock used to close the position, which reduces gain or increases loss on the overall trade.7Office of the Law Revision Counsel. 26 USC 263 – Capital Expenditures
Short Positions Held Longer Than 45 Days
Hold the short longer than 45 days and the PIL is generally deductible. Under Section 163(d)(3)(C), amounts paid in connection with personal property used in a short sale are treated as investment interest expense.8Office of the Law Revision Counsel. 26 USC 163 – Interest That means the deduction is limited to your net investment income for the year, with any excess carried forward. You calculate the limit on Form 4952 and report the deductible amount on Schedule A.9Internal Revenue Service. About Form 4952, Investment Interest Expense Deduction
Stock Borrowing Fees
Brokers charge a fee for lending you the shares, often small for easy-to-locate stocks and much larger for heavily shorted names. For most individual investors, these fees qualify as a deduction in connection with personal property used in a short sale under Section 67(b)(8), which pulls them out of the miscellaneous itemized deduction category. That distinction matters because miscellaneous itemized deductions are currently suspended, while Section 67(b)(8) deductions survive.
Any interest paid on margin loans used to purchase covering property is investment interest expense under Section 163, subject to the same net investment income limit that applies to PILs.8Office of the Law Revision Counsel. 26 USC 163 – Interest
The 3.8% Net Investment Income Tax
Short sale gains are included in net investment income for the 3.8% Net Investment Income Tax. The surtax applies to the lesser of your net investment income or the amount by which your modified adjusted gross income exceeds the filing threshold: $200,000 for single filers, $250,000 for married filing jointly, and $125,000 for married filing separately.10Internal Revenue Service. Net Investment Income Tax Those thresholds are not indexed for inflation, so more taxpayers cross them each year.11Internal Revenue Service. Questions and Answers on the Net Investment Income Tax
For a high-income short seller, the effective federal rate on a short-term gain can reach 40.8%: the 37% top ordinary rate plus 3.8% NIIT. Easy to miss when eyeballing the profit on a closed trade.
When Your Broker Lends Out Your Long Shares
If your broker lends your shares to someone else to facilitate their short sale, and a dividend is paid while your shares are on loan, you receive a substitute payment instead of the actual dividend. The tax treatment is worse than for a real dividend. Substitute payments do not qualify for the 0%, 15%, or 20% qualified dividend rates. They are ordinary income taxed at your marginal rate.4Internal Revenue Service. Publication 550 – Investment Income and Expenses
Your broker reports the substitute payment on Form 1099-MISC, Box 8, not on Form 1099-DIV.12Internal Revenue Service. Instructions for Forms 1099-MISC and 1099-NEC You report the amount on Schedule 1 (Form 1040), line 8z as other income.4Internal Revenue Service. Publication 550 – Investment Income and Expenses Most margin agreements give brokers standing permission to lend out shares in the account, so this can happen without your knowledge until the 1099-MISC arrives. Check whether your broker offers a way to opt out if this matters to you.
Reporting on Form 8949 and Schedule D
Brokers report short sale proceeds on Form 1099-B, generally in the year the initial sale occurred. You use that information to compute and report your gain or loss on Form 8949.13Internal Revenue Service. About Form 8949, Sales and Other Dispositions of Capital Assets
The date columns catch people. For a short sale, column (b), Date Acquired, is the date you acquired the property used to close the short, and column (c), Date Sold or Disposed Of, is the date you delivered that property to close the position.14Internal Revenue Service. 2025 Instructions for Form 8949 In a routine buy-to-cover, both are the same trade date.
Enter the transaction in Part I of Form 8949 for short-term treatment or Part II for long-term, based on the final characterization after applying Section 1233. If the broker’s 1099-B suggests a different holding period than the anti-abuse rules require, report on the correct Part and use the appropriate adjustment code. Code W flags a loss disallowed by the wash sale rules.15Internal Revenue Service. Instructions for Form 8949
If a payment in lieu of dividends was capitalized under the 45-day rule, add it to the basis reported on Form 8949, which reduces the gain or increases the loss. Brokers typically report total PILs on Form 1099-MISC, and reconciling capitalization is on you.
Totals from Form 8949 flow to Schedule D, which nets short-term against long-term. If total capital losses exceed total capital gains, you can deduct the excess against other income up to $3,000 per year, or $1,500 if married filing separately, with any remaining loss carried forward.16Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses
Constructive sale gain under Section 1259 is also reported on Form 8949 and Schedule D, with the sale date being the date you opened the short against the box. Track these carefully so the same gain is not reported again when the position eventually closes.
Penalties for Getting It Wrong
The IRS imposes a 20% accuracy-related penalty on any underpayment resulting from negligence or a substantial understatement of income tax.17Office of the Law Revision Counsel. 26 USC 6662 – Imposition of Accuracy-Related Penalty on Underpayments For individuals, an understatement is substantial when it exceeds the greater of $5,000 or 10% of the tax that should have appeared on the return. Given how the Section 1233 holding period rules and Section 1259 constructive sale rules stack, short sale errors that cross that threshold are not unusual.
You can avoid the penalty by showing reasonable cause and good faith. Keep records of every purchase, sale, cover date, and payment in lieu, plus notes on which Section 1233 rules you applied and why. That documentation is the best defense if the IRS questions the return.