Schedule D looks deceptively short. Two pages, three parts, about forty numbered lines — and yet it manages to reference six other forms, two worksheets you've never heard of, and a carryover calculation that lives nowhere on the form itself. The IRS instructions run twenty pages and assume you already know what a Section 1250 gain is.
This is the plain-English version. Every line of Schedule D, what actually goes on it, where the number comes from, and which of the two competing tax worksheets you'll be sent to at the end. If you're filling this out because you sold stock, start here and work down.
What Schedule D Does
Tired of reading?
Upload your 1099-B PDF and get CSV/TXF in 30 seconds.
Schedule D, "Capital Gains and Losses," is the summary form where all your capital transactions net against each other and produce one number that flows to your Form 1040.
It does three things:
- Separates short-term from long-term. Assets held one year or less are short-term and taxed at ordinary income rates. Held more than a year, they're long-term and eligible for preferential rates.
- Nets everything together, including gains, losses, carryovers from prior years, and pass-through amounts from partnerships and trusts.
- Routes you to the right tax calculation — because if you have net long-term gain, your tax isn't computed from the regular tax table.
Schedule D does not list your individual trades. That's Form 8949's job. Schedule D takes the totals. Our overview of Schedule D vs Form 8949 covers the division of labor, and the Form 8949 guide covers filling out the detail form.
Before You Start: What You Need
- Your 1099-B from every broker, including any corrected versions
- Any completed Form 8949 pages
- Schedule K-1s from partnerships, S corporations, estates, or trusts
- Last year's return, for the capital loss carryover
- 1099-DIV forms, for capital gain distributions in Box 2a
Part I — Short-Term Capital Gains and Losses
Part I covers assets held one year or less. The holding period starts the day after acquisition and ends on the disposition date.
Line 1a — Transactions not reported on Form 8949.
This is the shortcut line, and it's the most misunderstood on the form. You can enter totals directly here only if all three conditions hold:
- The transactions were reported on a 1099-B with basis reported to the IRS (Box A)
- You have no adjustments — no wash sales, no basis corrections, no code entries
- You're reporting the aggregate, not each trade
If any transaction needs an adjustment, it can't go here. Our guide to Schedule D line 1a summary vs line 1b detail covers when the shortcut is safe.
Line 1b — Box A transactions from Form 8949.
Totals from Form 8949 Part I with Box A checked: short-term, basis reported to the IRS, but you had adjustments. Enter proceeds, cost basis, adjustment amount, and gain or loss in the respective columns.
Line 2 — Box B transactions.
Totals from Form 8949 Part I with Box B checked: short-term, basis not reported to the IRS. This is where noncovered securities land — anything the broker reported proceeds for but not basis. See noncovered securities with missing cost basis.
Line 3 — Box C transactions.
Totals from Form 8949 Part I with Box C checked: short-term transactions not reported on any 1099-B. Private sales, certain crypto dispositions, and anything where no broker form exists. Our breakdown of Box A vs Box B vs Box C covers the distinction.
Line 4 — Short-term gain from other forms.
Short-term gain from Form 6252 (installment sales), and short-term gain or loss from Form 4684 (casualties and thefts), Form 6781 (Section 1256 contracts), and Form 8824 (like-kind exchanges).
If you traded futures, broad-based index options, or certain forex, 40% of your Section 1256 gain is short-term and arrives here from Form 6781. See our guide to Section 1256 contracts and Form 6781.
Line 5 — Pass-through short-term gains and losses.
Net short-term gain or loss from partnerships, S corporations, estates, and trusts, taken from your Schedule K-1.
Line 6 — Short-term capital loss carryover.
The unused short-term loss carried forward from last year, computed on the Capital Loss Carryover Worksheet in the Schedule D instructions. Enter it as a negative number. If you had a net capital loss last year exceeding the $3,000 deduction limit, the excess lives here.
Line 7 — Net short-term capital gain or loss.
Combine lines 1a through 6. This can be positive or negative.
Part II — Long-Term Capital Gains and Losses
Part II mirrors Part I for assets held more than one year, with box letters shifted from A/B/C to D/E/F.
Line 8a — Transactions not reported on Form 8949. Same shortcut rule as line 1a, for long-term Box D transactions with no adjustments.
Line 8b — Box D transactions from Form 8949. Long-term, basis reported to the IRS, with adjustments.
Line 9 — Box E transactions. Long-term, basis not reported to the IRS.
Line 10 — Box F transactions. Long-term, not reported on a 1099-B.
Our guide to Box D vs E vs F covers which applies.
Line 11 — Gains from other forms.
Gain from Form 4797, Part I (sales of business property), long-term gain from Forms 2439 (undistributed capital gains) and 6252, and long-term gain or loss from Forms 4684, 6781, and 8824.
This is the line where 60% of your Section 1256 gain arrives. It's also where Form 4797 activity crosses over — see Form 4797 vs Schedule D for which form a given sale belongs on.
Line 12 — Pass-through long-term gains and losses. From Schedule K-1.
Line 13 — Capital gain distributions.
From Box 2a of your 1099-DIV. Mutual funds and ETFs distribute realized capital gains to shareholders, and those are always treated as long-term regardless of how long you've held the fund.
If capital gain distributions are your only capital transactions and you have no other gains or losses, you may be able to skip Schedule D entirely and enter the amount directly on Form 1040. Check the instruction on the 1040 line before assuming you need this form.
Line 14 — Long-term capital loss carryover. From the Capital Loss Carryover Worksheet, entered as a negative number.
Line 15 — Net long-term capital gain or loss. Combine lines 8a through 14.
Part III — Summary
This is where the form decides what happens to you.
Line 16 — Combine lines 7 and 15.
Your total net capital gain or loss for the year. Three paths follow:
- Line 16 is a gain → continue to line 17
- Line 16 is a loss → skip to line 21
- Line 16 is zero → enter zero on your 1040 and you're done
Line 17 — Are both line 15 and line 16 gains?
If yes, go to line 18. If no — meaning you have a net gain overall but a long-term loss, or the reverse — skip to line 22.
Line 18 — 28% rate gain.
From the 28% Rate Gain Worksheet in the Schedule D instructions. This captures the two categories taxed at a maximum 28% rather than the normal long-term rates:
- Collectibles gains — art, antiques, coins, precious metals, certain collectible-backed ETFs
- Section 1202 gain — the taxable portion of qualified small business stock gain, where an exclusion applies. See QSBS and the Section 1202 exclusion.
Most filers enter zero here.
Line 19 — Unrecaptured Section 1250 gain.
From the Unrecaptured Section 1250 Gain Worksheet. This is depreciation recapture on real property, taxed at a maximum 25%. If you sold rental real estate or received a K-1 from a real estate partnership, expect a number here. Stock investors: zero.
Line 20 — Which worksheet do you use?
This is the fork in the road.
- Lines 18 and 19 are both zero or blank → complete the Qualified Dividends and Capital Gain Tax Worksheet in the Form 1040 instructions. This is the shorter one, and the one most investors use. See our capital gains tax worksheet walkthrough.
- Either line 18 or line 19 is more than zero → complete the Schedule D Tax Worksheet in the Schedule D instructions instead. Longer, and it handles the 25% and 28% brackets. See our Schedule D Tax Worksheet walkthrough.
You never complete both. Getting this wrong is the most common Schedule D arithmetic error, and it always produces too much tax, not too little.
Line 21 — Capital loss deduction.
If line 16 is a loss, enter the smaller of the loss (as a positive number) or $3,000 — $1,500 if married filing separately.
That's the famous cap. A $50,000 net capital loss gets you a $3,000 deduction this year and a $47,000 carryover to next year, and the year after that, indefinitely until it's used up. The carryover keeps its short-term or long-term character.
Active traders find this cap brutal, and it's one of the two reasons the Section 475 mark-to-market election exists.
Line 22 — Do you have qualified dividends?
If you have qualified dividends on Form 1040 line 3a, you complete the Qualified Dividends and Capital Gain Tax Worksheet even if your capital result was a loss — qualified dividends get preferential rates on their own.
Where the Number Goes
The result from line 16 (or line 21 if you had a loss) flows to Form 1040, line 7. Your actual tax is then computed on whichever worksheet line 20 sent you to, not from the tax tables.
Common Schedule D Mistakes
- Using line 1a or 8a when you have adjustments. Any wash sale or basis correction disqualifies the shortcut.
- Forgetting the carryover. Lines 6 and 14 are easy to skip and cost you real money.
- Entering carryovers as positive numbers. They're losses; they belong in as negatives.
- Completing the wrong tax worksheet. Check line 20 carefully.
- Missing capital gain distributions. Box 2a of your 1099-DIV goes on line 13 whether or not you sold anything.
- Mismatched totals. Your Schedule D proceeds must reconcile to the sum of your 1099-Bs, or you'll get a CP2000 notice.
FAQ
Do I need Schedule D if I only have capital gain distributions?
Often no. If your only capital transactions are capital gain distributions from Box 2a of a 1099-DIV and you have no other gains, losses, or carryovers, you can typically report the amount directly on Form 1040. Check the instruction on that line.
What's the difference between Schedule D and Form 8949?
Form 8949 lists individual transactions; Schedule D summarizes the totals and computes the tax treatment. Most filers need both.
How much capital loss can I deduct?
$3,000 per year against ordinary income, or $1,500 if married filing separately. The rest carries forward indefinitely.
What is line 18 on Schedule D?
The 28% rate gain — collectibles and the taxable portion of Section 1202 qualified small business stock gain. Most investors enter zero.
What is line 19 on Schedule D?
Unrecaptured Section 1250 gain, which is depreciation recapture on real property taxed at up to 25%. Relevant if you sold real estate or hold a real estate partnership interest.
Which tax worksheet do I use?
If Schedule D lines 18 and 19 are both zero, use the Qualified Dividends and Capital Gain Tax Worksheet. If either is more than zero, use the Schedule D Tax Worksheet instead.
Do capital loss carryovers expire?
No. They carry forward indefinitely until used, though they don't transfer to another taxpayer and generally end at death.
Can I file Schedule D without Form 8949?
Only if every transaction qualifies for the line 1a or 8a shortcut — basis reported to the IRS and zero adjustments across the board.
Bottom Line
Schedule D is a routing form. It separates short from long, nets everything including the carryover most people forget, and then sends you to one of two worksheets based on whether you have collectibles or depreciation recapture in the mix.
Get three things right and the rest follows: use the line 1a and 8a shortcuts only when you genuinely have no adjustments, don't skip the carryover lines, and read line 20 carefully before picking a worksheet.
Still building the Form 8949 that feeds this? Try it on your 1099-B — upload your broker PDF and get every transaction with proceeds, basis, dates, and wash sale adjustments in a format your tax software accepts, so the totals landing on Schedule D actually reconcile.
By 1099-B Converter Editorial Team
The 1099-B Converter editorial team writes guides on 1099-B tax filing, broker import issues, and Form 8949 / Schedule D reporting.