Long-term capital gains tax is a lower tax rate applied to profits from selling assets you held for more than one year

When you sell an asset — a stock, rental property, or business interest — for more than you paid for it, the profit is called a capital gain. The tax rate depends on how long you owned it. If you held the asset for more than one year before selling, the gain is long-term and taxed at a preferential rate. If you held it for one year or less, it is short-term and taxed as ordinary income at your regular tax bracket rate, which is higher.

Long-term capital gains rates are set by federal law and do not change year to year, though Congress can alter them. As of 2024, there are three federal long-term rates: 0%, 15%, and 20%. Which rate applies to you depends on your total taxable income for the year, not on the size of the gain itself. Your filing status (single, married filing jointly, head of household) also matters because the income thresholds differ for each.

Key Takeaways

  • Long-term capital gains are taxed at 0%, 15%, or 20% depending on your total taxable income and filing status for that year.
  • You must hold an asset for more than one year for the gain to may have access to as long-term; selling after exactly one year does not count.
  • The holding period starts the day after you buy the asset and ends the day you sell it.
  • State and local taxes on capital gains vary widely and are separate from federal rates; some states have no capital gains tax at all.

The three federal long-term capital gains rates and income thresholds

The 0% rate applies to long-term gains if your total taxable income falls below a certain threshold. For 2024, that threshold is $47,025 for single filers, $94,050 for married couples filing jointly, and $63,000 for heads of household. If your income is below these amounts, you pay no federal tax on long-term gains up to the threshold.

The 15% rate is the middle bracket and applies to most people. It kicks in once your income exceeds the 0% threshold and continues until you reach the 20% threshold. For 2024, the 20% rate begins at $518,900 for single filers, $583,750 for married filing jointly, and $551,350 for heads of household. Any long-term gains above these income levels are taxed at 20%.

These thresholds are adjusted each year for inflation, so the numbers change annually. The IRS publishes updated thresholds in the tax year instructions. Your total taxable income includes wages, interest, dividends, and other income — not just the capital gain itself. This means a large gain can push you into a higher bracket even if your wages stayed the same.

How the holding period is calculated

The holding period begins the day after you purchase an asset and ends on the day you sell it. If you buy a stock on January 15 and sell it on January 15 of the following year, you have held it for exactly one year, which does not may have access to as long-term. You must hold it until January 16 of the following year for the gain to be long-term.

The holding period applies to the specific asset, not to your account or broker. You can own multiple shares of the same stock purchased on different dates. If you sell some shares, only those shares count toward the holding period. You can choose which shares to sell — your broker can help you identify which lot meets the long-term threshold — so you can sell the long-term shares and hold the short-term ones if that benefits your tax situation.

State and local capital gains taxes

Federal tax is only part of what you owe. Most states also tax capital gains, and some cities do as well. State rates and rules vary significantly. Some states tax capital gains as ordinary income at your regular state tax rate. Others have a separate capital gains tax with its own rate. A few states — including Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, and Wyoming — have no state income tax at all and therefore no state capital gains tax.

California, for example, taxes long-term capital gains as ordinary income at rates up to 13.3%. New York taxes them at rates up to 10.9%. Illinois has a flat 4.95% capital gains tax regardless of your income level. If you live in a state with no income tax but sell an asset and move to a state with a capital gains tax, you may owe tax to your new state on gains from assets you sold before moving — the rules depend on when you established residency. Check your state's tax department website for the specific rules in your state.

How capital gains affect your tax bracket and other benefits

Long-term capital gains are taxed in a separate calculation from your ordinary income, but they still affect your overall tax situation. If you have $50,000 in wages and $30,000 in long-term capital gains, your total taxable income is $80,000. This combined income determines which long-term capital gains rate applies to you and can also affect whether you may have access to for other tax benefits.

Capital gains can push you into a higher Medicare premium bracket if you are on Medicare. They can also reduce or eliminate certain tax credits, such as the Earned Income Tax Credit or education credits. If you are considering a large sale, it may be worth consulting a tax professional to understand how the gain will affect your full tax picture for the year, including state taxes and any credits you rely on.

Net capital loss carryforward and offsetting gains

If you sell an asset at a loss, you can use that loss to offset capital gains in the same year. If your losses exceed your gains, you can deduct up to $3,000 of the net loss against ordinary income in that year. Any remaining loss carries forward to future years and can be used to offset future gains or ordinary income, again at $3,000 per year, until the loss is fully used.

This means if you have both long-term and short-term gains and losses in the same year, you can strategically offset them. Long-term losses offset long-term gains first, and short-term losses offset short-term gains first. If one category has a net loss and the other has a net gain, they can offset each other. Understanding this can help you plan which assets to sell in which year to minimize your tax bill.

Frequently Asked Questions

Do I have to hold an asset for exactly one year or more than one year?

You must hold it for more than one year. If you buy on January 15 and sell on January 15 the next year, it is short-term. You need to sell on January 16 or later. The holding period starts the day after purchase and ends on the day of sale.

What if I inherit an asset and then sell it?

Inherited assets receive a "step-up in basis," meaning your cost basis is the asset's value on the date of death, not what the original owner paid. You can sell it immediately and the gain is treated as long-term, regardless of how long the deceased owner held it. This is a significant tax advantage for inherited property.

Can I reduce my capital gains tax by donating the asset to charity instead of selling it?

Yes. If you donate appreciated assets directly to a may have access to charity, you avoid the capital gains tax entirely and can deduct the fair market value of the asset as a charitable contribution. You must own the asset for more than one year for this to work. This is often more tax-efficient than selling and donating the proceeds.

How do I know if I am in the 0%, 15%, or 20% bracket?

Add up all your taxable income for the year — wages, interest, dividends, and capital gains. Compare that total to the thresholds for your filing status. If it is below the 0% threshold, your long-term gains are taxed at 0%. If it is between the 0% and 20% thresholds, they are taxed at 15%. If it exceeds the 20% threshold, they are taxed at 20%.

Do I report long-term and short-term gains differently on my tax return?

Yes. You report them on Schedule D (Form 1040) and list them separately. The IRS uses this information to calculate the correct tax rate for each type of gain. Your tax software or preparer will handle this, but you need to provide the purchase date, sale date, and sale price for each asset.