AlphaTeak
Get the app

How to Report Stock Sales on Schedule D: A Practical Guide for US Investors

AlphaTeak Research Team··5 min read
Report stock sales on Schedule D by transferring totals from Form 8949, which lists each sale with proceeds, cost basis, and adjustments. Separate short-term and long-term transactions, apply the wash-sale rule where needed, then compute net gain or loss on Schedule D and carry it to your Form 1040.
US taxpayer reviewing stock sale documents and completing Schedule D

Here's the standard sequence for reporting stock sales on your U.S. individual income tax return.

  1. Gather your brokerage documents. You'll receive Form 1099-B for each account where stocks were sold, plus Form 1099-DIV for dividends. Also keep your own purchase confirmations, especially for shares acquired before 2011 or transferred between brokers.
  2. Sort sales by holding period. Holdings of one year or less are short-term; holdings of more than one year are long-term. This determines the tax rate applied to gains and the extent to which losses offset other income.
  3. Group sales by basis reporting status. Form 8949 requires separate sections for transactions where cost basis was reported to the IRS (covered, with codes like A, D, E) and those where it was not (non-covered, codes like B, C, F). Your 1099-B will tell you which boxes apply.
  4. Complete each row on Form 8949. For each sale, enter the date acquired, date sold, proceeds, cost or other basis, any adjustment code and amount, and the resulting gain or loss. Adjustments include the wash-sale disallowed loss (code W) and nondividend distributions that reduce basis.
  5. Total Form 8949 and move to Schedule D. Add up all short-term and long-term gains and losses. Enter those totals on Schedule D, compute the net capital gain or loss, and then carry that figure to line 7 of Form 1040 (or the applicable line on your return).

Form 8949 and Schedule D: understanding the two forms

Form 8949 is where you report each stock sale individually, including the details from your 1099-B. Schedule D is the summary form. It collects the totals from all Forms 8949 you file, applies the short-term and long-term classifications, and determines your overall capital gain or loss for the year.

Many tax software programs prepare these forms automatically, but you are legally responsible for what appears on them. Reviewing the output helps you catch missing cost basis information or wash-sale adjustments.

Step-by-step for each stock sale

1. Confirm the sale is taxable

A sale or exchange of stock is a taxable event. Selling shares at a gain or loss triggers Form 8949 reporting, even if the overall result for the year is a loss. Buying and holding stock without selling it does not create a tax report, aside from any dividends received.

2. Identify your cost basis

Cost basis is generally what you paid for the stock, including commissions and any reinvested dividends. If you received shares as a gift or inheritance, special rules apply. The broker reports this on the 1099-B for covered shares. For non-covered shares, you are responsible for tracking basis yourself.

3. Determine holding period

The trade date is the date you sold the stock. The purchase date is the trade date you acquired it. Count from the day after purchase to the day of sale. If the holding period is one year or less, it is short-term. If it is more than one year, it is long-term.

4. Compute the gain or loss

Subtract your cost basis from the sale proceeds. If the stock paid any return of capital distributions, those reduce your basis and increase the eventual gain. Losses can offset gains, and excess ordinary losses may offset up to $3,000 of other income per year ($1,500 if married filing separately).

5. Apply the wash-sale rule if you repurchased the stock

The wash-sale rule disallows a loss when you sell a security and buy a substantially identical one within 30 days before or after the sale. If the rule applies, you add the disallowed loss to the cost basis of the new shares, which can reduce a future gain or increase a future loss. The new holding period also includes the old position.

Short-term vs. long-term capital gains table

Holding periodClassificationRate treatment
One year or lessShort-termTaxed at ordinary income rates
More than one yearLong-termTaxed at preferential long-term capital gain rates (0%, 15%, or 20% depending on taxable income, plus possible Net Investment Income Tax)

This table is a definitional summary, not a rate table for a specific year, because thresholds change annually. The key point is the holding period drives the rate bracket.

What about dividends and the 1099-DIV?

Dividends received on stocks you own during the year appear on Form 1099-DIV. Qualified dividends are eligible for the same preferential rates as long-term capital gains and are reported on Schedule D, usually through the Qualified Dividends and Capital Gain Tax Worksheet. Ordinary dividends are reported on Schedule B and then on Form 1040. Dividends are reported whether or not you sold the stock, so they are separate from the sale information on Form 8949.

Sales in retirement accounts: IRAs, 401(k)s, and Roth accounts

Stock sales made inside a traditional IRA, Roth IRA, 401(k), 403(b), or similar tax-advantaged account do not go on Schedule D. These accounts are generally tax-deferred or tax-free, so capital gains and losses are not recognized until you take distributions (if ever). However, if you invest in an IRA and the account generates unrelated business income, that is a rare exception. For the vast majority of investors, no reporting is required for sales within these accounts.

Practical example: one stock sold at a gain

Assume you bought 100 shares of a public company on February 10, 2022 for $50 per share with a $10 commission, making your total basis $5,010. You sold all 100 shares on March 15, 2023 for $60 per share, paying $15 in commissions. Your sale proceeds are $5,985 and your gain is $975 ($5,985 minus $5,010). Since you held the shares for more than one year, it is a long-term gain. On Form 8949, you would enter the acquisition date, sale date, proceeds, basis, and gain, then transfer the total to Schedule D.

If the same sale occurred on March 10, 2023 (one month after purchase), it would be a short-term gain reported in the short-term section of Form 8949.

The bottom line

Reporting stock sales involves listing each transaction on Form 8949, matching it to the 1099-B, adjusting for wash sales, and summarizing totals on Schedule D. Careful recordkeeping of purchase dates and costs, especially for older or transferred shares, makes the filing process straightforward. This guide provides general educational information, not personalized tax advice. Consult a tax professional for your specific situation.

See what a company is really worth.

AlphaTeak scores any stock across eight pillars, estimates fair value, and keeps an honest, public track record. Analysis and education, not advice.

Get AlphaTeak