Skip to main content
Public Desk

    Popular: W-9, W-4,1099-NEC, Paycheck calculator,Fill any PDF

    Internal Revenue Service · 2025

    Schedule D (Form 1040): Capital Gains and Losses

    Fill in the official IRS Schedule D right on the page and download a completed PDF to attach to your return. Free, no account, and your SSN never leaves your browser.

    Fill in the official Schedule D (Form 1040) right here, then download it ready to sign.

    Official IRS PDF, 98 KB · opens in this tab, nothing is uploaded

    Private by design. Everything you type stays in this browser tab. Your name, address, Social Security number and form entries are never uploaded, stored, or logged — the PDF is built on your device. Closing or reloading the page erases it all.

    Last updated · Reviewed by the Public Desk Editorial Team

    Not a government website. Not affiliated with the IRS, USCIS, or any government agency. For informational purposes only — not tax, legal, or immigration advice. Read the full disclaimer.

    What Schedule D (Form 1040) is for

    Schedule D adds up your capital gains and losses for the year. It shows the totals from Form 8949 and from other forms and schedules, splits them into short-term (generally held one year or less) and long-term (generally held more than one year), and gives one net result on line 16.

    If line 16 is a gain, it goes on Form 1040, 1040-SR or 1040-NR, line 7a. If it is a loss, line 21 limits how much you can deduct this year.

    Who needs Schedule D (Form 1040)

    • Anyone who sold or exchanged a capital asset, such as stocks or bonds, that is not reported on another form or schedule.
    • Anyone reporting a gain from Form 2439, Form 6252 or Part I of Form 4797, or a gain or loss from Form 4684, 6781 or 8824.
    • Anyone with a gain or loss from a partnership, S corporation, estate or trust (Schedule K-1), or with capital gain distributions not reported directly on Form 1040 or 1040-SR, line 7a.
    • Anyone with a capital loss carryover from 2024 to 2025.

    When Schedule D (Form 1040) is due

    • Schedule D is not filed by itself.

    Official instructions for Schedule D (Form 1040) are the source for the current due date.

    Where it goes

    Schedule D is not filed by itself. The form says to attach it to Form 1040, 1040-SR or 1040-NR. Complete Form 8949 first if you have entries for lines 1b, 2, 3, 8b, 9 or 10, and attach it as well.

    Line-by-line instructions

    Work through Schedule D (Form 1040) in this order. These steps follow the printed form. The official instructions cover every line.

    1. Name and SSN. Enter the name(s) shown on your return and your social security number at the top of page 1.
    2. Qualified opportunity fund question. Answer Yes or No: did you dispose of any investment in a qualified opportunity fund during the tax year? If Yes, attach Form 8949 and see its instructions for extra requirements.
    3. Part I, lines 1a to 3 — Short-term transactions. Complete Form 8949 first for lines 1b, 2 and 3 (Box A/G, B/H and C/I). Line 1a is optional and covers short-term sales reported on Form 1099-B or 1099-DA with basis reported to the IRS and no adjustments. In each row enter proceeds (d), cost or other basis (e), adjustments (g) and gain or (loss) (h). Line 1a has no column (g).
    4. Part I, lines 4 to 7 — Other short-term items and net result. Line 4 is short-term gain from Form 6252 and short-term gain or loss from Forms 4684, 6781 and 8824. Line 5 is short-term gain or loss from Schedules K-1. Line 6 is your short-term loss carryover from line 8 of the Capital Loss Carryover Worksheet. Line 7 combines lines 1a through 6 in column (h).
    5. Part II, lines 8a to 10 — Long-term transactions. Same layout as Part I for assets generally held more than one year. Lines 8b, 9 and 10 come from Form 8949 (Box D/J, E/K and F/L). Line 8a is optional for long-term sales with basis reported and no adjustments.
    6. Part II, lines 11 to 15 — Other long-term items and net result. Line 11 covers gain from Form 4797 Part I and long-term gain from Forms 2439 and 6252, and Forms 4684, 6781 and 8824. Line 12 is long-term gain or loss from Schedules K-1. Line 13 is capital gain distributions. Line 14 is your long-term loss carryover from line 13 of the Capital Loss Carryover Worksheet. Line 15 combines lines 8a through 14 in column (h).
    7. Part III, lines 16 to 22 — Summary. Line 16 combines lines 7 and 15. A gain goes on Form 1040 line 7a, then continue to line 17. A loss skips lines 17 to 20, so go to line 21 and line 22. Lines 17 to 20 decide whether you need the 28% Rate Gain Worksheet, the Unrecaptured Section 1250 Gain Worksheet, or the Schedule D Tax Worksheet. Line 21 caps a loss at ($3,000), or ($1,500) if married filing separately. Line 22 asks about qualified dividends on Form 1040 line 3a.

    Before you sign or send it

    • Complete Form 8949 before you complete line 1b, 2, 3, 8b, 9 or 10. This page fills Schedule D only.
    • Enter losses in parentheses or as negative amounts. Lines 6, 14 and 21 already print parentheses, so enter the amount as a positive number there.
    • Report all of your capital gains and losses even if you cannot use all of your losses this year. A loss over the line 21 limit can carry to later years.
    • Schedule D has worksheets (Capital Loss Carryover, 28% Rate Gain, Unrecaptured Section 1250 Gain, Schedule D Tax) in the instructions. They are not part of the form and are not filed.
    • You do not have to attach a statement to explain entries on lines 1a and 8a, but you may not use them if any adjustment is needed. See the instructions for the exact conditions.

    For every line, see the official instructions for Schedule D (Form 1040).

    If the recipient accepts an electronic signature image, you can add your signature and date to the downloaded copy with Sign a PDF.

    Frequently asked questions

    Do I need Form 8949 as well?

    Usually yes. Form 8949 lists the transactions for lines 1b, 2, 3, 8b, 9 and 10, and you complete it before those lines on Schedule D. Lines 1a and 8a are the only rows that can be used without it.

    What can I report on lines 1a and 8a?

    Totals from transactions where Form 1099-B or 1099-DA shows basis was reported to the IRS, no adjustments are needed, and the other conditions in the instructions are met. If you choose, you can report these on Form 8949 instead and leave line 1a or 8a blank.

    What is the difference between short-term and long-term?

    The form heads Part I as generally assets held one year or less, and Part II as generally assets held more than one year.

    How much of a capital loss can I deduct?

    The instructions say you can deduct capital losses up to your capital gains plus $3,000 ($1,500 if married filing separately). Line 21 applies that limit when line 16 is a loss.

    What happens to a loss I cannot use this year?

    You may have a capital loss carryover to the next year. The instructions for line 21 explain when, and the Capital Loss Carryover Worksheet figures the amounts for lines 6 and 14 in the following year.

    Where does line 16 go on my return?

    If line 16 is a gain, enter it on Form 1040, 1040-SR or 1040-NR, line 7a. If it is a loss, enter the amount from line 21 there. If it is zero, enter -0-.

    Is it safe to fill out Schedule D on this website?

    Yes. The form is filled in your browser and the PDF is created on your device. Your name, SSN and amounts are never uploaded or saved. Closing or reloading the page erases everything.

    Official sources

    Every number on this page comes from the documents below. Last checked against them on .

    1. About Schedule D (Form 1040), Capital Gains and Losses — Internal Revenue ServiceCurrent revision and updates.
    2. Schedule D (Form 1040) 2025 — PDF — Internal Revenue ServiceThe official blank form filled in on this page.
    3. Instructions for Schedule D (Form 1040) — Internal Revenue ServiceLine-by-line instructions, carryover worksheet and tax worksheets.