← Back to calculator
Filing & Forms

How to Report Capital Gains on Your Tax Return (Form 8949 & Schedule D)

Knowing you owe capital gains tax is one thing. Getting the numbers onto the right lines of the right forms is another. Every sale of stock, crypto, real estate, or other capital property flows through a two-form system: Form 8949, where you list individual transactions, and Schedule D, where those transactions are summarized, netted, and converted into the number that lands on your Form 1040. Get the sequence right and the process is mechanical. Get it wrong — especially on cost basis — and you either overpay by thousands or receive an IRS notice two years later.

This guide walks through the full reporting chain in filing order, explains what the six Form 8949 box categories actually mean, and covers the four situations that cause the most trouble: missing cost basis, wash sale adjustments, holding period misclassification, and loss carryovers.

Before you start: run your numbers through the free capital gains calculator to get an independent estimate of what you owe. If your software output differs materially from that estimate, something in your basis or holding period entries is probably wrong.

The reporting chain: how the forms connect

Capital gains never go directly on Form 1040. They travel a defined path, and understanding it makes every later step easier:

  1. Form 1099-B — your broker reports each sale to you and to the IRS, usually inside a consolidated 1099 package delivered in February.
  2. Form 8949 — you list each transaction: description, dates, proceeds, basis, and any adjustment.
  3. Schedule D — totals from Form 8949 are carried over, short-term and long-term are netted separately, and carryover losses are applied.
  4. Form 1040, line 7 — the final net capital gain or deductible loss from Schedule D line 16 or 21.
  5. Qualified Dividends and Capital Gain Tax Worksheet (or Schedule D Tax Worksheet) — applies the preferential 0/15/20% rates instead of ordinary rates.
  6. Form 8960 — if your income exceeds $200,000 single or $250,000 joint, the 3.8% net investment income tax is computed here.

Two forms sit outside this chain. Real estate and other business property sales start on Form 4797 before flowing into Schedule D, and installment sales run through Form 6252. Home sales that qualify fully for the Section 121 exclusion often require no reporting at all — see our home sale guide for when reporting is and is not required.

Step 1: Read your 1099-B correctly

The 1099-B is the source document for almost everything on Form 8949, and its most important field is not a dollar amount. It is the checkbox indicating whether cost basis was reported to the IRS. That single flag determines which Form 8949 box category your transaction belongs in, and it exists because of the phased-in "covered security" rules:

Security typeCovered if acquired on or afterBroker reports basis?
Corporate stock (individual equities)January 1, 2011Yes
Mutual funds, ETFs, DRIP sharesJanuary 1, 2012Yes
Most bonds, options, and other debt instrumentsJanuary 1, 2014 – 2016 (phased)Yes
Digital assets at custodial brokersJanuary 1, 2025 (Form 1099-DA)Yes, per-account
Anything acquired before those datesNon-covered

For non-covered securities the broker reports gross proceeds only. The basis field may be blank, may show zero, or may show an unverified figure the broker is not standing behind. You are responsible for the correct number in all three cases. Also check whether proceeds are reported gross or net of commissions; if gross, add commissions and fees to your basis so you are not taxed on money you never received.

Tip: Wait for corrected 1099s before filing. Brokers routinely issue revisions through March, especially when mutual funds reclassify distributions or when securities are transferred between firms mid-year. Filing in mid-February and amending in April is a self-inflicted wound.

Step 2: Complete Form 8949, box category by box category

Form 8949 has two parts. Part I is for short-term transactions (held one year or less) and Part II is for long-term transactions (held more than one year). Within each part you check exactly one of three boxes, and you must use a separate page for each box category you need. Combining categories on one page is one of the most common preparation errors, because the IRS matches each category against a different set of data it already holds.

BoxPartWhen to use itTypical example
AI — Short-term1099-B received, basis was reported to IRSStock bought and sold last year at one broker
BI — Short-term1099-B received, basis not reported to IRSTransferred-in shares with unknown basis
CI — Short-termNo 1099-B receivedPrivate sale, collectible, some crypto
DII — Long-term1099-B received, basis was reported to IRSETF held three years at one broker
EII — Long-term1099-B received, basis not reported to IRSStock bought in 2006, non-covered
FII — Long-termNo 1099-B receivedLand sale, inherited jewelry, peer-to-peer sale

Filling the columns

Each row has eight columns, and every one has a specific rule:

The column (d) rule matters. The IRS machine-matches your reported proceeds against the 1099-B. Never silently overwrite the broker's number — keep column (d) as reported and push your correction through the adjustment columns with the appropriate code. This is what prevents an automated CP2000 notice.

When you can skip Form 8949 entirely

If all your sales fall in Box A or Box D, you have no adjustments of any kind, and the broker's basis is correct, you may enter the aggregate totals directly on Schedule D lines 1a and 8a and omit Form 8949. Any single transaction needing an adjustment must still be listed. Most filers with a straightforward brokerage account and no wash sales qualify for this shortcut.

Step 3: Cost basis reporting rules and lot selection

Basis is where the real money is. Reported basis that is too low means you pay tax on gain that does not exist; too high and you have an understatement the IRS may catch. Start with purchase price plus acquisition costs, then apply the adjustments your situation calls for:

For partial sales, the lot identification method you use changes the reported gain. Brokers default to FIFO for equities and average cost for mutual funds unless you elect otherwise. To use specific identification — typically the highest-basis lots, to minimize gain — you must instruct the broker at or before the time of sale and receive written confirmation. You cannot retroactively pick favorable lots at filing time in April.

Handling missing or zero cost basis

A blank or zero basis on the 1099-B does not mean your basis is zero. Work through these sources in order:

  1. Your own records — trade confirmations, year-end statements, old tax returns, DRIP statements.
  2. The broker's history — even for non-covered lots, many firms retain unverified basis data on request, and transfer statements from the delivering firm often include it.
  3. The transfer agent or issuer — for very old directly-registered shares, especially utility and telecom holdings with long merger histories.
  4. Historical price reconstruction — if you know the approximate acquisition month, use that period's price adjusted for all subsequent splits, spin-offs, and mergers. Document your methodology and keep it with your records.
  5. A conservative estimate — a documented, good-faith reconstruction is defensible. Reporting zero is not required and rarely correct.

Report these sales in Box B or Box E, put your reconstructed figure in column (e), and if you are correcting a wrong number the broker did report, add code B with the offsetting adjustment in column (g).

Costly mistake: accepting a zero basis on a $60,000 sale of shares that actually cost $45,000. You would report a $60,000 gain instead of $15,000 — roughly $6,750 in unnecessary federal tax at the 15% long-term rate, plus state tax. Spend the afternoon reconstructing the basis.

Step 4: Wash sale adjustments

The wash sale rule disallows a loss when you buy a substantially identical security within 30 days before or after the sale. The loss is not gone forever — it is added to the basis of the replacement shares, deferring the deduction until you sell those.

To report one: keep proceeds and basis as reported, enter code W in column (f), and enter the disallowed loss as a positive number in column (g). If you sold at a $4,000 loss and $2,500 is disallowed, column (g) shows 2500 and column (h) shows (1500).

Brokers flag wash sales within a single account automatically. They do not track them across:

Because the broker's totals may be incomplete, the wash sale adjustments on your 1099-B are a starting point rather than a final answer. Our short-term gains guide covers which ETF swaps are safe and which are not.

Step 5: Get short-term vs long-term classification right on the forms

Classification drives the tax rate, so it drives which part of Form 8949 a transaction goes in. Held one year or less is short-term, taxed at ordinary rates up to 37%. Held more than one year — at least one year and one day — is long-term, taxed at 0%, 15%, or 20%. The long-term rate brackets are the reason this distinction is worth thousands of dollars.

SituationClassification on Form 8949
Bought March 15, 2025; sold March 15, 2026Short-term — one day early
Bought March 15, 2025; sold March 16, 2026Long-term
Inherited property, sold one month laterLong-term automatically
Gifted shares, donor held 10 months, you held 4Long-term — periods tack together
Mutual fund capital gain distributionLong-term — Schedule D line 13, no Form 8949
Stock from an exercised optionClock restarts on the exercise date

If the 1099-B shows the wrong holding period — which happens after account transfers, corporate actions, or inheritances — report the transaction in the correct part of Form 8949 and enter code T in column (f). Because the code alone signals the correction, column (g) is often blank for a pure holding-period fix.

Step 6: Carry totals to Schedule D

Schedule D is where individual transactions become one number. Part I nets short-term activity, Part II nets long-term activity, and Part III combines them.

Schedule D lineWhat goes there
1aBox A totals with no adjustments (the Form 8949 shortcut)
1b / 2 / 3Form 8949 Part I totals for Box A / B / C
4 & 5Short-term amounts from Forms 6252, 4797, 8824, and K-1s
6Short-term capital loss carryover — enter as a negative
7Net short-term gain or loss
8aBox D totals with no adjustments (the shortcut)
8b / 9 / 10Form 8949 Part II totals for Box D / E / F
11 & 12Long-term amounts from Forms 4797, 6252, 8824, and K-1s
13Capital gain distributions from 1099-DIV box 2a
14Long-term capital loss carryover — enter as a negative
15Net long-term gain or loss
16Combined net gain or loss → Form 1040 line 7
18 & 1928% collectibles gain; unrecaptured Section 1250 gain
21Loss limitation: the lesser of the loss or $3,000 ($1,500 MFS)

Netting follows a fixed order: short-term losses first offset short-term gains, long-term losses offset long-term gains, and any leftover in one category crosses over to the other. Only after all of that netting can a residual loss reduce ordinary income.

Step 7: Capital loss carryovers

If your net capital loss exceeds $3,000, the excess carries forward — indefinitely, with no expiration during your lifetime — and keeps its short-term or long-term character. Compute the amount using the Capital Loss Carryover Worksheet in the Schedule D instructions, which reconciles last year's Schedule D against last year's Form 1040 taxable income.

Example: you had a $23,000 net long-term loss last year. You deducted $3,000 against ordinary income, leaving $20,000 to carry forward on line 14 this year. If you realize $12,000 of gains this year, the carryover wipes them out entirely, you deduct another $3,000 against ordinary income, and $5,000 carries to next year.

Two carryover traps. First, the $3,000 deduction is mandatory in every year you are eligible — you cannot bank it for a higher-income year, and skipping it does not preserve it. Second, carryovers are the single most commonly lost tax attribute when people switch preparers or software; they simply never get entered. Keep a running schedule of your remaining short-term and long-term carryover balances with your permanent tax records. Unused carryovers also die with the taxpayer and cannot pass to heirs.

Common filing mistakes to avoid

Deadlines, records, and amended returns

Brokers must furnish consolidated 1099s by mid-February, and the individual filing deadline is April 15, 2027 for the 2026 tax year (October 15 with an extension — an extension to file, not to pay). If you discover an error later, file Form 1040-X; you generally have three years from the original due date to claim a refund, which is exactly why a discovered basis error from a prior year is often still worth fixing.

Keep acquisition records for as long as you hold the asset plus at least three years after you report the sale — seven is safer, and indefinitely for inherited or gifted property whose basis depends on events you did not control. Store trade confirmations, DRIP statements, improvement receipts for real property, appraisals and date-of-death valuations, and your own carryover schedule.

Estimate first, then file. Use the CapitalCalc capital gains calculator to model your federal and state liability before you finalize the return, and see strategies to legally reduce your tax for planning moves that still work in the current year. State treatment varies widely — check your state capital gains rate since most states tax gains as ordinary income.

Frequently asked questions

Do I need Form 8949 if my broker reported everything?

Not necessarily. If every sale is Box A or Box D, the basis is correct, and there are no adjustments, you can enter totals on Schedule D lines 1a and 8a and skip Form 8949. Any transaction with an adjustment, non-covered basis, or a wash sale correction must be itemized on Form 8949.

What if I never received a 1099-B for a sale?

You still must report it. Use Box C for short-term or Box F for long-term. This covers private-party sales, some collectibles, certain non-custodial crypto disposals, and sales through platforms below reporting thresholds. Not receiving a form does not remove the obligation.

Can I report my transactions as a summary instead of line by line?

Yes, with conditions. You may enter summary totals per box category and attach a statement with the transaction detail — most software does this automatically and marks the entries with code M. The attached detail must still be complete, and wash sale and other adjusted transactions generally need individual treatment.

How do I report a sale where I only know the approximate purchase date?

Enter your best-supported date, or VARIOUS if the position was accumulated over time, and make sure the holding period classification is defensible. If the acquisition clearly predates the prior year, long-term treatment is not in doubt even when the exact day is uncertain. Document how you determined the date.

Does a loss carryover expire if I don't use it?

No. It carries forward indefinitely during your lifetime and retains its short-term or long-term character. But the $3,000 annual deduction against ordinary income is mandatory when you are eligible, and unused carryovers do not transfer to your heirs at death.

CC
CapitalCalc Editorial Team

Our editorial team combines expertise in tax law, financial planning, and software engineering. All content is fact-checked against primary IRS sources (Revenue Procedures, Publications, and Instructions) and reviewed by professionals with backgrounds in public accounting and fintech. We update our guides annually to reflect the latest tax code changes.

About Us → Editorial Policy →