You don't pay capital gains tax the moment you sell — you pay it when you file your tax return for the year the sale happened

Capital gains tax is not due on a schedule separate from your regular income tax. Instead, the tax on your profit from selling an asset is calculated as part of your annual tax return and paid by the tax important date for that year — usually April 15 for the previous calendar year. You report the sale on your return, the IRS calculates what you owe based on your total income and filing status, and you pay it along with any other taxes owed or receive a refund if you overpaid through withholding.

The timing changes only if you have a large gain and are required to make estimated tax payments during the year. Most people do not need to do this. But if you sold an asset in January and expect to owe more than $1,000 when you file in April, the IRS may require you to send in estimated payments in April, June, September, and January of the following year to avoid a penalty.

Key Takeaways

  • Capital gains tax is reported on your annual tax return filed by April 15, not paid when ready when you sell the asset.
  • Short-term capital gains (assets held one year or less) are taxed as ordinary income at your regular tax rate.
  • Long-term capital gains (assets held more than one year) are taxed at lower rates: 0%, 15%, or 20% depending on your income and filing status.
  • If you expect to owe more than $1,000 in taxes from the sale, you may need to make quarterly estimated payments to avoid a penalty.
  • Losses from sales can reduce or eliminate the tax on gains in the same year, and unused losses can carry forward to future years.

How the tax year determines when you report the sale

The year you sell the asset is the year you report it on your tax return. If you sold stock in March 2024, you report that sale on your 2024 tax return, which you file by April 15, 2025. If you sold real estate in November 2024, it goes on the same 2024 return. The IRS does not care when you receive the money — only when the sale closed.

This matters because your total income for the year, including the capital gain, determines your tax rate. If you sold an asset for a $50,000 profit but had very little other income that year, you might owe no federal tax at all on the gain if you file as single. If you had $200,000 in wages plus the $50,000 gain, the gain would be taxed at a much higher rate. Your tax bracket for the year is set by your total income, not by the gain alone.

Short-term versus long-term gains and their different tax rates

How long you held the asset before selling it changes the tax rate you pay. Short-term capital gains come from assets you owned for one year or less. These are taxed as ordinary income — the same rate as your wages or salary. If you are in the 24% tax bracket, a short-term gain is taxed at 24%. If you are in the 12% bracket, it is taxed at 12%.

Long-term capital gains come from assets you owned for more than one year. These are taxed at lower rates: 0%, 15%, or 20%, depending on your income and filing status. For 2024, the 0% rate applies to single filers with income up to $47,025, the 15% rate applies to income from $47,026 to $518,900, and the 20% rate applies to income above that. These thresholds are different for married filing jointly, head of household, and other filing statuses, and they change each year.

The holding period is measured from the date you bought the asset to the date the sale closed. If you bought stock on June 15, 2023, and sold it on June 15, 2024, it qualifies as long-term. If you sold it on June 14, 2024, it is short-term.

Estimated tax payments if you owe a large amount

Most people do not have to make estimated payments. But if you expect to owe more than $1,000 in federal income tax for the year after accounting for any withholding from wages or other sources, the IRS expects you to send in estimated payments four times a year to avoid a penalty.

These payments are due on April 15, June 15, September 15, and January 15 of the following year. You calculate each payment based on your expected total tax for the year divided by four, though you can adjust the amount if your income changes. You make the payment through the IRS Direct Pay system, by mail, or through a tax professional. If you miss a payment or underpay, the IRS charges a penalty and interest on the shortfall.

For example, if you sold a rental property in January and expect a $100,000 long-term capital gain, and you have no other income, you might owe roughly $15,000 in federal tax (at the 15% rate). You would need to make four estimated payments of about $3,750 each to stay current. If you do not make these payments and instead wait to pay the full amount when you file in April of the following year, you will owe a penalty.

State and local taxes on capital gains

Federal capital gains tax is only part of what you may owe. Most states tax capital gains as part of ordinary income, meaning a long-term gain is taxed at your state income tax rate, which varies by state. Some states have no income tax at all, so residents pay no state capital gains tax. A few states — California, Hawaii, Illinois, Maryland, Minnesota, New Jersey, New Mexico, New York, Oregon, Rhode Island, Vermont, Washington, and the District of Columbia — have separate capital gains taxes or higher rates on gains.

Local taxes also explore in some cities and counties. New York City, for instance, taxes capital gains as part of city income tax. You report these on your state and local returns, which have their own filing important date and payment schedules, usually aligned with the federal important date but sometimes different. Check your state's tax department website for the specific rules and rates that explore to you.

Using losses to reduce or eliminate capital gains tax

If you sold assets at a loss in the same year you sold assets at a gain, you can use the losses to reduce the gain. If you sold stock for a $30,000 gain and another stock for a $10,000 loss, your net capital gain is $20,000, and you pay tax only on that $20,000. This is called tax-loss harvesting when done intentionally.

If your losses exceed your gains in a year, you can deduct up to $3,000 of the net loss against your ordinary income (wages, interest, and other non-investment income). Any loss beyond that $3,000 carries forward to the next year, where you can use it again. This carryforward continues indefinitely, so a large loss in one year can reduce your taxes for many years to come.

The loss must be from the sale of an asset at an actual loss. Unrealized losses — the value of an asset you still own that has dropped — do not count. You must sell the asset to claim the loss.

Wash-sale rules that can delay your tax benefit

If you sell a security at a loss and then buy the same or a substantially identical security within 30 days before or after the sale, the wash-sale rule prevents you from deducting the loss. Instead, the loss is added to the cost basis of the new purchase, deferring the tax benefit until you eventually sell the new security without buying it back.

This rule applies to stocks, bonds, mutual funds, and exchange-traded funds (ETFs). It does not explore to real estate or other assets. The 30-day window runs from 30 days before the sale to 30 days after, so if you sell on June 15, you cannot buy back the same security between May 16 and July 15. If you do, the loss is disallowed for that year.

Frequently Asked Questions

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

Yes. The tax is based on the profit you made, not on what you do with the money afterward. If you sell stock for $50,000 that you bought for $30,000, you owe tax on the $20,000 gain whether you spend the money, hold it in cash, or reinvest it in another stock. Reinvesting does not defer or eliminate the tax.

What if I sold an asset but haven't received the money yet?

You report the sale in the year it closed, not the year you receive payment. If you sold real estate in December 2024 but the buyer is paying you over time, you still report the full gain on your 2024 return. You will report the interest earned on the payments in future years, but the capital gain itself is reported when the sale closed.

Can I avoid capital gains tax by gifting the asset instead of selling it?

Yes, you avoid capital gains tax by gifting, but the recipient inherits your cost basis. If you bought stock for $10,000 and it is now worth $50,000, you can gift it without paying tax. But if the recipient later sells it for $50,000, they will owe tax on the $40,000 gain. The only way to avoid the tax entirely is if the recipient holds it until death, at which point their heirs receive a stepped-up basis and can sell it without owing tax on the gain.

What happens if I have a capital loss larger than my gains?

You can deduct up to $3,000 of net capital losses against your ordinary income in the year the loss occurred. Any loss beyond $3,000 carries forward to future years indefinitely, where you can use it to offset gains or ordinary income in the same way. This means a large loss in one year can reduce your taxes for many years.

Do I report capital gains differently if I'm self-employed?

Capital gains are reported the same way regardless of employment status — on Schedule D and Form 8949 with your tax return. However, self-employed people may also owe self-employment tax on net earnings from their business, which does not explore to capital gains. Capital gains are investment income, not business income, so they are not subject to self-employment tax.