How should stock sale gains and losses be reported?

by | Mar 27, 2026 | AI Tax Answer Library

Here’s what HIVE AI had to say about “How should stock sale gains and losses be reported?”:

Where stock sale gains/losses are reported (typical individual return)

  • Most stock sales are reported on Form 8949 first, then totals flow to Schedule D (Form 1040), which is where your net capital gain/loss is computed.
  • Whether a sale is short-term or long-term depends on your holding period: 1 year or less is short-term (Form 8949 Part I / Schedule D Part I); more than 1 year is long-term (Form 8949 Part II / Schedule D Part II).

Using your broker statement (Form 1099-B) to complete Form 8949

  • For covered securities, your broker generally reports basis to you (and to the IRS) and it appears on Form 1099-B; you generally enter that basis in Form 8949 column (e).
  • If the basis on Form 1099-B is wrong or needs an adjustment, you still report the sale on Form 8949 and use the adjustment columns (columns (f) and (g)) to reflect the correction.

Common adjustment: wash sales

  • If you have a nondeductible wash sale loss, report the sale on Form 8949, enter code W in column (f), and enter the disallowed loss as a positive number in column (g).

A couple of “special situation” notes

  • Compensatory stock options: the basis shown on Form 1099-B may not include amounts you already included in wages/income at grant or exercise, so the Form 8949 basis may need to be increased accordingly.
  • If you’re a trader who made a mark-to-market election, gains and losses are generally reported as ordinary on Form 4797 rather than as capital gains/losses on Form 8949/Schedule D.

If you tell me whether you received a Form 1099-B and whether any transactions have codes/adjustments shown (for example wash sale), I can describe exactly which Form 8949 boxes/columns you’d use.

Sources

1 – About Schedule D (Form 1040), Capital Gains and Losses
2 – Instructions for Form 8949 (2025)
3 – Instructions for Schedule D (Form 1040) (2025)


Try Your AI Tax Assistant for Free!

Ready to transform your practice with agentic AI in tax? See firsthand how our cutting-edge AI tax tools can revolutionize your approach to tax research and planning.