
How to Report Stock Sales on Your Tax Return: Form 8949 and Schedule D
Fact Checked
FileTax.com content is reviewed for accuracy, timeliness, and completeness. It undergoes a structured editorial review process involving writers and expert reviewers.
More on our editorial standards
Scott WesterlundContent Writer - Tax Law
Alistair HoehneTax Content Reviewer
Your Takeaways:
- Every stock sale must be reported, even at a loss or break-even — the IRS already has the data from your broker.
- Use Form 8949 for each transaction, then roll totals up to Schedule D (Form 1040).
- Short-term and long-term sales go on separate sections of Form 8949 and Schedule D.
- Form 1099-B is your primary input — it arrives by mid-February and includes proceeds, cost basis (for covered securities), acquisition date, and sale date.
- Covered securities = stocks bought after 1/1/2011, mutual funds after 1/1/2012 — broker reports basis to IRS.
- Noncovered securities = older holdings where the broker doesn't report basis — you must calculate it yourself.
- Incorrect basis on 1099-B is common. You can correct it using Form 8949 adjustment codes (especially code "B" for wrong basis).
- Corrected 1099-B forms sometimes arrive in March or April. If you filed early, you may need to amend.
- CP2000 notices are the IRS's way of flagging mismatches — they can propose additional tax, penalties, and interest.
Selling stocks can feel exciting until tax season shows up and starts asking questions. The Internal Revenue Service expects stock sales to be reported correctly, even if you lost money or think the IRS already received the information.
This guide focuses on the reporting process, not how capital gains are calculated. If you want a broader explanation of capital gains and how they affect your taxes, see our capital gains overview or our complete investment tax guide.
TL;DR: Every stock sale must be reported on your tax return, even at a loss — the IRS receives your Form 1099-B data from your broker and matches it against what you file. Use Form 8949 to list each sale (with dates, proceeds, basis, and gain/loss), then summarize totals on Schedule D (Form 1040). Short-term and long-term sales go on separate sections. For noncovered securities (purchased before 2011), you're responsible for calculating and reporting the correct cost basis yourself. Missing or mismatched entries trigger CP2000 notices proposing additional tax, penalties, and interest. |
|---|
Why the IRS Requires You to Report Stock Sales
Stocks are capital assets. When you sell them, the transaction must be reported to the IRS, even if it results in a loss or no taxable gain.
Even though your broker sends transaction data to the IRS, you are still responsible for reporting stock sales on your tax return. The IRS matches what you report with what it received. If the numbers do not line up, expect a notice and possibly a higher tax bill.
Stock transactions must be reported, whether you made money, lost money, or broke even.
Source: IRS Pub. 550, Capital Assets
What the IRS Considers a Capital Asset
Capital assets include most investment property you own for personal or investment purposes.
Common capital assets include:
- Stocks
- Bonds
- Mutual funds
- Certain other property held for investment
Personal property held for investment purposes is treated differently from personal use property. Selling your couch does not trigger capital gains taxes, but selling shares of stock does. The key factor is whether the asset was held for investment.
Understanding Form 1099-B From Your Broker
Form 1099-B is sent by your broker after the end of the tax year. It reports stock transactions for the year.
Form 1099-B typically includes:
- Date acquired and date sold
- Sale proceeds
- Cost basis, if basis is reported
- Whether the asset was held short-term or long-term
In many cases, the IRS received the same Form 1099-B you did. That means your tax return must reflect the same information or explain differences using adjustment amounts.
If the cost basis is missing or incorrect on Form 1099-B, you must still report the correct basis using your records and, if needed, make adjustments on Form 8949. This is especially common with gifted stock, where special rules apply (see our gifted stock taxes guide).
The IRS receives gross proceeds and cost basis information from Form 1099-B for covered securities, which are stocks or ETFs bought after January 1, 2011, or bonds after January 1, 2014. However, the IRS does not receive cost basis information for non-covered securities - those stocks or bonds bought before the above dates. In this case, you may be provided or have to calculate the basis. If you don't, the IRS will treat all sales of such investments as 100% short or long-term capital gains.
Learn more about how cost basis works in our cost basis guide.
What to Do When a Corrected 1099-B Arrives
Corrected 1099-B forms typically arrive in March or April, after the original form is issued in February. They usually correct:
- Cost basis for shares transferred in from another broker
- Corporate action adjustments (mergers, spinoffs)
- Wash sale identifications discovered after the initial issue
- Dividend reclassifications
If you haven't filed yet: Use the corrected 1099-B for your return. Don't file with the original if you know a correction is coming.
If you already filed: You'll need to file Form 1040-X (amended return) to correct the information. The IRS typically allows 3 years to amend.
Practical advice: Wait until at least March 15 to file if you have significant investment activity — corrections are common.
Missing transactions, incorrect amounts, or mismatches with your records on Form 1099-B are common. See our guide on Form 1099-B issues and how to resolve them.
How Stock Sale Forms Work Together
These tax forms work together to report stock sales accurately on your tax return.
Form | What It Reports | Where It Goes |
|---|---|---|
Form 1099-B | Stock sales reported by your broker, including sale proceeds and basis reported | Sent to you and the IRS; used as a reference |
Form 8949 | Each individual stock sale and its gain or loss | Totals flow to Schedule D |
Schedule D | Summary of total capital gains and losses for the tax year | Attached to your tax return |

Form 8949 Walk-Through: Column by Column
Form 8949 is divided into two parts: short-term (Part I) and long-term (Part II). Each part has three boxes for different reporting scenarios:
- Box A / D (covered, basis reported): Transactions where the broker reported basis to the IRS
- Box B / E (covered, basis not reported): Transactions reported by the broker but basis missing
- Box C / F (noncovered): Transactions the broker didn't report to the IRS
Column-by-column entries:
Column | What to Enter |
|---|---|
(a) Description of property | Stock symbol + share count (e.g., "100 sh AAPL") |
(b) Date acquired | Purchase date (or "VARIOUS" for multiple lots) |
(c) Date sold | Sale date |
(d) Proceeds | Sale price net of commissions |
(e) Cost or other basis | Your purchase cost plus commissions |
(f) Code(s) | Adjustment codes if any (see below) |
(g) Amount of adjustment | Dollar adjustment if code entered |
(h) Gain or (loss) | (d) − (e) + (g), positive for gain |
Common adjustment codes:
- B — Basis reported to IRS is incorrect (use correct basis in column (e), report difference in column (g))
- W — Wash sale loss disallowed (disallowed loss goes as positive number in column (g))
- D — Sale of inherited property (see our guide on inherited stock taxes for how basis and holding period work)
- T — Basis adjustment for ESPP/RSU shares (common correction for employer stock)
- N — Received nondividend distribution that reduces basis
- L — Loss not deductible (like losses from wash sale, related party)
Enter multiple codes separated by commas if more than one applies.
Form 8949 acts as the detail page for your stock sales. Think of it as the list of receipts behind the totals on your tax return.
How Schedule D Summarizes Your Stock Sales
Schedule D summarizes the totals from Form 8949. This form calculates your net gain or capital loss for the tax year.
Schedule D does the following:
- Combines short-term and long-term sales
- Accounts for capital loss carryover
- Determines total gains and losses reported
Once completed, Schedule D is attached to your tax return and used to calculate your taxable income and overall tax liability.
Short-Term vs Long-Term Stock Sales
How long you held the asset matters.
Short-term gains apply to assets held for one year or less. These gains are taxed at ordinary income tax rates.
Long-term capital gains apply to assets held more than a year. These gains are subject to different tax rates than ordinary income.
The holding period determines how the transaction is categorized on Form 8949 and Schedule D, not when you received the money.
How to Report Stock Sales When You Lost Money
If you sold stock at a loss, you still must report the transaction. Strategies like tax-loss harvesting can help you use losses more effectively to offset gains and reduce your overall tax bill.
Capital losses can offset capital gains. If losses exceed gains, up to $3,000 ($1,500 if married filing separately) can be used to reduce ordinary income, with the remainder carried forward.
Losses reported on Schedule D can help reduce your tax bill even if you owe no taxes this year. Reporting them correctly ensures they are available in future tax years.
Source: IRS Pub. 550, Capital Losses
Special Situations That Can Affect Stock Sale Reporting
Some stock transactions involve additional reporting considerations.
Mutual funds may distribute capital gains even if you did not sell shares. These distributions are still reported as income and are usually reported on Form 1099-DIV.
Other dispositions, such as mergers or corporate actions, may appear on Form 1099-B with special codes.
Filing status affects how capital losses are applied. Married Filing Separately limits the annual capital loss deduction to $1,500 per spouse, compared to $3,000 on a joint return. Single and Head of Household filers also have an annual capital loss deduction limit of $3,000.
Certain transactions, such as a wash sale, can affect how gains and losses are reported. This guide does not cover wash-sale rules in detail, but it is important to understand how they affect reporting.
Source: IRS Schedule D Instructions
What Is a CP2000 Notice?
The IRS runs automated matching between its records (from 1099-B, 1099-DIV, 1099-INT, etc.) and what you report on your return. Mismatches trigger a CP2000 notice.
Common CP2000 triggers for investors:
- Stock sale reported on 1099-B not included on your return
- Cost basis mismatch (broker reported a different number than your return)
- Dividend income mismatch
- Mutual fund capital gain distributions not reported
What to do:
- Review the notice carefully — it will show what the IRS has and what you reported
- If the IRS is correct: agree with the proposed changes, pay any additional tax
- If the IRS is wrong: respond with documentation (your correct Form 8949 entries, brokerage statements, corrected 1099-B, etc.)
- Respond within the deadline (usually 30 days) to avoid automatic assessment
CP2000 does not mean you're being audited. It's an automated matching process. Most are resolved by providing documentation or agreeing to the correction.
If the notice is complex or involves large amounts, consider engaging a CPA or tax attorney.
Common Stock Sale Reporting Mistakes to Avoid
Many IRS notices come from simple errors.
Common mistakes include:
- Forgetting to file Schedule D
- Reporting incorrect sale proceeds
- Using the wrong dates
- Ignoring Form 1099-B details
- Leaving out transactions because no money was made
Every stock sale must be reported, even if taxes are not owed.
When to Get Help From a Certified Public Accountant
If you have multiple brokers, complex stock transactions, or received an IRS notice, working with a certified public accountant can save time and stress.
A CPA can:
- Reconcile the IRS received data
- Fix mismatched basis reported issues
- Ensure tax forms are filed correctly
This is especially helpful if you traded frequently or handled other property sales during the same tax year.
What to Do Next
Feeling unsure about reporting stock sales? FileTax.com makes tax filing simple, clear, and stress-free. Let a tax professional handle your filing for you.
Other Categories
See what some of the hundreds of thousands of satisfied customers have to say about our services:
Levi C.
VERY FAST
I got approved within a couple of days for my tax extension filing through these guys, and they responded to my email the same day. Great customer service and fast results. Give them a shot.
LaMontica
Great Service!!
This is the second year that I have used this service. Each time, the process was quick, easy, and efficient. I will definitely be using this service in the future and will recommend it to friends and family.
Chezbie
Fantastic Site!!
The process was so easy. I processed this extension in a matter of minutes! For you last-minute filers out there, come here. It'll help you end your long day in peace!
Why Trust FileTax.com
• Written and reviewed by qualified tax professionals, including CPAs and tax law reviewers
• Reviewer and contributor profiles include credentials, expertise, and verification information
• Content is reviewed for tax accuracy, compliance, and clarity before publication
• Based on IRS guidance, state tax agencies, and current tax law updates
• Editorial standards and review processes are publicly documented
Links
FAQs About Reporting Stock Sales
Yes. Reported losses can reduce taxable income or generate a capital loss carryover.




