What the current capital gains tax rate is

The federal capital gains tax rate depends on how long you held the asset and your total income for the year. If you sold something you owned for less than a year, the profit is taxed as ordinary income — the same rate as wages or salary. If you held it for more than a year, the long-term rate applies: 0%, 15%, or 20%, depending on your income bracket.

The income thresholds that determine which bracket you fall into change each year. For 2024, the 0% rate applies to single filers with taxable income up to $47,025; the 15% rate applies from $47,026 to $518,900; and the 20% rate applies to income above that. These numbers are higher for married couples filing jointly and different for other filing statuses. Your state may also tax capital gains separately.

Long-term capital gains rates have been at these levels since 2013. Short-term gains have no special rate — they are taxed at whatever your regular income tax bracket is, which ranges from 10% to 37% depending on your total income.

Key Takeaways

  • Long-term capital gains (assets held over one year) are taxed at 0%, 15%, or 20% based on your income; short-term gains are taxed as ordinary income.
  • The income thresholds that determine your rate change annually and vary by filing status (single, married filing jointly, head of household).
  • You must report the sale on your tax return with the purchase price, sale price, and holding period to calculate the gain.
  • State capital gains taxes exist in some states and are separate from federal tax, so your total rate may be higher than the federal rate alone.

How the holding period affects your tax rate

The one-year mark is the dividing line. If you buy a stock, rental property, or other asset and sell it within 12 months, any profit is short-term capital gain and taxed at your ordinary income rate. If you hold it for more than one year before selling, it becomes long-term capital gain and qualifies for the lower rates.

The holding period is measured from the purchase date to the sale date. If you bought shares on March 15, 2023, and sold them on March 16, 2024, you have held them for more than one year and the gain is long-term. If you sold on March 15, 2024, it is short-term.

This distinction matters most for active traders or people who buy and sell frequently. Someone who buys a house or rental property and holds it for years will almost always have long-term gains. Someone who trades stocks regularly may have mostly short-term gains, which are taxed much higher.

What counts as a capital gain

A capital gain occurs when you sell an asset for more than you paid for it. The gain is the difference between your sale price and your original purchase price (called your cost basis). Common assets that produce capital gains include stocks, bonds, mutual funds, real estate, cryptocurrency, and collectibles.

You do not owe tax on the gain until you actually sell. If you own a stock that has doubled in value but you have not sold it, there is no tax due yet. The tax is triggered only when you sell and lock in the profit. This is why holding assets long-term can be a tax strategy — you defer the tax and may may have access to for lower rates.

Inherited assets receive what is called a "step-up in basis," meaning your cost basis becomes the value on the date of death, not what the original owner paid. If someone leaves you a house worth $500,000 that they bought for $200,000, your basis is $500,000, and you would owe no capital gains tax if you sold it immediately at that price.

Income thresholds and tax brackets for 2024

Filing Status0% Rate (Long-Term)15% Rate (Long-Term)20% Rate (Long-Term)
SingleUp to $47,025$47,026 to $518,900Over $518,900
Married Filing JointlyUp to $94,050$94,051 to $583,750Over $583,750
Head of HouseholdUp to $63,000$63,001 to $551,350Over $551,350

These thresholds are adjusted annually for inflation. The 2025 thresholds will be slightly higher than 2024. Your taxable income includes all sources — wages, self-employment income, investment income, and capital gains — so a large capital gain can push you into a higher bracket.

If you are near a threshold, timing the sale of an asset can matter. Selling in a year when your other income is lower may keep you in a lower capital gains bracket. This is one reason people sometimes defer selling until the following year or accelerate sales before a major life change like retirement.

State capital gains taxes

Most states do not have a separate capital gains tax, but some do. Washington, Illinois, and a few others have enacted capital gains taxes in recent years, typically at rates between 7% and 8.82%. These are in addition to federal tax and any state income tax.

If you live in a state with a capital gains tax, your total tax on a long-term gain could be 15% federal plus 7% state, for example, totaling 22%. This varies by state and by the specific rules each state has written. Some states exempt certain types of gains or have income thresholds before the tax applies.

If you live in one state but sell an asset located in another state, you may owe tax to both. Real estate is typically taxed by the state where it is located. Securities are usually taxed by your state of residence. Knowing your state's rules is important for planning large sales.

How capital gains are reported on your tax return

You report capital gains on Schedule D (Form 1040), which asks for the date acquired, date sold, cost basis, sale price, and gain or loss for each asset. The IRS uses this information to verify that you calculated the gain correctly and paid the right amount of tax.

If you sold securities through a brokerage, the brokerage sends you a Form 1099-B showing the sales. If you sold real estate, you may receive a Form 1099-S from the title company or real estate agent. These forms are also sent to the IRS, so they will know if you sold something even if you forget to report it.

Keeping records of your purchase price, purchase date, sale price, and sale date is essential. If you cannot prove your cost basis, the IRS may assume your entire sale price is gain, which would result in a much higher tax bill. For inherited assets, keep the death certificate and the asset's value on the date of death.

Losses and how they offset gains

If you sell an asset for less than you paid for it, you have a capital loss. Capital losses can offset capital gains, reducing the amount of gain you owe tax on. If you have $10,000 in gains and $3,000 in losses, you report a net gain of $7,000.

If your losses exceed your gains in a year, you can deduct up to $3,000 of the net loss against ordinary income. Any loss beyond that carries forward to future years. This is why some people sell losing investments at the end of the year — to offset gains and reduce their tax bill.

This strategy is called tax-loss harvesting. It is legal and common, but you must be careful about the "wash-sale rule." If you sell a security at a loss and buy the same or a substantially identical security within 30 days before or after the sale, the loss is disallowed and added to the cost basis of the new purchase.

Frequently Asked Questions

Do I owe capital gains tax if I have not sold yet?

No. Capital gains tax is owed only when you sell and realize the gain. If you own an investment that has increased in value but you have not sold it, you owe no tax. The tax is triggered at the moment of sale.

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

Short-term gains are from assets held one year or less and are taxed at your ordinary income rate (10% to 37%). Long-term gains are from assets held over one year and are taxed at 0%, 15%, or 20% based on your income. Long-term rates are almost always lower.

Can I reduce my capital gains tax by donating the asset to charity?

Yes. If you donate appreciated securities or real estate directly to a may have access to charity, you avoid the capital gains tax entirely and may also deduct the fair market value as a charitable contribution. You must donate the asset itself, not the proceeds from a sale.

How do I know my cost basis if I inherited an investment?

Inherited assets receive a step-up in basis to their fair market value on the date of the owner's death. Your cost basis is that date-of-death value, not what the original owner paid. The executor or estate attorney can provide this valuation.

What if I sold a home — do I owe capital gains tax?

If you lived in the home as your primary residence for at least two of the last five years, you can exclude up to $250,000 of gain (or $500,000 if married filing jointly) from tax. Gains above that threshold are taxed as long-term capital gains.