The federal capital gains tax rate depends on your total income and filing status
The federal government taxes profits from selling investments at one of three rates: 0%, 15%, or 20%. Which rate you pay depends on your taxable income for the year, not on how much profit you made. The same person might pay 0% on some gains and 15% on others in the same year, because the rates are tied to income brackets that stack on top of each other.
These rates apply only to long-term capital gains — profits from assets you held for more than one year. Profits from assets you sold within one year are taxed as ordinary income at your regular tax bracket, which is usually higher. The three-tier system has been in place since 2013, though the income thresholds that determine which bracket you fall into change each year.
Key Takeaways
- Federal capital gains tax rates are 0%, 15%, or 20%, determined by your total taxable income and filing status, not by the size of your profit.
- The 0% rate applies to lower-income filers; the 15% rate covers most middle-income filers; the 20% rate applies to high-income filers.
- Income thresholds for each bracket change annually and differ based on whether you file as single, married filing jointly, head of household, or married filing separately.
- You only pay these rates on long-term gains (assets held over one year); profits from assets sold within one year are taxed as ordinary income at higher rates.
- Your total income for the year — including wages, interest, and other gains — determines which bracket applies to your capital gains.
2024 income thresholds for each capital gains rate
The income brackets shift each year to account for inflation. For 2024 tax returns (filed in 2025), the thresholds are:
| Filing Status | 0% Rate Applies Up To | 15% Rate Applies From | 20% Rate Applies From |
|---|---|---|---|
| Single | $47,025 | $47,025 to $518,900 | $518,900+ |
| Married Filing Jointly | $94,050 | $94,050 to $583,750 | $583,750+ |
| Head of Household | $62,700 | $62,700 to $551,350 | $551,350+ |
| Married Filing Separately | $47,025 | $47,025 to $291,875 | $291,875+ |
These thresholds apply to your taxable income, which is your total income minus deductions and exemptions. If you are married filing jointly and your combined taxable income is $100,000, and you have $30,000 in long-term capital gains, your gains fall into the 15% bracket because your total taxable income ($130,000) falls in that range.
The IRS publishes updated thresholds each November for the following tax year. If you expect to have capital gains, checking the current year's thresholds before you sell an asset can help you plan whether to spread sales across two years or time them strategically.
How capital gains stack on top of your other income
Capital gains are added to your other income in a specific order. First, your ordinary income (wages, interest, dividends, self-employment income) fills up the lower brackets. Then your long-term capital gains fill up the remaining space in each bracket, starting with the 0% bracket.
Example: You are single with $40,000 in wages and $20,000 in long-term capital gains. Your total taxable income is $60,000. The first $47,025 of your income (wages plus gains) is taxed at ordinary rates or falls into the 0% capital gains bracket. The remaining $12,975 of gains is taxed at 15%. You do not pay 0% on all your gains — only on the portion that fits in the 0% bracket after your wages are counted.
This stacking rule means that high earners almost always pay 15% or 20% on their gains, because their wages have already filled the 0% and 15% brackets. A person earning $600,000 in salary will pay 20% on all long-term capital gains, regardless of the gain amount.
State and local taxes on capital gains
Federal capital gains tax is separate from state and local taxes. Most states tax capital gains as ordinary income at their regular income tax rates, which range from 0% to over 13% depending on the state. A few states — including Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, and Wyoming — do not tax income at all, including capital gains.
California, New York, and several other high-income states impose additional taxes on high earners' capital gains. New York added a 4% tax on gains over $2.5 million in 2024. California's top rate on capital gains can exceed 13% when combined with federal tax. If you live in a high-tax state and expect significant gains, the combined federal and state rate can exceed 30%.
Your total tax bill on capital gains is the sum of federal tax, state tax (if your state has one), and any local taxes. When calculating whether to sell an asset or time a sale, factor in your state's rate as well as the federal rate.
Capital gains from selling a home or inherited property
The federal capital gains tax applies to most assets, but two common situations have special rules. If you sell a primary residence, you can exclude up to $250,000 in gains if you are single, or $500,000 if you are married filing jointly, as long as you owned and lived in the home for at least two of the last five years. This exclusion is not a tax rate — it removes the gain from taxation entirely.
If you inherit property, the cost basis "steps up" to the property's value on the date of death. This means if your parent bought a stock for $10,000 and it was worth $50,000 when they died, your basis is $50,000. If you sell it immediately for $50,000, you owe no capital gains tax. This step-up applies to most inherited assets, though the rules are complex for certain types of property.
How to report capital gains on your tax return
Long-term capital gains are reported on Schedule D (Capital Gains and Losses), which you attach to your Form 1040. You list each sale separately: the asset, the date you bought it, the date you sold it, your cost basis, the sale price, and the gain or loss. Your brokerage or investment firm sends you a Form 1099-B (Proceeds from Broker and Barter Exchange Transactions) that lists most of your sales automatically.
If you have losses, you can use them to offset gains. If losses exceed gains, you can deduct up to $3,000 of net losses against ordinary income in that year. Losses beyond $3,000 carry forward to future years. This is called tax-loss harvesting and is a common strategy for managing your tax bill.
If you use tax software or work with a tax preparer, they will ask you for your 1099-B forms and any other sale information. The software or preparer calculates which gains fall into which bracket and computes your tax. You do not calculate the brackets yourself on your return — the IRS does that based on your total income.
Frequently Asked Questions
What is the difference between long-term and short-term capital gains?
Long-term gains are from assets held over one year and are taxed at 0%, 15%, or 20%. Short-term gains are from assets held one year or less and are taxed as ordinary income at your regular tax bracket, which is usually 10% to 37%. Short-term rates are almost always higher, so holding an asset longer can reduce your tax bill significantly.
Can I reduce my capital gains tax by donating appreciated stock to charity?
Yes. If you donate appreciated stock directly to a charity, you avoid capital gains tax on the gain and can deduct the full current value of the stock as a charitable contribution. You must donate the stock itself, not the proceeds from selling it. This strategy works best for highly appreciated assets and large donations.
Do I owe capital gains tax if I sell an investment at a loss?
No. If you sell for less than you paid, you have a capital loss, not a gain. You can use losses to offset other gains in the same year. If losses exceed gains, you can deduct up to $3,000 against ordinary income. Unused losses carry forward to future years.
What happens to capital gains tax if I move to a different state?
Your federal capital gains tax rate does not change, but your state tax rate may. If you move from a high-tax state to a no-income-tax state, your state tax on gains drops to zero. If you move before selling an asset, the state where you live on the sale date is where you owe state tax. Timing a move around a large sale can save significant money.
Are dividends taxed the same way as capital gains?
may have access to dividends are taxed at the same rates as long-term capital gains (0%, 15%, or 20%), using the same income brackets. Non-may have access to dividends are taxed as ordinary income. Most dividends from U.S. stocks and mutual funds are may have access to if you held the stock for at least 60 days around the dividend date.