The federal capital gains tax rate depends on how long you held the asset and your income level
The federal government taxes profit from selling an asset at one of three rates: 0%, 15%, or 20%. Which rate applies to you 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 that year. Short-term gains are taxed as ordinary income, which means they use the same brackets as wages — anywhere from 10% to 37% depending on your income. Long-term gains get the preferential rates of 0%, 15%, or 20%.
Your state may also tax capital gains. Some states have no capital gains tax at all. Others tax long-term gains at rates between 5% and 13.3%. A few states tax short-term gains differently from long-term gains. The rate you pay depends on where you live and where you earned the gain, not where you currently live.
Key Takeaways
- Long-term capital gains (assets held over one year) are taxed at 0%, 15%, or 20% federally, based on your income bracket.
- Short-term capital gains (assets held one year or less) are taxed as ordinary income, ranging from 10% to 37%.
- Your state may add a capital gains tax on top of the federal rate, ranging from 0% to 13.3% depending on where you live.
- The income thresholds for each federal rate change every year and are adjusted for inflation.
Long-term capital gains rates and income thresholds
If you held an asset for more than one year before selling it, the gain qualifies for long-term treatment. The three federal rates are 0%, 15%, and 20%. Which one applies depends on your filing status and your total taxable income for the year.
The income thresholds shift annually. For 2024, a single filer reaches the 15% bracket at $47,025 in taxable income and the 20% bracket at $518,900. For married couples filing jointly, the 15% bracket starts at $94,050 and the 20% bracket at $583,750. These numbers are different for heads of household and married filing separately. The IRS publishes updated thresholds each January.
The 0% rate applies only to people whose total taxable income falls below the first threshold. For most people, this means the 15% rate applies to long-term gains. The 20% rate kicks in only at very high income levels.
Short-term capital gains and ordinary income tax rates
If you sold an asset you held for one year or less, the gain is taxed as ordinary income. This means it uses the same tax brackets as your wages, salary, or other regular income. The federal rates range from 10% to 37%, depending on your total income and filing status.
Short-term gains are added to your other income for the year. If you earned $60,000 in wages and had a $10,000 short-term gain, your taxable income is $70,000. You pay tax on that full amount at the ordinary income rates. This is why short-term gains often result in a higher tax bill than long-term gains from the same dollar amount.
State capital gains taxes
Nine states have no income tax and no capital gains tax: Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, Wyoming, and New Hampshire (which taxes only dividends and interest, not gains). The remaining 41 states and the District of Columbia tax capital gains in some form.
Most states that tax capital gains apply their regular income tax rate to the gain. If your state income tax rate is 5%, you pay 5% on capital gains. A few states have separate capital gains tax rates. California taxes long-term gains at the same rate as ordinary income, up to 13.3%. Washington has a 7% capital gains tax on long-term gains only. New York taxes long-term gains at ordinary income rates, up to 10.9%.
Your state tax is separate from federal tax. If you live in a state with a 5% capital gains tax and your federal rate is 15%, you owe both — a combined 20% on that gain.
How holding period affects your tax rate
The distinction between short-term and long-term is the single biggest factor in what you pay. A $10,000 gain held for 366 days might be taxed at 15% federally ($1,500). The same $10,000 gain held for 365 days or less might be taxed at 24% or 32% federally, depending on your income bracket ($2,400 to $3,200). The difference comes entirely from the holding period.
The holding period clock starts the day after you buy the asset and ends the day you sell it. If you buy stock on January 15 and sell it on January 15 the following year, it is short-term. If you sell on January 16, it is long-term. Wash sales and other trading strategies do not change this rule, though they have their own tax consequences.
What happens when you inherit an asset
Inherited assets receive what is called a stepped-up basis. This means the cost basis resets to the asset's value on the date of death, not the original purchase price. If your parent bought a house for $200,000 and it was worth $500,000 when they died, your basis is $500,000. If you sell it immediately for $500,000, you owe no capital gains tax, even though the asset appreciated $300,000 during your parent's lifetime.
This stepped-up basis applies regardless of how long your parent held the asset. It is one of the largest tax benefits in the code and affects millions of people who inherit real estate, stocks, or other appreciated property.
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 for it, you have a capital loss, not a gain. You can use capital losses to offset capital gains from other sales. If losses exceed gains, you can deduct up to $3,000 of the net loss against ordinary income in that year. Unused losses carry forward to future years.
What if I sell a home I lived in?
You may exclude up to $250,000 of gain if you are single, or $500,000 if married filing jointly, as long as you owned and lived in the home for at least two of the last five years. This exclusion applies once every two years. Gains above the exclusion amount are taxed as long-term capital gains.
Are cryptocurrency gains taxed the same way?
Yes. The IRS treats cryptocurrency as property, not currency. If you hold it for more than one year before selling, the gain is long-term and taxed at 0%, 15%, or 20%. If you hold it one year or less, it is taxed as ordinary income. Trading one cryptocurrency for another is also a taxable event.
Do I have to report small gains?
Yes. Any capital gain, no matter how small, must be reported on your tax return. You report it on Schedule D (Form 1040) and then transfer the total to your main return. The IRS matches sales reports from brokers and will flag unreported gains.
What if I do not know my original purchase price?
You can estimate it using historical price data, but the IRS may challenge the estimate if audited. Brokers are required to report cost basis for most securities purchased after 2011. For older assets or assets bought before electronic records existed, keep any documentation you have and consult a tax professional if the amount is significant.