Where to report 1099-B on 1040 — step by step

Filing my own return this year for the first time and I got a 1099-B from my broker showing stock sales. I know I need to put the numbers somewhere on the 1040 but I genuinely don't know where to report 1099-B on 1040. I've looked at the 1040 itself and I see Line 7 says capital gains, but I also see references to Schedule D and something called Form 8949. Do all three of those need to be filled out? My 1099-B shows about a dozen transactions, some short-term and some long-term, all with basis reported to the IRS. I tried to just enter the total gain on Line 7 of the 1040 but my software flagged it and said I might need additional forms. What's the actual path from the 1099-B to the final 1040 line?

33 comments

The path is: 1099-B → Form 8949 → Schedule D → Form 1040 Line 7. That's always the order. Each sale from your 1099-B gets its own row on Form 8949. Since your broker reported basis to the IRS, all your transactions go in Part I (short-term, box A checked) or Part II (long-term, box D checked). You fill in columns (a) through (h) for each sale — description, date acquired, date sold, proceeds, basis, and so on. Schedule D then collects the totals from Form 8949 and runs the final gain/loss arithmetic. The net number from Schedule D Line 16 flows to Form 1040 Line 7. If you have no adjustments and basis was reported to the IRS, there's actually an Exception 1 that lets you skip Form 8949 and put those totals directly on Schedule D Line 1a or 8a instead. But with a dozen transactions, using Form 8949 row by row is cleaner and matches what the IRS has.

Emily C.

Author

So the number on Line 7 of the 1040 is literally just pulled from Schedule D? I was trying to put the raw 1099-B total there directly. That explains why the software was flagging it.

Exactly. Line 7 on the 1040 is sourced from Schedule D Line 16 when you have a net gain, or Schedule D Line 21 if there's a loss situation. You never skip straight from the 1099-B to Line 7.

Worth clarifying which box matters on your 1099-B: Box 1d is the proceeds, Box 1e is your cost basis, Box 1b is the acquisition date. All of those map directly to Form 8949 columns (d), (e), and (b) respectively. Box 1g is the one to watch — it shows any wash sale loss disallowed. If there's a number there, you have to put code W in column (f) of Form 8949 and enter the disallowed amount as a positive number in column (g). A lot of people miss that box entirely.

Emily C.

Author

My Box 1g is blank on all transactions so I think I'm fine there. Good to know that's where wash sale stuff shows up though.

Box 1g being blank doesn't always mean there's no wash sale issue — it only gets populated when the repurchase happened in the same account with the same CUSIP. Cross-account wash sales don't show up there. Worth double-checking if you bought back anything you sold at a loss within 30 days before or after.

Short-term vs. long-term is the split that determines which part of Form 8949 each row goes in. If you held the stock more than 1 year before selling, it's long-term and goes in Part II. 1 year or less, it's short-term, Part I. For securities traded on an exchange, the holding period starts the day after the trade date you bought and ends on the trade date you sold — not the settlement date. So check the trade dates on your 1099-B, not when the cash actually cleared.

I uploaded my 1099-B to taxr.ai and asked it to walk through Form 8949 line by line for my situation. It mapped each transaction to the right part and box, flagged the one sale where I had a small wash sale code W entry I'd overlooked, and showed me exactly what number lands on Schedule D and then Line 7. Saved me from filing with the wrong basis on two transactions where the broker's cost basis was listed as zero because I'd transferred the shares in from another account. The IRS instructions for Form 8949 at irs.gov/instructions/i8949 are also worth reading — particularly the section on basis not reported to the IRS, which is a different situation than yours but important to understand.

Emily C.

Author

The transferred-in shares with zero basis issue is exactly the kind of thing I was worried about. All mine were purchased in the same account so I think I'm okay, but good to know that's a real trap.

People also get confused about where losses go. They flow the same route — Form 8949 → Schedule D → Line 7 — but if your total losses exceed your total gains, Schedule D will show a net loss. You can only use a limited amount of that loss against other income in a single year; the rest carries forward. The Schedule D instructions have the Capital Loss Carryover Worksheet if you end up in that situation.

Worth knowing: the carryover keeps its character. A long-term loss carried forward stays long-term in the next year and offsets long-term gains first.

Correct, that's why the worksheet tracks short-term and long-term carryovers separately. Don't combine them on the worksheet or you'll get the wrong number.

If your software is TurboTax or similar, there's usually an import from your broker that pulls the 1099-B data directly into Form 8949 rows. That's worth using if your broker supports it — reduces transcription errors on the proceeds and basis columns significantly.

Emily C.

Author

My broker does have that import option and I ended up using it. The software still asked me to confirm each transaction before it finalized Form 8949 though, which was actually helpful.

One thing that matters for the 1040 itself: Line 7 is where the Schedule D result goes, but only if you actually have capital gains or losses to report. If Schedule D ends up at zero (say your gains and losses exactly cancel), you still complete Schedule D and Form 8949 — you just enter zero on Line 7.

Had a similar situation last year with a mix of short-term and long-term sales. I used Taxr to check the numbers on my Schedule D against my Form 8949 totals before I filed — it caught that I'd transposed two digits in the proceeds column on one row, which would have made my gain look higher than it was. For anyone unsure about which box to check on Form 8949 (A, B, D, E — or the new digital asset boxes G through L), that really does depend on what your 1099-B says about whether basis was reported to the IRS. The instructions spell out each scenario.

Emily C.

Author

Transposing digits is exactly the mistake I'd make. I went back and triple-checked my proceeds column after reading this.

The box selection also matters for how you enter a corrected basis. With box A or D, you enter the broker's basis even if it's wrong, then adjust in column (g). With box B or E, you just enter the correct basis directly.

Quick clarification on Exception 1 since it was mentioned above: you can skip Form 8949 and put totals straight on Schedule D Line 1a (short-term) or Line 8a (long-term) ONLY if the transactions have basis reported to the IRS AND you have no adjustments at all. Any code in column (f) — W for wash sale, B for incorrect basis, anything else — means that transaction can't use Exception 1 and needs its own row on Form 8949.

This is the part most guides gloss over. Exception 1 sounds like a shortcut but the moment you have even one wash sale in the group, that sale has to go on its own Form 8949 row — the rest of the batch can still use the shortcut.

The long-term rate being lower than short-term is the practical reason the short-term/long-term split matters so much. The instructions for Schedule D point to the Qualified Dividends and Capital Gain Tax Worksheet inside the Form 1040 instructions, which is what actually computes the tax once your Schedule D net is settled.

I always forget that inherited stock bypasses the normal holding period rule. Property you inherit is treated as long-term regardless of how long you actually held it — so it goes in Part II of Form 8949 (box D or E depending on whether basis was reported). Publication 550 covers this if you need the citation.

That's one I didn't know. Good to have it in this thread even though the original poster probably doesn't have inherited stock — it'll help the next person searching.

Something that confuses people: the 1099-B proceeds in box 1d are gross proceeds unless box 6 says net. If you have option premiums or commissions that were netted against the proceeds, the box 1d number is already adjusted and you use it as-is in column (d) of Form 8949. Don't subtract commissions again or your proceeds column will be too low.

Emily C.

Author

I checked and mine says gross proceeds, so I need to watch that. The commissions don't appear to be backed out already.

Gross proceeds means commissions weren't subtracted from proceeds. Your broker may have added them to your cost basis instead, or included them separately — worth checking how they handled it so you don't double-count.

For digital asset transactions — crypto, NFTs and so on — the 2025 Form 8949 has new boxes G through L specifically for those. Short-term digital assets use G, H or I; long-term use J, K or L. They never go in box C or F anymore. I had Taxr read through my crypto 1099-DA and my old Form 8949 draft side by side and it pointed out I had ETH sales sitting in box C when they needed to move to box H given how basis was reported. Would have been a mismatch with what the exchange filed.

The 1099-DA is the new form for digital assets and it maps to those new boxes. The IRS digital assets page at irs.gov/businesses/small-businesses-self-employed/digital-assets has the current guidance on that.

Emily C.

Author

I don't have any crypto so the new boxes don't affect me this year, but useful to know the landscape has changed.

To put the whole path in one place for the original question: every sale on your 1099-B goes to Form 8949 (Part I short-term or Part II long-term, with the right box based on whether basis was reported). The totals from Form 8949 carry to Schedule D. Schedule D runs the net. That net flows to Form 1040 Line 7. That's it.

If the gain on Schedule D is large enough, also check whether the Net Investment Income Tax applies — that's computed on Form 8960 and feeds separately into your total tax on the 1040. It doesn't change how you report the 1099-B, but it can affect the total you owe. The Form 8960 instructions say what threshold applies based on your filing status and modified AGI.

Form 8960 is easy to miss because it's not part of the Schedule D flow — it's a parallel calculation. Worth asking your software if it checked for it.

If you want the source behind every rule in this thread, go to Publication 550 at irs.gov/publications/p550 — holding periods, wash sales, how gains and losses are computed. It's dense but it has every rule the forms are built on. Topic 409 at irs.gov/taxtopics/tc409 is the shorter version if you just need the capital gains overview.