What long-term capital gains tax rates are
Long-term capital gains are taxed at lower rates than ordinary income, but the exact rate depends on your total income for the year. The federal government uses three tax brackets: 0%, 15%, and 20%. Which bracket you fall into is determined by your filing status and how much income you earned, not by the size of your gain itself.
These rates apply only to assets you held for more than one year before selling. If you sell something you owned for one year or less, it gets taxed as ordinary income at your regular tax rate, which is typically higher. The difference between these two categories — long-term versus short-term — is the main reason people track when they bought and sold investments.
State and local taxes are separate from federal capital gains tax. Some states tax capital gains as ordinary income, some tax them at a lower rate, and a few do not tax them at all. You will owe both federal and state taxes on the same gain unless you live in a state with no capital gains tax.
Key Takeaways
- Long-term capital gains are taxed at 0%, 15%, or 20% depending on your total income and filing status, not on the size of the gain.
- You must have owned the asset for more than one year for the gain to may have access to as long-term; otherwise it is taxed as ordinary income at your regular rate.
- Your tax bracket for capital gains is based on your total income for the year, including wages, interest, and other sources.
- State and local capital gains taxes are separate from federal tax and vary widely by location.
- The 0% bracket exists for lower-income filers and can allow you to sell appreciated assets without federal tax if your income stays below the threshold.
How the three federal tax brackets work
The 0% bracket applies to the lowest-income filers. For 2024, this means single filers with taxable income up to $47,025 and married couples filing jointly with income up to $94,050. Within this range, you can sell long-term capital gains and owe no federal tax on them. This bracket is useful for people who had a year with lower income, retired early, or took time off work.
The 15% bracket covers the middle range of income. For 2024, single filers fall into this bracket between $47,025 and $518,900, and married couples between $94,050 and $583,750. Most people with moderate to upper-middle income pay 15% on long-term capital gains. This is still substantially lower than the ordinary income tax rates that apply to wages and short-term gains.
The 20% bracket applies to the highest-income filers. For 2024, single filers with taxable income above $518,900 and married couples above $583,750 pay 20% on long-term capital gains. High-income earners may also owe an additional 3.8% net investment income tax, bringing the total federal rate to 23.8%.
These income thresholds change each year with inflation. The IRS publishes updated numbers annually, usually in October or November for the following year. If you are close to a bracket boundary, the timing of when you sell can matter — selling in a lower-income year might move you into a lower tax bracket.
How holding period affects your tax rate
The one-year holding period is a hard line. If you buy a stock on January 15 and sell it on January 14 the following year, it is still short-term capital gain, taxed at your ordinary income rate. If you sell on January 16, it is long-term and taxed at the lower rate. This applies to stocks, mutual funds, real estate, and most other assets.
The holding period starts the day after you buy. If you purchase on a Monday, the clock begins on Tuesday. This matters when you are close to the one-year mark and considering whether to sell before or after a specific date.
Some assets have different rules. Collectibles like art and coins are taxed at a maximum 28% rate even if held long-term. Certain real estate used in business has its own treatment. For most people buying stocks, bonds, or investment property, the standard one-year rule applies.
State and local 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 federal capital gains tax.
Most other states tax capital gains as ordinary income, meaning you pay your state income tax rate on top of the federal rate. A few states offer preferential rates. California taxes capital gains as ordinary income. New York taxes them as ordinary income. Illinois taxes capital gains at 4.95%, lower than its ordinary income rate of up to 4.95% but applied separately.
Some states have recently introduced or are considering capital gains taxes on high-income earners. Washington State and Oregon have enacted capital gains taxes on certain high-value sales. These are separate from income tax and apply only to gains above a threshold. The rules and thresholds vary and change frequently, so checking your state's current law is necessary.
How to calculate your taxable capital gain
Your taxable gain is the sale price minus what you paid for the asset, minus any costs directly tied to the sale or improvement. If you bought 100 shares at $50 per share and sold them at $75 per share, your gain is $2,500. If you paid a $25 broker fee to sell, you subtract that, bringing the taxable gain to $2,475.
For real estate, you can deduct the cost of improvements you made — a new roof, renovated kitchen, or added deck. You cannot deduct routine maintenance like painting or repairs. You also deduct the cost of selling: real estate agent commissions, title insurance, and closing costs. Keep receipts and records of all these expenses; the IRS may ask for documentation.
If you inherited an asset, the cost basis "steps up" to the market value on the date of death. This means if your parent bought a house for $100,000 and it was worth $400,000 when they died, your basis is $400,000. If you sell it a month later for $410,000, your taxable gain is only $10,000, not $310,000. This step-up applies to most inherited assets and can result in significant tax savings.
Offsetting gains with losses
If you have both capital gains and capital losses in the same year, you can use losses to reduce gains. If you sold one investment for a $5,000 gain and another for a $3,000 loss, your net capital gain is $2,000. You pay tax only on the $2,000.
If your losses exceed your gains, you can deduct up to $3,000 of the excess loss against ordinary income in that year. Any remaining losses carry forward to future years and can be used to offset future gains or ordinary income. This is called "tax-loss harvesting" and is a common strategy for managing tax liability.
Losses must be documented with the same care as gains. Keep records of the purchase price, sale price, and date sold for every transaction. The IRS requires this information on Schedule D of your tax return.
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 an investment for a $10,000 profit and immediately buy another investment 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?
Capital losses reduce your taxable gains dollar-for-dollar. If you have no gains that year, you can deduct up to $3,000 of losses against wages and other ordinary income. Losses beyond $3,000 carry forward to future years indefinitely.
How do I report capital gains on my tax return?
You report them on Schedule D (Form 1040), which lists each transaction with the date bought, date sold, cost basis, and sale price. Your broker will send you a Form 1099-B showing all your sales for the year. Use that as your starting point, then adjust for any basis corrections or missing information.
Can I avoid capital gains tax by donating appreciated assets to charity?
Yes. If you donate an appreciated asset 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. This works for stocks, real estate, and other appreciated property. You cannot do this if you sell the asset first and then donate the proceeds.
Are cryptocurrency gains taxed the same way?
Yes. Cryptocurrency held for more than one year is taxed as long-term capital gain at the same rates as stocks or real estate. Cryptocurrency held for one year or less is taxed as short-term capital gain at your ordinary income rate. The IRS treats it as property, not currency.