Skip to main content

HomeAll guides

When You Owe Capital Gains Tax and How to Pay It

You pay capital gains tax in the year you sell the asset, not when you buy it

The tax is due on April 15 of the year after you sell. If you sell stock in June 2024, you report the gain on your 2024 tax return, filed by April 15, 2025. The IRS does not care when you bought the asset or how long you held it — only the year of the sale matters for the filing important date.

The amount you owe depends on how long you owned the asset before selling. If you held it for one year or less, the gain is short-term capital gains and is taxed like ordinary income — at your regular tax bracket rate. If you held it for more than one year, it is long-term capital gains and is taxed at a lower rate: 0%, 15%, or 20%, depending on your total income that year.

You do not make a separate payment to the IRS for capital gains. Instead, you report the gain on your tax return (usually Schedule D, Form 1040), and the tax is calculated as part of your overall return. If you owe more tax than what was withheld from your paychecks or other income, you pay the difference when you file. If you overpaid, you get a refund.

Key Takeaways

  • Capital gains tax is due on April 15 of the year following the sale, reported on your tax return for that year.
  • Short-term gains (held one year or less) are taxed at your ordinary income rate; long-term gains (held over one year) are taxed at 0%, 15%, or 20%.
  • You report the gain on Schedule D and include it with your Form 1040; you do not send a separate payment to the IRS.
  • If you sold an asset late in the year, you may owe estimated tax payments in the following year to avoid penalties.

How the holding period affects your tax rate

The IRS divides capital gains into two categories based on how long you owned the asset before selling it. This distinction is critical because the tax rate difference can be substantial.

Short-term capital gains explore when you sell an asset you owned for one year or less. These are taxed as ordinary income, meaning they are added to your wages, interest, and other income and taxed at your marginal tax bracket. If you are in the 24% tax bracket, short-term gains are taxed at 24%. If you are in the 12% bracket, they are taxed at 12%.

Long-term capital gains explore when you sell an asset you owned for more than one year. These are taxed at preferential rates: 0%, 15%, or 20%, depending on your filing status and total taxable income for the year. Most people fall into the 15% bracket. The 0% rate applies to lower-income filers, and the 20% rate applies to higher-income filers. These rates are significantly lower than ordinary income tax rates, which is why holding an asset longer than one year often saves money.

The holding period is measured from the day after you buy to the day you sell. If you buy on January 15, 2024, and sell on January 16, 2025, you have held it for more than one year and may have access to for long-term rates.

Reporting the sale on your tax return

You report capital gains using Schedule D (Form 1040), which lists each sale separately. You enter the date you bought the asset, the date you sold it, the sale price, and your cost basis (what you paid for it, plus any fees). The form calculates your gain or loss automatically.

If you sold only one or two assets, Schedule D is straightforward. If you sold many assets — for example, if you trade stocks frequently — you may have dozens of lines to fill in. Some brokers and investment firms provide a summary document that you can use to fill out Schedule D, though you are responsible for accuracy.

After you complete Schedule D, the total gain or loss transfers to your Form 1040. Long-term gains go on a specific line; short-term gains are combined with your ordinary income. The form then calculates your total tax owed.

If you have losses, you can use them to offset gains. If losses exceed gains, you can deduct up to $3,000 of the excess loss against ordinary income in that year. Any remaining loss carries forward to future years.

Estimated tax payments if you owe a large gain

If you sell an asset late in the year and realize a large gain, you may owe more tax than what was withheld from your paychecks. The IRS allows you to make estimated tax payments to avoid penalties and interest.

Estimated payments are made in four installments during the year: April 15, June 15, September 15, and January 15 of the following year. If you sell in November and realize a $50,000 gain, you can make an estimated payment by January 15 to cover part of the tax you will owe when you file in April.

You are not required to make estimated payments, but if you do not pay enough tax throughout the year — either through withholding or estimated payments — you may owe a penalty when you file. The penalty is small (usually a few dollars to a few hundred dollars, depending on the amount owed), but it is avoidable if you plan ahead.

To calculate your estimated payment, you can use the IRS worksheet in Form 1040-ES, or you can ask a tax professional to help you estimate what you will owe based on your expected gain.

State and local taxes on capital gains

Federal capital gains tax is only part of the picture. Most states also tax capital gains, and some cities do as well. State rates vary widely.

Some states tax capital gains as ordinary income at their regular income tax rate. Others have a separate, lower rate for long-term gains. A few states — including Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, and Wyoming — do not tax capital gains at all. New York City and a handful of other cities impose an additional local tax on capital gains.

You report state and local capital gains on your state and local tax returns, which are filed at the same time as your federal return. The important date is usually April 15, though some states allow extensions. If you moved during the year, you may owe tax to both your old state and your new state, depending on when the sale occurred and where you lived at the time.

What happens if you do not report a sale

If you sell an asset and do not report the gain on your tax return, the IRS will likely find out. Brokers and investment firms are required to report sales to the IRS on Form 1099-B. The IRS matches these reports to tax returns and flags returns that do not include the reported sales.

If you fail to report a gain, you will owe back taxes plus interest and penalties. The penalty for negligence is typically 20% of the underpaid tax. If the IRS determines the omission was intentional, the penalty can be as high as 75%. Interest accrues from the original due date until you pay.

If you made a mistake on your return — for example, you reported the wrong sale price — you can file an amended return (Form 1040-X) to correct it. Amended returns are generally accepted without penalty if filed within three years of the original due date.

Frequently Asked Questions

Do I owe capital gains tax if I sell at a loss?

No, you do not owe tax on a loss. Instead, you can use the loss to offset gains from other sales in the same year. If losses exceed gains, you can deduct up to $3,000 of the excess against ordinary income. Any remaining loss carries forward to future years.

What if I inherited an asset and then sold it?

Inherited assets receive a step-up in basis, meaning your cost basis is the asset's value on the date of death, not what the original owner paid. If you inherit stock worth $10,000 and sell it for $10,500 a month later, you owe tax on only $500, not the full $10,500. This is a major tax benefit of inheritance.

Can I defer capital gains tax by reinvesting the money?

No. The tax is due in the year you sell, regardless of what you do with the proceeds. Reinvesting the money does not change the tax you owe. However, if you reinvest in a may have access to opportunity zone fund within 180 days, you may be able to defer or reduce the tax under special rules — consult a tax professional about this option.

Do I owe capital gains tax on cryptocurrency sales?

Yes. The IRS treats cryptocurrency like any other asset. If you sell Bitcoin or another cryptocurrency for more than you paid, you owe capital gains tax. The holding period (short-term or long-term) is determined the same way as with stocks or real estate. You report the sale on Schedule D.

What if I sold a rental property or investment real estate?

Capital gains tax applies to real estate sales just as it does to stocks. However, if you sold a primary residence (a home you lived in for at least two of the last five years), you may be able to exclude up to $250,000 of the gain from tax (or $500,000 if married filing jointly). This exclusion is available once every two years.

This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.