No, you do not pay taxes on stock losses. When you sell a stock for less than you paid, the loss works in your favor: it cancels out gains from your winning trades, and if your losses exceed your gains, you can deduct up to $3,000 of the excess against ordinary income each year. Anything left over carries forward to future tax years with no expiration date. The catch is that a loss only counts once you actually sell; a stock that has dropped on paper does nothing for your taxes until you realize the loss.
Losses Offset Gains First
Before a loss reaches your ordinary income, it runs through a netting process against your realized gains. The IRS sorts every sale into two buckets based on holding period. Stocks held one year or less produce short-term gains or losses; stocks held longer than a year produce long-term gains or losses.1Office of the Law Revision Counsel. 26 USC 1222 – Other Terms Relating to Capital Gains and Losses
Short-term losses offset short-term gains first, and long-term losses offset long-term gains first. If one bucket still shows a leftover loss after zeroing out its matching gains, that surplus crosses over to reduce gains in the other bucket. The order matters. Short-term gains are taxed at ordinary income rates, while long-term gains are taxed at 0%, 15%, or 20% depending on your income. A loss that erases a short-term gain saves more in tax than the same loss erasing a long-term gain.
Say you have $8,000 in short-term gains, a $5,000 short-term loss, and $3,000 in long-term gains. The short-term loss knocks your short-term gains down to $3,000. Nothing crosses over because both buckets still show net gains. You report $3,000 in short-term gains at your ordinary rate and $3,000 in long-term gains at the preferential rate.
The $3,000 Deduction Against Ordinary Income
If your total capital losses for the year exceed your total capital gains, you don’t just wipe out your investment tax. The tax code lets you deduct up to $3,000 of that net loss against ordinary income like wages, salary, or interest. Married taxpayers filing separately are capped at $1,500.2Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses The 2025 Schedule D instructions confirm the same limit on current returns.3Internal Revenue Service. 2025 Instructions for Schedule D (Form 1040)
Earn $75,000 in wages and end the year with a $5,000 net capital loss, and you deduct $3,000 from those wages. Your taxable income drops to $72,000. The remaining $2,000 doesn’t disappear. It carries to next year. The $3,000 ceiling has not been adjusted for inflation since it was set in 1978, so it can feel modest against today’s portfolios, but it delivers a real benefit every year you have losses to burn through.
Carrying Losses Into Future Years
Net capital losses above the $3,000 annual deduction carry forward to the next tax year and keep their original character. Short-term stays short-term; long-term stays long-term.4Office of the Law Revision Counsel. 26 USC 1212 – Capital Loss Carrybacks and Carryovers Individuals can carry losses forward indefinitely, unlike corporations, which face a five-year limit. Each year, the carryover re-enters the netting process. It first offsets new gains, then up to $3,000 of any remainder reduces ordinary income again.
An investor who realizes a $25,000 net loss in one brutal year uses $3,000 the first year, $3,000 the next, and so on. If gains show up in a later year, the carryover absorbs those gains first, which speeds up how quickly the loss is used.
One boundary worth knowing: unused carryovers die with the taxpayer. They can be claimed on the decedent’s final return, subject to the same $3,000 cap, but they do not pass to heirs, a surviving spouse, or the estate.5Internal Revenue Service. Decedent Tax Guide Large unrealized losses in an older family member’s account are worth factoring into timing decisions.
When a Loss Won’t Count: The Wash Sale Rule
You can’t sell a stock at a loss and immediately rebuy it to harvest the tax benefit. If you buy a “substantially identical” security within 30 days before or after the loss sale, the IRS treats it as a wash sale and disallows the loss for that year.6Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities The window covers the 30 days before, the sale date itself, and the 30 days after, creating a 61-day restricted period.7eCFR. 26 CFR 1.1091-1 – Losses From Wash Sales of Stock or Securities
In a regular brokerage account, a disallowed loss isn’t gone forever. It gets added to the cost basis of the replacement shares, so you’ll benefit when you eventually sell those. Buy a stock at $50, sell at $40 for a $10 loss, then repurchase at $42 within the window: your new basis is $52. The deduction is deferred, not destroyed.
The IRA Trap
That deferral only works when the replacement purchase is in another taxable account. Sell at a loss in your brokerage account and buy the same stock inside an IRA or Roth IRA within 30 days, and it’s still a wash sale, but the loss is permanently gone. IRS Publication 550 specifically lists acquiring substantially identical securities for an IRA as a wash sale trigger, and states that the basis adjustment doesn’t apply.8Internal Revenue Service. Publication 550 – Investment Income and Expenses Revenue Ruling 2008-5 confirmed the IRA’s basis is not increased by the disallowed loss.9Internal Revenue Service. Revenue Ruling 2008-5 – Section 1091 Loss From Wash Sales of Stock or Securities This is one of the few ways to actually lose a capital loss permanently.
Dividend Reinvestment
Automatic dividend reinvestment can quietly cause the same problem. If you sell a stock at a loss and that stock’s dividend reinvestment plan buys new shares within the 61-day window, those reinvested dividends count as acquiring substantially identical securities. Before selling to harvest a loss, check whether a DRIP is running on the position and pause it if needed.
Worthless Stock Still Produces a Loss
When a stock becomes completely worthless because the company goes bankrupt and the shares have no value, you don’t need a sale to claim the loss. The tax code treats a worthless security as if it were sold for $0 on the last day of the tax year it became worthless.10Office of the Law Revision Counsel. 26 USC 165 – Losses Your loss equals your full cost basis.
Pinpointing the exact year a security became worthless is the hard part. A stock can trade at fractions of a penny for years before being formally delisted or liquidated. You need to claim the loss in the correct year, but if you miss it, the statute of limitations for a refund claim tied to worthless securities is seven years from the original return due date, rather than the usual three.11eCFR. 26 CFR 301.6511(d)-1 – Overpayment of Income Tax on Account of Worthless Securities
Losses Inside a 401(k) or IRA Don’t Count
Investments held inside 401(k)s, traditional IRAs, and Roth IRAs follow a different set of rules. You cannot claim a capital loss deduction when a stock drops in one of these accounts.12Internal Revenue Service. What if My 401(k) Drops in Value The same tax shelter that lets gains grow untaxed also prevents you from writing off losses. Money coming out is taxed as ordinary income for traditional accounts, or not at all for qualified Roth distributions, regardless of how the underlying investments performed.
This matters if you hold the same stock in both a taxable account and an IRA. Only the taxable position produces a deductible loss when sold, and as noted above, selling at a loss in the taxable account while holding or buying the same stock in the IRA can wipe out the deduction entirely.
Gifted and Inherited Stock Have Special Basis Rules
How you received a stock determines your cost basis, which determines whether there’s even a deductible loss when you sell.
Inherited stock generally gets a basis equal to the fair market value on the date the original owner died, not what they paid.13Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent If your parent bought at $20 and shares were worth $80 at death, your basis is $80. Sell at $70, and you have a $10 per-share loss.
Gifts are more complicated. If the fair market value at the time of the gift was at or above the donor’s original basis, you inherit the donor’s basis and any later sale below that basis produces a loss. But if the fair market value was already below the donor’s basis on the gift date, a dual-basis rule kicks in: your basis for figuring a gain is the donor’s original basis, while your basis for figuring a loss is the lower fair market value on the gift date.14Office of the Law Revision Counsel. 26 USC 1015 – Basis of Property Acquired by Gifts and Transfers in Trust Sell at a price between those two numbers and you report nothing, no gain and no loss.15Internal Revenue Service. Property (Basis, Sale of Home, Etc.)
How to Report Stock Losses
Reporting flows through three forms. Your broker sends Form 1099-B early in the year with the proceeds and cost basis for each security you sold. You transfer that information to Form 8949, listing each transaction with dates, proceeds, basis, and any adjustments such as wash sale disallowances. The Form 8949 totals feed Schedule D of your Form 1040, where the netting happens and your final net gain or loss is calculated.3Internal Revenue Service. 2025 Instructions for Schedule D (Form 1040)
If you bought the same stock at different times and prices, you can pick which specific shares to sell using the specific identification method. That lets you choose the highest-cost lot to maximize the loss. You have to identify the shares at the time of sale, usually by telling your broker which lot to sell, and keep records supporting your choice.16Internal Revenue Service. Publication 551 – Basis of Assets Without a specific instruction, the default is first-in, first-out, which sells your oldest and often cheapest shares first and may shrink your loss or produce a gain.
Brokers have been required to track and report cost basis for stocks purchased after 2011, so recent trades are largely handled for you. Older holdings may not have basis reported to the IRS, and you’ll need your own trade confirmations and statements to prove what you paid. If the IRS questions a loss and you can’t document the basis, the deduction can be denied outright.