
Hi, I'm Slava, CEO and co-founder of Jupid. Schedule D is where every capital transaction in your year — every stock sale, every crypto swap, every loss carryover from prior years — finally collapses into one number that lands on Form 1040 Line 7. The math itself is straightforward addition. What people get wrong is which worksheet computes their tax: the Qualified Dividends and Capital Gain Tax Worksheet, the Schedule D Tax Worksheet, or just the regular tax tables. Pick the wrong one and you can overpay by thousands on the same set of trades.
Official IRS resources: Schedule D (PDF) · Instructions (PDF) · About Schedule D
If you filed Form 8949 — for stock sales, crypto, real estate, or any other capital asset disposition — Schedule D is the next stop. It rolls each Box (A through F) total into one short-term and one long-term net figure, applies the $3,000 loss limit if you ended the year underwater, and computes whether your gain falls in the 0%, 15%, 20%, 25% (real estate recapture), or 28% (collectibles) lane.
This guide walks the form Part by Part, covers the LTCG brackets for 2026, shows how loss carryovers work, and ends with a continued worked example: Sam, the same trader from our Form 8949 guide, now flowing his transactions through Schedule D.
Schedule D (officially "Capital Gains and Losses") is the summary form that aggregates every capital gain and loss into the figure that hits Form 1040. Form 8949 lists each individual disposition; Schedule D adds them up by category, applies prior-year carryovers, applies the loss limit, and routes the result to the correct tax computation.
Legal Basis: IRC §1(h) sets the preferential rate structure for net capital gain. IRC §1211 caps the deduction of capital losses against ordinary income at $3,000 per year ($1,500 for MFS). IRC §1212 lets the unused loss carry forward indefinitely, retaining its short-term or long-term character. IRC §1411 imposes the 3.8% Net Investment Income Tax on top of the regular capital gains rate for higher-income filers.
The form has three Parts:
You file Schedule D if:
You don't file Schedule D if:
If your only capital gain activity is mutual fund capital gain distributions on 1099-DIV Box 2a and you have no other Form 8949 entries, you may be able to skip Schedule D and report directly on Form 1040 Line 7 — check the Schedule D instructions for the exact conditions.
| Item | 2025 / 2026 Value | Source |
|---|---|---|
| LTCG 0% bracket — single | Taxable income up to $48,350 (2025) | Rev. Proc. 2024-40 |
| LTCG 15% bracket — single | $48,351 – $533,400 (2025) | Rev. Proc. 2024-40 |
| LTCG 20% bracket — single | Above $533,400 (2025) | Rev. Proc. 2024-40 |
| LTCG 0% bracket — MFJ | Up to $96,700 (2025) | Rev. Proc. 2024-40 |
| LTCG 15% bracket — MFJ | $96,701 – $600,050 (2025) | Rev. Proc. 2024-40 |
| LTCG 20% bracket — MFJ | Above $600,050 (2025) | Rev. Proc. 2024-40 |
| LTCG 0% bracket — HoH | Up to $64,750 (2025) | Rev. Proc. 2024-40 |
| LTCG 15% bracket — HoH | $64,751 – $566,700 (2025) | Rev. Proc. 2024-40 |
| LTCG 20% bracket — HoH | Above $566,700 (2025) | Rev. Proc. 2024-40 |
| Short-term capital gain rate | Ordinary rate (10–37% brackets) | IRC §1(h) |
| Collectibles maximum rate | 28% | IRC §1(h)(4) |
| Unrecaptured §1250 gain rate (real estate) | 25% maximum | IRC §1(h)(6) |
| §1202 QSBS exclusion | Up to 100% if held more than 5 years (acquired after 9/27/2010) | IRC §1202 |
| Net capital loss limit vs ordinary income | $3,000/year ($1,500 MFS) | IRC §1211(b) |
| Capital loss carryover | Indefinite, retains short/long character | IRC §1212(b) |
| NIIT threshold — single | MAGI above $200,000 | IRC §1411 |
| NIIT threshold — MFJ | MAGI above $250,000 | IRC §1411 |
| NIIT rate | 3.8% on net investment income above threshold | IRC §1411 |
Note on 2026 figures: The 2026 inflation-indexed brackets are typically published by the IRS in October–November 2025. Verify against the most recent Revenue Procedure (e.g., Rev. Proc. 2025-XX) before filing a 2026 return. The 2025 figures above are from Rev. Proc. 2024-40 and apply to returns filed in spring 2026.
The single most important number on this list is the LTCG bracket cutoff for your filing status. A long-term gain that falls in the 0% bracket is genuinely tax-free at the federal level. The next dollar at $48,351 (single) bumps you into 15%. Bunching gains and losses across years to land in the 0% bracket is one of the few legal tax strategies left for retail investors.
Part I lines 1a–7 cover assets held one year or less. These transactions are taxed at your ordinary income rate — same as wages, interest, freelance income.
This is the optional aggregation line. If you have many short-term transactions reported on Box A of Form 8949 and you're not making any column (g) adjustments to them, you can aggregate the totals on Line 1a instead of itemizing each one. The IRS already has the broker's 1099-B; the totals just need to tie.
If you made any adjustment to a Box A transaction (wash sale, basis correction), it must go on Form 8949 — it cannot ride on Line 1a.
Sum of column (d), (e), (g), and (h) from all your Form 8949 Part I, Box A pages.
Same, for Box B (basis not reported to IRS on 1099-B).
Same, for Box C (no 1099-B issued — typically crypto and private transactions).
Installment sale short-term gains; gains from §1256 contracts (Form 6781) marked-to-market; like-kind exchange gain that fell out (Form 8824).
Schedule K-1 Box 8 (or equivalent) flows here. The pass-through entity already classified it as short-term.
From your prior-year Capital Loss Carryover Worksheet. If your 2024 net short-term loss exceeded what you could use against 2024 income, the unused short-term portion lands here as a negative number.
Sum of Lines 1a column (h) + 1b column (h) + 2 col (h) + 3 col (h) + 4 + 5 + 6.
This is your total short-term result for the year. Positive numbers will combine with long-term in Part III; negative numbers offset long-term gains first, then drop to the $3,000 ordinary-income limit.
Part II lines 8a–15 cover assets held more than one year. Net long-term gain qualifies for the preferential 0/15/20% rates (or 25% / 28% for the special asset categories).
Optional aggregation line for Box D, same logic as Line 1a — aggregate only if you made no adjustments.
Sum of column (d), (e), (g), (h) from all Form 8949 Part II, Box D pages.
Box E: long-term, basis NOT reported to IRS on 1099-B. Older mutual fund shares (acquired before 2012), transferred-in lots without basis history.
Box F: no 1099-B issued. Most crypto, real estate, collectibles, private transactions.
If you sold business-use property (e.g., a piece of equipment from your Schedule C operation) and the result was a net §1231 gain, it gets converted to long-term capital gain and lands here. Net §1231 losses go to ordinary income — they don't appear on Schedule D at all.
Schedule K-1 long-term capital gain box.
Form 1099-DIV Box 2a — mutual fund and REIT capital gain distributions. These are always treated as long-term regardless of how long you've held the fund shares. If your only capital gain activity is Box 2a distributions and Form 8949 has no entries, you may be able to report directly on Form 1040 Line 7 and skip Schedule D entirely.
From prior-year Capital Loss Carryover Worksheet. Long-term portion of the unused loss.
Sum of Lines 8a column (h) + 8b col (h) + 9 col (h) + 10 col (h) + 11 + 12 + 13 + 14.
Part III is where the year's verdict comes in. Lines 16–22 combine short and long-term, apply the loss limit, and route to the correct tax computation.
This is the headline number. If positive, it flows to Form 1040 Line 7 as a long-term capital gain (assuming Line 15 is positive). If negative, you have a net capital loss for the year.
If yes, go to Line 18. Otherwise skip to Line 22.
If you have any collectibles gain (Form 8949 with code "C") or §1202 QSBS gain that was not fully excluded, the 28%-rate portion gets pulled out here using the 28% Rate Gain Worksheet in the Schedule D instructions. This portion is taxed at maximum 28% — better than ordinary rates if you're in a 32–37% bracket, worse than the regular 20% LTCG rate.
Real estate sold with prior depreciation: the depreciation taken on the sold property is "unrecaptured" up to a maximum 25% rate. The Unrecaptured §1250 Gain Worksheet pulls this portion out. The remainder of the real estate gain (above the depreciation taken) flows through normally at 0/15/20%.
If Line 18 or Line 19 has any amount, you must compute tax using the Schedule D Tax Worksheet (not the simpler Qualified Dividends and Capital Gain Tax Worksheet). The Schedule D Tax Worksheet is in the Schedule D instructions and walks through the layered rates: ordinary on the ordinary portion, 25% on the §1250 portion, 28% on the collectibles portion, and 0/15/20% on the remainder.
If Lines 18 and 19 are both zero, use the Qualified Dividends and Capital Gain Tax Worksheet (in the Form 1040 instructions, not Schedule D's). This is the simpler, more common path — it stacks long-term gain and qualified dividends on top of ordinary income and applies 0/15/20% to the gain portion based on which brackets it spans.
If Line 16 is a loss, enter the smaller of:
That capped amount is your deduction against ordinary income this year. The remainder carries forward.
Even if you don't have a Schedule D Line 16 gain, you might still benefit from the Qualified Dividends and Capital Gain Tax Worksheet if you received qualified dividends. The instructions point you to the right worksheet based on your situation.
This is the most-overlooked piece of Schedule D. The capital gain rate isn't computed on Schedule D itself; the form just produces the inputs. The actual tax computation happens in one of three worksheets:
Use when: You have any net long-term gain (Line 15 positive) and/or qualified dividends, and Schedule D Lines 18 and 19 are both zero (no collectibles, no §1250 unrecaptured gain).
This is the simplest path. Walks through:
Most retail investors with a stock and crypto portfolio use this worksheet.
Use when: Schedule D Line 18 (28% rate gain) or Line 19 (unrecaptured §1250 gain) is greater than zero.
Layers four rate levels: ordinary, 25%, 28%, and 0/15/20%. Used by anyone selling rental real estate (depreciation recapture) or collectibles.
Use when: Schedule D Line 16 is zero or a loss, and you have no qualified dividends. No preferential rate applies; tax is computed on ordinary income only via the standard tax tables.
Where filers go wrong: Defaulting to the regular tax tables when they have a long-term gain. The IRS won't catch this and refund the overpayment — you're expected to use the right worksheet yourself. Many DIY filers using paper or basic software miss this and overpay by thousands.
Software like TurboTax, FreeTaxUSA, and the IRS Free File Fillable Forms compute the right worksheet automatically. Paper filers and basic spreadsheet preparation must run the correct worksheet manually.
If your modified adjusted gross income (MAGI) exceeds $200,000 single or $250,000 MFJ, an additional 3.8% tax under IRC §1411 applies to the lesser of:
Schedule D's net capital gain is part of net investment income. Form 8960 computes the NIIT and routes it to Schedule 2 → Form 1040.
The NIIT is paid on top of the regular capital gains rate. A taxpayer in the 20% LTCG bracket with NIIT exposure pays an effective 23.8% federal rate on long-term gains, plus state income tax.
The NIIT threshold is not indexed for inflation — it's been frozen at $200K / $250K since the tax was enacted in 2013. Each year, more filers cross into NIIT territory by virtue of nominal income growth alone.
If your net capital loss exceeds $3,000 ($1,500 MFS) under IRC §1211, the unused portion carries forward indefinitely under IRC §1212. The carryover retains its short-term or long-term character — short-term loss stays short-term in the carryforward year, long-term stays long-term.
The Capital Loss Carryover Worksheet in the Schedule D instructions handles the math. Inputs:
Output:
Order of operations matters. Within a year, short-term losses first offset short-term gains; long-term losses first offset long-term gains. Then any net loss in one category offsets net gain in the other. Only if both Part I and Part II are net negative do you reach the $3,000 limit.
A $50,000 net loss with no offsetting gains takes more than 16 years of $3,000 applications against ordinary income to absorb. Realizing capital gains in future years accelerates absorption. Many investors deliberately harvest losses in down years and gains in up years to manage carryforward inventory.
Sam is the same single filer from our Form 8949 guide. He's in the 32% federal bracket with about $220,000 of taxable ordinary income (so MAGI puts him over the $200K NIIT threshold for single filers). Here's how his four 8949 entries flow up to Schedule D.
Inputs from Form 8949:
| Form 8949 Box | Holding period | Net (h) |
|---|---|---|
| Box B (NVDA wash sale) | Short-term | $0 |
| Box C (ETH loss) | Short-term | ($1,200) |
| Box D (AAPL gain) | Long-term | $15,000 |
| Box F (BTC gain) | Long-term | $7,500 |
Updated for this guide: Sam also realized an additional ($2,000) short-term loss during a separate NVDA flip in October 2025 outside the wash-sale window — straight loss with no replacement. So his short-term picture is:
Schedule D Part I (Short-Term):
| Line | Source | Amount |
|---|---|---|
| 1b | Box A totals | $0 |
| 2 | Box B totals | $0 |
| 3 | Box C totals | ($3,200) |
| 6 | Prior-year ST loss carryover | $0 |
| 7 | Net short-term capital loss | ($3,200) |
Schedule D Part II (Long-Term):
| Line | Source | Amount |
|---|---|---|
| 8b | Box D totals | $15,000 |
| 9 | Box E totals | $0 |
| 10 | Box F totals | $7,500 |
| 13 | Capital gain distributions (1099-DIV 2a) | $0 |
| 14 | Prior-year LT loss carryover | $0 |
| 15 | Net long-term capital gain | $22,500 |
Schedule D Part III (Summary):
| Line | Calculation | Amount |
|---|---|---|
| 16 | Line 7 + Line 15 = ($3,200) + $22,500 | $19,300 |
| 17 | Both 15 and 16 are gains? | Yes |
| 18 | 28% rate gain | $0 |
| 19 | Unrecaptured §1250 gain | $0 |
| 20 | Use Qualified Dividends and Capital Gain Tax Worksheet | Yes |
| 22 | Form 1040 Line 7 | $19,300 |
Tax computation (Qualified Dividends and Capital Gain Tax Worksheet):
The $19,300 gain is treated as long-term net gain (the short-term loss reduced it inside Schedule D). Sam's $220,000 taxable income puts the long-term gain in the 15% LTCG bracket (the 20% bracket starts at $533,400 for single filers in 2025).
LTCG tax: $19,300 × 15% = $2,895
NIIT (Form 8960):
MAGI excess over $200,000: $20,000
Net investment income: $19,300 (the cap)
NIIT base = lesser: $19,300
NIIT: $19,300 × 3.8% = $733
Total federal tax on capital activity: $2,895 + $733 = $3,628
The short-term loss of $3,200 was already used against long-term gain inside Schedule D — it didn't separately reduce ordinary income because there was net long-term gain to absorb it.
Suppose instead that Sam's BTC and AAPL didn't generate any gain, but his NVDA and ETH losses were larger. Reworked:
| Schedule D Line | Amount |
|---|---|
| Line 7 (net short-term) | ($8,000) |
| Line 15 (net long-term) | $0 |
| Line 16 (total) | ($8,000) |
| Line 21 (capital loss limitation) | ($3,000) |
On Form 1040 Line 7: ($3,000) — reduces ordinary income.
Capital Loss Carryover Worksheet output:
The remaining $5,000 short-term loss carries to 2026 and retains short-term character. In 2026, it first offsets any short-term gains, then long-term gains, then up to $3,000 of ordinary income.
If Sam's effective marginal rate is 32%, that $3,000 deduction saves him $960 this year. The $5,000 carryforward will save more later.
Problem: Filer has $30,000 of long-term gain and uses the regular tax tables, computing tax at the 24% ordinary rate instead of 15% LTCG.
Impact: Overpayment of $2,700 ($30,000 × 9% rate gap). The IRS won't send a refund — you have to amend with Form 1040-X within 3 years.
Solution: If Schedule D Line 16 is positive and Line 15 is positive, use the Qualified Dividends and Capital Gain Tax Worksheet (or Schedule D Tax Worksheet if §1250 or 28% gain is in play). Tax software does this automatically; paper filers must run the worksheet manually.
Problem: Filer had a $20,000 net loss in 2024, used $3,000 against ordinary income, but forgets to enter the remaining $17,000 carryover on Schedule D Line 6 or 14 in 2025.
Impact: Pays tax on gains the carryover should have offset. Permanent loss of the carryover (a 1040-X within 3 years can recover, but only if you remember).
Solution: Save the prior-year Capital Loss Carryover Worksheet every year. Tax software keeps this tracked across years if you carry the same software forward; otherwise, transcribe manually.
Problem: Single filer with $250,000 MAGI and $40,000 long-term gain pays 15% LTCG and stops there. Misses the 3.8% NIIT on the net investment income above the $200K threshold.
Impact: Roughly $1,520 underpayment ($40,000 × 3.8%, capped by MAGI excess of $50,000). Eventual IRS notice with interest.
Solution: If your MAGI exceeds $200K single / $250K MFJ, complete Form 8960 alongside Schedule D. The form is short — net investment income (interest, dividends, capital gains, rental net) less allocable expenses, then 3.8% on the lesser of NII or MAGI excess.
Problem: Filer sells a piece of business equipment from their Schedule C activity at a gain, classifies it as long-term capital gain, and reports on Form 8949. Actually, business property goes on Form 4797 first; only the net §1231 gain (after depreciation recapture as ordinary income) is then converted to long-term capital and routed to Schedule D Line 11.
Impact: Wrong characterization. Depreciation recapture income gets the 0/15/20% rate instead of the higher ordinary rate it should have gotten.
Solution: Business-use property: Form 4797 first. Investment property (passive holding): Form 8949 and Schedule D directly. If unsure, ask whether the asset was used in a trade or business — if yes, 4797.
Problem: Filer sells founder stock in a qualified C-corp, held 6 years, $2M gain. Reports the full $2M on Schedule D as long-term gain at 20% + 3.8% NIIT.
Impact: Pays $476,000 in federal tax. Under §1202, gains on Qualified Small Business Stock acquired after September 27, 2010 and held more than 5 years are excluded up to 100% (subject to a per-issuer cap of $10M or 10× basis). Properly claimed, the gain could be fully excluded — saving the entire $476,000.
Solution: If you hold founder stock or angel-invested stock in a C-corp, before selling, verify QSBS qualification: the company met the §1202 small-business asset test ($50M of gross assets at issuance), engaged in a qualified active business, and you held the stock more than 5 years. The exclusion is reported on Form 8949 with code "Q" (partial) or "X" (full); the excluded portion comes off in column (g).
Schedule D filers usually need three things: a complete picture of every disposition (Form 8949 detail), the right carryover from last year, and the right tax-rate computation. Jupid handles the bookkeeping side — the half that almost always breaks down with manual prep.
✅ Bank and brokerage connection — Connect every account where you had taxable activity (Schwab, Fidelity, Robinhood, Coinbase, banks). Trades, swaps, and crypto disposals stream into one timeline you can audit.
✅ Auto-categorization with 95.9% accuracy — Each transaction is classified by holding period and tax treatment. Crypto-to-crypto swaps are flagged as taxable events; cost basis is tracked across transfers between your own accounts.
✅ Year-over-year carryover tracking — Last year's net loss isn't a number you have to remember. Jupid carries it forward and shows the offset against this year's gains.
✅ AI accountant in WhatsApp / iMessage — Ask "How does my Schedule D look so far this year?" or "What's my net long-term gain after carryovers?" and get the answer with the underlying transactions linked. Real-time chat means you can plan the December tax-loss harvest knowing exactly how much short-term loss you've already booked.
Example conversation:
Schedule D is short, but the consequences of getting it wrong are big. The three things that decide whether the form takes 20 minutes or two weekends:
A Schedule D filed correctly with cooperative software takes a few minutes. A Schedule D filed with messy bookkeeping and no prior-year worksheet takes hours and risks an IRS notice nine months later. The fix isn't tax knowledge — it's bookkeeping during the year so the form populates itself at filing time.
If you're using Claude, ChatGPT, or another AI agent to help fill out Schedule D, we've published an open-source skill that gives the agent exact line-by-line instructions, validation checks, ask-don't-guess prompts, and worked examples — the same logic Jupid uses internally.
→ jupid-tax/jupid-skills on GitHub — forms/schedule-d/SKILL.md
For Claude Code: cp -r jupid-skills/forms/schedule-d ~/.claude/skills/. For the Anthropic SDK, load SKILL.md into the system prompt and the references/ files on demand. For browser-automation runtimes, filing.md covers the e-file or paper-file workflow.
Disclaimer
This article provides general information about Schedule D (Form 1040) and capital gains taxation. It is not tax advice and does not establish a CPA-client relationship. Tax laws change frequently, and individual circumstances vary significantly. Inflation-indexed figures for tax year 2026 should be verified against the most recent IRS Revenue Procedure before filing. For advice specific to your situation, consult a qualified tax professional.
Tax Year: 2026 (covering 2025 income) Last Updated: April 28, 2026
Join 1,000+ businesses using Jupid to save time and money. Start simplifying your finances today.
30-day money-back guarantee