Form 8949 helper: do you need it, which box, which code

By Wash-Sale Guardian (who's behind it) · Published 2026-11-04 · Last updated 2026-11-09 · How the checker works

Get the year-end reminders by email ↓

Answer a few questions about your sales and your 1099-B. You'll see whether Exception 1 lets you skip Form 8949, which box to check, and which code to use in column (f). It follows the 2025 Form 8949 instructions and Schedule D instructions, the latest the IRS has published. Your answers stay in this page. Nothing you pick is sent anywhere.

Did you sell stocks, ETFs, options or similar this year?

Digital assets count too. So does an option you let expire at a loss: Pub 550 says “you are considered to have sold or traded the option on the date it expired.” Section 1256 contracts, such as regulated futures, go on Form 6781, not here.

Did you get a Form 1099-B (or a 1099-DA for digital assets)?

Answer for one group of sales at a time. A substitute statement from your broker counts as the form.

What does the form say about basis?

Look at the “Applicable checkbox on Form 8949” box near the top, or box 12 on a 1099-B (box 2 on a 1099-DA). Reported to the IRS: that box is checked, or the checkbox says A, D, G or J. Not reported: it is not checked, no basis is shown, or the checkbox says B, E, H, K, X or Y.

Did you hold the shares for more than a year?

Box 2 on a 1099-B (box 6 on a 1099-DA) may say short-term or long-term. A box X (Y on a 1099-DA) in the checkbox means your broker doesn’t know the holding period.

Does box 1f or 1g show an amount?

Box 1f is accrued market discount. Box 1g is the wash sale loss your broker disallowed. On a 1099-DA they are boxes 1h and 1i.

Within 30 days before or after a sale at a loss, did you buy the same stock in another account, an IRA or your spouse’s account, or buy a call option on it or another substantially identical security in any account, the same one included?

A call option counts: Pub 550 lists “Acquire a contract or option to buy substantially identical stock or securities”. Not sure? The free checker looks across your accounts.

Answer the questions above. Your result appears here as you go.

This only sorts a group of sales. It does not read your forms or your trades. If your sales fall into more than one group, such as short-term with basis reported and long-term with basis not reported, run it once for each.

Exception 1: totals straight on Schedule D

The Form 8949 instructions say: "Form 8949 isn't required for certain transactions. You may be able to aggregate those transactions and report them directly on either line 1a (for short-term transactions) or line 8a (for long-term transactions) of Schedule D." It applies only to sales, other than sales of collectibles, where:

  • the 1099-B "shows basis was reported to the IRS and doesn't show any adjustments in box 1f or 1g" (boxes 1h and 1i for a 1099-DA);
  • "The Ordinary box in box 2 on Form 1099-B isn't checked" (box 6 for a 1099-DA);
  • the Schedule D instructions add that the QOF box in box 3 isn't checked (box 3b for a 1099-DA);
  • "You don't need to make any adjustments to the basis or type of gain (or loss) reported on Form 1099-B or Form 1099-DA (or substitute statement), or to your gain (or loss)"; and
  • "You aren't electing to defer income due to an investment in a QOF and aren't terminating deferral from an investment in a QOF."

If you use it, "you don't need to include them on Form 8949 and don't need to attach a statement." It is your choice. Exception 2 is a different route: you total sales on an attached statement in Form 8949 format, with code M. See why tax software may ask you to mail Form 8453.

Which box

Use a separate Part I or II for each box, and check only one box on each. Short-term is Part I. Long-term is Part II.

Which Form 8949 box fits which sales
What your form says Short-term (Part I) Long-term (Part II)
1099-B, basis reported to the IRSAD
1099-B, basis not reported to the IRSBE
1099-DA, basis reported to the IRSGJ
1099-DA, basis not reported to the IRSHK
No 1099-B or 1099-DA, other than digital assetsCF
No 1099-DA or 1099-B, digital assetsIL

Boxes G to L are new for 2025. The instructions say: "Do not use box C to report short-term digital asset transactions" and "Do not use box F to report long-term digital asset transactions."

The "Applicable checkbox on Form 8949" box. The Form 8949 instructions say this box near the top of your 1099-B "may help you determine which box to check". In the Form 1099-B instructions, A and D mean basis is reported to the IRS, and B and E mean it isn't. X is for a sale where the broker "cannot determine whether the recipient should check box B or box E on Form 8949 because the holding period is unknown." The Form 8949 instructions say that with X and a blank box 2, "Use your own records" for the holding period. The Form 1099-DA instructions use G, H, J and K the same way, and Y for an unknown holding period.

Which code

Most sales need no code. Leave columns (f) and (g) blank. Codes explain an adjustment in column (g). Here are the codes most stock and option sales need. The IRS table has the rest.

Form 8949 column (f) codes for stock and option sales
Code Use it when
W You have a nondeductible loss from a wash sale.
B The basis your 1099-B shows in box 1e (box 1g on a 1099-DA) is incorrect.
D Your 1099-B shows accrued market discount in box 1f (box 1h on a 1099-DA).
E You have selling expenses or option premiums that the form did not already reflect in the proceeds or basis.
M You report several sales on one row, under Exception 2.
T The type of gain or loss in box 2 of your 1099-B (box 6 on a 1099-DA) is incorrect.
O You have an adjustment that none of the other codes explain.

With more than one code on a row, list them in alphabetical order with no space or comma, such as BW. Enter the net adjustment in column (g).

  • Code W takes the disallowed loss as a positive number in column (g). If your 1099-B amount in box 1g is wrong, enter the correct amount. If yours is smaller, the instructions say to attach a statement that explains the difference. The IRS text sets no box limit for W. See Form 8949 code W.
  • Code B works two ways. With basis not reported (boxes B, E, H, K), enter the correct basis in column (e) and -0- in column (g) (the instructions add "unless you must make an adjustment for some other reason", and a wash sale is one). With basis reported (boxes A, D, G, J), keep the 1099-B basis in column (e) and correct it in column (g). That sale can't use Exception 1.

What box 1g does and doesn't cover

IRS Publication 550 says: "If you received a Form 1099-B, box 1g will show the amount of wash sale loss disallowed if: The stock or securities sold were covered securities, and The substantially identical stock or securities you bought had the same CUSIP numbers as the stock or securities you sold and were bought in the same account as the stock or securities you sold." A re-buy in another account, an IRA or your spouse's account is not that. A call option or another security without the same CUSIP is not that either, even in the same account, yet Pub 550 lists, among the ways to cause a wash sale, that you "Acquire a contract or option to buy substantially identical stock or securities". Brokers may report more, so check what your 1099-B shows. Pub 550 adds that "you cannot deduct a loss from a wash sale even if it is not reported on Form 1099-B." Details are in what box 1g covers and the cross-account trap.

What this helper can't see

  • Your forms and trades. Your answers decide the result. The free checker finds wash sales from your broker CSVs, across accounts.
  • Digital asset wash sales. The Schedule D instructions say the wash sale rules "generally apply to transactions involving digital assets that are also stock or securities for tax purposes (tokenized securities)." Ask a CPA if you aren't sure yours are.
  • Options that expire. Pub 550 says that if you did not exercise an option and have a loss, "you are considered to have sold or traded the option on the date it expired." Count it as a sale.
  • Section 1256 contracts. Pub 550 says to "Use Part I of Form 6781 to report your gains and losses from all section 1256 contracts that are open at the end of the year or that were closed out during the year." The Form 8949 instructions leave out sales reported on Form 6781. They go there, not here.
  • Special cases. Collectibles, QOF elections, a home sale and traders with a mark-to-market election follow other rules.
  • The year. It follows the 2025 instructions. Check the instructions for the year of your return.

Frequently asked questions

Do I need Form 8949 if my broker reported everything?

Maybe not. Exception 1 in the Form 8949 instructions lets you total sales directly on Schedule D, line 1a (short-term) or 8a (long-term). The 1099-B has to show that basis was reported to the IRS and no adjustment in box 1f or 1g. The “Ordinary” box in box 2 and the QOF box in box 3 must not be checked, and you must have no adjustment of your own to make. A wash sale your broker doesn’t report, such as a re-buy at another broker, in an IRA or in your spouse’s account, or a call option on the stock, is a change you make yourself, so that sale goes on Form 8949. Check what your 1099-B shows.

Which box do I check on Form 8949?

It depends on the holding period and on what your form says about basis. Short-term sales go in Part I and long-term sales in Part II. Basis reported to the IRS is box A or D (G or J for a 1099-DA). Basis not reported is box B or E (H or K). No 1099-B or 1099-DA is box C or F, and digital assets use I or L instead. The “Applicable checkbox on Form 8949” box on your 1099-B may help you pick. An X there (Y on a 1099-DA) means your broker doesn’t know the holding period.

What is code W on Form 8949?

Code W goes in column (f) for a nondeductible loss from a wash sale. The disallowed loss goes in column (g) as a positive number. It is not limited to one box. You report the sale in the Part and box that fit it. Add it yourself for a wash sale your 1099-B leaves out, such as a re-buy in another account or a call option on the stock.

Informational, not tax advice. Primary sources: Form 8949 instructions, Schedule D instructions, Form 1099-B and 1099-DA instructions, IRS Publication 550 — linked inline above. Found an error? Tell us and we'll fix it.

Get the year-end wash-sale reminders

Short emails at the moments that matter: before Nov 30 (the last day to sell at a loss and still re-buy within 2026); before Dec 31; and when 1099-Bs arrive in February. The one-page year-end checklist PDF comes with it.

Sign up and a link to the PDF appears right here. Confirm the email we send and you're on the list: about four to six emails a year, and you can unsubscribe in one click from any of them. Your trades stay in your browser. The form sends our email service only your email address and the page you signed up from — nothing else (see Privacy).