Skip to content

Schedule D (Form 1040)

Schedule D is the attachment to Form 1040 that nets a year's capital gains and losses into one figure. Its official title is "Capital Gains and Losses", and the rate that figure is taxed at is computed on a worksheet in the instructions rather than anywhere on the schedule itself.

Last reviewed by Steven Fox, CFP®, EA on

Quick Summary

  • Three parts. Part I is short-term, meaning assets generally held one year or less. Part II is long-term, generally more than one year. Part III combines them and decides what happens next.
  • The netting order matters: short-term items net against each other first, long-term items net against each other, and only then do the two sides meet.
  • Most transactions arrive through Form 8949, which sorts them by whether a broker reported the cost basis to the IRS. Where basis was reported and no adjustment is needed, Schedule D takes the totals directly.
  • Capital gain distributions from funds skip Form 8949 entirely and go on one line of Schedule D, and they are long-term whatever your holding period.
  • A net loss is deductible against ordinary income only up to $3,000, or $1,500 for a married person filing separately. The rest carries forward.

Definition

Schedule D is the attachment to Form 1040 on which an individual reports capital gains and losses and nets them into a single figure that carries back to the return. Its title is "Capital Gains and Losses" and its instruction line reads "Attach to Form 1040, 1040-SR, or 1040-NR", with a second line directing you to use Form 8949 to list the individual transactions.

The form has three parts. Part I covers short-term capital gains and losses, headed "Generally Assets Held One Year or Less". Part II covers long-term, headed "Generally Assets Held More Than One Year". Part III is the summary, and it is where the schedule stops being arithmetic and starts being routing: depending on what the combined figure looks like, Part III sends you to one of several worksheets, or to a line on Form 1040, or to a carryover worksheet for next year.

Advanced Explanation

Schedule D nets; Form 8949 lists. The detail form exists because a broker reports some cost basis to the IRS and not other basis, and a return has to be organized around that distinction so a matching program can work. Form 8949 sorts every transaction into lettered boxes recording whether it appeared on a Form 1099-B or Form 1099-DA and whether basis was reported, and the totals from each box land on their own line of Schedule D. That is why the schedule has so many total lines for what is conceptually one calculation.

There is a shortcut, and it is the reason most filers never see Form 8949. Lines 1a and 8a take the totals for all transactions reported on a Form 1099-B or Form 1099-DA "for which basis was reported to the IRS and for which you have no adjustments", entered directly on Schedule D with no detail form at all. A single adjustment of any kind, a wash sale, a corrected basis, an exclusion, pushes that transaction onto Form 8949. You may also choose to report everything on Form 8949 anyway, and many software packages do.

Two categories reach the schedule without passing through a broker form at all. Line 5 and line 12 take net short-term and net long-term gain or loss from partnerships, S corporations, estates and trusts, which arrive on a Schedule K-1. Line 13 takes capital gain distributions, which are paid by mutual funds and real estate investment trusts and reported in box 2a of a Form 1099-DIV. Those are always long-term regardless of how long you have held the fund, which is why they sit in Part II with no acquisition date beside them.

The netting order is a rule, not a preference. Part I nets short-term items against each other and produces one figure on line 7. Part II nets long-term items and produces one figure on line 15. Only then does line 16 combine the two. The consequence is that a short-term loss is applied against short-term gain first, which is where it does the most good because short-term gain is taxed at ordinary rates, and reaches long-term gain only if there is short-term loss left over.

Part III decides what happens next, in three branches. If line 16 is a gain, it carries to Form 1040 and you continue at line 17. If it is a loss, you skip past lines 17 through 20 to the deduction limit. If it is zero, you enter zero on Form 1040 and go straight to the qualified dividend question at the end. Where line 17 confirms that both line 15 and line 16 are gains, the schedule asks one further question before sending you to a worksheet, because the preferential rates are not one rate.

The rate is computed off the form, and the branch depends on what kind of gain you have. If there is no 28% rate gain and no unrecaptured section 1250 gain and you are not filing Form 4952, Part III sends you to the Qualified Dividends and Capital Gain Tax Worksheet in the Form 1040 instructions. Otherwise it sends you to the Schedule D Tax Worksheet, which is longer, because collectibles gain carries a 28% rate ceiling and unrecaptured section 1250 gain from depreciated real estate carries a 25% ceiling. Each of those has its own worksheet feeding lines 18 and 19. So the schedule that is named for capital gains contains no capital gains rate anywhere on its face.

The loss branch is capped, and the cap is on the deduction rather than on the loss. Line 21 allows the smaller of the loss on line 16 or $3,000, halved to $1,500 for a married person filing separately, as a deduction against ordinary income. Neither figure is adjusted for inflation. What is not allowed this year is not lost: it carries forward, keeping its short-term or long-term character, and is computed on the Capital Loss Carryover Worksheet in the instructions before landing on line 6 or line 14 of next year's schedule.

Two things at the top and bottom of the form that are easy to miss. The header carries a yes-or-no question about disposing of an investment in a qualified opportunity fund during the year, which requires Form 8949 and its own additional reporting whatever else you did. And line 22 asks whether you have qualified dividends on Form 1040, because qualified dividends are taxed through the same worksheet as long-term capital gain, which is why a taxpayer with no capital transactions at all can still be routed into it.

How to Remember

Part I is the short game, Part II is the long game, and the two only meet in Part III. Everything named on the form is a total of something computed elsewhere: on Form 8949, on a Schedule K-1, on a Form 1099-DIV, or on one of three worksheets in the instructions. Schedule D is the meeting point, not the calculator.

Used in a Sentence

“Tobias's short-term losses wiped out his short-term gains on Schedule D before touching the long-term side, which is why the year still ended with a taxable long-term gain.”

How It Works

The order the form imposes is the order the tax law requires.

  1. Sort every disposition into short-term and long-term, using more than one year as the boundary.

  2. Route each one. A broker-reported transaction with basis reported and no adjustment can go straight to line 1a or 8a. Everything else goes through Form 8949 into the lines below.

  3. Add the items that never touch a broker form: pass-through gains from a Schedule K-1, and capital gain distributions from funds.

  4. Net within each part, then combine on line 16.

  5. Follow the branch. A gain goes to Form 1040 and then to a rate worksheet. A loss goes to the $3,000 limit and a carryover worksheet.

A hypothetical example of the netting. During the year Tobias has short-term gains of $4,000 and short-term losses of $9,000, so Part I nets to a short-term loss of $5,000. On the long-term side he has gains of $12,000, losses of $3,000, and $800 of capital gain distributions from a mutual fund, so Part II nets to a long-term gain of $9,800.

Line 16 combines the two: $4,800, which is $9,800 minus $5,000. That is a gain, and because both line 15 and line 16 are gains it goes on to a rate worksheet, where it is taxed at long-term capital gain rates. The $9,000 of short-term losses did not go to waste, but it also did not save Tobias ordinary-rate tax, because Part I made it absorb his $4,000 of short-term gain first.

Now change one figure. Suppose the long-term side had produced a $1,000 loss rather than a $9,800 gain. Line 16 would be a loss of $6,000, and line 21 would allow only $3,000 of it against ordinary income this year, leaving $3,000 to carry forward into next year's schedule.

Pros and Cons

What the form does well

  • The three-part structure makes the netting order visible, so it is obvious that short-term and long-term are separate pools before they meet.
  • The line 1a and 8a shortcut spares most filers a detail form entirely, because most sales are of covered securities with correct basis.
  • Capital gain distributions get one line rather than a page of transactions, which matches how a fund investor actually experiences them.
  • Carryovers are computed on a worksheet and re-enter the form on a labeled line, so the trail from one year to the next is explicit.

Where it causes trouble

  • The rate lives on a worksheet in the instructions, so the form gives no indication of what a gain will actually cost.
  • The many total lines are there to preserve a distinction, whether basis was reported, that has nothing to do with the tax and everything to do with matching.
  • The $3,000 deduction limit has never been indexed, so a large loss can take decades to absorb at a figure fixed for generations.
  • A single small adjustment on one transaction pulls it out of the shortcut and into Form 8949, which is why a return with one wash sale looks much more complicated than a return with none.
  • Nothing on the schedule flags that a fund distribution can produce a taxable gain in a year the fund lost money.

People Also Asked

Answers to the most frequently asked questions.

Do I need Form 8949 as well as Schedule D?
Usually, but not always. Where a transaction was reported to you on a Form 1099-B or Form 1099-DA with the cost basis reported to the IRS, and you need no adjustment of any kind, you may enter the totals directly on Schedule D line 1a for short-term or line 8a for long-term and skip the detail form. Any adjustment, including a wash sale, a corrected basis or an exclusion, pushes that transaction onto Form 8949. Capital gain distributions never use Form 8949 at all.
How much of a capital loss can I deduct?
A net capital loss reduces ordinary income by up to $3,000 a year, or $1,500 for a married person filing separately, and neither figure is adjusted for inflation. The excess is not lost: it carries forward indefinitely for an individual, keeps its short-term or long-term character, and is computed on the Capital Loss Carryover Worksheet in the Schedule D instructions before returning to the form on line 6 or line 14 of the following year.
Where does Schedule D show the capital gains tax rate?
Nowhere. Part III routes you off the form: to the Qualified Dividends and Capital Gain Tax Worksheet in the Form 1040 instructions if you have no 28% rate gain, no unrecaptured section 1250 gain and no Form 4952, and to the longer Schedule D Tax Worksheet if you do. The reason is that long-term gain is not taxed at a single rate: collectibles gain carries a 28% ceiling and unrecaptured section 1250 gain from depreciated real estate carries a 25% ceiling, each computed on its own worksheet.
Do capital gain distributions from a mutual fund go on Schedule D?
Yes, on line 13 in Part II, and they bypass Form 8949 completely. They are reported in box 2a of a Form 1099-DIV and are treated as long-term capital gain regardless of how long you have owned the fund, so someone who bought in November still receives long-term treatment on a December distribution. A fund's net short-term gains are not distributed as capital gain at all; they are folded into ordinary dividends on the same form.
Does a short-term loss offset a long-term gain?
Only after it has offset short-term gain. The form nets Part I within itself and Part II within itself before combining the two on line 16, so a short-term loss is applied first against short-term gain, which is taxed at ordinary rates and is therefore where the loss is worth most. Any short-term loss remaining after that does reduce net long-term gain, and the combined figure is then taxed at long-term rates.

Have a question a definition can't answer?

Advice-only advisors answer questions like this for a transparent flat fee — no products, no commissions, no asset management.

Find an Advisor