The Money Overview

A losing stock can still cut your tax bill — sell it, deduct up to $3,000 against your income, and carry the rest forward for years

You bought a stock that is now worth half what you paid. Every time you open your brokerage app, it sits there in red, a reminder of a bet that did not work out. But that losing position is not just dead weight. Federal tax law gives you a concrete way to convert that paper loss into real savings: sell the loser, use the realized loss to offset any capital gains you booked during the year, then deduct up to $3,000 of whatever remains against ordinary income such as wages, freelance earnings, or business profits. If your losses exceed that threshold, the unused portion rolls forward into future tax years, indefinitely, until every dollar has been applied.

With many investors still holding positions purchased near the 2021 and early 2022 market highs, and with volatility persisting into mid-2026, this is one of the most accessible tools available for reducing a tax bill without any exotic planning.

Where the $3,000 cap comes from

Section 1211 of the Internal Revenue Code sets the rule. When your net capital losses for the year exceed your net capital gains, you can deduct the lesser of $3,000 or the excess loss against other income. Married couples filing separately face a lower ceiling: $1,500 per spouse. The IRS directs filers to report the deductible portion on Form 1040, Schedule D, which flows to line 7 of the return.

One detail that catches people off guard: that $3,000 figure has not been adjusted for inflation since Congress established it in the Tax Reform Act of 1976. According to the Bureau of Labor Statistics CPI inflation calculator, $3,000 in 1976 had roughly the purchasing power of about $16,800 in today’s dollars. The cap bites considerably harder than lawmakers originally intended.

Here is what that looks like in practice. Suppose you realize a $15,000 net capital loss in 2026 and have no gains to offset. You claim $3,000 against your wages on this year’s return, leaving $12,000 to carry forward. Next year, if you again have no gains, you claim another $3,000, and so on. A large realized loss becomes a multi-year tax benefit rather than a single-year windfall, which means planning ahead matters.

How unused losses carry forward (and why character matters)

Losses that exceed the annual cap do not expire. Under Section 1212 of the Internal Revenue Code, net capital loss carryovers retain their original character. A short-term loss stays short-term in the following year; a long-term loss stays long-term.

That distinction is worth paying attention to. Short-term capital gains are taxed at ordinary income rates, which for higher earners can reach 37% federally. Long-term gains get preferential rates, topping out at 20%, plus the 3.8% net investment income tax (NIIT) that applies to individuals with modified adjusted gross income above $200,000 ($250,000 for married couples filing jointly). Carrying forward a short-term loss means it can offset future short-term gains dollar for dollar at those steeper ordinary rates, producing a bigger tax reduction per dollar of loss than a long-term carryforward offsetting long-term gains.

Each subsequent year, you first apply the carryover against any new capital gains. If a net loss still remains after that netting, another $3,000 (or $1,500 for married-filing-separately) comes off ordinary income, and the cycle repeats. Someone who sold a concentrated stock position at a $30,000 loss and had no offsetting gains could spend a decade drawing down that carryforward at $3,000 per year, unless future gains absorbed it faster. The IRS walks through this sequence on its Topic 409 guidance page, which explains how to apply carryovers on Schedule D.

Timing the sale and dodging the wash-sale trap

Selling a losing position before December 31 locks in the loss for the current tax year. Wait until January 2, and the deduction shifts to the following year’s return. That one-day difference determines when you start chipping away at the $3,000 cap, and over several years the compounding effect of earlier deductions against progressively taxed income adds up. Many investors review their projected income and realized gains late in the year to decide whether accelerating or deferring a sale fits their broader tax picture.

But there is a trap that can erase the benefit entirely: the wash-sale rule under Section 1091 of the Internal Revenue Code. If you sell a security at a loss and buy a “substantially identical” security within 30 days before or after the sale, the IRS disallows the loss. The disallowed amount gets added to the cost basis of the replacement shares, so the tax benefit is deferred rather than destroyed, but you lose the immediate deduction you were counting on.

The rule applies broadly. It covers stocks, bonds, options on the same underlying security, and mutual funds or ETFs that are substantially identical to what you sold. Whether two index funds tracking the same benchmark qualify as “substantially identical” is a gray area the IRS has never fully resolved in published guidance, so tread carefully. The IRS has carved out narrow exceptions: Rev. Proc. 2013-29, published in Internal Revenue Bulletin 2013-31, clarified that certain money market fund share redemptions will not trigger wash-sale treatment. Outside those exceptions, anyone who wants to stay invested in a similar part of the market while harvesting a loss needs to pick a replacement that offers comparable exposure but is not substantially identical. A common approach: swapping one S&P 500 index fund for a total U.S. stock market fund, or switching from one provider’s large-cap ETF to another provider’s fund that tracks a different index.

One important note for crypto investors: the IRS treats digital assets as property, so capital gain and loss rules apply to Bitcoin, Ethereum, and other tokens. In January 2025, the Treasury Department published final regulations (T.D. 10021) extending broker reporting requirements to digital asset transactions, and the regulatory framework around wash-sale treatment for crypto continues to evolve. If you are harvesting crypto losses in 2026, do not assume you can immediately repurchase the same token without consequence. Check the latest IRS guidance or consult a tax professional before acting.

Lot selection and strategy choices the code leaves to you

Several practical decisions fall outside the statute and into judgment-call territory. The tax code does not dictate which specific lots to sell when you hold multiple purchases of the same stock at different prices. Brokerage firms typically default to first-in, first-out (FIFO) accounting unless you make an explicit lot designation. Choosing a different method, such as specific identification, can change the size and character of the realized loss and therefore how quickly you can use it under the $3,000 cap. If you bought shares of the same company at three different prices over two years, selling the highest-cost lot first maximizes the loss you realize now.

The law also does not prescribe how aggressive you should be. Some investors harvest losses only when they already have large realized gains in the same year, using the losses to neutralize those gains and avoid long carryforwards. Others deliberately bank losses during down markets to build a cushion against future gains from portfolio rebalancing, option exercises, or the sale of a business. Both approaches work within the same statutory framework; the difference comes down to your income trajectory, cash needs, and expectations about future tax rates.

This does not work inside retirement accounts

A common misconception worth addressing: tax-loss harvesting only applies to taxable brokerage accounts. If you hold a losing stock inside a traditional IRA, Roth IRA, or 401(k), selling it does not generate a deductible capital loss. Gains and losses inside those accounts are not recognized for tax purposes while the money stays in the plan. The tax treatment happens when you eventually take distributions (taxed as ordinary income from a traditional IRA or 401(k), or tax-free from a Roth if qualified). So if the position you want to harvest is sitting in a retirement account, this strategy simply does not apply.

State taxes can change the math

The federal $3,000 deduction gets most of the attention, but state income taxes add another layer. States with no individual income tax, such as Florida, Texas, and Nevada, make the calculation purely federal. But in high-tax states like California (top marginal rate of 13.3%), New York (top combined state and city rate above 12%), or New Jersey (top rate of 10.75%), a realized capital loss delivers meaningful state-level savings on top of the federal benefit.

The catch: not every state conforms fully to the federal treatment of capital losses and carryforwards. Some states have their own caps, shorter carryforward periods, or rules about which federal adjustments they recognize. Before assuming your federal loss flows through to your state return dollar for dollar, check your state’s conformity rules or ask a tax professional who practices in your state.

The tax value of each dollar of loss is not uniform even at the federal level. A taxpayer in the 37% bracket today who expects to drop to the 24% bracket after retirement gets more value from realizing losses now, when each $3,000 deduction saves $1,110 in federal tax instead of $720. Someone whose income is temporarily low might rationally wait for a higher-income year. Because the $3,000 cap interacts with progressive federal rates, the NIIT, and varying state regimes, the optimal approach can differ significantly from one household to the next.

How wash-sale compliance and lot selection shape the actual deduction

Tax-loss harvesting is not a loophole or a hack. It is a durable, statute-backed feature of the tax code: realized capital losses offset capital gains without limit, up to $3,000 of excess loss reduces ordinary income each year, and any unused balance carries forward indefinitely until it is fully absorbed. The mechanics are straightforward enough that any investor with a taxable brokerage account and a losing position can use them.

The nuance is in the details. Choosing which lots to sell, staying on the right side of the wash-sale rule, timing the sale relative to year-end, and understanding how your state treats the loss all shape whether you get a clean deduction or a disallowed one. A few minutes of planning, or a single conversation with a tax adviser, can be the difference. That red number in your portfolio is not just a reminder of a bad trade. Handled correctly, it is a tool.


More in Tax Changes & Deadlines