How to report wash sales on tax return — walked through it step by step

Got my 1099-B from my broker last week and box 1g has numbers in it for a bunch of different trades. I know these are wash sale losses disallowed but I have no idea how to report wash sales on tax return correctly. I sold some tech stocks at a loss in November, then rebought within two weeks because I thought the dip was temporary. Tried entering everything in my tax software but it keeps putting a "W" code somewhere and I'm not sure if the adjustment column is supposed to be positive or negative or if I even have the right part of Form 8949 checked. I've never dealt with this before. Do I need to do anything beyond what the 1099-B says, or does the disallowed loss just disappear forever?

36 comments

Which box did your broker check on the 1099-B — covered or noncovered securities? That changes which part of Form 8949 you use and whether the basis was reported to the IRS.

Lena D.

Author

Pretty sure they're covered securities, the box says basis reported to the IRS. Does that mean I use Part I with box A checked?

Yes, short-term covered goes in Part I, box A. But whether your November sales are short-term depends on when you originally bought the shares you sold, not on the sales and rebuys falling within the year — if you'd held them a year or less (counting from the day after the purchase trade date to the sale trade date), they're short-term.

The disallowed loss does NOT disappear — that's the part people get wrong. It gets added to the cost basis of the replacement shares you bought. So you effectively carry it forward through the new position, not on its own line somewhere.

Lena D.

Author

So when I eventually sell those replacement shares, the higher basis means a smaller gain or bigger loss at that point?

Exactly. The disallowed wash sale loss gets baked into what you paid for the new shares. The IRS instructions for Form 8949 and Publication 550 both spell this out if you want the official language.

Are your replacement shares still sitting in the same account, or did you move them? Asking because the 1099-B box 1g only shows the wash sale loss disallowed when both the sold shares AND the new ones have the same CUSIP and are in the same account. I had a similar mess last year — multiple brokers involved — and uploaded all my 1099-Bs to taxr.ai. Taxr went through each transaction, flagged which ones had the wash sale code already applied by the broker and which ones I had to identify myself across accounts. Saved me from missing a few that crossed account lines.

Lena D.

Author

All in the same account, same broker. So I think box 1g should be populated correctly. Good to know about the cross-account issue though — I nearly opened a second account to do more trading.

Step by step for Form 8949 with a wash sale: check box A (Part I, covered short-term). Column (d) is proceeds from the 1099-B. Column (e) is the cost basis from the 1099-B. Column (f) gets code W. Column (g) gets the disallowed loss as a positive number — yes positive, even though it's a loss you're adding back. That's what trips most people up.

Lena D.

Author

So the number in column (g) is exactly what's in box 1g on my 1099-B, entered as a positive?

Right. If box 1g says $400 disallowed, you put 400 in column (g). The software then nets it so the deductible loss on that row is reduced by that amount. The IRS instructions for Form 8949 confirm this — column (g) entry for code W is the loss not allowed shown as a positive number.

Does your software let you override the 1099-B import, or are you entering trades manually? Sometimes the auto-import from brokers already fills in the W code and the column (g) amount, but I've seen it populate the adjustment as a negative by mistake, which would give you a bigger loss than you're entitled to. When I had a stack of trades with wash sale codes last spring I gave the whole imported file to Taxr and it compared what the broker had coded versus what the actual 61-day window calculation should produce — it listed out the ones where the signs were flipped and drafted a summary I could hand to my preparer.

Lena D.

Author

The import filled in the W codes but I wasn't sure the signs were right. Definitely going to double-check each one now.

What's the net effect on your Schedule D? Even with wash sales Form 8949 flows to Schedule D, and if your total capital losses exceed your gains the deductible amount against other income is capped — the limit is on line 7a of Form 1040 and figured from Schedule D line 16. The excess carries forward.

Lena D.

Author

I do have a net loss overall for the year after the wash sales. So some of it carries to next year?

Yes, whatever you can't use this year due to the cap carries forward with a worksheet — it's in the Schedule D instructions or Publication 550. You'll use it again next filing season.

Wait, I thought if you sell at a loss and rebuy in an IRA within 30 days that's also a wash sale? Because that one is brutal — the disallowed loss doesn't even get added to the IRA's basis.

You're right on both counts. The wash sale rule applies if your IRA or Roth IRA buys substantially identical securities within that 30-day window before or after the sale. And unlike a regular account repurchase, the disallowed loss isn't added to the IRA's cost basis — it's just gone. Publication 550 covers this specifically.

Lena D.

Author

I didn't rebuy in an IRA but good to know. That would have been a nasty surprise.

Is the holding period of the replacement shares affected too, or just the basis?

Both. The holding period of the new shares includes the holding period of the shares you sold. So if you sold shares you'd held 8 months and triggered a wash sale, that 8-month period gets tacked on to when you're counting how long you've held the new ones.

For people using Exception 1 — if you have covered transactions with no adjustments at all you can skip Form 8949 entirely and put those directly on Schedule D line 1a or 8a. But the moment you have a wash sale code W, that trade needs its own row on Form 8949. You can't lump it into the exception.

Lena D.

Author

So all my W-coded trades go on Form 8949 individually, and only the clean ones could go straight to Schedule D line 1a. That makes sense.

Does anyone know whether the wash sale window is 30 calendar days or 30 trading days?

Calendar days. The rule is 30 days before or after the sale — so 61 days total around the sale date. That's based on Publication 550, and it's calendar days, not trading days.

One thing I'll flag: if you or your spouse bought substantially identical shares in an account the other controls — including a corporation you control — that counts as a wash sale too. Doesn't sound like your situation but it catches people who think moving the trade to a spouse's account avoids it.

Lena D.

Author

No joint accounts or corporation here, just my individual brokerage. But I had no idea a spouse's account counted.

Are the trades you're looking at all stocks, or did you trade any options? The wash sale rules do apply to losses on contracts or options to buy or sell stock or securities — but they don't apply to commodity futures or foreign currencies. Just checking because that changes things if any of your positions were options.

To summarize the flow for the original question: 1099-B box 1g has the disallowed amount → Form 8949 Part I box A → column (f) code W → column (g) positive amount equal to what's in box 1g → that row nets to zero or a reduced loss → totals go to Schedule D → Schedule D line 16 determines the net → if net loss, the deductible portion flows to Form 1040 line 7a with the rest carrying forward.

Lena D.

Author

This is exactly the walkthrough I needed. Thank you. And the basis of the replacement shares goes up by that same disallowed amount so I get credit when I sell them later.

Correct. And keep records of what basis adjustment was applied to which replacement lot — your broker may track it but not all of them do it perfectly across tax years, especially if the replacement shares span a year end.

With a lot of these spread across many tickers, I'd have an enrolled agent or CPA review the Form 8949 before you file. Wash sale chains — where the replacement shares themselves get sold at a loss and trigger another wash sale — can compound and are easy to miscount.

Lena D.

Author

I only have about five affected trades so I think I can handle it manually, but I'll keep that in mind if it gets more complicated next year.

The irs.gov/publications/p550 page (Publication 550, chapter 4) is the clearest official source for the wash sale rules if you want to read the whole thing. It covers the 30-day window, the basis adjustment, the IRA situation, and how to report it all in one place.

And irs.gov/forms-pubs/about-form-8949 has the instructions linked directly — worth reading column (f) and column (g) guidance before you finalize your Form 8949.

Quick correction on something above — someone mentioned the disallowed loss gets added to the replacement shares' basis except when the IRA bought them. That's exactly right per Publication 550, so the earlier reply was accurate. Just want to make sure nobody reads that IRA exception and assumes the loss is deductible — it's not deductible and it doesn't increase basis either. It's permanently lost in that scenario.