What does the wash sale loss disallowed code mean on Form 8949?

Filed my return last week and went back to double-check my Form 8949. In column (f) there's a "W" code on a few rows and column (g) has positive numbers that reduced my loss. My broker sent a 1099-B with box 1g filled in on those same transactions. I think I bought back into the same ETF about two weeks after selling at a loss, which apparently triggered something. I already entered the data my tax software pulled from the 1099-B but I'm not sure I actually understand what the W code is doing to my numbers or whether the adjustment in column (g) carries anywhere useful. Can someone explain what the wash sale loss disallowed code actually means and what happens to the disallowed loss?

36 comments

Form 8949, column (f) code "W" means the IRS wash sale rules apply to that transaction. The loss isn't gone forever — it's disallowed for the current year. The positive number you see in column (g) offsets your loss on that row, so the net gain/loss flowing to Schedule D is reduced by exactly that amount. The key thing is that the disallowed amount gets added to the cost basis of the replacement shares you bought back.

Emily V.

Author

So the loss sits in my cost basis of the new shares and I'll eventually get it when I sell those? That's what I was hoping — just wanted to confirm it doesn't disappear entirely.

Exactly right. When you sell the replacement shares later (without triggering another wash sale), that higher basis lowers your gain or increases your loss on that future sale. The holding period also carries over from the original shares, which can matter for long-term vs. short-term treatment.

1099-B box 1g is where your broker reports the wash sale loss disallowed amount. That number should match what your software put in column (g) of Form 8949. Worth checking that they tie out exactly. If box 1g is blank on your 1099-B but you still repurchased within 30 days, the wash sale rule still applies — you'd have to make the adjustment yourself.

Emily V.

Author

Mine matched up. The broker caught it and filled box 1g. I was just confused why the loss wasn't showing up on Schedule D the way I expected.

Schedule D line 1b, 2 or 3 for short term, or line 8b, 9 or 10 for long term (depending on the box), pulls from the net column of Form 8949. The W adjustment is baked in before it gets there, so your deductible loss is already reduced. That's why the Schedule D number looked smaller.

Worth knowing: the broker only reports box 1g when the repurchase was in the same account with the same CUSIP number. If you sold in one account and bought back in a different account — or through your spouse, or in an IRA — the broker probably won't flag it. The wash sale rule still applies to you though. You'd need to code it W yourself on Form 8949.

That IRA piece is the tricky one. Lost that one the hard way. Sold at a loss in a taxable account, bought back in my Roth two weeks later, broker showed no wash sale, but Publication 550 says that triggers it. Even worse — the disallowed loss does NOT get added to the IRA basis.

Right, that's the painful part. When the repurchase happens inside an IRA or Roth IRA, the basis step-up rule doesn't apply. The loss is just gone, not deferred. Publication 550 is explicit on that.

Form 8949 confused me badly last year with multiple W-coded rows across different lots. I uploaded my 1099-B and my draft 8949 to taxr.ai and it compared each row, flagged where the column (g) adjustments didn't match box 1g, and listed which replacement lots were still open. That was genuinely useful because I had three lots where I triggered another wash sale before the first one even settled — the chain gets complicated fast.

Emily V.

Author

Chained wash sales are exactly what I'm worried about. I traded that ETF pretty actively in December.

December is the classic trap. If you sell at a loss on Dec 15 and buy back Dec 20, then sell again at a loss Dec 28 and buy back Jan 5 — you have overlapping windows. Each disallowed loss piles onto the next lot's basis. You really need to track each lot's adjusted basis and adjusted holding period separately.

The 30-day window runs both directions — 30 days before the sale AND 30 days after. People sometimes only think about the repurchase after the sale. If you bought the ETF on November 28 and then sold at a loss on December 10, that November purchase can wash the December sale even though it happened earlier.

30 days before the sale trips a lot of people. I had a wash sale flagged on a lot I didn't even know was connected because of a dividend reinvestment that happened to land 20 days before I sold.

Dividend reinvestment is a classic one. The DRIP shares count as a purchase of substantially identical stock. Same CUSIP, same account — broker usually catches it in box 1g but it surprises people every time.

If the wash sale loss is disallowed and NOT added to your replacement shares' basis (the IRA situation described above), that loss is permanently lost. But in the normal case — both buy and sell in a taxable account — the disallowed amount increases the cost basis of the replacement shares. See Publication 550 chapter 4 under Wash Sales for the full rule. The IRS page on that is worth bookmarking.

Part I vs Part II on Form 8949 matters here too. Short-term lots with code W go in Part I (box A, B or C depending on whether basis was reported). Long-term lots go in Part II (box D, E or F). The W code and the column (g) positive adjustment work the same way in both parts, but the net flows to different lines on Schedule D — line 1b for short-term covered, line 8b for long-term covered, etc.

Emily V.

Author

My broker reported basis so I used box A for the short-term ones. That matches what you're saying.

Column (g) adjustments caused me to file an amended return one year because I'd entered the disallowed amount as a negative instead of a positive. The W code with a positive number in column (g) reduces the loss — entering it negative would have doubled the loss incorrectly. I gave Taxr my original 8949 and the corrected one side by side and it identified exactly which rows were flipped and drafted the Form 1040-X explanation statement for me to review before I sent it.

Emily V.

Author

Entering it negative — that's exactly the kind of mistake I could see myself making. Good to know the sign matters that much.

Column (g) is an adjustment TO the gain or loss, not the loss itself. Positive means it increases reported gain or reduces reported loss. Negative means it increases the loss. For a wash sale you always want positive because you're reducing the deductible loss by the disallowed amount.

One scenario worth flagging: if you sell stock at a loss and within 30 days you buy a call option on the same stock, that also counts as a wash sale under Publication 550. Options on substantially identical securities fall under the rule. Futures contracts and foreign currencies are explicitly excluded, but equity options are not.

Options version caught me off guard. Bought a call right after harvesting a loss thinking the option wasn't "the stock" — ended up with a wash sale anyway.

Schedule D itself doesn't show the W code — that lives only on Form 8949. Schedule D just receives the net figures. So if someone asks why their capital loss on Schedule D is smaller than they expected, Form 8949 column (g) is where to look for wash sale adjustments pulling it back.

The holding period adjustment is something people overlook. When a wash sale occurs, the holding period of the new shares includes the holding period of the shares you sold. That means a loss you harvested on shares you'd held 11 months could make your replacement shares long-term almost immediately, which changes your rate when you eventually sell.

Emily V.

Author

So the replacement shares could already be long-term when I sell them even if I only held them a few weeks? That's actually useful.

Correct. If the original shares had a 12-month holding period and you triggered a wash sale, the replacement lot inherits that history. Combined with the adjusted basis, the eventual sale can look very different from what you'd expect from just the purchase date of the new lot.

Form 8949 instructions at irs.gov/instructions/i8949 walk through the column (g) adjustment logic with examples. The instructions also confirm that under Exception 1, if box A or D applies and there are no adjustments, those transactions can go straight to Schedule D line 1a or 8a — but once you have a W code, that exception doesn't apply and Form 8949 is required.

Exception 1 disappearing once you have any adjustment always catches people. Software handles it automatically but if you're doing it by hand you have to remember every W-coded row forces you onto 8949.

Publication 550 chapter 4 is the authoritative source here. It covers the 30-day window, the basis step-up for the replacement shares, the holding period tack-on, and the IRA situation. The IRS also has Topic 409 for a shorter overview of capital gains and losses generally, though the wash sale detail lives in Pub 550.

If you ended up with a net capital loss after all the W adjustments, the amount you can claim against ordinary income in one year is limited. Check Schedule D line 16 and then Form 1040 line 7a. Anything you can't use carries forward — there's a carryover worksheet in the Schedule D instructions that shows you how to figure it.

Emily V.

Author

My net loss is pretty small so I might be under the limit anyway. But good to know the carryover worksheet exists if I need it in future years.

Something I confirmed reading Publication 551 — the adjusted basis of the replacement shares is documented in your own records, not on a 1099-B for that purchase. The broker's cost basis system may or may not carry the wash sale adjustment automatically. Worth logging it yourself so when you eventually sell those replacement shares, you have the number.

Brokers vary a lot on this. Some update the cost basis in your account to reflect the wash sale adjustment automatically. Others leave the original purchase price and expect you to track it. Check your brokerage's cost basis method statements.

Exactly why I keep a separate spreadsheet for any lot that's had a W adjustment. Too easy to forget by the time you sell, especially if the replacement lot sits for a year or more.

To confirm the rule directly from Publication 550: the wash sale applies when you sell or trade stock or securities at a loss and within 30 days before or after that sale you buy substantially identical stock, acquire them in a fully taxable trade, acquire a contract or option to buy them, or your IRA or Roth IRA acquires substantially identical stock. The disallowed loss is added to the new stock's cost (except the IRA case). It's also a wash sale if your spouse or a corporation you control buys substantially identical stock.