To deduct investment losses on your taxes, you report each sale on Form 8949, net your gains and losses on Schedule D, and subtract any leftover net loss from your other income up to $3,000 per year ($1,500 if you’re married filing separately).1Internal Revenue Service. Topic No. 409 Capital Gains and Losses Anything above that cap carries forward to future years with no expiration date. The mechanics are straightforward, but the categories, the order of netting, and a handful of disqualifying traps decide how much benefit you actually get.
Which Losses You Can Actually Deduct
A capital loss occurs when you sell or exchange an investment for less than what you paid, including transaction costs. Stocks, bonds, mutual fund shares, and investment real estate qualify. Losses on personal-use property such as your home or car do not.2Internal Revenue Service. What if I Sell My Home for a Loss? If you didn’t hold the asset for investment or business purposes, the loss isn’t deductible, regardless of how real the economic hit was.
Every deductible loss falls into one of two buckets based on how long you owned the asset:1Internal Revenue Service. Topic No. 409 Capital Gains and Losses
- Short-term: you held the asset one year or less. Short-term losses first offset short-term gains, which are taxed at ordinary income rates.
- Long-term: you held the asset more than one year. Long-term losses first offset long-term gains, which are taxed at 0%, 15%, or 20% depending on your income.
The category matters because a short-term loss canceling a short-term gain wipes out tax at your full marginal rate, while a long-term loss canceling a long-term gain wipes out tax at the lower capital gains rate. Same dollar of loss, different dollar of savings.
How Gains and Losses Net Out
You don’t choose which gains your losses offset. The IRS requires a set sequence. Short-term gains and losses combine first, producing a net short-term figure. Long-term gains and losses combine separately, producing a net long-term figure. If one category ends in a net loss and the other in a net gain, the loss then offsets the gain across categories.
After the netting, you end up with either a net capital gain (taxable) or a net capital loss (deductible, within limits).
The $3,000 Annual Cap
When your total losses exceed your total gains, the deduction against other income (wages, interest, business earnings) is capped at $3,000 for single filers, head of household, and married couples filing jointly, and $1,500 for married filing separately.1Internal Revenue Service. Topic No. 409 Capital Gains and Losses
The cap applies only to the net loss remaining after gains are absorbed. With $10,000 in losses and $8,000 in gains, your net loss is $2,000, all deductible. With $20,000 in losses and $5,000 in gains, you deduct $3,000 of the remaining $15,000 against ordinary income and carry the other $12,000 forward.
Carrying Losses Forward
Any net capital loss above the annual cap carries into the next tax year. The carried loss keeps its original character (short-term or long-term) and gets applied the same way: first against gains of the same type, then against gains of the other type, then up to $3,000 against ordinary income.1Internal Revenue Service. Topic No. 409 Capital Gains and Losses There is no time limit. A large loss from a bad market year can take a decade to fully absorb, and it will still be waiting.
One exception matters for older taxpayers: unused carryovers cannot pass to a surviving spouse or estate. They can only be claimed on the decedent’s final return, and even there they remain subject to the $3,000 annual cap.3Internal Revenue Service. Decedent Tax Guide Losses not used by the final return are gone.
The Wash Sale Rule
The single biggest way to lose a deduction you thought you had is the wash sale rule. If you sell an investment at a loss and buy the same or a substantially identical security within 30 days before or after the sale, the IRS disallows the loss for that year.4Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities The window covers 61 days total: 30 before the sale, the sale date, and 30 after.
A disallowed loss usually isn’t destroyed. The IRS adds the amount to the cost basis of the replacement shares, and your original holding period carries over, so the loss shows up when you eventually sell the replacements.5Internal Revenue Service. Publication 550 – Investment Income and Expenses The rule defers rather than eliminates in the ordinary case.
What Triggers It
Buying the identical stock is the obvious trigger, but acquiring an option or contract to buy it counts too, and so does buying the security inside your IRA or Roth IRA.5Internal Revenue Service. Publication 550 – Investment Income and Expenses The IRA version is the one that catches people: selling a stock at a loss in your taxable account and rebuying it in your IRA within 30 days triggers a wash sale, and because the basis adjustment doesn’t apply inside the IRA, the loss can be permanently lost. The IRS also aggregates your spouse’s accounts, so monitoring has to cover every account across every institution, not just the one where you made the sale.
What Counts as Substantially Identical
There’s no bright-line list, but the general principle: shares of the same company are identical; shares of two different companies generally are not, even in the same industry. Bonds or preferred stock convertible into the company’s common stock may qualify depending on conversion terms.5Internal Revenue Service. Publication 550 – Investment Income and Expenses A common workaround: sell an S&P 500 index fund at a loss and buy a different fund tracking a different index. Different portfolios, different securities.
Cryptocurrency
As of 2026, cryptocurrency is classified as property rather than stock or securities, so the wash sale rule under IRC Section 1091 does not explicitly apply. You can sell Bitcoin at a loss and repurchase immediately under the current statute. Legislation to close this gap has been proposed but not enacted. Aggressive same-day repurchase strategies may still draw scrutiny under broader anti-abuse doctrines, so keep detailed records.
Special Situations Worth Knowing
Worthless Securities
If a stock or bond becomes completely worthless, you don’t need to find a buyer. The IRS treats it as sold for $0 on the last day of the tax year in which it became worthless.6eCFR. 26 CFR 1.165-5 – Worthless Securities Report it on Form 8949 with December 31 as the sale date and $0 as the sale price. Pinning down the exact year of worthlessness is the hard part; a security still trading at a fraction of a cent or stuck in bankruptcy may not yet qualify. To account for that difficulty, you have seven years from the original due date of the return to file an amended return claiming a worthless-security deduction, rather than the usual three.
Inherited Investments
When you inherit stocks or other investments, the cost basis resets to the fair market value on the date of the original owner’s death.7Internal Revenue Service. Publication 551 – Basis of Assets If the executor files an estate tax return, an alternate valuation date up to six months after death may be used.8Internal Revenue Service. Gifts and Inheritances A sale below that stepped-up basis is always treated as a long-term loss, no matter how briefly you held the asset yourself.
Section 1244 Small Business Stock
Section 1244 creates a much larger deduction for certain small business stock. If you bought the stock directly from a qualifying small domestic corporation whose total capitalization was $1 million or less at the time of issuance, and the corporation earned more than half its revenue from active business operations, you can treat up to $50,000 of losses on that stock as ordinary losses ($100,000 for married filing jointly).9Legal Information Institute. Section 1244 Stock Ordinary treatment means the loss offsets wages and other ordinary income dollar for dollar, free of the $3,000 cap. You must be the original holder; secondary-market purchases don’t qualify.
Retirement Accounts
You cannot claim a capital loss on investments held inside a 401(k), traditional IRA, Roth IRA, or other tax-advantaged retirement account.10Internal Revenue Service. What if My 401(k) Drops in Value? Loss harvesting is a taxable-account activity only. And the wash sale rule bridges the two worlds: selling in a taxable account and rebuying the same security in your IRA within the 30-day window disallows the taxable loss.5Internal Revenue Service. Publication 550 – Investment Income and Expenses
How to Report Investment Losses
Reporting requires two forms attached to Form 1040: Form 8949 and Schedule D.
Form 8949
Form 8949 lists every individual sale. For each transaction, you report the date acquired, date sold, sale price, and cost basis. Part I holds short-term transactions; Part II holds long-term.11Internal Revenue Service. Instructions for Form 8949 Adjustment codes flag situations like wash sales and basis corrections. Every transaction on the Form 1099-B your brokerage sends you needs to appear here. Starting with the 2025 tax year, Form 8949 also includes dedicated boxes for digital asset transactions (G, H, and I for short-term, J, K, and L for long-term), and exchanges may issue Form 1099-DA alongside any 1099-B.
Schedule D
Totals from Form 8949 flow to Schedule D, which performs the netting, applies the $3,000 cap if you have a net loss, and sends the final number to line 7 of Form 1040.12Internal Revenue Service. 2025 Schedule D (Form 1040) That result reduces your adjusted gross income, which can ripple into other deductions and credits that depend on AGI.
If you have a carryover from a prior year, use the Capital Loss Carryover Worksheet in the Schedule D instructions to figure the amount entering the current year.1Internal Revenue Service. Topic No. 409 Capital Gains and Losses Keep copies of prior-year Schedule D forms to track your running balance, especially if a large loss will take several years to burn off.