There is no annual dollar cap on how much you can tax loss harvest against capital gains. Every dollar of realized loss offsets a dollar of realized gain, whether your total is $5,000 or $5 million. When your losses exceed your gains for the year, up to $3,000 of the excess can reduce ordinary income like wages and interest ($1,500 if you’re married filing separately), and anything still left over carries forward to future tax years indefinitely.1Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses
No Limit When Offsetting Capital Gains
The biggest tax benefit of harvesting comes from wiping out capital gains dollar for dollar. Sell a stock for a $200,000 gain, sell another position for a $200,000 loss in the same year, and your taxable capital gain drops to zero. The IRS cares about your net investment result for the year, not the individual transactions, so there is no ceiling on this offset.2Internal Revenue Service. Topic No. 409 Capital Gains and Losses
This is where harvesting gets most of its power. Investors with large portfolios can shelter hundreds of thousands of dollars in gains by selling underperforming positions at the right time. Add up all your realized gains for the year, add up all your realized losses, and the difference is what you owe tax on. If losses are larger, the ordinary income deduction takes over.
The $3,000 Cap Against Ordinary Income
Once your capital losses have zeroed out all your capital gains, any remaining loss can offset up to $3,000 of ordinary income. That $3,000 ceiling drops to $1,500 if you’re married and file a separate return. Ordinary income includes wages, salary, interest, and similar earnings.1Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses
A common misconception is that $3,000 is the most you can harvest in a year. That number only applies to ordinary income. If you have $50,000 in capital gains and $53,000 in capital losses, you offset the entire $50,000 gain and still deduct $3,000 from your salary. The total tax benefit in that scenario comes from $53,000 in harvested losses, not $3,000.
The $3,000 figure is written directly into the tax code and does not adjust for inflation, so it has stayed the same for decades. At current tax rates, the maximum annual ordinary-income benefit is roughly $700 to $1,100 depending on your bracket. The real value of harvesting comes from eliminating capital gains, not from the ordinary income deduction.
Carrying Unused Losses Forward
Losses that exceed both your capital gains and the $3,000 ordinary income allowance carry forward to future tax years. There is no expiration date on this carryforward under current law, so a $100,000 net loss in 2026 continues reducing your taxes in 2027, 2028, and beyond until it’s fully used up.2Internal Revenue Service. Topic No. 409 Capital Gains and Losses
Carried-forward losses keep their original character. A net short-term loss carries forward as a short-term loss, and a net long-term loss carries forward as a long-term loss. That distinction matters because the two types produce different tax savings depending on what kind of gains you realize later.3Office of the Law Revision Counsel. 26 USC 1212 – Capital Loss Carrybacks and Carryovers
One important limitation: carryforward losses die with the taxpayer. If you pass away with unused capital losses, those losses generally cannot transfer to your heirs. A surviving spouse can use any remaining carryforward on a final joint return filed for the year of death, but after that, losses attributable solely to the deceased spouse are gone. For jointly owned assets sold at a loss during the marriage, only the surviving spouse’s half of the carryforward survives. That makes it worth accelerating the use of large carryforwards later in life rather than letting them accumulate.
Short-Term vs. Long-Term Changes How Much You Save
Short-term capital gains on assets held one year or less are taxed at ordinary income rates, which can run as high as 37%. Long-term gains on assets held longer than a year get preferential rates of 0%, 15%, or 20% depending on your income. Because of this gap, the type of gain your loss offsets changes how much tax you actually save.4Office of the Law Revision Counsel. 26 USC 1222 – Other Terms Relating to Capital Gains and Losses
The IRS requires netting in a specific order. First, short-term losses offset short-term gains, and long-term losses offset long-term gains, within their own categories. Only after this internal netting does any leftover loss from one category cross over to reduce gains in the other. If you have a $10,000 short-term loss and no short-term gains, that loss next reduces any long-term gains before touching ordinary income.5Internal Revenue Service. Instructions for Schedule D Form 1040 – Capital Gains and Losses
In practice, a short-term loss that eliminates a short-term gain saves more tax than a long-term loss eliminating a long-term gain, because short-term gains face higher rates. Paying attention to which category your losses fall into, and what gains you expect to realize before year end, can meaningfully change the dollar value of your harvest.
The Wash Sale Rule Can Erase a Harvested Loss
The wash sale rule is the biggest practical constraint on how much you can actually harvest. If you sell a security at a loss and buy a “substantially identical” security within 30 days before or after that sale, the IRS disallows the loss. The window covers 30 days on each side, creating a 61-day restricted period.6Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities
A disallowed loss usually isn’t permanently destroyed. The disallowed amount gets added to the cost basis of the replacement shares, so you eventually recapture the tax benefit when you sell the replacement. But the timing shift can matter a lot. If you were counting on that loss to offset gains this year, a wash sale pushes the benefit out of reach.
The rule follows you across all accounts you own or control. Selling a stock at a loss in your taxable brokerage account and buying the same stock in your IRA within 30 days triggers a wash sale, and the IRS addressed this directly in Revenue Ruling 2008-5. The result is worse than a standard wash sale: the disallowed loss does not get added to the cost basis of shares in the IRA, so the tax benefit is permanently lost.7Internal Revenue Service. Revenue Ruling 2008-5
The IRS also takes the position that purchases by your spouse count. If you sell a stock at a loss and your spouse buys the same stock within the 61-day window, the loss is disallowed. This applies regardless of whether you file jointly or separately, and regardless of whether the accounts are at different brokerages.
What Doesn’t Count Toward Your Harvest
You cannot tax loss harvest inside an IRA, 401(k), or other tax-advantaged retirement account. Gains and losses within these accounts aren’t recognized for tax purposes while the money stays in the account. A stock that drops 50% inside your IRA creates no harvestable loss because the IRS doesn’t treat the decline as a realized event.
Automatic activity in those accounts can still cause problems in your taxable account. If your 401(k) regularly buys a fund you just sold at a loss in your brokerage account, the wash sale rule may apply. Reviewing retirement account holdings and reinvestment settings before harvesting helps avoid this trap.
Cryptocurrency currently sits outside the wash sale rule. Section 1091 applies only to “stock or securities,” and the IRS classifies crypto as property. As of 2026, no finalized federal legislation extends wash sale treatment to digital assets.6Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities You can sell Bitcoin at a loss, immediately buy it back, and still claim the loss. The same $3,000 ordinary income limit and unlimited capital gains offset apply. Congress has proposed extending the wash sale rule to digital assets several times, and the provision appeared in early drafts of the Infrastructure Investment and Jobs Act before being removed from the final bill.
The December 31 Deadline
A loss only counts for a given tax year if you execute the sale by December 31. For tax purposes, the trade date governs, not the settlement date. Under the current T+1 settlement cycle, a stock sold on December 31 settles on January 2, but the loss still belongs to the year you placed the trade.
The 61-day wash sale window also straddles the calendar year in ways that catch people out. Sell a stock at a loss on December 15, buy it back on January 5, and the wash sale rule disallows the December loss even though the repurchase happened in a new tax year. The 30-day post-sale window doesn’t reset on January 1.