Skip to main content

HomeAll guides

How Long-Term Capital Gains Tax Rates Work

What the long-term capital gains tax rate is

The long-term capital gains tax rate is the federal tax you pay on profit from selling an investment you held for more than one year. The rate depends on your total income for the year, not on how much profit you made. There are three federal rates: 0%, 15%, or 20%. Most people pay 15%.

This is different from the tax on investments you sell within a year, which uses your regular income tax rate and is typically higher. Long-term rates are lower by design — the government taxes patient investors less heavily than active traders.

Your state may also tax capital gains. Some states have no capital gains tax at all. Others tax it as regular income, and a few have their own separate capital gains tax. The federal rate and your state rate stack on top of each other.

Key Takeaways

  • Long-term capital gains use three federal tax brackets (0%, 15%, or 20%) based on your total income, not the size of your gain.
  • You must hold an investment for more than one year for the gain to count as long-term; selling before that triggers your regular income tax rate instead.
  • The 0% rate applies to lower-income filers, the 15% rate to most middle-income filers, and the 20% rate to high-income filers.
  • State taxes on capital gains vary widely — some states have none, others tax it as regular income, and some have a separate capital gains tax.

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

The 0% rate applies to single filers with taxable income up to $47,025 in 2024, and married couples filing jointly up to $94,050. If your income falls in this range, you owe no federal tax on long-term gains — though you still report them on your tax return.

The 15% rate applies to single filers with taxable income from $47,026 to $518,900, and married couples from $94,051 to $583,750. This is where most taxpayers fall. You pay 15% on the long-term gains themselves, not on your entire income.

The 20% rate applies to single filers with taxable income over $518,900 and married couples over $583,750. These thresholds change each year with inflation. The IRS publishes updated numbers in late fall for the following year.

These income thresholds include all your income — wages, interest, dividends, and capital gains combined. If you have $40,000 in wages and $10,000 in long-term gains, your taxable income is $50,000, which may push you into the 15% bracket even though your gain alone was small.

How holding period affects your tax rate

The one-year holding period is a hard line. If you sell an investment on day 366 of ownership, it qualifies for long-term rates. If you sell on day 365, it does not — it becomes a short-term capital gain and you pay your regular income tax rate on it instead.

Your regular income tax rate is almost always higher than the long-term rate. If you are in the 24% income tax bracket, a short-term gain is taxed at 24%. The same gain held one day longer would be taxed at 15% (or possibly 0% or 20%, depending on your total income). That single day can cost you thousands of dollars on a large gain.

The holding period starts the day after you buy. If you buy on January 15, 2024, the holding period ends on January 15, 2025. You can sell on January 16, 2025, and the gain qualifies as long-term.

How to calculate your capital gain

Your capital gain is the selling price minus what you paid for the investment, minus any selling costs like broker fees or commissions. If you bought 100 shares at $50 each and sold them at $75 each, your gain is $2,500 before costs. If you paid $50 in broker fees to sell, your taxable gain is $2,450.

You report this on Schedule D, the IRS form for capital gains and losses. You list each sale separately — the date you bought, the date you sold, the cost, the proceeds, and the gain or loss. If you have many transactions, you may use a summary instead, but your brokerage will send you a statement that lists everything.

If you have capital losses in the same year, you can subtract them from your gains. If losses exceed gains, you can deduct up to $3,000 of the net loss against other income. Any loss beyond that carries forward to future years.

State capital gains taxes

Nine states have no income tax at all: Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, Wyoming, and New Hampshire (which taxes only dividends and interest, not capital gains). If you live in one of these states, you owe only the federal long-term rate.

Most other states tax capital gains as regular income, meaning your state rate depends on your state tax bracket. A few states have a separate capital gains tax. California, for example, taxes long-term gains at the same rate as regular income. Washington State has a 7% capital gains tax on gains over $250,000, separate from income tax.

If you moved during the year you sold an investment, you may owe tax to both states. The rules vary by state — some give you a credit for taxes paid to another state, others do not. This is a situation where a tax professional can save you money.

Net investment income tax

High-income filers may also owe a 3.8% Net Investment Income Tax on top of the long-term capital gains rate. This applies to single filers with modified adjusted gross income over $200,000 and married couples over $250,000. The 3.8% is calculated on the lesser of your net investment income or the amount by which your income exceeds the threshold.

This tax was created as part of the Affordable Care Act and applies to capital gains, dividends, interest, and other investment income. It is separate from your regular income tax and the long-term capital gains tax — you may owe all three at once.

For example, a married couple with $300,000 in income and $50,000 in long-term gains might owe 15% federal capital gains tax on the gain, their state's capital gains tax, and 3.8% Net Investment Income Tax on part of the gain. A tax professional can help you understand the total.

How to report capital gains on your tax return

You report long-term capital gains on Schedule D (Form 1040), which you attach to your main tax return. Your brokerage sends you a Form 1099-B in January listing all your sales from the previous year. Use this to fill out Schedule D.

If you have only a few sales, you list each one separately. If you have many, you can use a summary. The form asks for the date acquired, date sold, cost basis, proceeds, and gain or loss for each position.

Once you complete Schedule D, the long-term gains total transfers to your main return. The IRS uses this to calculate your tax. If you use tax software, it usually walks you through the process and pulls data from your 1099-B automatically.

Frequently Asked Questions

Do I owe tax on a capital gain if I reinvest the money?

Yes. The tax is based on the gain itself, not on what you do with the money afterward. If you sell a stock for a $10,000 profit and when ready buy another stock with the proceeds, you still owe tax on the $10,000 gain. Reinvesting does not defer or eliminate the tax.

What if I inherited an investment — do I owe capital gains tax when I sell it?

Inherited investments receive a step-up in basis, which means your cost basis becomes the value on the date of death, not what the original owner paid. If an investment was worth $50,000 when you inherited it and you sell it for $52,000 a year later, your gain is only $2,000. This is a major tax advantage of inheritance.

Can I avoid capital gains tax by holding an investment forever?

You avoid the tax only if you never sell. Once you sell, you owe tax on the gain. If you hold until death, your heirs inherit with a step-up in basis and owe no tax on gains that happened during your lifetime. But if you sell during your lifetime, the tax is due that year.

What is the difference between long-term and short-term capital gains?

Long-term gains are taxed at 0%, 15%, or 20% based on income. Short-term gains are taxed at your regular income tax rate, which ranges from 10% to 37%. Short-term gains are also added to your other income, which can push you into a higher tax bracket. Long-term gains are taxed in their own brackets and do not affect your regular income tax bracket.

Do I have to pay capital gains tax if I lost money on an investment?

No. If you sell for less than you paid, you have a capital loss, not a gain. You can use losses to reduce gains from other investments. If losses exceed gains, you can deduct up to $3,000 against other income in that year, and carry the rest forward to future years.

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.