Are Stock Losses Tax Deductible? The $3,000 Rule and Carryovers

Yes, stock losses are tax deductible under federal law. When you sell a stock for less than you paid, the loss first cancels out any capital gains you had that year; if losses still remain, you can deduct up to $3,000 of the excess against ordinary income like wages, and anything left over carries into future years indefinitely. Several rules can reduce or delay the benefit, including the wash sale rule, the ban on deducting losses inside retirement accounts, and special treatment for worthless or small business stock.

How the Deduction Works

Federal law requires you to apply capital losses against capital gains before any deduction against ordinary income.1Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses The netting happens in two stages on Schedule D. First, short-term losses offset short-term gains and long-term losses offset long-term gains. Then, if either category still shows a net loss, the leftover crosses over to reduce gains in the other category.2Internal Revenue Service. Instructions for Schedule D (Form 1040)

Whether a gain or loss is short-term or long-term depends on how long you held the stock. One year or less is short-term; more than one year is long-term.3Office of the Law Revision Counsel. 26 USC 1222 – Other Terms Relating to Capital Gains and Losses The classification affects the value of the deduction because long-term gains are taxed at preferential rates of 0%, 15%, or 20%, while short-term gains are taxed at ordinary rates that reach 37%.4Office of the Law Revision Counsel. 26 USC 1 – Tax Imposed A loss that wipes out a short-term gain saves you more tax than one that wipes out a long-term gain.

A quick example. Say you had $10,000 in short-term gains and $7,000 in short-term losses, plus $5,000 in long-term gains and $12,000 in long-term losses. Short-term nets to a $3,000 gain. Long-term nets to a $7,000 loss. The long-term loss crosses over, erases the short-term gain, and leaves a $4,000 net capital loss for the year.

The $3,000 Annual Limit Against Ordinary Income

Once losses exceed gains, you can deduct up to $3,000 of the remaining net loss against ordinary income such as wages, interest, and business income. If you’re married filing separately, the limit is $1,500 per spouse.1Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses The cap has not changed since 1978 and is not indexed for inflation.

In the example above, you would deduct $3,000 of the $4,000 net loss against ordinary income this year and carry the remaining $1,000 into next year.

Carrying Unused Losses Forward

Any net capital loss beyond the $3,000 cap carries forward with no expiration date.5Office of the Law Revision Counsel. 26 USC 1212 – Capital Loss Carrybacks and Carryovers The carryover keeps its original character: short-term stays short-term, long-term stays long-term. Each future year, you apply the carried amount the same way — first against new gains, then up to $3,000 against ordinary income — until it’s used up.

A large loss can take years to absorb. A $50,000 loss with no future gains would take roughly 17 years at $3,000 per year.

Carryovers do not pass to your heirs. Any remaining capital loss carryover can only be used on the final income tax return filed for the year of death; whatever is left after that return is lost.6Internal Revenue Service. Publication 559, Survivors, Executors, and Administrators

The Wash Sale Rule

You cannot claim a loss if you buy a substantially identical security within 30 days before or 30 days after the sale, a 61-day window that includes the sale date.7Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities8eCFR. 26 CFR 1.1091-1 – Losses From Wash Sales of Stock or Securities The rule stops investors from selling to harvest a loss while keeping essentially the same position.

The disallowed loss isn’t erased in a normal taxable account. It gets added to the cost basis of the replacement shares, so you recover it when you eventually sell those new shares.7Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities

The rule applies across all your accounts, and this is where investors get caught. If you sell a stock at a loss in your taxable brokerage account and buy the same stock in your IRA or Roth IRA within the 61 days, the loss is disallowed and the basis of your IRA shares is not increased. The tax benefit is gone for good.9Internal Revenue Service. Revenue Ruling 2008-5, Losses From Wash Sales of Stock or Securities

The IRS has not defined “substantially identical” with precision. Buying back the same stock or an option on it clearly triggers the rule. Two funds tracking the same index likely do as well. Swapping between funds that track different but similar indexes is generally treated as different enough to avoid a wash sale.

Sales to Family or a Controlled Corporation

Separately, federal law disallows losses on sales between related parties. You cannot deduct a loss from selling stock to a spouse, sibling, parent, child, or other lineal relative, and the same restriction applies to sales between you and a corporation in which you own more than 50% of the stock.10Office of the Law Revision Counsel. 26 USC 267 – Losses, Expenses, and Interest With Respect to Transactions Between Related Taxpayers

Losses Inside Retirement Accounts Are Not Deductible

Stocks held inside a traditional IRA, Roth IRA, or 401(k) do not generate deductible losses. The capital gain and loss rules apply only to investments in taxable accounts.11Internal Revenue Service. Publication 550, Investment Income and Expenses Retirement accounts are structured so that individual trades inside them have no immediate tax consequence: traditional distributions are taxed as ordinary income no matter how the underlying investments performed, and qualified Roth distributions are tax-free. There is no mechanism to isolate and deduct a loss on a specific stock within these accounts.

Worthless Stock

You don’t have to sell to claim a loss. If a stock becomes completely worthless because the company dissolved, went through bankruptcy with no shareholder recovery, or ceased all operations, you can deduct the full cost basis as a capital loss.12Office of the Law Revision Counsel. 26 USC 165 – Losses The IRS treats the loss as though you sold the stock on the last day of the tax year in which it became worthless.13eCFR. 26 CFR 1.165-5 – Worthless Securities

Timing is strict. Claim it in the wrong year and the IRS can disallow it. Because the deemed sale date is December 31, the loss is long-term if you held the stock more than one year by that date. Keep documentation such as bankruptcy filings, delisting notices, or brokerage statements showing zero value.

Section 1244 Small Business Stock

Losses on qualifying small business stock get better treatment. Under Section 1244, a loss can be treated as an ordinary loss — not a capital loss — up to $50,000 per year, or $100,000 on a joint return.14Office of the Law Revision Counsel. 26 USC 1244 – Losses on Small Business Stock Ordinary treatment sidesteps the $3,000 cap, so the current-year tax savings can be much larger.

The stock has to meet all of the following:

  • The corporation is domestic.
  • Total capital contributions to the corporation, including paid-in surplus, were no more than $1,000,000 when the stock was issued.
  • You received the stock directly from the corporation in exchange for money or property, not from another shareholder.
  • For the five tax years before the loss, more than 50% of the corporation’s gross receipts came from active business operations rather than passive sources like rent, dividends, interest, or royalties.

Any loss above the $50,000 or $100,000 limit reverts to normal capital loss treatment and is subject to the standard netting and $3,000 rules.14Office of the Law Revision Counsel. 26 USC 1244 – Losses on Small Business Stock

Reporting Stock Losses

Stock losses go on Form 8949 and Schedule D. Your broker will send you a Form 1099-B listing each sale, but you’re responsible for confirming the details, particularly the cost basis.15Internal Revenue Service. About Form 8949, Sales and Other Dispositions of Capital Assets

Each transaction gets its own line on Form 8949, showing the description, acquisition date, sale date, proceeds, and cost basis. If the basis on your 1099-B is wrong, which is common for transferred, gifted, or inherited shares, enter the broker’s figure and use an adjustment code in column (f) to correct it. Totals flow to Schedule D, which produces the net short-term and long-term results and calculates the deduction.15Internal Revenue Service. About Form 8949, Sales and Other Dispositions of Capital Assets

For a wash sale, use adjustment code “W” on Form 8949 and enter the disallowed loss as a positive number in the adjustment column. Brokers often flag wash sales on the 1099-B, but they can’t see across firms — if you triggered a wash sale by trading between a brokerage account and an IRA, you’ll need to make the adjustment yourself.