The federal tax rate on capital gains depends on how long you held the asset and your income level
The IRS taxes capital gains at three different rates: 0%, 15%, or 20%. Which 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 taxable income for that year. Short-term gains are taxed as ordinary income, which means they use the same brackets as wages — up to 37% at the highest bracket. Long-term gains get the preferential rates, which are much lower.
Most people pay 15% on long-term capital gains. The 0% rate applies only to people with very low income. The 20% rate applies only to high earners. Your state may also tax capital gains on top of the federal rate, and the rate varies by state.
Key Takeaways
- Long-term capital gains (assets held over one year) are taxed at 0%, 15%, or 20% depending on your total taxable income for the year.
- Short-term capital gains (assets held one year or less) are taxed as ordinary income, using the same rates as your salary, up to 37%.
- The income thresholds that determine your rate change each year and differ based on whether you file as single, married filing jointly, or head of household.
- State capital gains taxes range from 0% to over 13% depending on where you live, and some states have no capital gains tax at all.
- You report capital gains on Schedule D of your tax return, and the IRS matches sales reports from your broker.
Long-term capital gains rates and income thresholds for 2024
For the 2024 tax year, the three federal long-term capital gains rates and the income ranges that trigger them are:
| Tax Rate | Single Filers | Married Filing Jointly | Head of Household |
|---|---|---|---|
| 0% | $0 to $47,025 | $0 to $94,050 | $0 to $62,975 |
| 15% | $47,025 to $518,900 | $94,050 to $583,750 | $62,975 to $551,350 |
| 20% | Over $518,900 | Over $583,750 | Over $551,350 |
These thresholds are adjusted each year for inflation. The income amounts shown are your taxable income, not your gross income — it is calculated after deductions and losses. If you are married filing jointly and earn $100,000 in wages plus $30,000 in long-term capital gains, your taxable income for capital gains purposes is the combined amount, and the rate applies to the portion of gains that falls within each bracket.
The 0% bracket is the most valuable because it lets you realize gains without owing federal tax. Many people use this bracket intentionally by timing when they sell assets, especially in years when their income is lower than usual.
Short-term capital gains are taxed like wages
If you hold an asset for one year or less before selling it, the gain is short-term capital gain and is taxed at your ordinary income tax rate. For 2024, those rates range from 10% to 37% depending on your total income. Short-term gains are added to your other income (wages, interest, self-employment income) and taxed together.
This is why holding period matters so much. A $10,000 gain on a stock you held for 11 months might be taxed at 24% (short-term), costing you $2,400. The same $10,000 gain on a stock you held for 13 months might be taxed at 15% (long-term), costing you $1,500. The difference is $900 on a single trade.
Day traders and active investors often face short-term rates on most of their gains because they buy and sell frequently. Long-term investors in index funds or individual stocks held for years pay the lower long-term rates on most of their gains.
State capital gains taxes vary widely
Twenty-seven states have no capital gains tax at all. The remaining states tax capital gains as ordinary income or at a separate rate. Some states with high capital gains taxes include California (13.3% at the top bracket), New York (up to 10.9%), and Oregon (up to 9.9%). A few states like Washington and Minnesota have recently passed or proposed capital gains taxes that apply only to high earners or certain types of gains.
If you live in a state with a capital gains tax and sell an asset, you owe both federal and state tax. If you move to a different state after selling an asset, the state where you lived when you sold it is usually the one that taxes the gain. This matters for people who relocate: if you sell a home or stock portfolio shortly after moving, confirm which state considers you a resident for tax purposes.
Some states allow you to exclude certain types of gains — for example, some states do not tax gains on the sale of your primary home, or they tax long-term gains at a lower rate than short-term gains. Check your state's tax authority website or a tax professional for the exact rules in your state.
How the IRS knows about your capital gains
When you sell a stock, bond, mutual fund, or other investment through a broker, the broker sends a Form 1099-B to both you and the IRS. This form reports the sale price and the date you sold it. If you also report the cost basis (what you paid for it), the gain is calculated automatically. The IRS matches your tax return against these 1099-B forms, so underreporting or omitting capital gains is caught quickly.
Real estate sales are reported on Form 1099-S. Cryptocurrency sales are reported on Form 1099-B or 1099-K depending on the exchange. If you sell something outside a brokerage account — for example, a car or collectible sold to a private buyer — you are responsible for reporting the gain yourself, and the IRS may not have a matching form. But if the sale is large enough or the buyer is a business, a 1099 may still be filed.
You report all capital gains and losses on Schedule D of your Form 1040. If you have losses, you can use them to offset gains. If losses exceed gains, you can deduct up to $3,000 of the net loss against ordinary income in that year, and carry forward any remaining loss to future years.
Capital gains from inherited assets get a step-up in basis
When you inherit an asset, the IRS gives you a step-up in basis. This means your cost basis is reset to the asset's fair market value on the date the person died, not what they originally paid for it. If your parent bought a stock for $5,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: stocks, bonds, real estate, and collectibles. It does not apply to inherited retirement accounts like IRAs or 401(k)s, which have their own tax rules. The step-up is one of the largest tax benefits in the code, and it is why inherited wealth is often not subject to capital gains tax even if the asset appreciated significantly during the original owner's lifetime.
Frequently Asked Questions
Do I owe capital gains tax if I sell an asset at a loss?
No, you do not owe tax on a loss. You report the loss on Schedule D, and you can use it to offset capital gains from other sales. If losses exceed gains, you can deduct up to $3,000 of the net loss against wages or other income in that year. Any remaining loss carries forward to future years.
What if I hold an asset for exactly one year — is it long-term or short-term?
If you sell on the same date one year later, it is long-term. The IRS counts the holding period from the day after you bought it. If you bought on January 15 and sold on January 15 of the next year, it is long-term. If you sold on January 14, it is short-term.
Do I have to pay capital gains tax on a home I sell?
You can exclude up to $250,000 of gain if you are single, or $500,000 if you are married filing jointly, as long as you owned and lived in the home as your primary residence for at least two of the last five years. Gains above that amount are taxed as long-term capital gains. Investment properties and vacation homes do not may have access to for this exclusion.
Are capital gains taxed differently if I am retired?
The tax rate is the same, but your total income may be lower in retirement, which could put you in the 0% or 15% bracket instead of a higher one. This is why some retirees time large asset sales across multiple years to stay in lower brackets and minimize tax.
What happens to capital gains if I die before selling the asset?
Your heirs inherit the asset with a step-up in basis, meaning they owe no tax on the gain that occurred during your lifetime. They only owe tax on gains that happen after they inherit it. This is why inherited assets are often not subject to capital gains tax even if they appreciated significantly.