The rates depend on how long you held the asset and your income level

Capital gains tax is the tax you pay when you sell an investment for more than you paid for it. The rate you pay depends on two things: whether you held the asset for more than one year (long-term) or one year or less (short-term), and your total taxable income for the year.

Long-term capital gains are taxed at lower rates than short-term gains. Short-term gains are taxed as ordinary income — at the same rate as wages or salary. For 2024 and 2025, long-term capital gains rates are 0%, 15%, or 20%, depending on your income bracket. These rates are set by federal law and do not change year to year unless Congress acts.

State and local taxes may also apply on top of federal rates. The federal rate is only part of what you owe.

Key Takeaways

  • Long-term capital gains (assets held over one year) are taxed at 0%, 15%, or 20% depending on your income; short-term gains are taxed as ordinary income.
  • Your filing status and total taxable income determine which rate bracket you fall into — the same brackets shift slightly each year for inflation.
  • The 0% rate applies to lower-income taxpayers and is often the best reason to time the sale of an asset in a low-income year.
  • State capital gains taxes vary widely; some states have no capital gains tax, while others tax gains at rates up to 13% or higher.

Long-term capital gains tax brackets for 2024

Long-term gains are taxed at 0%, 15%, or 20%. Which rate applies depends on your filing status and taxable income. The income thresholds are adjusted each year for inflation.

Tax RateSingle FilersMarried Filing JointlyHead of Household
0%Up to $47,025Up to $94,050Up to $62,975
15%$47,025 to $518,900$94,050 to $583,750$62,975 to $551,350
20%Over $518,900Over $583,750Over $551,350

These thresholds are based on your total taxable income for the year, not just the gain itself. If you have wages, interest, dividends, and a capital gain, all of those add up to determine your bracket.

The 0% bracket is often overlooked but can save significant money. If you are in a year with low income — a sabbatical, a year between jobs, or retirement before Social Security starts — selling appreciated assets in that year may result in zero federal tax on the gain.

Long-term capital gains tax brackets for 2025

For 2025, the income thresholds have shifted slightly due to inflation adjustment. The rates remain 0%, 15%, and 20%.

Tax RateSingle FilersMarried Filing JointlyHead of Household
0%Up to $48,750Up to $97,500Up to $65,000
15%$48,750 to $535,900$97,500 to $603,750$65,000 to $569,850
20%Over $535,900Over $603,750Over $569,850

These thresholds will shift again in 2026 unless Congress changes the law. The brackets are indexed to inflation each January.

Short-term capital gains are taxed as ordinary income

If you hold an asset for one year or less before selling it, the gain is short-term. Short-term gains are taxed at your ordinary income tax rate, which ranges from 10% to 37% depending on your income and filing status.

This is why the holding period matters so much. An investor who sells a stock after 11 months might pay 24% or 32% on the gain, while selling it one month later could result in a 15% rate instead. The difference can be thousands of dollars on a large gain.

The IRS counts the holding period from the day after you buy to the day you sell. If you buy on January 15 and sell on January 16 of the next year, that is long-term.

State capital gains taxes vary widely

Nine states have no capital gains tax at all: Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, Wyoming, and New Hampshire (though New Hampshire taxes investment income differently). The remaining 41 states and Washington, D.C. impose their own capital gains taxes on top of federal tax.

State rates range from about 2% to over 13%. California, New York, and Oregon have some of the highest rates. Some states tax all capital gains the same way; others distinguish between long-term and short-term gains or offer preferential rates for certain types of assets.

If you live in a high-tax state and are considering a move, the state capital gains tax can be a significant factor. Some people time major asset sales around a move to a lower-tax state, though the IRS has rules about residency and sourcing of income.

How the IRS determines your holding period

The holding period starts the day after you purchase an asset and ends on the day you sell it. If you buy a stock on March 15, the holding period begins on March 16. If you sell on March 16 of the next year, you have held it for exactly one year and one day — it is long-term.

The IRS uses the specific identification method by default, meaning you can choose which shares you sell if you own multiple lots of the same stock. This matters if you bought shares at different prices over time. You can tell your broker which lot to sell, and that choice affects whether the gain is long-term or short-term.

If you do not specify, most brokers use the first-in, first-out (FIFO) method, selling the oldest shares first. This is not always the most tax-efficient choice, so it is worth understanding your options before you sell.

Net investment income tax adds 3.8% for high earners

If your modified adjusted gross income exceeds certain thresholds, you may owe an additional 3.8% tax on capital gains and other investment income. This is called the net investment income tax (NIIT).

The thresholds are $200,000 for single filers, $250,000 for married filing jointly, and $125,000 for married filing separately. If your income exceeds these amounts, the 3.8% tax applies to the lesser of your net investment income or the amount by which your income exceeds the threshold.

This tax was introduced in 2013 and applies in addition to your regular capital gains tax rate. A high-income earner in the 20% long-term capital gains bracket could owe 23.8% federal tax on a gain, plus state tax.

Frequently Asked Questions

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

No. If you sell an asset for less than you paid, you have a capital loss, not a gain. You can use capital losses to offset capital gains in the same year. If losses exceed gains, you can deduct up to $3,000 of the net loss against ordinary income, and carry forward unused losses to future years.

What if I inherit an asset — do I owe capital gains tax when I sell it?

Inherited assets receive a "step-up in basis," meaning the tax basis resets to the fair market value on the date of death. If you inherit a stock worth $100,000 and sell it for $105,000 a year later, you owe tax only on the $5,000 gain, not the entire appreciation that occurred before you inherited it.

Are dividends taxed the same way as capital gains?

may have access to dividends are taxed at the same long-term capital gains rates (0%, 15%, or 20%). Non-may have access to dividends are taxed as ordinary income. Whether a dividend qualifies depends on the type of investment and how long you held it. Check with your broker or tax preparer about specific dividends.

Can I reduce my capital gains tax by donating appreciated assets to charity?

Yes. If you donate appreciated securities directly to a may have access to charity, you avoid the capital gains tax entirely and can deduct the full fair market value of the asset. This is often more tax-efficient than selling the asset and donating the proceeds.

What happens to capital gains tax rates after 2025?

The current rates and brackets are set by law through 2025. After that, unless Congress extends them, the rates are scheduled to change. Tax law changes periodically, so it is worth checking current rates before you sell a large asset.