Capital gains tax is a percentage of your profit when you sell an asset, and the rate depends on how long you held it and how much you earned that year

The federal government taxes the money you make when you sell something for more than you paid for it. That profit is called a capital gain. The tax rate is not the same for everyone — it depends on two things: whether you held the asset for more than a year (long-term) or less than a year (short-term), and your total income for that tax year.

Short-term capital gains are taxed as ordinary income, which means they use the same tax brackets as wages or salary. Long-term capital gains have their own, usually lower tax brackets. Most people pay 0%, 15%, or 20% on long-term gains, depending on their income level. The exact percentage you owe is determined by the IRS tax tables for the year you sold the asset.

Key Takeaways

  • Long-term capital gains (assets held over one year) are taxed at 0%, 15%, or 20% depending on your total income for the year.
  • Short-term capital gains (assets held one year or less) are taxed as ordinary income using the same brackets as wages, which can be as high as 37%.
  • Your tax bracket is determined by your filing status and total taxable income, not just the capital gain itself.
  • State and local taxes may add additional percentage points on top of the federal rate.
  • You report capital gains on Schedule D of your tax return, and the IRS uses the holding period to sort them into long-term and short-term categories.

Long-Term Capital Gains Tax Rates

If you held an asset for more than one year before selling it, the profit is taxed as a long-term capital gain. The federal rate is 0%, 15%, or 20%, depending on your income. The IRS publishes new tax brackets every year, so the income thresholds that determine which rate applies change annually.

For 2024, the 0% rate applies to single filers with taxable income up to $47,025, and married couples filing jointly up to $94,050. The 15% rate covers the next income band, and the 20% rate applies to the highest earners. These numbers shift each year because of inflation adjustments. To find the exact brackets for your filing year, check the IRS website or ask a tax preparer.

The advantage of long-term treatment is that these rates are lower than the ordinary income brackets. A person in the 37% ordinary income bracket might pay only 20% on a long-term capital gain from the same year.

Short-Term Capital Gains Tax Rates

If you sold an asset you owned for one year or less, the profit is taxed as a short-term capital gain. There is no separate rate for short-term gains — they are taxed using the same brackets as your wages, salary, or other ordinary income. This means the rate can be anywhere from 10% to 37%, depending on your total income and filing status.

Short-term gains are added to your other income for the year, and the combined total determines your tax bracket. If you earned $50,000 in salary and made a $10,000 short-term capital gain, you are taxed on $60,000 of income. The gain does not get a preferential rate.

How Your Income Level Affects Your Rate

The percentage you pay on a capital gain depends partly on your total taxable income for the year, not just the size of the gain itself. This is because the tax system uses brackets — different portions of your income are taxed at different rates.

For long-term gains, your income determines which of the three rates (0%, 15%, or 20%) applies. If you are near the top of the 15% bracket, a large capital gain might push part of it into the 20% bracket. For short-term gains, the same principle applies, but the brackets are wider and the top rate is higher.

Your filing status also matters. Single filers, married couples filing jointly, and heads of household have different income thresholds for each bracket. A married couple filing jointly reaches the 15% long-term bracket at a higher income level than a single filer.

State and Local Capital Gains Taxes

The federal rate is only part of what you owe. Most states also tax capital gains, and some cities do as well. State rates vary widely — some states have no capital gains tax at all, while others tax it as ordinary income at rates up to 13% or higher.

A few states, including Washington and Oregon, have recently introduced capital gains taxes that apply only to long-term gains above a certain threshold, usually $250,000. These are separate from ordinary income tax and add a percentage on top of the federal rate. Check your state's tax agency website to learn what rate applies where you live.

How Holding Period Determines Your Rate

The IRS defines the holding period as the time between the date you bought an asset and the date you sold it. The date matters — if you bought a stock on January 15 and sold it on January 15 of the next year, you held it for exactly one year, which qualifies for long-term treatment.

If you sell even one day before the one-year mark, the entire gain is short-term and taxed at ordinary income rates. This is why some investors time their sales to cross the one-year threshold, especially if they are close to it and the difference in tax rate is significant.

The holding period is calculated separately for each asset you own. You might have some investments that may have access to for long-term rates and others that do not, depending on when you bought and sold each one.

How You Report Capital Gains on Your Tax Return

You report capital gains on Schedule D of Form 1040, the main federal tax return. Schedule D separates your long-term gains from your short-term gains and calculates the total for each category. You then transfer the totals to the main return, where they are combined with your other income.

If you sold multiple assets during the year, you list each one on Schedule D with the purchase date, sale date, purchase price, and sale price. The IRS uses this information to verify the holding period and confirm that you calculated the gain correctly. Many brokers and investment firms send you a Form 1099-B that lists your sales; you can use this to fill out Schedule D.

If your total capital gains are large or complex, a tax preparer or accountant can help you report them correctly and explore whether any losses can offset the gains.

Frequently Asked Questions

Can I use capital losses to reduce what I owe on capital gains?

Yes. If you sold an asset at a loss in the same year you had a capital gain, you can subtract the loss from the gain. If losses exceed gains, you can deduct up to $3,000 of the net loss against ordinary income in that year. 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," which means the purchase price is reset to the fair market value on the date of death. If you sell the asset shortly after inheriting it, you may owe little or no capital gains tax because the gain is calculated from the stepped-up basis, not the original purchase price.

Do I pay capital gains tax on retirement account withdrawals?

No. Withdrawals from traditional IRAs and 401(k)s are taxed as ordinary income, not as capital gains, regardless of how much the investments grew inside the account. Roth IRA withdrawals are not taxed at all if you meet the holding requirements.

What happens if I sell a home I lived in?

You may be able to exclude up to $250,000 of gain (or $500,000 if married filing jointly) if you owned and lived in the home for at least two of the last five years. This exclusion is separate from the capital gains tax rate and can eliminate the tax entirely for most home sales.

Do I owe capital gains tax in the year I sell, or when I receive the money?

You owe the tax in the year you sell, regardless of when you receive payment. If you sell an asset in December 2024 but do not receive the proceeds until 2025, you still report the gain on your 2024 tax return.