Should I sell winning stocks to offset realized capital losses before year-end?

Trying to figure out if this move even makes sense. I already realized about $14k in losses earlier this year when I sold some positions that had gone south. Now I'm sitting on a few winners — some tech holdings I've had for over a year and a couple I bought earlier this year. My broker dashboard shows them all in green. I know losses can offset gains, but I'm wondering: should I sell winning stocks to offset realized capital losses before year-end, or is that backwards? My instinct is that selling winners would just create more gains, but then again maybe I want to use the losses before they carry forward? I'm not sure how Schedule D and Form 8949 interact here, or whether the holding period on the winners changes the math. Already tried reading the IRS instructions but got confused about short-term vs long-term netting. What's the actual strategy here?

37 comments

Your instinct is a little backwards. The losses you already realized don't disappear — they sit on Schedule D and net against any gains you add before December 31. You don't need to manufacture more gains to "use" them. What you actually control now is whether to realize the gains on those green positions this year or let the losses carry forward instead.

Emily P.

Author

Form 8949 is next on my list to review. So you're saying the $14k in losses just waits on Schedule D to match against whatever gains I report this year — and if I add no more gains, the excess carries forward?

Schedule D line 21 is where this year's deductible part of the loss goes, and the Capital Loss Carryover Worksheet is where the carryover gets calculated. Exactly right. If your total net loss exceeds what you can deduct this year, the rest carries to 2027 and applies there.

The holding period on those winners matters a lot for this calculation. Long-term losses first net against long-term gains, and short-term losses net against short-term gains — then any excess crosses over. If your $14k losses are long-term and you sell a short-term winner, you might be mixing buckets in a way that costs you more in tax rate terms than you expect.

Emily P.

Author

Most of my losses were long-term positions I'd held over a year. The winners I'm looking at are split — a couple long-term, a couple short-term. So I need to track which bucket each falls in before deciding.

Schedule D has separate sections for exactly that. Part I is short-term, Part II is long-term. The netting happens within each part first, then the net figures combine at line 16.

Last December the short-term vs long-term netting had me just as confused. Uploaded my mid-year 1099-B and my draft Schedule D to taxr.ai and it mapped out which lots were short-term vs long-term, flagged where my losses and gains were sitting in each bucket, and showed me the net figure before I made any more trades. Helped me see I was about to sell a long-term winner into a short-term loss bucket, which wasn't the move. The IRS overview at https://www.irs.gov/taxtopics/tc409 explains the netting order if you want the official version.

Emily P.

Author

Form 8949 with the lot details is exactly what I should pull together first. That mapping by bucket sounds like exactly what I need before I click sell on anything.

One scenario worth thinking through: if you don't sell the winners this year, your $14k net loss on Schedule D gets capped at what you can deduct against ordinary income this year — the limit is set by the tax code, not a number I'll throw out here, but Publication 550 and the Schedule D instructions both spell it out. The remainder carries forward. So the question is really whether you'd rather realize the gains now (using the losses as an offset) or preserve the losers' carryforward and let the winners keep running.

Capital Loss Carryover Worksheet in the Schedule D instructions is the tool for figuring the carryforward amount. Worth running both scenarios before deciding.

Emily P.

Author

Schedule D instructions carryover worksheet — noted. I'll run both scenarios on paper before touching anything.

Don't forget the wash sale rules when you're doing this planning. If any of those losses earlier in the year came from selling something you bought back within 30 days before or after, the loss might be disallowed and you'd have less to offset than you think. Check your 1099-B box 1g for any wash sale amounts already flagged.

Emily P.

Author

1099-B box 1g — I'll go check that tonight. I did buy back into one position pretty quickly after selling it at a loss.

Form 8949 column (f) is where you'd enter code W for a wash sale if it's not already captured by your broker. The disallowed loss gets added to the cost basis of the repurchased shares instead of reducing your gain this year.

The other thing to think about: are these winning positions things you want to hold long-term anyway? If yes, selling them just to use a loss carryforward and then rebuying creates cost basis complexity and potential wash sale exposure on the repurchase side. Sometimes the cleaner move is just letting the carryforward roll to next year.

Schedule D carryforward is not a "use it or lose it" thing — it rolls forward indefinitely, so there's no urgency to burn it in a single year.

Emily P.

Author

That framing helps. The carryforward isn't expiring, so I don't have to force anything.

Had a similar pile of losses and winners to sort out. I gave Taxr my 1099-B and the notes I'd kept on each lot's purchase date and price, and it built out the full Form 8949 entries — short-term in Part I, long-term in Part II, with the column (g) adjustments where my broker had the wrong basis. Saved me from putting a long-term gain in the wrong part. Worth doing before year-end so you're not scrambling in April.

Form 8949 column (e) is the one that trips people up — if your broker reported basis to the IRS, you use box A or D and enter what they show even if it's wrong, then fix it in column (g). If they didn't report basis, you go box B or E and just put the correct basis in column (e) directly.

Box A vs box B distinction is exactly what I kept getting wrong before. The instructions for Form 8949 are pretty clear once you read the Part I header, but it's easy to miss on the first pass.

Short answer to your original question: selling winners to offset already-realized losses is not backwards, it's legitimate tax planning. You're using the loss to shelter the gain. The net effect on Schedule D is the gain reduced by the loss, so you pay tax only on the difference — or nothing if losses exceed gains.

Emily P.

Author

Schedule D netting is clearer to me now. If I sell a long-term winner and I already have long-term losses, the net long-term gain is what flows to the tax rate calculation.

Worth noting: the tax rate on the net long-term gain versus short-term gain can be very different. Short-term gains are taxed as ordinary income; long-term gains get preferential rates. So even if you have enough losses to fully offset a short-term winner, you might be better off letting those losses absorb a long-term gain instead — depends on your bracket. The Schedule D instructions walk through the qualified dividend and capital gain tax worksheet.

Qualified Dividends and Capital Gain Tax Worksheet in the Form 1040 instructions is what actually computes the rate. Schedule D line 18 and 19 feed into it.

If the amounts involved are substantial — say you're looking at a six-figure swing depending on what you sell — it might be worth talking to a CPA before year-end rather than deciding from forum posts. The netting rules interact with your bracket, any NIIT exposure, and state taxes in ways that are hard to generalize.

Emily P.

Author

The amounts aren't huge but I'll keep that in mind. Good point that state taxes are a whole separate calculation — my state has its own capital gains treatment.

Form 8949 is what most people focus on but don't forget Schedule D itself — line 1a and line 8a let you skip Form 8949 entirely for transactions where basis was reported to the IRS and you have no adjustments. That can simplify things if most of your trades are covered securities with no wash sales or basis corrections.

Exception 1 in the Form 8949 instructions covers exactly that. Clean covered-security trades with no adjustments go straight to Schedule D line 1a or 8a.

Before I made my year-end moves last year I pasted my brokerage summary and each lot's dates into Taxr and it drafted the whole Schedule D netting calculation — showed me the short-term and long-term subtotals separately, the combined line 16 figure, and what would carry forward vs what I'd owe. It also flagged one lot where the holding period crossed into long-term by only a few days if I waited. That kind of day-count detail is easy to miss when you're eyeballing a spreadsheet.

Emily P.

Author

Holding period day count on the borderline lots is something I'd definitely miscalculate manually. That's a real edge case I hadn't thought about.

Publication 550 says the holding period starts the day after you acquired the security and ends on the trade date you sell — not settlement date. So the count is tighter than people expect when you're near the one-year line.

Something that often gets missed in these year-end conversations: if you have any crypto that's in a gain position, those lots live on Form 8949 too — boxes G through L on the 2025 form for digital assets, separate from the stock boxes A through F. Losses in one don't automatically show up in the other in tax software unless you've linked the accounts.

Form 8949 boxes G through L for digital assets is a 2025 change. The IRS digital assets page at https://www.irs.gov/businesses/small-businesses-self-employed/digital-assets has the guidance on reporting requirements.

Emily P.

Author

No crypto on my end this year, but good to know for anyone else reading this.

To wrap the original question up clearly: yes, selling a winning stock before year-end to absorb realized losses is a valid strategy. The realized loss reduces the realized gain on Schedule D. Whether it's the right move depends on the holding periods involved, your ordinary income bracket, whether you want to stay in those positions, and what a carryforward would do for you in future years when you might have larger gains.

Emily P.

Author

Schedule D it is — I'm going to map out the short-term and long-term buckets separately before making any trades. Thanks everyone, this gave me a real framework.

Bookmark-worthy for carryovers and the netting order: Publication 550 at irs.gov covers both in a full section, and the chapter on sales and exchanges of assets is worth keeping handy for this kind of planning.