You owe capital gains tax when you sell an investment or property for more than you paid for it, and the tax is due on April 15 of the year after the sale
The timing of when you pay depends on whether your gain is short-term (you held the asset less than one year) or long-term (you held it one year or more). Short-term gains are taxed as ordinary income and reported on your tax return for that year. Long-term gains have lower tax rates but follow the same reporting deadline: April 15 of the following year.
You do not pay the tax immediately when you sell. Instead, you report the sale on your tax return when you file, and the tax is due by the April 15 deadline. If you owe a large amount, the IRS may require estimated tax payments in the year of the sale if you expect to owe more than $1,000 when you file. These quarterly payments are due on April 15, June 15, September 15, and January 15.
Key Takeaways
- Capital gains tax is reported on your tax return for the year you sold the asset, with payment due by April 15 of the following year.
- Short-term gains (held less than one year) are taxed at your ordinary income tax rate, while long-term gains (held one year or more) are taxed at lower rates of 0%, 15%, or 20%.
- If you expect to owe more than $1,000 in capital gains tax, you may need to make quarterly estimated tax payments starting in the year of the sale.
- The sale date, not the settlement date, determines which tax year the gain belongs to and when it must be reported.
Short-Term vs. Long-Term: How Holding Period Affects Your Tax Year
The length of time you owned the asset before selling it determines not just your tax rate, but also how the gain is treated on your return. If you held the asset for one year or less, the gain is short-term and taxed as ordinary income at your regular tax bracket. If you held it for more than one year, the gain is long-term and taxed at preferential rates.
Both types of gains are reported on the same tax return — the one you file for the year in which you sold the asset. A stock you bought in June 2023 and sold in March 2024 produces a short-term gain reported on your 2024 tax return. The same stock held until July 2024 and sold then produces a long-term gain, also reported on your 2024 return. The holding period is measured from the purchase date to the sale date, not from when you received the proceeds.
Estimated Tax Payments: When the IRS Requires Quarterly Payments
If you expect your capital gains to push your total tax bill above what you have already paid through withholding or prior payments, you may owe estimated taxes. These are quarterly payments made directly to the IRS in the year you realize the gain, not when you file your return.
Estimated tax payments are due on April 15, June 15, September 15, and January 15. You calculate what you expect to owe for the full year and divide it into four equal payments, or pay more in earlier quarters if you know the gain will occur then. If you do not make these payments and you owe more than $1,000 when you file, you may face a penalty for underpayment, even if you ultimately pay all the tax owed by April 15.
You are not required to make estimated payments if your total tax for the year will be less than $1,000, or if you expect your withholding and credits to cover at least 90% of your 2024 tax or 100% of your 2023 tax (whichever is smaller). Many people who sell a single large investment do not meet this threshold and can skip estimated payments.
Sale Date vs. Settlement Date: Which One Matters
The date you actually sell the asset — the sale date — is what determines which tax year the gain belongs to, not the date you receive the money. If you sell stock on December 28, 2024, but do not receive the proceeds until January 2, 2025, the gain is still reported on your 2024 tax return due April 15, 2025.
This matters because it affects when you must report the gain and when you may owe estimated taxes. A December sale triggers a potential estimated tax payment due January 15, even though you have not yet received the money. Brokers and investment firms send you a Form 1099-B showing the sale date, which is the date you use on your tax return.
Real Estate Sales and Installment Payments
If you sell real estate and receive the payment over multiple years through an installment sale, you still report the entire gain in the year of the sale, not spread across the years you receive payments. However, you only pay tax on the portion of each payment that represents gain; the rest is a return of your basis (what you originally paid).
For example, if you sell a rental property for $300,000 and your basis is $200,000, your total gain is $100,000. If you receive $100,000 down and $100,000 per year for two more years, you report the full $100,000 gain on your tax return for the year of sale. You then calculate how much of each annual payment is gain versus return of basis, and report only the gain portion as taxable income in each subsequent year.
This structure can create a large tax bill in the year of sale even though you have not received all the money. Consult a tax professional before structuring an installment sale, because the timing of when you report gain and when you receive cash can create cash flow problems.
Tax-Loss Harvesting and Timing Considerations
If you have losses from other investments, you can use them to offset capital gains in the same tax year. A loss realized in December 2024 can reduce gains you realized earlier that same year. This is called tax-loss harvesting and is one reason investors sometimes time sales strategically.
However, losses must be realized (the asset actually sold) in the same calendar year as the gains to offset them on that year's return. If you have a loss you want to use against a 2024 gain, you must sell the losing investment by December 31, 2024. A loss realized in January 2025 cannot reduce your 2024 gains; it can only reduce 2025 gains or be carried forward to future years.
If your losses exceed your gains in a year, you can deduct up to $3,000 of the excess loss against ordinary income. Any remaining loss carries forward to future years with no time limit.
State and Local Taxes on Capital Gains
In addition to federal capital gains tax, many states and some cities tax capital gains as ordinary income. A few states — including California, New York, and Washington — have separate capital gains taxes on top of income tax. These state taxes are also due by April 15 of the following year, reported on your state tax return.
The state tax year follows the federal tax year, so a sale in 2024 is reported on both your federal return (due April 15, 2025) and your state return (due the same date or shortly after, depending on your state). Some states allow you to deduct federal capital gains tax paid, while others do not. Check your state's rules or consult a tax professional if you live in a high-tax state and have significant gains.
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 by April 15 of the following year. However, if you expect to owe more than $1,000, you may need to make quarterly estimated tax payments starting in the year of the sale. These are due April 15, June 15, September 15, and January 15.
What if I sold an investment in December but haven't received the money yet?
The sale date is what matters, not when you receive the proceeds. A December sale is reported on that year's tax return and is due April 15 of the following year, even if you do not receive the money until January or later. Your broker will send you a Form 1099-B showing the December sale date.
Can I avoid paying capital gains tax by not selling until next year?
Delaying a sale moves the gain to the next tax year's return, which can be useful if you expect your income or tax rate to be lower then. However, the tax is not avoided — only postponed. If you hold the asset more than one year, you may benefit from lower long-term capital gains rates instead of short-term rates.
What happens if I sell an investment at a loss?
Losses are reported on your tax return for the year you sold the investment. You can use losses to offset gains in the same year. If losses exceed gains, you can deduct up to $3,000 against ordinary income, and carry any remaining loss forward to future years indefinitely.
Do I owe capital gains tax on inherited investments?
No tax is owed when you inherit an investment. However, when you later sell that inherited investment, you owe tax only on the gain from the date you inherited it, not from when the original owner bought it. This is called a "step-up in basis" and is a major tax advantage of inherited assets.