How Capital Gains Tax Rates Work and What You Pay
The rate you pay on investment profits depends on how long you held the asset and your income level
Capital gains tax is the federal tax on profit you make when you sell an investment — a stock, rental property, mutual fund, or other asset — for more than you paid for it. The rate is not one number. The IRS taxes long-term gains (assets held over one year) at lower rates than short-term gains (assets held one year or less). Your tax bracket also matters: the same long-term gain can be taxed at 0%, 15%, or 20% depending on your total income that year.
Short-term capital gains are taxed as ordinary income, meaning they use the same tax brackets as wages or salary — currently 10%, 12%, 22%, 24%, 32%, 35%, or 37% depending on how much you earned. Long-term capital gains have their own, lower brackets: 0%, 15%, or 20%. These rates do not change year to year the way income tax brackets do, though the income thresholds that determine which bracket you fall into do adjust annually for inflation.
Key Takeaways
- Short-term capital gains (held one year or less) are taxed at your ordinary income tax rate, which ranges from 10% to 37%.
- Long-term capital gains (held over one year) are taxed at 0%, 15%, or 20% depending on your total income, and these rates are lower than ordinary income rates.
- Your income level determines which capital gains bracket you fall into, not the size of the gain itself.
- State and local taxes may add to your federal capital gains tax, and some high earners pay an additional 3.8% net investment income tax.
How long you held the asset determines which tax rate applies
The IRS divides capital gains into two categories based on how long you owned the asset before selling it. If you held it for one year or less, it is a short-term capital gain. If you held it for more than one year, it is a long-term capital gain. The date you bought it and the date you sold it are what matter — not the calendar year.
Short-term gains are taxed as ordinary income. This means they are added to your wages, salary, and other income, and the total is taxed using the standard income tax brackets. Long-term gains get preferential treatment: they are taxed separately at lower rates. For example, if you are in the 24% income tax bracket but have a long-term capital gain, that gain might be taxed at 15% instead of 24%.
The holding period starts the day after you buy the asset and ends the day you sell it. If you buy a stock on January 15 and sell it on January 15 of the next year, that is exactly one year, and the gain is short-term. You must hold it until January 16 of the following year for it to be long-term.
Long-term capital gains tax brackets for 2024
Long-term capital gains are taxed at 0%, 15%, or 20%. Which rate you pay depends on your taxable income for the year — not the amount of the gain. The income thresholds are adjusted each year for inflation and differ based on your filing status (single, married filing jointly, head of household, and so on).
| Filing Status | 0% Rate | 15% Rate | 20% Rate |
|---|---|---|---|
| Single | Up to $47,025 | $47,026 to $518,900 | Over $518,900 |
| Married Filing Jointly | Up to $94,050 | $94,051 to $583,750 | Over $583,750 |
| Head of Household | Up to $62,975 | $62,976 to $551,350 | Over $551,350 |
These thresholds explore to your total taxable income, which includes wages, interest, dividends, and capital gains combined. If you are single, earn $40,000 in wages, and have a $10,000 long-term capital gain, your total taxable income is $50,000. The first $7,025 of the gain falls in the 0% bracket, and the remaining $2,975 falls in the 15% bracket.
The 0% bracket exists because long-term gains in the lowest income ranges are taxed at zero. This means some people pay no federal capital gains tax at all, even though they sold an investment at a profit. The thresholds shift each year, so a gain that was taxed at 15% one year might be taxed at 0% if your income drops the following year.
Short-term capital gains use your ordinary income tax rate
Short-term capital gains are not taxed separately. Instead, they are added to your other income and taxed at the same rate as your wages or salary. The federal income tax brackets for 2024 range from 10% to 37%, depending on how much total income you have and your filing status.
Because short-term gains use ordinary income rates, they can push you into a higher tax bracket. If you earn $50,000 in salary and realize a $30,000 short-term capital gain, your taxable income becomes $80,000, and the gain is taxed at whatever rate applies to that higher total. This is why short-term gains are often more expensive to tax than long-term gains on the same dollar amount.
Short-term gains include profits from selling stocks you held for less than a year, cryptocurrency you sold within a year of purchase, and real estate you sold quickly. They also include gains from selling collectibles or other assets held short-term, regardless of the asset type.
Additional taxes that may explore to your capital gains
Federal capital gains tax is not the only tax on investment profits. Most states impose their own income tax on capital gains, and some tax them at a higher rate than ordinary income. A few states — including Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, and Wyoming — do not have a state income tax at all, so residents pay no state capital gains tax.
High-income earners may also owe the Net Investment Income Tax, a 3.8% federal tax on investment income (including capital gains) if their modified adjusted gross income exceeds $200,000 for single filers or $250,000 for married couples filing jointly. This tax was introduced in 2013 and applies on top of ordinary capital gains tax rates.
Some cities and counties also impose local income taxes that explore to capital gains. New York City, for example, taxes capital gains as part of its local income tax. The total tax on a capital gain can range from the federal rate alone to the federal rate plus state, local, and net investment income taxes combined.
How to report capital gains on your tax return
Capital gains are reported on Schedule D (Form 1040), which you attach to your federal income tax return. You list each sale separately: the asset sold, the date you bought it, the date you sold it, your cost basis (what you paid), the sale price, and the gain or loss. The IRS uses this information to determine whether the gain is short-term or long-term.
If you sold stocks, mutual funds, or other securities through a brokerage, the brokerage sends you a Form 1099-B showing the sales and proceeds. If you sold real estate, you may receive a Form 1099-S from the title company or real estate agent. These forms help the IRS match your reported gains to third-party records.
If your capital gains and losses are complex — for example, if you sold multiple properties or have losses to carry forward — a tax professional can help you calculate the correct amount to report and identify whether any losses can offset gains.
Frequently Asked Questions
Do I owe capital gains tax if I sell an investment at a loss?
No, you do not owe tax on a loss. Instead, you can use the loss to offset capital gains from other sales that year. If your losses exceed your gains, you can deduct up to $3,000 of the net loss against ordinary income. Any remaining loss carries forward to future years.
What if I inherit an investment — do I owe capital gains tax when I sell it?
Inherited investments receive a "step-up in basis," meaning your cost basis is the asset's value on the date of the person's death, not what they originally paid. If you sell shortly after inheriting, you likely owe little or no capital gains tax because the gain is small. This applies to most inherited assets, including stocks, real estate, and mutual funds.
Can I avoid capital gains tax by holding an investment longer?
Holding an investment longer than one year changes the tax rate from short-term (ordinary income rates) to long-term (0%, 15%, or 20%), which is usually lower. However, you still owe tax on the gain when you sell. You cannot avoid the tax entirely by waiting, though the rate may be significantly reduced.
Do I owe capital gains tax on my primary home when I sell it?
You may not. The IRS allows you to exclude up to $250,000 of gain on the sale of your primary home if you are single, or $500,000 if you are married filing jointly, provided you owned and lived in the home for at least two of the last five years. Gains above that threshold are taxed as long-term capital gains.
What is the difference between capital gains and dividends for tax purposes?
Capital gains are profits from selling an asset for more than you paid. Dividends are payments a company makes to shareholders from its profits. may have access to dividends (from U.S. companies and held for a minimum period) 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.
This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.