Federal capital gains tax rates in 2024

The federal tax on capital gains depends on how long you held the asset and your total income for the year. The Internal Revenue Service taxes long-term capital gains — assets you owned for more than one year — at three rates: 0%, 15%, or 20%. Short-term capital gains, from assets you sold within one year, are taxed as ordinary income at rates up to 37%.

Which rate applies to you depends on your filing status and taxable income. For 2024, the 0% rate applies to single filers earning up to $47,025, married filing jointly up to $94,050, and heads of household up to $63,000. The 15% rate covers income above those thresholds up to $518,900 (single), $583,750 (married filing jointly), and $551,350 (head of household). Everything above those amounts is taxed at 20%.

These income thresholds change each year with inflation. The IRS publishes updated figures in late 2023 for the following tax year, so the 2025 rates will differ slightly from 2024. You can find the current year's thresholds on the IRS website or through your tax preparer.

Key Takeaways

  • Long-term capital gains are taxed at 0%, 15%, or 20% depending on your income bracket, while short-term gains are taxed as ordinary income at rates up to 37%.
  • The income thresholds that determine your rate change every year, so you need to check the current year's figures rather than using last year's numbers.
  • How long you held the asset matters: you must own it for more than one year to may have access to for the lower long-term rates.
  • Your total taxable income for the year determines which bracket you fall into, not just the gain itself.
  • State and local taxes on capital gains vary widely and apply on top of federal rates.

How holding period affects your tax rate

The distinction between long-term and short-term capital gains is the single biggest factor in what you pay. If you buy a stock for $1,000 and sell it eight months later for $1,500, that $500 gain is short-term capital gain. It gets added to your wages, interest, and other income and taxed at your ordinary income rate — potentially as high as 37% if you are in the top bracket.

If you hold that same stock for 13 months before selling it, the $500 gain becomes long-term capital gain. Now it is taxed at 0%, 15%, or 20% depending on your income bracket — a much lower rate. The holding period starts the day after you purchase the asset and ends the day you sell it. Fractional days do not count, so buying on January 1 and selling on January 1 of the following year is exactly one year, not long-term.

This is why timing matters for large sales. Waiting a few months to cross the one-year threshold can save thousands in taxes on a significant gain.

State and local capital gains taxes

Federal tax is only part of what you owe. Most states tax capital gains as ordinary income, meaning your state income tax rate applies on top of the federal rate. A few states — Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, and Wyoming — have no state income tax at all, so residents pay only federal capital gains tax.

Other states have special capital gains taxes separate from income tax. California taxes long-term capital gains at 13.3% on top of federal tax. Washington State imposes a 7% tax on long-term capital gains over $250,000. New York City adds a local tax on top of state tax. The total tax on a large gain in a high-tax state can exceed 50%.

Your state of residence when you sell the asset is what matters. If you sell a property or stock while living in California, you owe California tax even if you bought the asset while living elsewhere. Some states also tax gains on real property located within their borders, regardless of where you live.

How investment type affects capital gains treatment

Not all gains are treated the same way. Stocks, bonds, real estate, and collectibles each have their own rules. Stocks and bonds held long-term get the 0%, 15%, or 20% rates. Real estate you own and live in — your primary residence — qualifies for an exclusion: you can exclude up to $250,000 of gain if you are single, or $500,000 if married filing jointly, as long as you owned and lived in the home for at least two of the last five years.

Collectibles like art, coins, and precious metals are taxed differently. Even if you hold them long-term, the maximum rate is 28% instead of 20%. Certain business property and small business stock have their own rules and may may have access to for partial exclusions under Section 1202 of the tax code.

Inherited assets receive what is called a step-up in basis. If you inherit stock worth $10,000 that your parent bought for $2,000, your basis becomes $10,000. If you sell it immediately for $10,000, you owe no tax on the gain, even though your parent would have owed tax on the $8,000 gain. This applies to most inherited property, though the rules are complex and change periodically.

Capital losses and how they offset gains

If you sell an asset for less than you paid for it, you have a capital loss. You can use capital losses to offset capital gains dollar-for-dollar. If you have $5,000 in long-term gains and $3,000 in long-term losses, you report a net gain of $2,000 and pay tax only on that amount.

If your losses exceed your gains in a year, you can deduct up to $3,000 of the excess loss against ordinary income like wages. Any losses beyond that $3,000 carry forward to future years, where you can use them to offset future gains or take another $3,000 deduction against ordinary income.

This is why some investors deliberately sell losing positions late in the year — a practice called tax-loss harvesting. You lock in the loss, use it to reduce your tax bill, and can often buy a similar investment back after 30 days without violating the wash-sale rule.

How to report capital gains on your tax return

You report capital gains on Schedule D of Form 1040, the main federal income tax return. You list each sale separately: the date acquired, date sold, cost basis, sale price, and gain or loss. Your broker sends you a Form 1099-B showing all your sales for the year, which you use to fill out Schedule D.

Long-term and short-term gains are reported separately. The IRS calculates your tax based on which bracket your total income falls into. If you use tax software or a preparer, they handle this calculation automatically once you enter the transactions.

If you have a large gain and think you might be in a different tax bracket next year, you might consider timing the sale to spread the gain across two years. This is not always possible, but it is worth discussing with a tax professional if you are selling a business, rental property, or large investment position.

Frequently Asked Questions

Do I owe capital gains tax if I reinvest the money?

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

What if I sell at a loss — can I use that to reduce my taxes?

Yes, up to a point. You can use capital losses to offset capital gains dollar-for-dollar. If losses exceed gains, you can deduct up to $3,000 against ordinary income in that year. Losses beyond $3,000 carry forward to future years.

Are cryptocurrency gains taxed the same way as stock gains?

Yes. The IRS treats cryptocurrency as property, not currency. If you hold it for more than one year before selling, it qualifies for long-term capital gains rates. If you sell within one year, it is taxed as short-term gain at ordinary income rates.

Do I owe capital gains tax on inherited property?

Usually not immediately. Inherited assets receive a step-up in basis to their value on the date of death. If you inherit stock worth $50,000 and sell it for $50,000 shortly after, you owe no tax. You only owe tax on gains that occur after you inherit it.

What if I live in a state with no income tax but work in a state that has one?

You owe tax to the state where you earned the income or where the property is located. If you live in Nevada and work in California, you owe California tax on your wages and capital gains from sales while you were a California resident. Your state of residence at the time of the sale is what determines state tax.