Got a wash sale notification on my 1099-B — what does it actually mean and what do I do?

So I finally sat down with my 1099-B from my broker and noticed box 1g has an amount in it with the label "wash sale loss disallowed." I also see a "W" code showing up in the transaction detail. I sold shares of a tech ETF at a loss back in October, then bought back into basically the same fund about two weeks later because I thought the price was right. Didn't realize this triggered anything. I've been trying to figure out if I just ignore box 1g or if I have to do something specific on Form 8949. My tax software flagged it but didn't really explain what the wash sale notification means for my actual tax liability. Can someone walk me through what this actually does to my return?

28 comments

The wash sale notification means your broker identified that you sold at a loss and repurchased a substantially identical security within 30 days before or after that sale. The loss you took is disallowed — you can't deduct it this year. But it doesn't disappear: the disallowed amount gets added to the cost basis of the replacement shares you bought. So you'll recover it later when you eventually sell those shares without triggering another wash sale.

Darius A.

Author

Thanks, that helps — so the loss isn't gone forever, it's just deferred into the new shares' basis. That actually makes me feel better about it.

On Form 8949 specifically: you report the sale in Part I (short-term) or Part II (long-term) depending on your holding period. Put code "W" in column (f) and enter the disallowed loss amount as a positive number in column (g). Check box A or B in Part I (box D or E in Part II) depending on whether the 1099-B shows basis reported to the IRS or not. The proceeds still go in column (d) exactly as the 1099-B shows them.

Darius A.

Author

Got it — so I don't reduce column (d), I just adjust in column (g). My software was doing that already but I didn't understand why.

Worth adding: if the basis is reported to the IRS (box A checked), put the 1099-B basis in column (e) even if you think it's wrong for some other reason, then handle any other corrections in column (g) separately. The W adjustment and a basis correction can coexist in column (g).

The IRS rule covers more than just buying back the same stock in your own account. If your spouse buys substantially identical stock, or a corporation you control does it, that also triggers the wash sale. Same if the repurchase happened in an IRA or Roth IRA — and in that case the disallowed loss is not added back to any basis anywhere, it's just gone.

Darius A.

Author

I didn't know the IRA version was permanent. I bought everything in a regular brokerage so I think I'm okay, but good to know.

I had the same confusion last year with multiple wash sale flags across different lots. I uploaded my 1099-B and my draft 8949 to taxr.ai and it went through each transaction, matched the W codes to the right lots, and flagged two where my software had pulled the disallowed amount into column (g) with the wrong sign. Saved me from understating my gain. The IRS instructions for Form 8949 at irs.gov/instructions/i8949 also lay out the column (g) sign convention clearly if you want to check it yourself.

One thing that matters a lot: the 30-day window runs both directions. It's 30 days before the sale AND 30 days after. So if you sold on October 15 and bought on October 2, that's still a wash sale even though the buy came first.

This catches people every time. The rule also covers acquiring a contract or option to buy the substantially identical stock, not just buying the shares outright.

Does the wash sale rule affect the holding period of the new shares? Like if I end up selling the replacement lot, does the clock reset?

No, the holding period of the new shares actually includes the holding period of the shares that were sold in the wash sale. So the clock doesn't fully reset — the old holding period carries over to the replacement lot.

My broker only flagged the wash sale in box 1g when both the sold shares and the repurchased shares had the same CUSIP number and were in the same account. If you traded across two different accounts at the same broker, or used two different brokers, the 1099-B might not show it in box 1g at all — but the wash sale still happened and you still have to report it. You can't deduct the loss just because box 1g is blank.

Darius A.

Author

This is probably my situation with one of the lots actually. I have two accounts. I'll go back through the dates manually.

When I had four or five wash sale transactions spread across two brokers I had Taxr read through both 1099-Bs alongside my transaction history. It listed every potential wash sale window, showed me which ones the brokers had caught and which they hadn't, and drafted a summary I could hand to my CPA so she wasn't starting from scratch. Definitely worth doing before you file if the transactions are complicated.

Darius A.

Author

That's a smarter approach than what I was doing. I was just trusting whatever the software auto-imported.

To figure out whether a fund is "substantially identical" to another — that's where it gets murky. Two ETFs tracking the same index are often treated as substantially identical even if they're from different fund families. Two ETFs tracking different indexes are generally not, even if they hold similar stocks. The IRS hasn't published a bright-line rule on this, so if you're in that gray zone it's worth asking an enrolled agent or CPA before you file.

This is the thing most people don't think about. Switching from one S&P 500 fund to a total market fund is a common way people try to avoid wash sales while staying invested. Whether it actually works depends on how similar the holdings and index methodologies are.

If the wash sale was big enough to really limit your loss deductions, remember that any capital losses that exceed your capital gains in a year can only offset a capped amount of ordinary income. The rest carries forward. The Schedule D instructions and Publication 550 at irs.gov/publications/p550 both have the carryover worksheet.

The adjusted basis thing is also important for tax software: when you eventually sell the replacement shares, make sure your software is using the adjusted basis (original cost plus the disallowed loss that was added), not just what the broker reports as cost basis on the next year's 1099-B. Brokers don't always carry the wash sale adjustment forward correctly, especially across tax years.

Darius A.

Author

Okay this is a real concern. I need to track the adjusted basis separately and not just trust the import. Thanks for flagging that.

If you're worried the broker-reported basis is wrong after the wash sale adjustment, you can correct it on Form 8949. With box A or D checked (basis reported to IRS), you still enter the 1099-B basis in column (e) even though it's wrong, then enter the correction as a negative number in column (g) if the correct basis is higher. Don't just override column (e).

Last year I had a broker basis that was off after a wash sale rolled into a new tax year. I gave Taxr my two years of 1099-Bs and my own spreadsheet of adjusted lots. It compared them, found where the broker had dropped the carryover adjustment, and listed exactly what column (e) and column (g) entries I needed on Form 8949 to make it right. I reviewed everything and filed it myself.

The cross-year thing is what always trips me up. Good to know there's a way to work through it systematically.

Commodity futures contracts and foreign currency transactions are not subject to the wash sale rules. Worth knowing if any of your trades were in those instruments rather than stock or securities.

If this involves a lot of transactions and the disallowed losses are material, seriously consider sitting down with a CPA or enrolled agent before you file. Getting the basis adjustments wrong in the wash sale year creates problems in the next year when you sell the replacement shares, and fixing it after filing is messier than getting it right the first time.

Darius A.

Author

Yeah I think I'm going to get a CPA to at least review my 8949 before I submit. Too many moving pieces this year.

The IRS topic on capital gains and losses (Topic 409) and Publication 550 both cover wash sales in detail if you want to read the rules straight from the source. The 8949 instructions are probably the most practical starting point though — they walk through the column (f) code and column (g) adjustment step by step.