What is form 8949 code L and when do you use it?

Trying to figure out form 8949 code L and whether it applies to my situation. I sold some stock my uncle left me when he passed away last year. The broker sent a 1099-B but the cost basis shown is completely wrong — it's just showing what the original purchase price was decades ago instead of the stepped-up value at date of death. When I try to enter this in my tax software it's asking for an adjustment code and I'm seeing options including code L but I have no idea if that's the right one or what it even means. I already looked at the form instructions but they list a bunch of codes and I'm not sure which one covers inherited basis corrections. Do I use code L, something else, or a combination? And where does the corrected basis number actually go on the form?

31 comments

Form 8949 column (f) is where the adjustment codes go. Code L specifically is for a loss that isn't allowed — it's not about basis corrections. The code for a wrong basis on a 1099-B is code B. Those are two completely different situations so make sure you're picking the right one.

Rachel N.

Author

Column (f) — okay that helps me find the right spot at least. So code B is what I actually need, not code L?

Correct. Code B goes in column (f) whenever the basis on the 1099-B is wrong and you need to correct it. Code L is for a disallowed loss, which is not what you have here.

Publication 550 lays out the inherited property rule directly. Your basis in stock inherited from someone who died (other than the 2010 exception involving Form 8939) is the fair market value at the date of death, or the alternate valuation date if the personal representative chose it. That's your correct basis for column (e), not whatever the original purchase price was. The broker almost never knows this.

since it's inherited the holding period is automatically long-term no matter how long you personally held the shares — even if you sold them the week after you got them. so that goes in Part II of Form 8949, boxes D E or F depending on whether the 1099-B shows basis reported to the IRS or not.

Rachel N.

Author

Part II, got it. The 1099-B does show a cost basis so I assume that counts as basis reported to the IRS — does that mean box D?

Box D yes, that's for long-term with basis reported to the IRS. then you correct the basis in column (g) with the adjustment.

I had almost the exact same situation with inherited shares last year. I uploaded my 1099-B and the estate paperwork to taxr.ai and had it list out every adjustment I needed to make on Form 8949 — which column, which code, and what number went where. Ended up being code B in column (f), the wrong basis from the 1099-B in column (e), and the difference as a negative in column (g) because my correct stepped-up basis was higher. The IRS instructions for Form 8949 at irs.gov/instructions/i8949 have the full column (g) example too if you want to verify the sign.

Rachel N.

Author

Column (g) as a negative — so if my correct basis is higher than what the 1099-B shows, I put the difference in parentheses? Want to make sure I have the sign right.

Yes, in parentheses, which means negative. It reduces the gain or increases the loss. The instructions call it out specifically for the case where the correct basis is higher than what was reported.

Just want to circle back to the original code L question since it keeps coming up in search results. Code L on Form 8949 means you have a nondeductible loss other than a wash sale (a wash sale uses code W instead) — it's not an inherited basis code. If you see code L anywhere it's about a disallowed loss, full stop.

To be precise: a wash sale uses code W, not code L. Code L is specifically for other disallowed losses — there are several situations listed in the Form 8949 instructions. Worth checking the instructions directly because using the wrong code will confuse the IRS matching process.

Column (f), right — thanks for the correction. I had that backwards in my head.

The 1099-B from the broker will sometimes show a basis of zero or the original purchase price for inherited shares. Either way you can't just leave it. With box D checked you put the basis the broker reported in column (e) even though it's wrong, then correct it with a negative adjustment in column (g). The instructions are clear that with basis reported to the IRS you don't just override column (e).

worth noting that if the estate was large enough to require a Form 706 estate tax return, Publication 551 says certain beneficiaries have to use the estate tax value that was reported to them on Schedule A of Form 8971, not just whatever FMV you can document yourself. if your uncle's estate was big you should check whether a Form 706 was filed.

Rachel N.

Author

Schedule A of Form 8971 — I'll ask the executor. I don't think the estate was large enough for a 706 but I should confirm before I just use the date-of-death price I found.

Good call. If no 706 was filed you use FMV at date of death. A brokerage statement from that date or a historical price lookup is usually enough documentation to have on hand.

Form 8949 has a lot of codes and I kept second-guessing myself so I uploaded the whole 1099-B plus the instructions to Taxr and had it check whether the codes I'd already filled in were right and flag any that looked off. It caught that I had used the wrong part — I'd put an inherited stock sale in Part I instead of Part II. Saved me from filing something the IRS would have flagged.

Rachel N.

Author

Part I vs Part II — that's exactly the kind of mistake I'd make. Good to know that's something to double-check carefully.

Schedule D is where the totals from Form 8949 flow. Long-term goes to Schedule D Part II. If your corrected basis is higher than what the broker reported your gain will be smaller than the 1099-B suggests, which is fine — the adjustment in column (g) explains the difference to the IRS.

Rachel N.

Author

Schedule D Part II — so once I finish Form 8949 the number just flows there automatically in the software? Or do I have to enter it manually?

In most software it flows automatically once the Form 8949 entries are complete. Just double-check the Schedule D totals match what you expect after the adjustment.

One documentation point: keep whatever you used to establish the FMV at the date of death. The IRS won't necessarily ask but if they do you want to show how you got the stepped-up basis number. A printed historical closing price from a financial data source tied to the date of death works.

Rachel N.

Author

Already grabbed the closing price from a financial site for the date of death. Saving the screenshot along with the estate paperwork.

Getting the column (g) number right is easier than it looks, since the worksheet for basis adjustments walks through exactly how to compute the adjustment when basis is wrong. The sign matters — negative means your basis was understated (correct basis is higher than reported), positive means overstated. For inherited shares the broker almost always understates.

If this was a large estate and you're uncertain whether a 706 was filed, an enrolled agent or CPA who handles estate matters can confirm quickly. Getting the basis wrong on inherited property is one of those things that can create a bigger tax bill than necessary and it's worth a consult if the numbers are significant.

Form 3921 sometimes confuses people in threads like this — just to be clear that form is for ISO exercises and has nothing to do with inherited stock. Different situation entirely.

Rachel N.

Author

Not an ISO situation, this is just inherited stock, so Form 3921 isn't in play. Good to know so I don't go chasing that form.

Publication 551 at irs.gov/publications/p551 covers the basis rules for both inherited and gifted property in the same chapter. The inherited property rule is straightforward — FMV at date of death as the starting basis — but the gifted property rule is different and trips people up. Since yours is inherited you get the full stepped-up basis regardless of what the original purchase price was.

To summarize where we landed: Part II of Form 8949, box D (basis reported to IRS), code B in column (f), the broker's wrong basis in column (e), your correct stepped-up FMV in the actual basis, and the difference as a negative number in column (g). Code L was not the right code for this situation.

Rachel N.

Author

Column (g) negative, box D, code B — I think I have everything I need now. Really appreciate everyone working through this with me.