Long-term capital gains are taxed at lower rates than ordinary income, and the rate you pay depends on your total income for the year
When you sell an asset you've held for more than one year — a stock, rental property, or mutual fund — the profit is taxed as a long-term capital gain. The federal tax rate on that gain is not the same as your regular income tax rate. Instead, you pay one of three rates: 0%, 15%, or 20%. Which rate applies depends entirely on your total taxable income that year, not on how much profit you made.
The three rates are tied to income brackets that change each year. For 2024, if you're single and your total taxable income falls below roughly $47,000, your long-term gains are taxed at 0%. Between roughly $47,000 and $518,900, you pay 15%. Above that, you pay 20%. These numbers shift annually for inflation, and they're different if you're married filing jointly, married filing separately, or head of household.
This matters because it means two people with identical $50,000 gains can owe completely different taxes. One person with $30,000 in other income might owe nothing on the gain. Another with $500,000 in other income pays 15% on the same gain. Your tax bracket is determined by adding up all your income — wages, self-employment, interest, dividends, and capital gains — then seeing where the total lands.
Key Takeaways
- Long-term capital gains (assets held over one year) are taxed at 0%, 15%, or 20% depending on your total taxable income that year, not the size of your gain.
- The income thresholds for each rate change annually and differ based on your filing status — single, married filing jointly, head of household, or married filing separately.
- Your tax rate is determined by adding all your income together, then seeing which bracket your total falls into.
- State and local taxes on capital gains are separate from federal rates and vary widely by location.
- The IRS requires you to hold an asset for more than one year for it to may have access to as long-term; anything shorter is taxed as ordinary income at your regular tax rate.
The three federal tax brackets for long-term gains
The 0% bracket is the lowest. For 2024, single filers with taxable income up to $47,025 pay no federal tax on long-term gains. For married couples filing jointly, the threshold is $94,050. This bracket exists because long-term gains that fall within the 10% or 12% ordinary income brackets are taxed at 0% instead. It's one of the few places in the tax code where you can have income and owe no federal tax on it.
The 15% bracket is the middle rate and covers most people who sell appreciated assets. For single filers in 2024, this applies to gains on income between $47,025 and $518,900. For married filing jointly, it's $94,050 to $583,750. This is still significantly lower than the ordinary income tax rates that apply to wages or self-employment income, which can reach 22%, 24%, or higher.
The 20% bracket applies to high-income filers. For single filers, it kicks in at $518,900 of taxable income; for married filing jointly, at $583,750. There is no rate higher than 20% for long-term capital gains at the federal level, even if your total income is millions of dollars.
How your total income determines your rate, not just your gain
The critical step is calculating your total taxable income. Start with your wages, salary, or self-employment income. Add any interest, dividends, and other ordinary income. Then add your long-term capital gains. The sum of all of this is what determines which bracket you fall into.
This means you can control your rate to some degree by timing when you realize gains. If you're close to a bracket threshold, selling an asset in a different year might move you into a lower bracket. Similarly, if you have a year with very low ordinary income — perhaps you took unpaid leave or retired mid-year — you might be able to sell appreciated assets and pay 0% or 15% instead of 20%.
The brackets themselves are indexed for inflation each year, so the dollar amounts shift. The IRS publishes updated brackets in late fall for the following tax year. If you're planning a large sale, checking the current year's brackets and estimating your total income is worth doing before you sell.
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 the rates vary widely. Some states tax long-term and short-term gains at the same rate as ordinary income. Others offer a reduced rate or exemption for long-term gains. A few states — including Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, and Wyoming — have no state income tax at all.
California, for example, taxes long-term capital gains as ordinary income with no preferential rate, meaning gains can be taxed at up to 13.3%. New York taxes them at ordinary income rates up to 10.9%. Illinois has a flat 4.95% income tax that applies to gains. Other states like Colorado and North Carolina offer some reduction for long-term gains but not as much as the federal system.
A few states have recently introduced or are considering capital gains taxes that apply only to high-income earners or very large gains. Washington State, for instance, imposes a 7% tax on long-term gains over $250,000. These are separate from ordinary income tax and add to your total tax burden on the sale.
The difference between long-term and short-term gains
The holding period matters. If you buy a stock and sell it within one year, the gain is short-term capital gain and is taxed as ordinary income at your regular tax rate — potentially 10%, 12%, 22%, 24%, 32%, 35%, or 37%, depending on your bracket. If you hold it for more than one year, it becomes long-term and gets the preferential 0%, 15%, or 20% rate.
The IRS counts the holding period from the day after you buy to the day you sell. If you buy on January 15 and sell on January 15 of the following year, that's exactly one year and qualifies as long-term. If you sell on January 14, it's short-term. This precision matters for large gains, because the difference between short-term and long-term rates can mean thousands of dollars in tax.
Some assets have special rules. Collectibles — art, coins, stamps — are taxed at a maximum 28% rate even if held long-term, which is higher than the standard 20% rate. Certain real estate transactions may may have access to for exclusions or deferrals. If you inherit an asset, you get a "step-up in basis," meaning your holding period starts fresh and gains before your inheritance are not taxed to you at all.
How to report long-term capital gains on your tax return
When you sell an asset, your broker or the person who bought it from you sends you a Form 1099-B or similar statement showing the sale price and your cost basis. You report this on Schedule D (Capital Gains and Losses) of your tax return. You list each transaction separately, calculate the gain or loss, and note whether it's long-term or short-term.
If you have both long-term and short-term gains in the same year, you calculate them separately. Short-term gains and losses are netted together first. Long-term gains and losses are netted together separately. If you have a net long-term gain and a net short-term loss, they can offset each other, reducing your taxable gain.
The IRS requires you to keep records of what you paid for the asset (your basis), when you bought it, when you sold it, and what you sold it for. If you can't document your basis, the IRS may assume your entire sale price is gain. For stocks and mutual funds, most brokers maintain this information in your account and provide it on your 1099-B, but for real estate, inherited items, or older purchases, you may need to gather records yourself.
Planning around capital gains tax
Because long-term capital gains are taxed at lower rates than ordinary income, some people structure their finances to maximize gains and minimize wages. This is legal and common among business owners and investors. If you own a business and can take profits as capital gains rather than salary, you may owe less tax — though there are limits and the IRS scrutinizes this.
Charitable donations of appreciated assets are another strategy. If you donate stock or real estate that has gained value, you avoid the capital gains tax on the appreciation and also get a charitable deduction. You must donate the asset itself, not the proceeds from selling it, for this to work.
Tax-loss harvesting is the practice of selling losing investments to offset gains. If you sell a stock at a loss, you can use that loss to reduce your taxable gains. If losses exceed gains, you can deduct up to $3,000 of net losses against ordinary income in a single year, with any excess carrying forward to future years.
Frequently Asked Questions
What if I sell a house I lived in — do I pay long-term capital gains tax?
No, if you meet the requirements. The IRS allows you to exclude up to $250,000 of gain if you're single, or $500,000 if married filing jointly, on the sale of a primary residence. You must have owned and lived in the home for at least two of the five years before the sale. Gains above the exclusion amount are taxed as long-term capital gains.
Can I reduce my capital gains tax by spreading the sale over two years?
Not directly — the tax is due in the year you sell. However, if you can time the sale to fall in a year when your other income is lower, you might pay a lower rate. Some installment sales allow you to report gain over multiple years, which can help, but this requires a specific structure and IRS approval.
Do I owe capital gains tax if I sell at a loss?
No. If you sell an asset for less than you paid, you have a capital loss, not a gain. You can use losses to offset gains. If losses exceed gains, you can deduct up to $3,000 against ordinary income per year, with the remainder carrying forward indefinitely.
Are dividends taxed the same as long-term capital gains?
may have access to dividends are taxed at the same rates as long-term capital gains — 0%, 15%, or 20% — based on your income bracket. Non-may have access to dividends are taxed as ordinary income. Most dividends from U.S. corporations are may have access to if you held the stock for more than 60 days around the dividend date.
What happens to capital gains tax if I move to a different state?
Your federal rate stays the same, but your state tax changes. If you move from a high-tax state like California to a no-income-tax state like Texas, you'll owe less total tax on gains realized after you move. However, if you sell an asset while still a resident of your old state, you owe that state's tax even if you move later.