Library · taxes · Published 10/13/2026 · Re-read against its sources 10/13/2026
tax treatment of investment losses beyond wash sales
Capital losses offset capital gains first, then reduce ordinary income up to a yearly limit, with excess losses carrying forward indefinitely.
In short
A friend of mine once sold a losing stock in December and felt proud of his tidy little tax move. Then April came, and he learned the story had more chapters than he knew. If you are holding an investment that has dropped, a loss on paper becomes a loss for tax purposes only when it is sold or otherwise closed out. A realized loss first cancels out your capital gains, and any leftover can reduce ordinary income up to a yearly cap of the current figure, which the official source publishes each year. Whatever remains carries forward to later years with no expiration. The wash sale rule is only one of several rules that can change the outcome, so it pays to know the others. Form 8949 and Schedule D are where it all gets reported.
The whole of it
What it is
I once watched an old neighbor sort his receipts into shoeboxes every winter, and he swore the whole business of taxes was just sorting. He was close. When you sell an investment for less than you paid, the gap is a capital loss. The tax code, in Internal Revenue Code Section 1211, lets that loss offset capital gains first. If losses are larger than gains, the code allows a limited deduction against other income. The rest waits for another year under Section 1212.
A friend of mine stopped learning at the wash sale rule, and plenty of folks do. The rule disallows a loss when the investor buys the same security, or one substantially identical to it, within a short window around the sale. The length of that window is a figure the IRS publishes, the current figure, which the official source publishes each year days on each side of the sale date. The wash sale rule matters. But it sits in a crowded room. There are also rules for worthless securities, for sales between related parties, for options and futures, and for the way losses are sorted between short term and long term. A loss can also belong to a different tax bucket than a person expects.
How it works
You have probably noticed that the tax form asks about holding periods. That is because the sorting matters. A short term loss comes from an investment held one year or less. A long term loss comes from one held longer than a year. The rules require the taxpayer to net short term losses against short term gains, and long term losses against long term gains. Then the two results are netted against each other. Only after that does any leftover loss reach the yearly deduction cap.
Let me say a word about the carryforward. If a loss is bigger than the cap allows, the extra is not lost. The taxpayer carries it to the next year and tries again. The carryforward keeps its short term or long term character, and it can last for life. An estate may not enjoy that benefit, though, since the carryforward generally ends when the taxpayer dies.
Now for some of the corners where the wash sale rule is not the only trap. Take worthless securities. If a stock becomes completely worthless during the year, the code treats it as if it were sold on the last day of that year. That can change the holding period. It also means timing matters, because the loss belongs to the year of worthlessness, not the year someone noticed.
Then there are related party sales. Section 267 can block a loss when the buyer is a close relative or a business the seller controls. A man sells shares to his sister at a loss, and the deduction is simply denied. Sad, but true.
Options and futures carry their own rules too. Some regulated futures contracts and certain other contracts get special handling under Section 1256, with their own split between long term and short term treatment. Open positions of that kind are also treated as sold at year end for tax purposes. The exact terms are laid out in IRS Publication 550 and in the instructions for Form 6781. Straddles, where an investor holds offsetting positions, can defer losses under Section 1092. These are specialized areas, and a tax professional is worth a conversation before anyone relies on a guess.
Retirement accounts deserve one more honest note. A loss inside an IRA or a 401(k) is not deductible at all. The account is shielded from yearly tax, and so the losses are shielded too. Selling at a loss in those accounts gives no tax benefit.
The numbers, and where to find yours
I like a plain map, so here is where the figures live. The yearly cap on deducting net capital losses against ordinary income is the current figure, which the official source publishes each year. A married person filing separately faces a smaller cap, which the IRS publishes at the current figure, which the official source publishes each year. The wash sale window is the current figure, which the official source publishes each year days on each side of the sale, and the IRS explains it in Publication 550. Your own numbers are on the Form 1099-B your broker sends. It lists proceeds, cost basis, and often flags wash sales.
For the official words, look to IRS Publication 550, Investment Income and Expenses, and to the instructions for Form 8949 and Schedule D. These are the primary sources. Your broker's figures are a good start, but the taxpayer carries the responsibility for the return.
A worked example
Let me tell you about a woman named Marisol. She is a schoolteacher with a modest brokerage account, and she earns $52,000 a year. During the year she sold some shares at a gain of $2,000. She also sold a different fund she had held for three years, and that sale produced a loss of $5,500. Finally she sold a stock she had held for eight months at a loss of $800.
Marisol first sorts by holding period. Her short term items are the $800 loss, and no short term gain. Her short term net is a loss of $800. Her long term items are the $2,000 gain and the $5,500 loss. Her long term net is a $2,000 gain less a $5,500 loss, so $2,000 minus $5,500 leaves her with a net loss of $3,500.
Next she combines the two buckets. A short term loss of $800 plus a long term loss of $3,500 is $4,300 of net capital loss.
Now she meets the cap. Suppose the yearly limit is the current figure, which the official source publishes each year. The law lets her deduct only up to that figure against her $52,000 of wages. If the limit were $3,000, for instance, she would deduct $3,000 and carry forward $4,300 minus $3,000, which is $1,300. The cap is a number set by law, so she should read the current figure on the IRS page rather than trust any example. The carried amount goes onto next year's return, and it keeps its character, so the carryforward is sorted into short term and long term pieces by a worksheet in the Schedule D instructions.
Her taxable income falls by the deducted amount. At a 12 percent bracket, a deduction of $3,000 would cut her tax by $360, since $3,000 times 0.12 is $360. The bracket she faces is set by law and changes by year, so she should check the current tables. Her carryforward of $1,300 could later cut her tax by $156 at that same rate, because $1,300 times 0.12 is $156. Small numbers, yes. But they are hers.
Where it goes wrong
I once knew a fellow who thought a loss was a loss no matter what. He found out otherwise. The most common stumble is the wash sale itself. It reaches further than people expect, because it can apply when a spouse buys the same stock, or when a purchase happens inside an IRA. When a loss is disallowed, it is not gone. The rule adds the disallowed amount to the cost basis of the new shares, and the holding period carries over. The loss waits, but it waits inside the new position.
Another stumble is forgetting the sorting. People assume all losses are alike, and then the form shows a short term and long term split they did not plan for. A third is claiming a loss on a sale to a relative, which the code denies. A fourth is deducting a loss inside a retirement account, where none exists.
There is also the matter of records. The taxpayer must prove the cost basis and the dates. If a broker's form is wrong, the taxpayer has to fix it with proper documentation. Keep your confirmations. Boring, but vital.
Last, remember that tax rules shift. Limits are updated, and Congress sometimes changes the code. Every dollar limit here comes from the official IRS pages, and the site fills in the verified figure with its source and date.
Questions to answer before you leave this page
Have you listed every sale this year, with the date bought, the date sold, and the cost basis for each? Do you know which of your losses are short term and which are long term? Did you or your spouse buy the same investment within the current figure, which the official source publishes each year days of a sale, even in an IRA? Did any sale go to a relative or a business you control? Is any holding completely worthless, and if so, in which year did that happen? Do you have a carryforward from earlier years, and have you found the worksheet in the Schedule D instructions? Does your Form 1099-B match your own records? And would a short talk with a tax professional help you feel sure about the answers?
Sources
irs.gov · read 10/13/2026
Each figure on this page was found, word for word, on the official page beside it, on the date shown, and is read again on a schedule. A figure that changes on its page comes down until the page is rewritten.
Related
how the stock market works
cost basis methods fifo specific id and average cost
alternative minimum tax
Wealth, and what it looks like on the way out the door
Was this useful? Counted, never signed.
Ask about this guide
A model reads this page and answers from it. It will say when the answer is not on the page. Education, not personalized advice.
Written by the site's growth engine and checked by its gates: voice, law and ethics, facts, arithmetic, and sources. Not yet read by a human editor; every page carries the correction process. Rules and dollar limits change every year; figures come from the rules table with their source and date.