You owe capital gains tax when you sell an asset for more than you paid for it, and the tax is due in the year of the sale
The moment you have a taxable gain — the difference between what you paid for something and what you sold it for — you have triggered a tax obligation. You do not have to pay the tax immediately when you sell. Instead, you report the gain on your tax return for that year, and the tax is due when you file, typically by April 15 of the following year. If you owe more than $1,000 in federal taxes for the year, you may also owe estimated tax payments in the year of the sale itself.
The timing depends on two things: when you sold the asset, and whether the gain is short-term (held less than one year) or long-term (held one year or more). Long-term gains are taxed at lower rates, but both types are reported the same way — on your tax return for the year you sold.
Key Takeaways
- Capital gains tax is owed in the tax year when you sell the asset, reported on your tax return due by April 15 of the next year.
- Short-term gains (assets held less than one year) are taxed as ordinary income at your regular tax rate; long-term gains (held one year or more) are taxed at lower rates of 0%, 15%, or 20%.
- If you sell an asset in December, you report that gain on your tax return filed in April of the following year, not immediately.
- You may owe estimated tax payments during the year of the sale if your total tax liability exceeds $1,000, even though the full tax is not due until April 15.
- Losses can offset gains in the same year, and unused losses can carry forward to reduce gains in future years.
How the tax year works for capital gains
The tax year runs January 1 through December 31. Any asset you sell during that calendar year creates a gain or loss that belongs to that tax year's return. If you sell stock on March 15, you report it on the 2024 tax return (filed in 2025). If you sell a house on November 20, that gain goes on the same year's return.
The date you receive the money does not matter. The date you actually sell — the settlement date for real estate, the trade date for stocks — is what counts. If your broker shows a sale on December 29, that is a 2024 gain even if the cash hits your account in January 2025.
Short-term gains are taxed immediately at your regular rate
If you hold an asset for one year or less before selling it, the gain is short-term. Short-term gains are taxed as ordinary income — the same rate as your wages or salary. For 2024, that means rates from 10% to 37% depending on your total income and filing status.
There is no waiting period or special treatment. You sell in June, you report it on your 2024 return filed in April 2025, and you pay tax at your ordinary income rate. This applies to stocks, bonds, cryptocurrency, collectibles, and any other asset held under a year.
Long-term gains get lower tax rates if you hold for over a year
If you hold an asset for more than one year before selling, the gain is long-term. Long-term capital gains are taxed at preferential rates: 0%, 15%, or 20%, depending on your income level. These rates are much lower than ordinary income rates and do not change year to year — they are set by law.
The one-year holding period is measured from the date you bought to the date you sold. If you bought stock on June 15, 2023, and sold it on June 16, 2024, it qualifies as long-term. If you sold it on June 14, 2024, it is short-term. The exact date matters.
Long-term gains still go on your tax return for the year you sold, due April 15 of the next year. The lower rate is the only difference — the timing of when you owe the tax is the same.
Estimated tax payments may be due during the year of the sale
If you expect to owe more than $1,000 in federal income tax for the year, you may have to make estimated tax payments quarterly — in April, June, September, and January. This applies whether the tax comes from wages, capital gains, or any other source.
Estimated payments are not an extra tax. They are advance payments toward the tax you will owe when you file. If you sell an asset in March and realize a large gain, you may owe an estimated payment in April for that gain. When you file your return the following April, the estimated payments you made are credited against your total tax bill.
If you do not make estimated payments and you owe more than $1,000, you may face a penalty. The IRS provides a worksheet to calculate whether you need to pay estimated tax, and most tax software will flag this for you.
Real estate sales have different rules and timelines
If you sell a primary residence, you may exclude up to $250,000 of gain if you are single, or $500,000 if you are married filing jointly. This exclusion applies only if you owned and lived in the home for at least two of the five years before the sale. The gain is still reported on your tax return for the year of the sale, but the taxable amount is reduced by the exclusion.
Investment property and rental homes do not may have access to for this exclusion. The full gain is taxable, and you also have to account for depreciation you claimed in prior years. The tax is still due in the year of the sale, but the calculation is more complex.
Losses can offset gains and carry forward
If you sell an asset for less than you paid, you have a capital loss. Losses offset gains in the same year dollar-for-dollar. If you have $5,000 in gains and $3,000 in losses, you report a net gain of $2,000.
If your losses exceed your gains in a year, you can deduct up to $3,000 of the net loss against ordinary income. Any loss beyond that carries forward to future years and can offset gains or ordinary income in those years. This carryforward has no time limit — you can use it whenever you have gains or income to offset.
Frequently Asked Questions
Do I have to pay capital gains tax the same year I sell, or can I wait until I file my return?
You report the gain on your tax return for that year and pay the tax when you file, typically by April 15 of the next year. However, if you owe more than $1,000 in total tax for the year, you may have to make estimated tax payments during the year itself. The full tax bill is not due until April 15, but you may owe installments before then.
What if I sell an asset in December but do not receive the money until January?
The sale date is what matters, not when the money arrives. If you sold in December, the gain belongs to that year's tax return. If settlement or the trade date is in January, it belongs to the next year's return. Check your closing documents or broker statement for the actual sale date.
Do I owe capital gains tax on assets I inherited?
No, not on the inheritance itself. Inherited assets receive a "step-up" in basis, meaning their value is reset to what they were worth on the date of death. If you inherit stock worth $10,000 and sell it for $10,500 a month later, you owe tax only on the $500 gain. If you never sell, you owe no tax.
Can I avoid capital gains tax by holding an asset longer?
Holding longer than one year moves you from short-term to long-term rates, which are lower. But you cannot avoid the tax entirely by holding — you owe it whenever you sell. The only way to avoid it is to not sell, or to sell at a loss, or to use losses from other sales to offset the gain.
What if I sold cryptocurrency or an NFT?
Cryptocurrency and NFTs are treated as property for tax purposes. Gains and losses are calculated the same way as stocks or real estate. Short-term gains are taxed as ordinary income; long-term gains get the lower rates. You report them on your tax return for the year you sold.