Quick Answer
Stock sales are reported on Form 8949 and Schedule D. You'll owe capital gains tax on profits: 0%, 15%, or 20% for long-term gains (held over 1 year), or your ordinary income rate up to 37% for short-term gains. Most taxpayers pay 15% on long-term gains.
Best Answer
Robert Kim, Tax Return Analyst
Best for taxpayers who sold stocks and need to understand the complete reporting process
How to report stock sales on your tax return
Stock sales must be reported on Form 8949 (Sales and Other Dispositions of Capital Assets) and Schedule D (Capital Gains and Losses). Form 8949 lists each individual transaction, while Schedule D summarizes your total gains and losses.
The IRS requires you to report every stock sale, even if you lost money. Your broker sends you Form 1099-B showing your sales, but you're responsible for calculating the actual gain or loss.
Step-by-step reporting process
Step 1: Gather your documents
Step 2: Complete Form 8949
List each stock sale separately with:
Step 3: Transfer totals to Schedule D
Schedule D separates short-term (held ≤1 year) and long-term (held >1 year) transactions, then calculates your net capital gain or loss.
Example: Calculating capital gains tax
Let's say you sold these stocks in 2026:
Long-term sale (held 18 months):
Short-term sale (held 8 months):
Capital gains tax rates for 2026
Long-term capital gains (held over 1 year):
Short-term capital gains (held 1 year or less):
Key factors that affect your tax bill
What you should do
1. Review your 1099-B forms carefully — brokers sometimes report incorrect cost basis
2. Keep detailed records of all stock purchases, including reinvested dividends
3. Consider tax-loss harvesting before year-end to offset gains with losses
4. Use our return scanner to ensure you're reporting all sales correctly and not missing deductions
[Use Return Scanner →]
Key takeaway: Stock sales are reported on Form 8949 and Schedule D. Long-term gains (held over 1 year) are taxed at favorable rates of 0%, 15%, or 20%, while short-term gains face ordinary income rates up to 37%.
*Sources: [IRS Publication 550](https://www.irs.gov/pub/irs-pdf/p550.pdf), [Form 8949 Instructions](https://www.irs.gov/pub/irs-pdf/i8949.pdf)*
Key Takeaway: Stock sales are reported on Form 8949 and Schedule D, with long-term gains taxed at favorable rates of 0-20% versus ordinary income rates up to 37% for short-term gains.
Capital gains tax rates comparison for 2026 tax year
| Holding Period | Tax Rate | Income Threshold (Single) | Income Threshold (Married Filing Jointly) |
|---|---|---|---|
| Short-term (≤1 year) | 10%-37% (ordinary rates) | Same as income brackets | Same as income brackets |
| Long-term (>1 year) | 0% | Up to $48,350 | Up to $96,700 |
| Long-term (>1 year) | 15% | $48,351 - $533,400 | $96,701 - $600,050 |
| Long-term (>1 year) | 20% | Over $533,400 | Over $600,050 |
More Perspectives
Robert Kim, Tax Return Analyst
Best for new investors who made their first stock sales and are overwhelmed by the tax reporting process
Don't panic — stock tax reporting is simpler than it looks
If you're new to investing and just sold your first stocks, the tax reporting might seem intimidating. But once you understand the basics, it's straightforward.
The two forms you need:
Your broker will send you Form 1099-B showing what you sold, but YOU have to calculate whether you made or lost money.
Simple example for first-time filers
Say you bought 10 shares of an index fund for $1,000 in January 2025 and sold them for $1,200 in March 2026. Here's how to report it:
On Form 8949:
Tax impact: Since you held for over a year, this $200 is a long-term gain. If your total income is under $48,350 (single), you'll pay 0% tax on this gain. If you're in a higher bracket, you'll likely pay 15%.
Common beginner mistakes to avoid
1. Forgetting to report losses — You must report ALL sales, even losers
2. Wrong cost basis — Don't just use what the 1099-B says; calculate your actual purchase price plus fees
3. Missing the wash sale rule — Can't deduct a loss if you bought the same stock within 30 days
Make it easier with good record-keeping
Start tracking this info for every purchase:
Most brokers now provide cost basis, but double-check their math.
Key takeaway: Your first stock sale isn't as scary as it seems — just list each transaction on Form 8949, calculate gain/loss, and transfer totals to Schedule D. Keep good records from day one.
Key Takeaway: First-time stock sellers should focus on accurate record-keeping and understanding that long-term gains (held over 1 year) get much better tax treatment than short-term gains.
Robert Kim, Tax Return Analyst
Best for investors who are buying and selling within retirement accounts or managing taxable investment accounts alongside 401(k)s
Stock sales in taxable vs. retirement accounts
If you're saving for retirement, you're likely investing in both taxable brokerage accounts and tax-advantaged retirement accounts. Crucially, you only report stock sales from taxable accounts — sales inside 401(k)s, IRAs, and other retirement accounts are not reportable income.
What you DO report:
What you DON'T report:
Strategic considerations for retirement savers
Tax-loss harvesting opportunity: If you have both gains and losses in your taxable account, you can sell losers to offset winners. This reduces your current tax bill while keeping your retirement accounts growing tax-deferred.
Asset location strategy: Keep tax-inefficient investments (like REITs or actively managed funds) in retirement accounts, and hold tax-efficient index funds in taxable accounts to minimize annual tax drag.
Example: Retirement saver's tax situation
Maria, age 45, contributes $23,500 to her 401(k) and also invests $10,000/year in a taxable account. In 2026, she:
Tax-smart move: She also sold some losing positions for a $1,000 loss, reducing her taxable gain to $1,000 and her tax bill to $150.
Coordination with retirement planning
Consider timing stock sales around your retirement contributions. If a large stock sale pushes you into a higher tax bracket, you might want to increase your 401(k) contribution to bring your taxable income back down.
For 2026, you can contribute up to $23,500 to a 401(k) (plus $7,500 catch-up if 50+), which directly reduces your taxable income and the tax rate on your stock gains.
Key takeaway: Only report stock sales from taxable accounts — retirement account transactions aren't taxable. Use tax-loss harvesting and strategic asset location to minimize taxes while building long-term wealth.
Key Takeaway: Retirement savers only report stock sales from taxable accounts, not retirement accounts, and should use tax-loss harvesting to offset gains while maximizing tax-advantaged contributions.
Sources
- IRS Publication 550 — Investment Income and Expenses
- Form 8949 Instructions — Sales and Other Dispositions of Capital Assets
Reviewed by Robert Kim, Tax Return Analyst on February 28, 2026
This content is for educational purposes only and is not a substitute for professional tax advice. Consult a qualified tax professional for advice specific to your situation.