US investors · 2026 tax year, filed in 2027

How to report stocks on your taxes: 1099-B, Form 8949 and Schedule D

You report the stocks you sold, not the ones you hold. Every sale on your broker's Form 1099-B ends up on Schedule D: straight onto line 1a or 8a when the broker reported your cost and nothing needs fixing, or through Form 8949 when something does, like a wash sale, a missing cost or a sale with no 1099-B. Dividends from your 1099-DIV go on Form 1040 lines 3a and 3b, even the ones you reinvested. There's no minimum: a $40 sale is reported like a $40,000 one.

Here it is on a real year: in 2026 you sell 40 Apple shares bought in 2021, 50 Nvidia shares bought in February, and 20 Tesla shares at a loss that you buy back 29 days later.

One investor's 2026, from the 1099s Real closing prices · single filer, $90,000 in wages
Apple, held 5 years
+$7,076.00long term · Schedule D line 8a

40 shares bought at $129.41 on 4 January 2021, sold at $306.31 on 1 June 2026.

Nvidia, held 4 months
+$1,937.50short term · Schedule D line 1a

50 shares bought at $185.61 on 2 February, sold at $224.36 on 1 June.

Tesla, sold at a loss
$0.00−$1,994.60 washed · Form 8949, code W

Sold on 3 August, bought back on 1 September. The loss moves into the new shares.

Federal tax on it all
$1,534.2422% and 15% on line 16, plus SCHD dividends

Line 16 is $9,013.50; SCHD dividends $310.60 at 15%.

From your 1099 to your tax return

Your broker sends one consolidated 1099 with a 1099-B for sales and a 1099-DIV for dividends. Each line on it takes one of these routes.

What the broker sends

Form 1099-B

One line per sale.

  • Box 1dproceeds
  • Box 1ecost basis
  • Box 1gwash sale loss disallowed
  • Box 2short or long term
  • Box 12basis reported to IRS

Form 1099-DIV

The year's dividends and fund payouts.

  • Box 1aordinary dividends
  • Box 1bqualified part
  • Box 2acapital gain distributions
The route each line takes
Cost reported, nothing to fix

Box 12 checked, box 1g empty, and the 1099-B figures are right.

Totals straight to Schedule D line 1a or 8a
Something to fix or add

A wash sale, a wrong or missing cost, a fee or premium left out, or a sale with no 1099-B.

One row each on Form 8949, boxes A to F
Dividends and fund distributions

Ordinary and qualified dividends, then any capital gain distributions from funds.

Form 1040 lines 3a and 3b · Schedule D line 13
Where it lands

Schedule D

  • Line 7net short term
  • Line 15net long term
  • Line 16total gain or loss

Form 1040

  • Line 3aqualified dividends
  • Line 3bordinary dividends
  • Line 7acapital gain or loss

Form 8949 has six boxes for stock: A, B and C for short-term sales, D, E and F for long term. A and D are sales whose cost the broker reported to the IRS, B and E are sales where it didn't, and C and F are sales with no 1099-B at all. Crypto reported on the new Form 1099-DA has its own boxes, G to L. Ordinary dividends over $1,500 also need Schedule B.

Do you pay taxes on stocks?

Only when something happens: a sale, or a payment to you. Owning shares that went up is not a taxable event.

You report it

  • Selling shares, at a gain or a lossEvery sale, however small. Held a year or less is short term and taxed like wages; more than a year is long term at 0%, 15% or 20%.
  • Dividends, cash or reinvestedA reinvested dividend is taxed the year it's paid, and it adds to the cost of the shares it bought.
  • Fund capital gain distributionsMutual funds and some ETFs pay out gains they realized. They're long term, however long you held the fund.
  • Sales with no 1099-BA sale at a foreign broker that sends no 1099-B, or a private sale, still goes on Form 8949, in box C or F, in dollars.

Nothing to report

  • Buying sharesYour cost only matters later, when you sell.
  • Holding through a gainUnrealized gains aren't taxed, however large.
  • Moving shares between your brokersA transfer in kind is not a sale. Check the new broker carried the original cost and date.
  • Stock splitsYou get more shares at a lower cost each; the total cost stays the same.
  • Trades inside an IRA or 401(k)No 1099-B and no Schedule D. Tax comes with withdrawals, and qualified Roth withdrawals are tax free.

A 2026 year, line by line

The three sales from the top of the page in Form 8949's columns, at the real closing price on each date, and where each one goes.

Three 2026 sales in Form 8949 columns, and where each one is reported
Sale (a) description Bought (b) Sold (c) Proceeds (d) Cost (e) Code and adjustment (f) and (g) Gain or loss (h) Goes on
40 sh Apple$129.41 → $306.31 01/04/202106/01/2026$12,252.40$5,176.40none +$7,076.00 Long line 8a
50 sh Nvidia$185.61 → $224.36 02/02/202606/01/2026$11,218.00$9,280.50none +$1,937.50 Short line 1a
20 sh Tesla$421.81 → $322.08 02/02/202608/03/2026$6,441.60$8,436.20W +$1,994.60 $0.00−$1,994.60 before W Short 8949 box A

Schedule D

Apple and Nvidia need no Form 8949: the broker reported their cost and nothing changes. Tesla has an amount in box 1g, so it takes a Form 8949 row.

Line 1a
Nvidia, straight from the 1099-B
$1,937.50
Line 1b
Form 8949 box A: Tesla after the wash sale
$0.00
Line 7
Net short-term gain
$1,937.50
Line 8a
Apple, straight from the 1099-B
$7,076.00
Line 15
Net long-term gain
$7,076.00
Line 16
Total, to Form 1040 line 7a
$9,013.50

What it costs, 2026 federal rates

Single filer with $90,000 in wages, so $73,900 taxable before the investments. SCHD paid $310.60 through September on 400 shares held since 2024, counted here as qualified.

Nvidia, short term at 22% $426.25$1,937.50 taxed like wages
Apple, long term at 15% $1,061.40$7,076.00 at the 15% rate
SCHD dividends at 15% $46.59$310.60 on Form 1040 lines 3a and 3b
Federal tax from the investments$1,534.24

What the Tesla wash sale did

Buying the same stock within 30 days before or after a loss sale blocks the loss for now. Tesla was sold on 3 August and bought back on 1 September, day 29.

Bought back on day 29

The loss waits in the new shares

$1,534.24federal tax for 2026

The $1,994.60 loss is added to the cost of the 20 shares bought back, and the 182 days you held the old shares count toward the new ones.

$7,121.80 paid + $1,994.60 washed loss = $9,116.40 new cost
Bought back on day 31 or later

The loss counts in 2026

$1,099.43federal tax for 2026

The loss cancels Nvidia's gain and the last $57.10 comes off Apple's. Line 7 is −$57.10, line 16 $7,018.90, and federal tax $434.81 lower this year.

($7,018.90 + $310.60) × 15% = $1,099.43
Deferred, not lost

You get it back when you sell

The higher cost shrinks the gain or grows the loss on the replacement shares. Sell them in 2027 and the $1,994.60 counts then.

Brokers see one account

Your other accounts count too

A buy in another broker, your IRA or your spouse's account can wash a loss, and the 1099-B often leaves it out. Add any it missed with code W. A buy in an IRA loses the deduction for good.

The 1099-B boxes and where they go

A consolidated 1099 can run to dozens of pages. These are the boxes that decide your return.

BoxWhat it holdsWhat you do with it
1099-B box 1d and 1eProceeds and cost basis of each saleColumn (d) and (e) of Form 8949, or the line 1a and 8a totals
1099-B box 1gWash sale loss disallowedForm 8949 with code W, the amount in column (g)
1099-B box 2Short term or long termPart I or Part II of Form 8949, lines 1 to 3 or 8 to 10 of Schedule D
1099-B box 12Basis reported to the IRSChecked: box A or D. Not checked: box B or E, and you supply the cost
1099-DIV box 1a and 1bOrdinary dividends, and the qualified partForm 1040 line 3b and 3a; Schedule B when 1a tops $1,500
1099-DIV box 2aCapital gain distributions from fundsSchedule D line 13, as long-term gain

Box numbers from the 2025 forms; the IRS keeps them stable year to year. Cost basis rules and lot methods are in the cost basis guide; how options land on these forms is in how options are taxed.

Mistakes that change the number

Most errors come from a 1099-B that's right about the sale and wrong about the cost. These are the ones to check before you file.

  1. Shares from an RSU or ESPP

    The 1099-B often shows a cost of zero or only what you paid, because the rest was taxed as wages on your W-2. Leave it and you pay tax twice on the same income.

    Fix: Form 8949 code B, so the wage income counts as cost.
  2. Old or transferred shares with no cost

    Shares bought before 2011, or moved from another broker without their history, come with box 12 unchecked and often no cost at all.

    Fix: box B or E, and your own cost from the original broker's records.
  3. Wash sales across accounts

    Brokers only have to match buys and sales inside the same account. A loss sold at one broker and bought back at another is a wash sale your 1099-B usually won't show.

    Fix: add code W yourself and carry the loss into the new shares.
  4. Reinvested dividends left out of the cost

    Each reinvested dividend was taxed when it was paid and bought more shares. If your records miss those buys, the gain on the sale comes out too high.

    Fix: keep every reinvestment as a purchase with its own cost.
  5. Filing before the corrected 1099

    Fund reclassifications often land after the first statement, and brokers send corrected 1099s into March. File on the first version and a correction that changes your numbers means an amended return.

    Fix: wait for the final version if your broker says one is coming.
  6. Short and long term mixed up

    Long term means held more than a year: shares bought on 4 January 2021 are long term from 5 January 2022. Gifted and inherited shares follow their own rules.

    Fix: check box 2 against your own purchase dates.

When the year ends in a loss

You still report every sale, and the losses lower the tax on your gains, then on your wages.

Netting

Short and long are netted, then together

Short-term losses come off short-term gains first and long-term off long-term, then the two totals offset each other. That's what happened to Apple's gain in the day 31 version above.

Against your wages

Up to $3,000 a year

A net loss on Schedule D line 16 takes up to $3,000 off your other income, or $1,500 if you're married filing separately.

Net loss $8,000: $3,000 this year, $5,000 carried to 2027
Carryover

The rest carries forward

What's left goes to next year's Schedule D, lines 6 and 14, and keeps its short or long character until it's used. It doesn't expire during your lifetime.

Dates for the 2026 tax year

Trades settle into the year by their trade date, so a sale on 31 December 2026 counts in 2026.

  1. Last estimated payment

    Large gains with nothing withheld can mean quarterly estimated tax, and the fourth payment for 2026 is due now.

  2. Consolidated 1099s arrive

    Brokers send the 1099-B with the 1099-DIV and 1099-INT in one statement, usually by the middle of February.

  3. Corrected 1099s

    Fund reclassifications and late cost data bring corrected statements. Your broker's site shows the latest version.

  4. File and pay

    The return and any tax due. An extension moves the return to 15 October 2027, but not the payment.

If you file outside the US

Every country has its own form for share sales, and most of them want a cost worked out across all your brokers, not the one each broker sends you.

CountryWhere it goes on the returnHow cost is worked outReport
UKUnited KingdomSA108 capital gains summarySame day, then 30 days, then the Section 104 poolUK report
CACanadaSchedule 3Adjusted cost base pooled across all non-registered accountsCanada report
AUAustraliaItem 18 for gains, items 11 and 20 for dividendsParcels, losses before the CGT discountAustralia report
IEIrelandForm 11, or CG1 if you're not self-assessed; funds on Form 11Shares and funds under separate regimesIreland report
DEGermanyAnlage KAP and KAP-INVFIFO, with the advance lump sum on fundsGermany report
ESSpainModelo 100, listed shares sectionFIFO, with the repurchase ruleSpain report
FRFranceForm 2074, then 2042 CWeighted average purchase priceFrance report
ITItalyRT section, or Quadro T on the 730Last in, first out for the shares you declare yourselfItaly report

US citizens abroad still file Form 8949 and Schedule D, in dollars, at the exchange rate of each trade date. Sales at a foreign broker that sends no 1099-B go in box C or F.

Your 1099-B, checked before you file

One ledger for every broker you use, synced or imported from a file, with the tax forms built from all of it at once.

US filing pack

Form 8949 rows, Schedule D totals and a check against each 1099-B

The pack sorts every sale into its Form 8949 box with all eight columns, adds the box totals, and fills Schedule D lines 7, 15 and 16. Then it reconciles each broker's 1099-B proceeds and cost to its own figures, in one sentence per broker, and says what made them differ.

  • Wash sales matched across all your accounts, IRAs included
  • Short and long term from your own purchase dates
  • Specific shares, FIFO or average cost for funds, sale by sale
  • PDF, Excel and CSV for you or your preparer

The tax report with realized gains, dividends and an estimate of the tax is on the free plan for up to 10 holdings. The filing packs are on paid plans, with a 14-day free trial and no card.

AllInvestView AllInvestView US filing pack with Form 8949 box A and box D rows, the box totals, Schedule D lines 7, 15 and 16 and a 1099-B reconciliation line for each broker AllInvestView US filing pack with Form 8949 box A and box D rows, the box totals, Schedule D lines 7, 15 and 16 and a 1099-B reconciliation line for each broker
Box D totalling 17,564.50 USD, Schedule D line 7 at 698.00 USD and line 16 at 18,262.50 USD. Fixture filer, invented figures.Full sizeFull size
Every broker in one place

Every sale and dividend ready for tax time

Stocks, ETFs, funds, options, bonds and dividends on one dashboard, synced from your brokers or imported from a file, with realized gains split short and long term.

Wash sales across brokers Form 8949 and Schedule D Free tax report

Questions about reporting stocks on your taxes

Do I have to report stocks on my taxes if I didn't sell?

No. Buying and holding shares isn't reported, however much they gained. You report sales, and you report dividends every year, including the ones you reinvested.

Is there a minimum amount of stock sales I have to report?

No. Every sale goes on your return, even a $40 one, and your broker sends the IRS a copy of the same 1099-B. Small sales your broker reported with their cost can go in the Schedule D line 1a or 8a total without their own line.

Do I need Form 8949 if my 1099-B is correct?

Not for sales whose cost the broker reported to the IRS (box 12 checked) with nothing in box 1f or 1g and no adjustment to make. Their totals go straight onto Schedule D line 1a for short term or 8a for long term. Everything else takes a Form 8949 row.

How do I report reinvested dividends?

Like cash dividends: the 1099-DIV includes them in box 1a, and they go on Form 1040 line 3b, with the qualified part on line 3a. Each reinvestment also bought shares, so add it to your cost; otherwise the gain on a later sale comes out too high.

What if I lost money on stocks?

Report the sales anyway. Losses offset gains, and a net loss takes up to $3,000 a year off your other income, or $1,500 if you're married filing separately. The rest carries forward to later years.

What if I didn't get a 1099-B?

The sale still goes on Form 8949, in box C for short term or box F for long term, with the proceeds and cost from your own records. Sales at a foreign broker that sends no 1099-B are reported this way, converted to dollars.

How do I report shares from an RSU or ESPP?

Check the cost on the 1099-B. It often leaves out the amount already taxed as wages on your W-2. Report the sale on Form 8949 with code B, so the amount already taxed as wages counts as cost and isn't taxed twice.

When do brokers send the 1099-B?

Most send a consolidated 1099 with the 1099-B, 1099-DIV and 1099-INT by mid-February, and corrected versions can follow into March. For the 2026 tax year the return is due on 15 April 2027.

Sources

Checked on 26 October 2026. Last updated 26 October 2026.

Commissions are left out. The tax figures use 2026 federal rates on top of $90,000 in wages for a single filer with the $16,100 standard deduction; state tax is not included.

This guide explains the federal rules in general terms. It isn't tax advice for your situation.