The long-term capital gains tax rate depends on your income level, not on how much profit you made
Long-term capital gains — profit from selling an asset you held for more than one year — are taxed at one of three federal rates: 0%, 15%, or 20%. Which rate applies to you is determined by your taxable income for the year, not by the size of your gain. The IRS sets income thresholds each year, and they change annually based on inflation.
For 2024, the 0% rate applies if your taxable income falls below $47,025 (single filers) or $94,050 (married filing jointly). The 15% rate covers the middle range, and the 20% rate applies to income above the highest threshold. These numbers shift every January, so the thresholds for 2025 will be different.
Long-term capital gains rates are lower than ordinary income tax rates, which is why the holding period matters. If you sell an asset you owned for one year or less, the gain is taxed as ordinary income at your regular tax bracket — potentially much higher.
Key Takeaways
- Long-term capital gains are taxed at 0%, 15%, or 20% depending on your total taxable income for the year, not the size of your profit.
- The income thresholds that determine which rate you pay change every year and vary by filing status (single, married filing jointly, head of household, etc.).
- You must hold an asset for more than one year for the gain to may have access to as long-term; sales within one year are taxed as ordinary income at your regular tax bracket.
- State and local taxes on capital gains are separate from federal rates and vary by where you live.
How the three federal rates work
The 0% rate is the lowest bracket. If your taxable income stays below the threshold for your filing status, you pay no federal tax on long-term gains. This is useful for people with low or moderate income, retirees taking withdrawals, or anyone whose other income is minimal that year. You still have to report the gain on your tax return, but the tax owed is zero.
The 15% rate is the middle bracket and covers most people who sell investments. It applies to taxable income above the 0% threshold but below the 20% threshold. For 2024, this means roughly $47,025 to $518,900 for single filers, though the exact range depends on filing status.
The 20% rate applies to high earners. For 2024, it kicks in at $518,901 of taxable income for single filers. There is also a 3.8% Net Investment Income Tax that applies to certain high-income taxpayers, which can push the effective rate to 23.8% on capital gains.
Why the holding period matters
The IRS distinguishes between short-term and long-term gains to encourage longer holding periods. Short-term gains — from assets held one year or less — are taxed as ordinary income. This means they are added to your wages, salary, and other income and taxed at your regular bracket, which can be 10%, 12%, 22%, 24%, 32%, 35%, or 37% depending on your income level.
Long-term gains receive preferential treatment with the lower 0%, 15%, or 20% rates. The difference can be substantial. Suppose you sold stock for a $10,000 gain and you are in the 24% ordinary income bracket. If it is a short-term gain, you owe $2,400 in federal tax. If it is a long-term gain and you fall into the 15% bracket, you owe $1,500 — a $900 difference on the same profit.
The holding period clock starts the day after you buy the asset and ends the day you sell it. If you buy on January 15 and sell on January 15 the following year, it counts as long-term. If you sell on January 14, it is short-term.
Income thresholds change every year
The IRS adjusts the income brackets for long-term capital gains annually to account for inflation. The thresholds for 2024 are not the same as 2023, and 2025 thresholds will be different again. You need to check the current year's numbers when you file your return or plan a sale.
The adjustment affects all three brackets. If inflation is high, the thresholds move up, which can mean more of your income falls into the lower-taxed brackets. If inflation is low, the thresholds move up less. This is why a financial advisor or tax preparer will use the thresholds for the specific year you are filing, not a number from a previous year.
Your filing status also matters. Single filers, married filing jointly, head of household, and married filing separately each have different thresholds. A married couple filing jointly typically has higher thresholds than a single filer, which means more income can fall into the lower brackets.
State and local taxes on capital gains
Federal long-term capital gains rates are only part of the picture. 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 gains as ordinary income at rates up to 13% or higher.
A few states, including California, New York, and Washington, have recently enacted or proposed separate capital gains taxes that apply on top of ordinary income tax. These are structured differently from federal rates and may have their own thresholds and rules. If you live in or are selling property in a state with a capital gains tax, you need to factor that into your total tax bill.
Your total tax on a long-term gain is the sum of federal, state, and local taxes. Someone in the 15% federal bracket who lives in a state with a 10% capital gains tax pays 25% total, not 15%.
How to calculate your tax bracket for capital gains
To know which federal rate applies to you, add up your taxable income for the year: wages, salary, interest, dividends, and any other income, minus deductions. Then add your long-term capital gains to that total. The combined number tells you which bracket you fall into.
This matters because capital gains are "stacked" on top of your other income. If you earn $50,000 in salary and have a $20,000 long-term gain, your taxable income is $70,000. That $70,000 determines your rate, not just the $20,000 gain. If the 15% bracket for your filing status ends at $65,000, then $5,000 of your gain is taxed at 15% and the remaining $15,000 is taxed at 20%.
This stacking effect means the order in which you report income matters. Some people time the sale of assets to keep their total income within a lower bracket, or they bunch deductions into certain years to lower their taxable income and move capital gains into a lower bracket.
Special situations and exceptions
Certain types of gains receive different treatment. Collectibles — art, antiques, precious metals — are taxed at a maximum of 28% on long-term gains, even if your income would normally put you in the 15% bracket. This is higher than the standard long-term rate.
Gains on the sale of a primary residence may be excluded from tax entirely if you meet the ownership and use tests: you owned and lived in the home for at least two of the last five years, and you have not used the exclusion in the past two years. Single filers can exclude up to $250,000 of gain; married couples filing jointly can exclude up to $500,000. This exclusion is separate from capital gains tax rates.
Inherited assets receive a "step-up in basis," which means the cost basis is reset to the asset's value on the date of death. If you inherit stock worth $100,000 and it was worth $60,000 when the person died, your basis is $100,000. If you sell it immediately for $100,000, you have no gain and no tax, even though the original owner had a $40,000 unrealized gain.
Frequently Asked Questions
Do I have to hold an asset for exactly one year, or is it more than one year?
It is more than one year. The holding period starts the day after you buy and ends the day you sell. If you buy on January 15 and sell on January 16 the next year, it qualifies as long-term. If you sell on January 15, it is short-term and taxed as ordinary income.
What if I have both short-term and long-term gains in the same year?
You report them separately on your tax return. Short-term gains are added to your ordinary income and taxed at your regular bracket. Long-term gains are taxed at the 0%, 15%, or 20% rate based on your total taxable income. You calculate the tax on each type separately.
Can I reduce my capital gains tax by timing when I sell?
Yes, timing can affect your tax bracket. If you are close to a threshold, selling in a year when your other income is lower may keep you in a lower bracket. Some people also harvest losses to offset gains. A tax professional can help you understand whether timing makes sense for your situation.
Are capital gains from cryptocurrency taxed the same way?
Yes. Cryptocurrency is treated as property by the IRS. If you hold it for more than one year before selling, the gain is long-term and taxed at the 0%, 15%, or 20% rate. If you sell within one year, it is short-term and taxed as ordinary income.
What is the Net Investment Income Tax, and does it apply to me?
The Net Investment Income Tax is an additional 3.8% tax on investment income (including capital gains) for high earners. It applies if your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly). If you are subject to it, your effective long-term capital gains rate can be 23.8% at the highest bracket.