1099-B wash sale loss disallowed — what do I actually do with that box?

Got my 1099-B from my broker and box 1g shows a wash sale loss disallowed amount on several trades I made in November and December. I sold some tech stock at a loss and then bought back into basically the same position within two weeks because I thought the dip was temporary. The 1099-B has a dollar amount in box 1g for a few of these rows. I plugged the numbers into my tax software and it added code W somewhere but I'm not totally sure the adjustment is right — the proceeds and basis look off on at least one transaction. Do I just trust what the software spits out or do I need to manually check each line on Form 8949? And does the disallowed loss just disappear forever or does it get added somewhere?

39 comments

Does your software show you the actual Form 8949 with column (f) and column (g) filled in? That's where you'd see whether it handled the W code correctly. The disallowed amount should appear as a positive number in column (g) on the row for that sale, which reduces your deductible loss on that line.

Carla H.

Author

Yes I can preview the 8949 and I do see a W in column (f) and a positive number in column (g) on most rows. But one row looks like it's missing the W even though box 1g on the 1099-B isn't blank. That's the one I'm worried about.

The W code issue is easy to miss when you have a lot of trades. I uploaded my 1099-B and my draft return to taxr.ai last filing season and it went line by line comparing what the broker reported in box 1g against what landed in column (g) of my 8949 — flagged two rows where the adjustment hadn't carried through. Worth doing before you finalize anything. On the actual rule: the disallowed loss doesn't disappear. It gets added to the cost basis of the replacement shares you bought. So when you eventually sell those shares without triggering another wash sale, that higher basis reduces your gain or increases your loss at that point.

Carla H.

Author

That's the part I wasn't sure about — so the loss isn't gone, it's deferred into the new shares' basis. That makes more sense now. My broker shows an adjusted cost basis on the replacement lot, so I think they're already doing that calculation, but I'll double-check against what 8949 shows.

Does the basis adjustment happen automatically on the broker side or do you have to track it yourself? I've had brokers handle it differently and ended up with a mess one year.

Yes, most brokers do adjust the cost basis of the replacement lot and reflect it in the 1099-B for covered securities — but only when both the sold shares and the replacement shares are in the same account with the same CUSIP. If you bought the replacement in a different account, or moved to a different broker, the box 1g entry may still be there but the basis adjustment won't show up on the new account's records automatically.

Is the missing W code on a covered or noncovered security? That matters because box 1g only gets populated for covered securities where the replacement shares had the same CUSIP and were bought in the same account. For noncovered securities the broker isn't required to track it, but you still can't deduct the wash sale loss — you'd have to identify and report it yourself.

Carla H.

Author

The row in question is covered — box 6 on the 1099-B says basis was reported to the IRS. So the broker should have put something in box 1g if there was a wash sale. It's possible the repurchase happened in a different account, which might explain why they didn't flag it.

That would explain it. If the replacement shares were in a different account the broker on the selling side has no way to know a wash sale occurred, so they don't report a disallowed amount. But the wash sale rules still apply — you're responsible for tracking it and reporting the W code yourself on Form 8949, with the disallowed loss as a positive number in column (g).

Are you sure the repurchase was within 30 days on both sides? The window is 30 days before the sale and 30 days after, so you need to check both directions, not just forward from the sale date.

Carla H.

Author

Good point — I was only thinking about the 30 days after. Let me check if any of my purchases before the sale date also fall in that window. I sold on November 18 so anything I bought between October 19 and December 18 on the same stock could be in play.

Yes, that's the right window. And it also includes acquiring a contract or option to buy substantially identical stock, not just an outright purchase, so keep that in mind if you use options at all.

One thing I keep seeing people get wrong: the wash sale adjustment in column (g) is entered as a positive number even though it's reducing your deductible loss. So if your loss was $800 and $500 was disallowed, column (g) gets 500 (not negative 500). The software should handle this but if you're manually entering it, positive is correct.

No, that's right. The instructions for Form 8949 say the loss not allowed goes in column (g) as a positive number when you use code W. It seems backwards but it's correct because column (g) is added to — or subtracted from — the raw gain or loss to get the adjusted figure.

Do the wash sale rules apply any differently to ETFs? I switched from one S&P 500 ETF to a similar one thinking that would avoid the wash sale issue, but I'm second-guessing myself.

The "substantially identical" standard is what matters, not whether it's an ETF or a stock. Two ETFs tracking the exact same index from the same issuer would likely be substantially identical. Two ETFs tracking different indexes, even if closely correlated, are generally not considered substantially identical — but there's no bright-line rule and the IRS hasn't issued definitive guidance on every ETF pair. If the funds are truly different products tracking different indexes you're usually fine.

That's what I thought. The ones I swapped track different indexes so I think I'm okay, but I'll note it in my records just in case.

Had this exact confusion with my own 1099-B last year — multiple wash sale rows and I wasn't sure which ones were affecting my Schedule D total correctly. I gave Taxr my 8949 draft and the 1099-B side by side and it listed every row where the column (g) number didn't match box 1g, and flagged where the box was blank even though the trade dates suggested a wash sale window. Saved me from underreporting a disallowed loss. For the actual reporting: the row with the missing W code — if you've confirmed it's a wash sale — needs code W in column (f) and the disallowed amount as a positive number in column (g), regardless of whether box 1g on the 1099-B is blank.

Carla H.

Author

This is exactly the check I need to do. I'll go through each row manually against the 1099-B to make sure column (g) ties out to box 1g, and separately flag the rows where I think a wash sale happened that the broker didn't catch because the repurchase was in a different account.

Does the disallowed loss also carry over the holding period from the original shares to the replacement shares? I think I read that somewhere but I want to make sure before I assume a long-term hold.

Yes. The holding period of the replacement shares includes the holding period of the shares you sold in the wash sale. So if you held the original shares for 11 months and sold them, then bought replacement shares, that 11-month period tacks onto the replacement shares' holding period. This matters a lot for whether a future gain is short-term or long-term.

Good to know. So in theory you could end up with long-term treatment on shares you just bought last month if the original lot was old enough. That's actually useful.

Are you in a situation where the same stock triggered multiple wash sales in a chain? Like you sell at a loss, buy back, sell again at a loss, buy back again? Each sale has to be analyzed separately and each disallowed loss attaches to the next replacement lot.

Carla H.

Author

Yes, actually — I had about four rounds of this on one position. So I think the basis of my current lot reflects disallowed losses from at least two of the earlier sales. The 1099-B cost basis column seems really high compared to what I actually paid, which I think is why.

What box do you check on Form 8949 for these? All of mine came on a 1099-B with basis reported to the IRS, so I checked box A for short-term. Is that still right when there's a wash sale adjustment?

Yes. The box you check — A, B, D, or E — depends on whether the transaction was short or long-term and whether basis was reported to the IRS, not on whether there's a wash sale adjustment. If it's short-term and the basis was reported to the IRS, box A is correct. You still add code W in column (f) and the disallowed amount in column (g) on the same row.

Is there any situation where a wash sale loss in an IRA makes the basis adjustment work the same way as a taxable account? I bought replacement shares in my Roth after selling at a loss in my regular brokerage.

No — when the replacement shares are acquired in an IRA or Roth IRA, the disallowed loss is not added to the cost basis of those shares. The loss is disallowed and there's no basis adjustment in the IRA to recover it later. That's specifically different from the taxable account rule where the disallowed loss does get added to the replacement shares' basis.

So the loss is just gone in that case? No way to recover it at all?

Correct, that's what Publication 550 says. The IRA version of this is the worst outcome — the disallowed loss doesn't attach to the IRA shares, so it's permanently lost. It's one reason people are careful about trading the same securities across taxable and retirement accounts near year-end.

How many transactions are you dealing with? If it's a large number and you're doing this manually, the reconciliation between box 1g and column (g) gets tedious fast. Some people import the 1099-B data into the software and then print the 8949 to check it line by line against the PDF from the broker.

Carla H.

Author

About 30 rows total, maybe 8 or 9 with wash sale entries. Manageable but not trivial. I'm going to do the side-by-side check that was mentioned earlier and make sure the column (g) amounts match box 1g where the broker flagged it, and separately add W codes where I know there was a cross-account repurchase.

Does the adjusted basis on the replacement shares eventually show up on a future 1099-B when you sell them, or do you have to track it separately? My broker has been inconsistent about this.

For covered securities in the same account, most brokers do carry the adjusted basis forward and it shows up on the future 1099-B when you sell the replacement shares. But if you transfer the shares to another broker before selling, the receiving broker may not have the full history and could use the original purchase price as the basis. At that point you'd need to correct the basis yourself using code B on Form 8949. If basis was reported to the IRS (box A or D), enter the basis shown on the 1099-B in column (e) and the correction as a negative adjustment in column (g). If basis wasn't reported (box B or E), enter the correct basis in column (e) and -0- in column (g).

Worth pointing out that if you end the year still holding the replacement shares, the wash sale loss from the original sale just stays embedded in the basis — it's not deductible that year at all. It only becomes relevant when you eventually sell the replacement shares. A lot of people expect to see the deferred loss show up somewhere on their current return and get confused when it doesn't.

Carla H.

Author

That explains why my Schedule D total looks smaller than I expected. The losses I'm seeing disallowed are on positions I still hold, so they're not deducting this year — they're just sitting in the basis of shares I still own. That actually makes sense now.

Are you using specific identification for the lots you sold, or did you let the broker use FIFO? That can change which lot triggered the wash sale and by how much, especially if you have multiple purchase dates at different prices.

Carla H.

Author

I let the broker use FIFO, which I'm now regretting a little. Some of the lots it picked had smaller losses than others I could have selected, and the wash sale rules would have applied the same way either way on those trades. Something to fix going forward.

To make sure the thread ties up correctly: the disallowed loss from box 1g goes in column (g) of Form 8949 as a positive number with code W in column (f). It is not deductible in the current year on that transaction. The disallowed amount is added to the basis of the replacement shares (except when replacement shares are in an IRA or Roth IRA, where the loss is permanently disallowed with no basis adjustment). The holding period of the replacement shares includes the holding period of the shares sold. Publication 550 at irs.gov and the Instructions for Form 8949 at irs.gov both lay this out if you want the full detail.