Form 8949: How to Report Stock Sales

Meghan Sophia • December 4, 2026

Form 8949 reports the details of stock sales and calculates the gain or loss that generally flows to Schedule D. You may need it even if your brokerage has already sent the IRS a Form 1099-B.

The cost basis and holding period can change what you report. An incorrect basis can make a gain look larger than it is or hide a loss.

Start with your brokerage records, then sort each sale into the appropriate reporting category.

Key Takeaways

  • Form 8949 lists stock-sale proceeds, basis, adjustments, and the resulting gain or loss.
  • Stock held for one year or less generally produces a short-term result. Stock held longer than one year produces a long-term result.
  • The reporting category depends on the holding period and whether the broker reported basis to the IRS.
  • Some sales with reported basis and no adjustments can go directly on Schedule D.
  • Form 8949 totals move to separate Schedule D lines based on their reporting category.

What Form 8949 Does

Form 8949 connects the details of a capital asset sale to the totals reported on your tax return. For stock, those details generally include when you bought and sold the shares, what you received, and what you paid.

The form also lets you reconcile information reported by a broker with the amount that belongs on your return. The IRS describes this process on its Form 8949 information page.

Your broker generally reports stock sales on Form 1099-B or a substitute statement. The statement may include several sales and identify whether it reported each sale's basis to the IRS. Some basis information may be missing, particularly for older holdings.

Keep the full statement with your purchase confirmations and other records. A Form 1099-B shows what the broker reported, but your records may contain information the broker didn't have.

Find the Correct Cost Basis

For stock you purchased, basis generally starts with the purchase price, including applicable purchase commissions and fees. Your gain or loss depends on the adjusted basis of the shares you sold, not simply on the amount deposited into your brokerage account.

Account for Changes After Purchase

Certain events can change the basis you need to use. Reinvested dividends, for example, generally purchase additional shares and add to your investment in those shares. Stock splits can change the number of shares and the basis assigned to each one.

A broker may have incomplete records if shares were transferred between firms or acquired long ago. Keep statements that show the original purchase and later changes, especially when the sale involves shares held for many years.

Identify the Shares You Sold

You may own several lots of the same stock. Each lot can have a different purchase date and cost, which affects both basis and holding period.

If you adequately identify particular shares to your broker when selling them, their basis generally determines the result. Without adequate identification, the first shares purchased are generally treated as the first shares sold.

Shares received as gifts, inherited shares, and shares acquired through compensation can involve different basis rules. Those transactions deserve a closer review before you enter a number.

Determine the Holding Period

Form 8949 separates short-term and long-term transactions because the two categories receive different tax treatment.

Short-Term Stock Sales

A stock sale is generally short-term when you held the shares for one year or less . For the holding-period calculation, counting generally starts on the day after you acquired the shares.

For example, shares bought on June 2, 2024, and sold on June 2, 2025, were held for one year and generally produce a short-term result.

Long-Term Stock Sales

Shares held for more than one year generally produce a long-term gain or loss. In the same example, a sale on June 3, 2025, would generally be long-term.

Don't combine lots solely because they involve the same company. If you bought shares on different dates, one sale could include both short-term and long-term lots.

Choose the Form 8949 Reporting Category

The 2025 form groups stock sales by holding period and by what the broker reported to the IRS. Use the appropriate part and check one box for each group of transactions.

The following categories apply to stock sales on the 2025 Form 8949.

Stock-sale reporting status Short-term box Long-term box
Form 1099-B received, basis reported to the IRS D J
Form 1099-B received, basis not reported to the IRS E K
No Form 1099-B or substitute statement received F L

Part I is for short-term sales, and Part II is for long-term sales. Use a separate Form 8949 for each applicable box. For instance, short-term sales in boxes D and E belong on separate forms.

A broker reporting basis to the IRS doesn't make that basis automatically correct. If the amount needs an adjustment, the sale still belongs in the reported-basis category, with the correction shown on the form.

Enter the Sale and Calculate the Result

Form 8949 provides a column for each piece of the calculation. Use the sale records and brokerage statement together rather than entering proceeds alone.

Complete the Transaction Columns

Column (a) describes the property, such as the number of shares and company name. Columns (b) and (c) show the acquisition and sale dates.

Enter proceeds in column (d) and cost or other basis in column (e). When an adjustment applies, column (f) holds the applicable code and column (g) holds the adjustment amount.

Column (h) shows the gain or loss. The calculation is proceeds minus basis, plus or minus any adjustment . Show a loss as a negative amount using parentheses.

Example: A Long-Term Stock Sale

Suppose you bought 100 shares on March 1, 2024, for $4,000, including purchase fees. You sold them on June 3, 2025, for net proceeds of $5,700.

Your Form 1099-B shows the sale but says the basis wasn't reported to the IRS. With no other adjustment, the entry is:

  • Description: 100 shares of stock.
  • Date acquired: March 1, 2024.
  • Date sold: June 3, 2025.
  • Proceeds: $5,700.
  • Basis: $4,000.
  • Gain: $1,700.

Because you held the shares for more than one year, the transaction is long-term. On the 2025 form, it belongs in Part II with box K checked. The $1,700 gain then transfers with that category's totals to Schedule D.

Report Basis Corrections and Other Adjustments

Some sales need more than a simple subtraction. The adjustment columns show why the tax result differs from the information on the brokerage statement.

Correct Basis Reported to the IRS

When your broker reported basis to the IRS but that basis is incorrect, enter the reported basis in column (e). Then use the applicable code in column (f) and an adjustment in column (g) to arrive at the correct gain or loss.

For example, a higher correct basis generally requires a negative adjustment to reduce the reported gain. The 2025 Form 8949 instructions explain the codes and entries for corrections.

If the broker didn't report basis to the IRS, enter the correct basis using your records. Keep the documents that support your calculation with your tax files.

Account for a Wash Sale

A wash sale can occur when you sell stock at a loss and buy substantially identical stock within 30 days before or after the sale. The rules can also apply to certain related transactions.

The loss generally can't be deducted at the time of the sale to the extent the wash-sale rules disallow it. Form 8949 generally uses code W and a positive adjustment for the disallowed loss. In many cases, the disallowed amount is added to the basis of replacement shares, although special rules apply in some situations.

Transfer Form 8949 Totals to Schedule D

After completing each group, total its proceeds, basis, adjustments, and gain or loss. Transfer those totals to the Schedule D line for the same reporting category.

Match Each Category to Its Line

On the 2025 Schedule D for individual returns, short-term box D totals go to line 1b, box E totals go to line 2, and box F totals go to line 3.

For long-term transactions, box J totals go to line 8b, box K totals go to line 9, and box L totals go to line 10. In the example above, the box K transaction goes to line 9.

Schedule D combines the reported transactions with other applicable capital gain and loss items. It then calculates the net result that carries to the appropriate line of the return. Our Form 1040 checklist for business owners shows how brokerage sales fit alongside other income documents.

Recognize the Direct-Reporting Exception

You don't always need to list a sale on Form 8949. Qualifying transactions with basis reported to the IRS and no required adjustments can generally go directly on Schedule D line 1a for short-term sales or line 8a for long-term sales.

The IRS instructions for Form 8949 explain the exception. If a sale needs a basis correction or another adjustment, don't treat it as an unadjusted direct entry.

For individual taxpayers, a net capital loss can generally offset up to $3,000 of other income per year, or $1,500 if married filing separately. Unused capital losses generally carry forward to later years.

Keep Stock Sales Separate From Business Asset Sales

Selling stock in a company and selling the company's equipment are different transactions. Investment stock generally follows the capital asset reporting process described above. A sale of depreciable business property may involve different forms and depreciation recapture rules.

Our guide to business-property sales on Form 4797 explains that distinction. The bookkeeping gain on an asset sale also may differ from the tax gain because book value and tax basis can differ.

Founders selling company shares may face additional rules. For example, a qualifying exclusion can affect the gain on certain small business stock, while the sale still needs proper reporting. Our overview of Section 1202 stock exclusions covers that separate issue.

Keep the Records Behind the Numbers

A reliable Form 8949 starts with the right basis and holding period for each sale. The brokerage statement supplies important information, but purchase records and later adjustments complete the picture.

Keep those records with your return, including support for any correction. If the sale involves missing basis, unusual share history, or a business ownership interest, our tax team can help you work through the reporting.

By Meghan Sophia • December 3, 2026
Form 8863 is the federal tax form you use to claim the American Opportunity Tax Credit or the Lifetime Learning Credit. These credits can reduce your income tax, and part of the American Opportunity Credit may be refundable . The right credit depends on the student, the expens...
By Meghan Sophia • December 2, 2026
Selling your Florida home can trigger federal income tax if your gain exceeds the home-sale exclusion or you don't qualify for it. Florida has no individual state income tax , but that doesn't erase your federal tax obligations. The tax calculation starts with your gain, not t...
By Meghan Sophia • December 2, 2026
Form 2441 is the federal tax form you use to claim the Child and Dependent Care Credit. It can reduce your income tax if you paid for eligible care so you could work or look for work. The amount depends on your expenses, income, and any employer-provided care benefits. For tax...