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.
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:
- Form 1099-B — your broker reports each sale to you and to the IRS, usually inside a consolidated 1099 package delivered in February.
- Form 8949 — you list each transaction: description, dates, proceeds, basis, and any adjustment.
- Schedule D — totals from Form 8949 are carried over, short-term and long-term are netted separately, and carryover losses are applied.
- Form 1040, line 7 — the final net capital gain or deductible loss from Schedule D line 16 or 21.
- Qualified Dividends and Capital Gain Tax Worksheet (or Schedule D Tax Worksheet) — applies the preferential 0/15/20% rates instead of ordinary rates.
- 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 type | Covered if acquired on or after | Broker reports basis? |
|---|---|---|
| Corporate stock (individual equities) | January 1, 2011 | Yes |
| Mutual funds, ETFs, DRIP shares | January 1, 2012 | Yes |
| Most bonds, options, and other debt instruments | January 1, 2014 – 2016 (phased) | Yes |
| Digital assets at custodial brokers | January 1, 2025 (Form 1099-DA) | Yes, per-account |
| Anything acquired before those dates | — | Non-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.
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.
| Box | Part | When to use it | Typical example |
|---|---|---|---|
| A | I — Short-term | 1099-B received, basis was reported to IRS | Stock bought and sold last year at one broker |
| B | I — Short-term | 1099-B received, basis not reported to IRS | Transferred-in shares with unknown basis |
| C | I — Short-term | No 1099-B received | Private sale, collectible, some crypto |
| D | II — Long-term | 1099-B received, basis was reported to IRS | ETF held three years at one broker |
| E | II — Long-term | 1099-B received, basis not reported to IRS | Stock bought in 2006, non-covered |
| F | II — Long-term | No 1099-B received | Land sale, inherited jewelry, peer-to-peer sale |
Filling the columns
Each row has eight columns, and every one has a specific rule:
- (a) Description of property — quantity and security, e.g.
100 sh. XYZ Inc.or0.75 BTC. Match the broker's description where possible. - (b) Date acquired — the trade date, not settlement. Enter
VARIOUSfor aggregated lots, orINHERITEDfor inherited property. - (c) Date sold or disposed of — again the trade date.
- (d) Proceeds — must tie to the 1099-B figure. If your correct number differs, do not change column (d); adjust in (f) and (g) instead.
- (e) Cost or other basis — purchase price plus commissions, plus reinvested dividends, plus improvements for real property, minus any depreciation or return-of-capital distributions.
- (f) Code(s) — the adjustment code(s).
Wfor wash sale,Bfor incorrect basis on the 1099-B,Tfor incorrect holding period,Efor selling expenses not reflected in proceeds,Nfor a nominee,Hfor a home sale exclusion,Mfor summarized multiple transactions,Ofor other. - (g) Amount of adjustment — positive increases gain, negative decreases it. A disallowed wash sale loss is a positive number here.
- (h) Gain or (loss) — column (d) minus column (e), plus or minus column (g).
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:
- Reinvested dividends and capital gain distributions each buy new shares with their own basis. Decades of reinvestment in a fund can double the basis of a position — forgetting this is the single most expensive basis error individual filers make.
- Stock splits do not change total basis; they spread it across more shares. A 2-for-1 split halves per-share basis.
- Return-of-capital distributions reduce basis and are not taxed when received.
- Inherited property gets a stepped-up basis equal to fair market value on the date of death, and the sale is automatically long-term. See our inherited property guide.
- Gifted property carries over the donor's basis and holding period, with a special dual-basis rule if the asset was worth less than the donor's basis at the time of the gift.
- Real property adds capital improvements and subtracts depreciation claimed, which is recaptured at up to 25% under Section 1250. Our real estate guide covers this in depth.
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:
- Your own records — trade confirmations, year-end statements, old tax returns, DRIP statements.
- 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.
- The transfer agent or issuer — for very old directly-registered shares, especially utility and telecom holdings with long merger histories.
- 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.
- 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).
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:
- Two or more brokerage firms holding the same security
- Your taxable account and your spouse's account — the rule applies at the household level
- A taxable account and an IRA or 401(k). This is the worst case: the loss is disallowed and there is no taxable basis to add it to, so the deduction is permanently lost.
- Substantially identical positions in different forms, such as stock and options on that stock
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.
| Situation | Classification on Form 8949 |
|---|---|
| Bought March 15, 2025; sold March 15, 2026 | Short-term — one day early |
| Bought March 15, 2025; sold March 16, 2026 | Long-term |
| Inherited property, sold one month later | Long-term automatically |
| Gifted shares, donor held 10 months, you held 4 | Long-term — periods tack together |
| Mutual fund capital gain distribution | Long-term — Schedule D line 13, no Form 8949 |
| Stock from an exercised option | Clock 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 line | What goes there |
|---|---|
| 1a | Box A totals with no adjustments (the Form 8949 shortcut) |
| 1b / 2 / 3 | Form 8949 Part I totals for Box A / B / C |
| 4 & 5 | Short-term amounts from Forms 6252, 4797, 8824, and K-1s |
| 6 | Short-term capital loss carryover — enter as a negative |
| 7 | Net short-term gain or loss |
| 8a | Box D totals with no adjustments (the shortcut) |
| 8b / 9 / 10 | Form 8949 Part II totals for Box D / E / F |
| 11 & 12 | Long-term amounts from Forms 4797, 6252, 8824, and K-1s |
| 13 | Capital gain distributions from 1099-DIV box 2a |
| 14 | Long-term capital loss carryover — enter as a negative |
| 15 | Net long-term gain or loss |
| 16 | Combined net gain or loss → Form 1040 line 7 |
| 18 & 19 | 28% collectibles gain; unrecaptured Section 1250 gain |
| 21 | Loss 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.
Common filing mistakes to avoid
- Reporting zero basis because the 1099-B field was blank. This overstates gain, sometimes by the entire sale price.
- Ignoring reinvested dividends. Every reinvestment is a purchase that raises basis.
- Overwriting the broker's proceeds figure instead of using columns (f) and (g). Automated matching will flag the mismatch.
- Mixing box categories on one Form 8949 page. Each category needs its own page or its own e-file grouping.
- Missing cross-account wash sales, particularly with the same ETF at two brokers or a repurchase inside an IRA.
- Forgetting last year's carryover. Free money left on the table.
- Omitting crypto disposals. Every trade, swap, and purchase-with-crypto is a taxable disposition, and Form 1099-DA now creates a paper trail. See the crypto tax guide.
- Skipping Form 8960 when income crosses the NIIT threshold, which adds 3.8% on investment income.
- Underpaying estimated tax after a large gain. A big Q2 sale can trigger an underpayment penalty even if you pay in full by April.
- Filing before corrected 1099s arrive, then having to amend on Form 1040-X.
- Misapplying the home sale exclusion. If gain exceeds the exclusion, the sale must be reported with code
H. - Assuming a loss on personal-use property is deductible. Losses on a car, boat, or personal residence are not.
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.
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.