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 Form 1040 and Schedule D, and you pay the tax as part of your overall tax bill when you file. If you owe a large amount, you may need to make estimated tax payments throughout the year to avoid penalties.

The mechanics depend on whether your gain is short-term (you held the asset one year or less) or long-term (you held it more than one year). Long-term gains are taxed at lower rates and reported differently on your return. Most people do not owe anything until April 15 of the following year, though high earners and frequent traders may owe quarterly.

Key Takeaways

  • You report capital gains on Schedule D of Form 1040, filed with your annual tax return by April 15.
  • Short-term gains (assets held one year or less) are taxed as ordinary income at your regular tax rate.
  • Long-term gains (assets held more than one year) are taxed at 0%, 15%, or 20% depending on your income, which is lower than ordinary rates.
  • If you expect to owe more than $1,000 in capital gains tax, you should make quarterly estimated payments to avoid underpayment penalties.
  • Your broker or investment firm sends you a Form 1099-B or 1099-S showing your sales; you use this to calculate your gain and fill out Schedule D.

What documents you need to calculate your gain

To report a capital gain, you need to know three things: the sale price, the original purchase price (called your cost basis, and the date you bought and sold the asset. Your broker or investment company sends you a Form 1099-B (for stocks, mutual funds, and bonds) or Form 1099-S (for real estate) showing the sale price and date. This form arrives by January 31 of the year after you sell.

You must find your original purchase price yourself — the 1099 does not always include it. Check your brokerage statements, purchase confirmations, or old tax returns. If you bought the asset years ago and lost the paperwork, contact your broker; they often keep records going back seven years or more. For real estate, your purchase deed and closing statement show the price you paid.

Once you have both prices, subtract the cost basis from the sale price. That number is your capital gain (or loss, if the sale price was lower). If you sold multiple assets, you calculate the gain or loss for each one separately, then add them together on Schedule D.

How to fill out Schedule D and report the gain

Schedule D is a two-part form. Part I is for short-term gains (assets held one year or less); Part II is for long-term gains (assets held more than one year). For each sale, you enter the asset name, the date acquired, the date sold, the sale price, the cost basis, and the gain or loss. The form then totals your short-term and long-term gains separately.

You attach Schedule D to your Form 1040 when you file your tax return. The totals from Schedule D flow to your 1040, where they are combined with your other income. Short-term gains are added to your wages and other ordinary income and taxed at your regular rate (10%, 12%, 22%, 24%, 32%, 35%, or 37%, depending on your income bracket). Long-term gains are taxed separately at 0%, 15%, or 20%, which is almost always lower.

If your total capital losses exceed your gains in a year, you can deduct up to $3,000 of the net loss against your ordinary income. Any loss above $3,000 carries forward to future years, so you can use it later.

When you owe estimated tax payments during the year

If you expect your capital gains to be large — typically more than $1,000 — you should make quarterly estimated tax payments to the IRS. These are payments you make on your own, four times a year, rather than waiting until April 15. The due dates are April 15, June 15, September 15, and January 15 of the following year.

You calculate estimated tax by predicting your total income and tax for the year, then dividing by four. If you sell a stock in January and realize a $50,000 gain, you cannot wait until April 15 of the next year to pay; the IRS expects you to pay roughly one-quarter of the resulting tax by April 15 of the current year. If you do not pay enough, you owe an underpayment penalty when you file, even if you ultimately owe no tax.

You make estimated payments using Form 1040-ES, which includes a worksheet to calculate what you owe. You can pay online through IRS Direct Pay, by phone, or by mailing a check with a payment voucher. Many people use tax software or a tax professional to calculate the right amount.

State and local capital gains taxes

Federal capital gains tax is only part of the bill. Most states tax capital gains as ordinary income, meaning your state tax rate applies on top of the federal rate. A few states — including Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, and Wyoming — do not tax capital gains at all. Others, like California, tax long-term gains at the same rate as short-term gains (no preferential rate).

Some cities and counties also impose local income taxes that apply to capital gains. New York City, for example, taxes capital gains at the city rate in addition to state and federal tax. You report state and local gains on your state tax return, using a form similar to Schedule D. The due date is usually the same as your federal return (April 15), though some states have different deadlines.

Check your state's tax department website or ask a tax professional what rate applies to you. The combined federal, state, and local rate on a long-term capital gain can range from 15% to over 50%, depending on where you live and your income level.

How to reduce capital gains tax through timing and strategy

You cannot avoid capital gains tax, but you can reduce it by controlling when you sell and which assets you sell. If you have both a gain and a loss in the same year, sell the losing asset too; the loss offsets the gain dollar-for-dollar, reducing your taxable gain. This is called tax-loss harvesting.

Timing also matters. If you are close to the edge of a tax bracket, delaying a sale by a few weeks or months might push the gain into the next year, when your income may be lower and your tax rate may be different. Similarly, if you are retired and have a low-income year, selling appreciated assets that year may result in a lower tax rate than selling in a high-income year.

For real estate, you may be able to exclude up to $250,000 of gain ($500,000 if married) if you lived in the home as your primary residence for at least two of the five years before you sold. This exclusion is available once every two years and can eliminate capital gains tax on the sale of a house entirely.

What happens if you do not report a capital gain

If you sell an asset and receive a 1099-B or 1099-S, the IRS receives a copy too. The IRS matches the 1099 against your tax return. If you do not report the sale, the IRS will notice the missing income and send you a notice of deficiency, which is a bill for the unpaid tax plus interest and penalties. The penalty for not reporting is usually 20% of the unpaid tax, plus interest compounded daily.

If the IRS determines you intentionally hid the gain, the penalty can be as high as 75% (fraud penalty). Even if it was an honest mistake, you still owe the tax and interest. The safest approach is to report every sale, even if you think the gain is small or you are not sure how to calculate it. A tax professional can help you get it right.

Frequently Asked Questions

Do I have to pay capital gains tax if I reinvest the money?

Yes. The tax is based on the gain, not on what you do with the proceeds. If you sell a stock for $10,000 that you bought for $5,000, you owe tax on the $5,000 gain whether you spend the money, hold it in cash, or buy another stock. Reinvesting does not defer or eliminate the tax.

What if I sold an asset at a loss?

Report the loss on Schedule D just as you would a gain. If your losses exceed your gains, you can deduct up to $3,000 of the net loss against your ordinary income in that year. Any remaining loss carries forward to future years, where you can use it to offset future gains or income.

Do I owe capital gains tax on inherited assets?

No tax is owed on the inheritance itself. However, if you later sell the inherited asset, you owe tax only on the gain from the date you inherited it, not from the date the original owner bought it. This is called a "step-up in basis" and can eliminate or greatly reduce the tax.

Can I deduct investment losses from my taxes?

Yes, but only up to $3,000 per year against ordinary income. If you have more than $3,000 in net losses, the excess carries forward to future years. You cannot deduct losses from a personal residence or other personal property — only from investment assets like stocks, bonds, and rental property.

What if I do not know my original purchase price?

Contact your broker or the company that sold you the asset; they often have records going back many years. If you truly cannot find the original price, you may be able to use a reasonable estimate based on historical price data, though this is risky. A tax professional can advise you on what the IRS will accept in your situation.