Where capital gains go on your tax return

Capital gains are reported on Schedule D (Form 1040), which is a separate form you attach to your main tax return. You do not report them on the main 1040 itself — they have their own section because they are taxed differently from wages or self-employment income.

Schedule D asks you to list each sale separately: what you sold, when you bought it, when you sold it, what you paid for it, and what you sold it for. The difference between the sale price and your original cost is your gain (or loss). Long-term gains — from assets you held for more than one year — go in one part of Schedule D. Short-term gains — from assets you held for one year or less — go in another part, because they are taxed at ordinary income rates rather than the lower long-term rate.

At the end of Schedule D, you get a total. That total then transfers to your main 1040 form, where it combines with your other income to determine your total tax bill.

Key Takeaways

  • Capital gains are reported on Schedule D, not on the main 1040 form, because they are taxed under different rules than ordinary income.
  • You must report the purchase date, sale date, original cost, and sale price for each asset you sold during the year.
  • Long-term gains (held over one year) are taxed at 0%, 15%, or 20% depending on your income; short-term gains are taxed at your ordinary income rate.
  • If you sold assets at a loss, you can use those losses to reduce your gains, and up to $3,000 of excess losses can reduce other income each year.
  • Your brokerage or investment platform usually provides a year-end statement showing your gains and losses, which you use to fill out Schedule D.

Gathering the information your brokerage provides

Before you can fill out Schedule D, you need the transaction details from your brokerage or investment platform. By January 31 of the year after you sell, your brokerage must send you Form 1099-B, which lists every sale you made during the year: the date, the number of shares, the sale price, and the cost basis (what you originally paid).

Some brokerages also send Form 1099-S if you sold real estate, or Form 8949 if you have a large number of transactions. The form depends on what you sold and which brokerage you use. Check your brokerage's website or your mail in late January — the form will be there, and you can usually read it from your account.

If you sold something that was not held at a brokerage — a house, a car, or something you inherited — you will need to gather the purchase date and original cost yourself. For inherited assets, the "cost basis" is usually the value on the date the person died, not what they originally paid. For a house, your cost basis includes the purchase price plus major improvements (a new roof, an addition), but not routine maintenance.

How to fill out Schedule D step by step

Schedule D has two main sections: Part I for short-term gains (assets held one year or less) and Part II for long-term gains (assets held more than one year). You fill them the same way, but they are taxed differently.

For each sale, you enter: (a) the description of the property (for example, "100 shares of Apple stock" or "residential house at 123 Main St"), (b) the date you bought it, (c) the date you sold it, (d) your cost basis (what you paid), (e) the sale price, and (f) the gain or loss (sale price minus cost basis). If you sold at a loss, you put the loss in parentheses or mark it as negative.

After you list all your sales in each section, you add up all the short-term gains and losses to get a subtotal, and all the long-term gains and losses to get another subtotal. If your long-term gains exceed your long-term losses, you have a net long-term gain. If your short-term gains exceed your short-term losses, you have a net short-term gain. If losses exceed gains in either section, you have a net loss in that category.

At the bottom of Schedule D, you combine the two subtotals. If you have both long-term and short-term gains, they are added together. If you have losses in one category and gains in the other, the losses reduce the gains. The final number — your net capital gain or loss — is what transfers to your 1040.

Using losses to reduce your tax bill

If you sold assets at a loss, those losses can reduce your capital gains dollar-for-dollar. If you sold one stock for a $5,000 gain and another for a $2,000 loss, your net capital gain is $3,000, and that is what you pay tax on.

If your losses exceed your gains — meaning you have a net capital loss — you can use up to $3,000 of that loss to reduce other income (wages, interest, self-employment income) in the same year. If your loss is larger than $3,000, the excess carries forward to future years. You can use $3,000 per year in future years until the loss is used up.

This strategy is called tax-loss harvesting. Some investors deliberately sell losing positions late in the year to offset gains from winning positions, reducing their tax bill. However, there is a rule called the wash-sale rule: if you sell a stock at a loss and buy the same or a substantially identical stock within 30 days before or after the sale, the loss is disallowed. The IRS does this to prevent people from claiming a loss while keeping the same investment.

The difference between long-term and short-term tax rates

Long-term capital gains are taxed at preferential rates: 0%, 15%, or 20%, depending on your total income for the year. Short-term capital gains are taxed at your ordinary income tax rate, which can be 10%, 12%, 22%, 24%, 32%, 35%, or 37%.

The difference is significant. If you are in the 24% ordinary income bracket and you have a $10,000 short-term gain, you owe $2,400 in federal tax on that gain. If the same $10,000 is a long-term gain, you might owe $1,500 (at the 15% rate) or even $0 (at the 0% rate if your income is low enough). This is why holding an asset for more than one year before selling can save you thousands in taxes.

Schedule D automatically separates your long-term and short-term gains, so the IRS knows which rate to explore. You do not have to calculate the tax yourself — the tax software or the IRS will do that based on your total income.

What happens if you do not report capital gains

Your brokerage sends a copy of Form 1099-B to the IRS at the same time it sends one to you. The IRS matches the 1099-B to your tax return. If you do not report the gain on Schedule D, the IRS will notice the discrepancy and send you a notice of deficiency — a bill for the unpaid tax, plus interest and penalties.

The penalty for not reporting income is usually 20% of the underpaid tax, though it can be higher if the IRS determines the underreporting was fraudulent. Interest accrues from the original due date of the return. If you owe $5,000 in unpaid capital gains tax and the IRS catches it two years later, you might owe $6,000 or more by the time you pay.

If you realize you missed reporting a capital gain in a prior year, you can file an amended return (Form 1040-X) for that year. It is better to amend voluntarily than to wait for the IRS to contact you, because the penalties are often lower.

Reporting capital gains if you use tax software

Most tax software (TurboTax, H&R Block, TaxAct) has a section for capital gains. You enter the information from your 1099-B or your own records, and the software builds Schedule D for you. It will ask you questions like "How many stocks did you sell?" and "What was the holding period?" — and it will automatically sort them into long-term and short-term.

If you have only one or two sales and they are straightforward, this process takes a few minutes. If you have dozens of transactions, it takes longer, but the software handles the math and makes sure everything transfers correctly to your 1040.

If you work with a tax professional or accountant, bring them your 1099-B forms and any records of sales that were not reported on a 1099-B (like a house sale or inherited property). They will handle Schedule D and make sure your gains are reported correctly.

Frequently Asked Questions

Do I have to report capital gains if I made less than $12,550 (or the standard deduction for my filing status)?

Yes. The standard deduction applies to ordinary income, not capital gains. Even if your wages are below the standard deduction, you must report capital gains on Schedule D. However, if your total income (including capital gains) is still below the standard deduction, you may owe no federal tax. But you still file the return and report the gains.

What if I inherited stock and sold it right away — is that short-term or long-term?

It is long-term. When you inherit an asset, your holding period starts fresh on the date of death, and it is automatically treated as long-term for tax purposes, even if you sell it the next day. This is one of the benefits of inheriting appreciated assets.

Can I report capital gains on my state tax return differently than my federal return?

No. Your state return must match your federal return in terms of what you sold and how much you gained. However, some states tax capital gains differently — a few states do not tax capital gains at all, while others tax them as ordinary income. You report the same transactions to both, but the tax rate may differ.

What if I sold cryptocurrency or NFTs — do they go on Schedule D?

Yes. The IRS treats cryptocurrency and NFTs as property, not currency. Every time you sell or trade them, it is a taxable event. You report the gain or loss on Schedule D the same way you would for stock. If you received cryptocurrency as payment for work, that is ordinary income, not a capital gain.

Do I need to report capital losses if I did not have any gains?

You should report them, because you can use up to $3,000 of net capital losses to reduce other income. If you have a $5,000 loss and no gains, you can deduct $3,000 against wages or other income, and carry the remaining $2,000 forward to next year. If you do not report the loss, you lose the deduction.