$Missed Deductions

How do I report stock sales on my tax return?

Retirement & Investingintermediate3 answers · 6 min readUpdated February 28, 2026

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

RK

Robert Kim, Tax Return Analyst

Best for taxpayers who sold stocks and need to understand the complete reporting process

Top Answer

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

  • Form 1099-B from each broker (shows sale proceeds)
  • Purchase records or cost basis information
  • Any adjustment statements from your broker

  • Step 2: Complete Form 8949

    List each stock sale separately with:

  • Stock name and number of shares
  • Date acquired and date sold
  • Sale proceeds (from 1099-B)
  • Cost basis (what you paid, including fees)
  • Gain or loss (proceeds minus cost basis)

  • 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):

  • Apple stock: Sold for $5,000, bought for $3,000 = $2,000 gain

  • Short-term sale (held 8 months):

  • Tesla stock: Sold for $8,000, bought for $7,000 = $1,000 gain


  • Capital gains tax rates for 2026


    Long-term capital gains (held over 1 year):

  • 0% if taxable income under $48,350 (single) or $96,700 (married filing jointly)
  • 15% if income between those amounts and $533,400 (single) or $600,050 (married)
  • 20% if income above those thresholds

  • Short-term capital gains (held 1 year or less):

  • Taxed as ordinary income at your regular tax bracket (10% to 37%)

  • Key factors that affect your tax bill


  • Holding period: Long-term rates (15% for most) are much lower than short-term rates (up to 37%)
  • Cost basis accuracy: Many people underreport their basis, overpaying taxes by hundreds or thousands
  • Wash sale rules: If you buy the same stock within 30 days of selling at a loss, you can't deduct the loss
  • Net investment income tax: High earners pay an additional 3.8% on investment income

  • 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 PeriodTax RateIncome Threshold (Single)Income Threshold (Married Filing Jointly)
    Short-term (≤1 year)10%-37% (ordinary rates)Same as income bracketsSame as income brackets
    Long-term (>1 year)0%Up to $48,350Up to $96,700
    Long-term (>1 year)15%$48,351 - $533,400$96,701 - $600,050
    Long-term (>1 year)20%Over $533,400Over $600,050

    More Perspectives

    RK

    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:

  • Form 8949: Lists each stock sale individually
  • Schedule D: Summarizes your total gains/losses

  • 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:

  • Description: "10 shares XYZ Index Fund"
  • Date acquired: 01/15/2025
  • Date sold: 03/10/2026
  • Proceeds: $1,200
  • Cost basis: $1,000
  • Gain: $200

  • 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:

  • Date bought
  • Number of shares
  • Total cost (including fees)
  • Any dividend reinvestments (these increase your basis)

  • 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.

    RK

    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:

  • Sales in regular brokerage accounts
  • Sales in taxable investment accounts
  • Any stocks held outside retirement plans

  • What you DON'T report:

  • Stock sales inside your 401(k)
  • Mutual fund sales within your IRA
  • Any trading within HSAs, 403(b)s, or other retirement accounts

  • 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:


  • Sold stock in 401(k): No reporting needed (tax-sheltered)
  • Sold $15,000 of index funds in taxable account: Must report on Form 8949
  • Had $2,000 long-term gain: Pays 15% tax = $300

  • 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

    stock salescapital gainsform 8949schedule dinvestment taxes

    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.