You report capital gains on your tax return, and the IRS collects the tax when you file — not when you sell the asset

Capital gains tax is not a separate payment you make to the IRS on the day you sell a stock or property. Instead, you report the gain (the profit) on your annual tax return using IRS Form 1040 and Schedule D, and you pay the tax as part of your overall tax bill when you file. The IRS does not send you a bill for capital gains; the amount owed is calculated based on your total income for the year, your filing status, and how long you held the asset.

If you sold an asset in 2024, you will report it on your 2024 tax return, which you file in early 2025. The payment is due by April 15, 2025, along with any other income tax you owe. If you expect to owe a large amount, you may need to make estimated tax payments during the year to avoid penalties.

Key Takeaways

  • Capital gains are reported on Schedule D (Form 1040), not on a separate IRS form, and the tax is collected when you file your annual return.
  • Long-term gains (assets held over one year) are taxed at lower rates than short-term gains, which are taxed as ordinary income.
  • If you sold assets for a loss, you can deduct up to $3,000 of losses against other income in the same year, and carry unused losses forward to future years.
  • Your broker or investment firm will send you a Form 1099-B or 1099-S showing the sale price and date; you use this to calculate your gain or loss.
  • If you owe more than $1,000 in capital gains tax, you may need to make quarterly estimated payments to avoid an underpayment penalty.

What documents you need to gather before filing

Start by collecting your cost basis — the original price you paid for the asset, plus any fees or commissions. Your broker will provide a Form 1099-B (for stocks, bonds, and mutual funds) or Form 1099-S (for real estate) showing the sale price and the date you sold. If you bought the asset years ago and no longer have the original receipt, your broker's records or the financial institution that held the asset can usually provide this information.

You will also need to know the date acquired and date sold for each asset, because this determines whether the gain is long-term or short-term. Long-term means you held it for more than one year; short-term means one year or less. The tax rate you pay depends on this distinction. Write down the sale price, the cost basis, and the holding period for each asset you sold during the year.

If you sold real estate, gather the original purchase documents, any receipts for improvements you made to the property (new roof, major repairs), and the Form 1099-S from the title company or real estate agent. Improvements add to your cost basis and reduce your taxable gain.

How to calculate your gain or loss

The calculation is straightforward: Sale Price minus Cost Basis equals Gain (or Loss). If you bought 100 shares of stock for $50 per share ($5,000 total) and sold them for $60 per share ($6,000 total), your gain is $1,000. If you sold them for $40 per share ($4,000 total), your loss is $1,000.

Separate your gains and losses into two groups: long-term (held over one year) and short-term (held one year or less). Add up all long-term gains and all long-term losses. Do the same for short-term. Then combine the two groups. If your total is a gain, that is your taxable capital gain. If your total is a loss, you can deduct up to $3,000 against your other income (wages, interest, dividends) in that year. Any loss above $3,000 carries forward to the next year.

Many people use tax software or a tax professional to do this calculation, especially if they sold multiple assets or own rental property. The math is not complex, but tracking dozens of transactions is error-prone if done by hand.

Reporting capital gains on Schedule D

Schedule D is the IRS form where you list each asset you sold, the date acquired, the date sold, the cost basis, the sale price, and the gain or loss. You attach Schedule D to your Form 1040 when you file. The form has separate sections for long-term and short-term transactions, and it calculates your total capital gain or loss automatically.

If you sold only one or two assets and the transactions are simple, you can fill out Schedule D by hand or use tax software that walks you through the questions. If you sold many assets or have complex transactions (like inherited property or assets received as a gift), a tax professional or CPA can prepare Schedule D for you. The form itself is free; the cost is only if you hire someone to prepare it.

Once Schedule D is complete, the total capital gain or loss transfers to your Form 1040. If you have a net gain, it is added to your other income (wages, interest, etc.) to calculate your total tax. If you have a net loss, it reduces your other income, which lowers your tax bill.

Tax rates for long-term versus short-term gains

Long-term capital gains (assets held over one year) are taxed at preferential rates: 0%, 15%, or 20%, depending on your total income and filing status. These rates are much lower than the rates for ordinary income, which can go as high as 37%. Short-term capital gains are taxed as ordinary income at your regular tax bracket rate.

For example, if you are single and your total income is $47,025 or less in 2024, your long-term capital gains are taxed at 0%. If your income is between $47,026 and $518,900, the rate is 15%. Above that, it is 20%. These income thresholds change each year. Short-term gains, by contrast, are added to your wages and taxed at whatever rate applies to your total income — potentially 22%, 24%, 32%, 35%, or higher.

This is why holding an asset for more than one year before selling can save you thousands in tax. A $10,000 short-term gain taxed at 24% costs $2,400. The same $10,000 long-term gain taxed at 15% costs $1,500. The difference is $900.

Making estimated tax payments if you owe a large amount

If you sold a major asset (like a rental property or a large stock position) and expect to owe more than $1,000 in capital gains tax, the IRS requires you to make estimated tax payments during the year. These are quarterly payments due on April 15, June 15, September 15, and January 15 of the following year. If you do not make these payments and you owe more than $1,000 when you file, you will owe an underpayment penalty on top of the tax itself.

To calculate your estimated payment, divide your expected tax liability by four and pay that amount each quarter. If you are unsure of the exact amount, you can pay based on your prior year's tax, or you can use IRS Form 1040-ES to estimate. You can pay estimated taxes online through the IRS website (IRS.gov), by mail, or through your bank's bill-pay system. Keep a record of each payment and the date you made it; you will need this when you file your return.

If you sold the asset late in the year (October or later), you may not need to make a payment for that quarter. The IRS allows you to catch up when you file your return in April. A tax professional can advise you on whether estimated payments are necessary in your situation.

Using capital losses to reduce your tax bill

If you sold an asset for less than you paid for it, you have a capital loss. You can use this loss to offset capital gains from other sales in the same year. If your total losses exceed your total gains, you can deduct up to $3,000 of the net loss against your wages, interest, dividends, and other ordinary income. This reduces your overall tax bill.

Any loss above $3,000 does not disappear — it carries forward to the next year and the year after that, until it is fully used. For example, if you have a $10,000 net capital loss in 2024, you can deduct $3,000 against your 2024 income. The remaining $7,000 carries forward to 2025, where you can deduct another $3,000, leaving $4,000 to carry to 2026, and so on.

Some investors deliberately sell losing positions late in the year to offset gains from winning positions — a strategy called tax-loss harvesting. This is legal and common. However, if you sell a security at a loss and buy the same or a substantially identical security within 30 days before or after the sale, the IRS will disallow the loss under the wash-sale rule. Plan ahead if you want to use losses to offset gains.

Frequently Asked Questions

Do I have to pay capital gains tax if I did not sell anything?

No. Capital gains tax is only owed when you actually sell an asset. If you own stocks, real estate, or other investments that have increased in value but you have not sold them, there is no tax due. The gain is "unrealized" until you sell. Once you sell, the gain becomes "realized" and is subject to tax.

What if I inherited an asset — do I owe capital gains tax on it?

Inherited assets receive a "step-up in basis," which means the cost basis is reset to the fair market value on the date of death. If you inherit a house worth $500,000 and sell it a year later for $510,000, your taxable gain is only $10,000, not the full $510,000. This applies to most inherited property, though there are exceptions for certain retirement accounts and assets held in trust.

Can I deduct investment losses from my regular income?

Yes, but only up to $3,000 per year. If your capital losses exceed your capital gains and you have more than $3,000 in net losses, you can deduct $3,000 against your wages, interest, and other income. The excess carries forward to future years. This rule applies to losses from stocks, bonds, mutual funds, and other investments.

What happens if I do not report a capital gain on my tax return?

The IRS will likely catch it. Your broker sends a copy of Form 1099-B or 1099-S to the IRS, and the IRS matches it against your return. If you do not report the sale, the IRS will send you a notice and bill you for the tax owed plus interest and penalties. It is much cheaper to report the gain when you file.

Do I owe capital gains tax on cryptocurrency or digital assets?

Yes. The IRS treats cryptocurrency, NFTs, and other digital assets as property. When you sell or trade them, you owe capital gains tax on the profit, calculated the same way as stocks or real estate. If you received cryptocurrency as payment for work, that is ordinary income, not a capital gain. Keep detailed records of the purchase price, date acquired, sale price, and date sold for each transaction.