# Form 8949 From 1099-B: Mapping Lots to Columns a to h

- Canonical: https://schematax.com/blog/form-8949-from-1099-b
- Author: Schema Tax (https://schematax.com)
- Published: 2026-01-13T00:24:14.000Z
- Updated: 2026-01-13T00:24:14.000Z

To fill out Form 8949 from a 1099-B, sort each sale by term and by whether basis was reported to the IRS, which picks the box. Then copy the description, dates, proceeds and basis into columns (a) to (e), add a code and amount in (f) and (g) when an adjustment applies, and work out column (h).

## Which Form 8949 box each 1099-B lot belongs in

Each Form 8949 page covers one box, and the box depends on two facts about a 1099-B lot: whether it is short-term or long-term, and whether the broker reported its basis to the IRS. Short-term lots go in Part I, boxes A to C. Long-term lots go in Part II, boxes D to F.

The [IRS Instructions for Form 8949 (2025)](https://www.irs.gov/instructions/i8949) describe the boxes this way. Box A is for short-term sales reported on a 1099-B that shows basis was reported to the IRS. Box B is for short-term sales where the 1099-B shows no basis, or shows that basis was not reported to the IRS. Box C is for short-term sales with no 1099-B at all. Boxes D, E and F repeat the same three cases for long-term sales. The 2025 instructions also have boxes G to L for sales reported on Form 1099-DA, the digital asset form, and say not to use box C or F for digital assets.

You check only one box on each Part I or Part II. A lot list with sales in three boxes therefore needs three separate pages, or three sets of pages if one page runs out of rows. The instructions say to complete as many copies of Part I and Part II as you need.

The 1099-B usually tells you the box directly. The [IRS Instructions for Form 1099-B (2026)](https://www.irs.gov/instructions/i1099b) describe an "Applicable checkbox on Form 8949" field with a one-letter code: A for short-term with basis reported, B for short-term with basis not reported, D for long-term with basis reported, and E for long-term with basis not reported. Code X means the holding period is unknown, so the broker cannot say whether box B or box E applies.

When the letter is missing, read box 2 for the term and box 12 for basis reporting. A checked box 12 points to box A or D. A checked box 5, which marks a noncovered security, usually points to box B or E. The [post on which acquisition dates make a security covered](/blog/1099-b-covered-vs-noncovered#which-acquisition-dates-make-a-security-covered-on-a-1099-b) explains why some older or transferred shares fall into the noncovered group.

## Mapping 1099-B boxes to Form 8949 columns (a) through (h)

Form 8949 columns (a) through (h) line up closely with 1099-B boxes 1a through 1g. The description, both dates, proceeds and basis carry straight across. Column (f) holds a code, column (g) holds the adjustment amount, and column (h) is the gain or loss you work out from the other columns.

### The mapping table

| 1099-B box | 1099-B label | Form 8949 column | Notes |
| --- | --- | --- | --- |
| 1a | Description of property | (a) Description of property | Include the number of shares, such as "100 SH EXAMPLE CORP" |
| 1b | Date acquired | (b) Date acquired | Box 1b is blank for shares bought on several dates; column (b) allows VARIOUS |
| 1c | Date sold or disposed | (c) Date sold or disposed of | The trade date of the sale |
| 1d | Proceeds | (d) Proceeds | Enter the figure shown on the 1099-B |
| 1e | Cost or other basis | (e) Cost or other basis | Figure shown on a box A or D page; for box B or E, see code B below |
| 1g | Wash sale loss disallowed | (g) Amount of adjustment | Positive number, with code W in column (f) |
| 1f | Accrued market discount | (g) through code D | Figured on a worksheet, not copied as is |
| None | None | (f) Code(s) | Letters in alphabetical order, no spaces or commas |
| None | None | (h) Gain or (loss) | Worked out from (d), (e) and (g) |
| 2, 5, 12 and the checkbox code | Term, noncovered, basis reported | Which box: A to F | Chooses the page, not a column |

The Form 8949 instructions say to enter in column (d) the proceeds shown on the form you received, and in column (e) any cost or other basis shown on the 1099-B. For column (h), they say to subtract the basis in column (e) from the proceeds in column (d), then take the column (g) adjustments into account. A positive adjustment, such as a disallowed wash sale loss, makes the loss in column (h) smaller.

### One worked row with a wash sale and code W

The worked row below uses fictional values. A taxpayer, Dana Example, sold 100 shares of Example Corp at a loss and bought the same stock again within a few weeks. The 1099-B shows box 2 short-term, box 12 checked, the Applicable checkbox code A, and a box 1g amount.

| Column | Example value | Where it came from |
| --- | --- | --- |
| (a) | 100 SH EXAMPLE CORP | Box 1a |
| (b) | 03/04/2026 | Box 1b |
| (c) | 06/10/2026 | Box 1c |
| (d) | 4,200.00 | Box 1d |
| (e) | 5,000.00 | Box 1e |
| (f) | W | Box 1g is not zero |
| (g) | 300.00 | Box 1g, entered as a positive number |
| (h) | (500.00) | 4,200 minus 5,000 is an 800 loss; adding 300 leaves a 500 loss |

This row goes on a Part I page with box A checked. The disallowed $300 is not lost for good. The rules that move it into the basis of the replacement shares are set out in the [post on what triggers a wash sale and the 61-day window](/blog/1099-b-wash-sale-box-1g#what-triggers-a-1099-b-wash-sale-the-61-day-window).

## Which Form 8949 adjustment codes come from a 1099-B?

Five Form 8949 adjustment codes come up most often with a 1099-B. Code W covers a disallowed wash sale loss, B an incorrect basis, D accrued market discount, E selling expenses or option premiums the broker did not reflect, and M several transactions reported on one row. Each code goes in column (f).

**Code W.** The Form 8949 instructions say that for a nondeductible wash sale loss you enter the amount as a positive number in column (g). The figure usually comes from box 1g. If no part of the loss is a nondeductible wash sale loss, the instructions say to enter -0- in column (g).

**Code B.** This code applies when the basis in box 1e is wrong, or when box 1e is blank and you supply the basis. For box A or D, the instructions say to enter the basis shown on the 1099-B in column (e), even though it is incorrect, and fix it in column (g). For box B or E, you enter the correct basis in column (e) and -0- in column (g). The [post on reporting the right cost basis with code B](/blog/incorrect-cost-basis-on-1099-b#reporting-the-right-cost-basis-with-adjustment-code-b-on-form-8949) walks through both versions.

**Code D.** An amount in box 1f, accrued market discount, applies to bonds bought below face value. The instructions route it through a worksheet for column (g) rather than copying it across.

**Code E.** The instructions list selling expenses and option premiums you paid as negative amounts, and option premiums you received as positive amounts, when the 1099-B did not already reflect them.

**Code M.** This code marks one row that stands for several transactions. The instructions say to enter -0- in column (g) unless another code requires an adjustment.

When a row needs more than one code, the instructions say to enter the letters in alphabetical order with no spaces or commas. A summary row that also carries a wash sale would read "MW".

## When can you skip Form 8949 and put 1099-B totals on Schedule D?

Some 1099-B sales can skip Form 8949 and go straight to Schedule D as totals. The Form 8949 instructions call this Exception 1. It covers sales where the 1099-B shows basis was reported to the IRS and you need no adjustment to the basis, the type of gain or the amount of gain.

The [IRS Instructions for Schedule D (2025)](https://www.irs.gov/instructions/i1040sd) say you can report the aggregate totals of qualifying short-term sales on line 1a and of qualifying long-term sales on line 8a. The same instructions list the conditions. The 1099-B must show basis reported to the IRS. The Ordinary box in box 2 and the QOF box, which flags a qualified opportunity fund, must be unchecked. Collectibles sales are excluded.

The rule is easy to break by accident. A single wash sale adjustment takes that lot out of Exception 1, because column (g) would not be zero. So does a basis you know is wrong: the Schedule D instructions say a sale with an incorrect basis on the 1099-B goes on Form 8949. If you use lines 1a or 8a for a group of sales, the instructions say not to also report those sales on Form 8949.

A brokerage account with only box A or box D lots and no box 1g amounts fits the Exception 1 conditions throughout. For an account that mixes covered and noncovered lots, or has wash sales, the instructions allow qualifying sales on lines 1a or 8a while the rest go on Form 8949. Schedule D is part of the Form 1040 package; the [1040 and K-1 category](/blog/category/1040-and-k-1) covers the return-level forms that these totals feed.

## Attaching a statement instead of listing every lot on Form 8949

A long lot list does not have to be typed onto Form 8949 one row at a time. The Form 8949 instructions call this Exception 2: you can report the sales on an attached statement that holds all the same information as Parts I and II, then enter the combined totals on Form 8949 with the right box checked.

A broker's own transaction detail can serve as that statement when it carries every column. The instructions say that if you have statements from more than one broker, you report the totals from each broker on a separate row. They also say not to write "Available upon request" with summary totals in place of the details of each sale.

The summary row uses code M. Under the code M instructions, column (g) is -0- unless another code needs an adjustment. A summary row for a group of short-term covered sales with wash sales inside it would carry the summed box 1g amount in column (g) and the codes "MW" in column (f).

For an electronically filed return, the instructions say you attach Form 8949, or statements with the same information, to Form 8453 or the matching form in that series, and mail them to the IRS. Combining several brokers' statements into one list before you total them is the subject of the [post on multiple brokerage 1099s in one spreadsheet](/blog/multiple-brokerage-1099s-in-one-spreadsheet), which covers per-broker columns and totals.

## Form 8949 totals that don't match the 1099-B

Form 8949 totals that differ from the 1099-B summary usually trace to a handful of causes. Subtotal rows counted as sales, wash sale amounts left out of column (g), lots placed in the wrong box, and a corrected statement mixed with the original explain most gaps. A CSV of the lots makes each one easy to test.

### Causes to check first

**Subtotal rows counted twice.** Broker statements print a subtotal under each group of lots. Copying that line as if it were a sale doubles the group's proceeds and basis.

**Wash sales left out.** If column (g) is blank on lots where box 1g has an amount, your column (h) total will show a bigger loss than the broker's summary.

**Lots in the wrong box.** A noncovered lot placed on a box A page moves its proceeds from one line of Schedule D to another. The grand total may still match while the box totals do not.

**Two versions of one statement.** A broker that reissues a consolidated 1099 can change a few lots. Mixing rows from the original and the corrected version produces totals that match neither. The [post on a corrected consolidated 1099](/blog/corrected-consolidated-1099) covers how to swap in the new figures cleanly.

**Section 1256 contracts.** Regulated futures and similar contracts are reported in 1099-B boxes 8 to 11, not as lots. The Schedule D instructions say gains and losses from section 1256 contracts go on Form 6781, so they belong in neither the Form 8949 total nor the lot total.

### Finding the gap from a CSV

Going from CSV to 8949 is mostly a grouping exercise. Put one lot per row, with columns for box 1d, box 1e, box 1g and the Applicable checkbox code. Sum proceeds, basis and wash sale amounts by code, then compare each group with the broker's summary page. The group that is off tells you where to look, and sorting that group by proceeds usually exposes a duplicate or a stray subtotal.

Getting that CSV is the slow part when the statement is a PDF. Schema Tax reads each 1099-B lot, with its dates, proceeds, cost basis and wash sale amount, into named fields you can export as CSV or Excel, as shown in the [list of supported forms](/#forms). It does not fill in Form 8949; the grouping and the return stay with you, your preparer or your tax software.
