Federal Capital Gains Tax Rates
The federal capital gains tax rate depends on how long you held the investment and your total income for the year. The IRS taxes long-term capital gains (assets held over one year) at three rates: 0%, 15%, or 20%. Short-term capital gains (assets held one year or less) are taxed as ordinary income, which means rates range from 10% to 37% depending on your tax bracket.
Your income level determines which rate applies. For 2024, the 0% rate applies to single filers earning under $47,025 and married couples filing jointly under $94,050. The 15% rate covers the middle range, and the 20% rate applies to higher earners. These income thresholds adjust each year for inflation, so the exact numbers change annually.
The rate you pay also depends on the type of asset. Collectibles like art, stamps, or precious metals face a flat 28% rate on long-term gains, even if your ordinary rate would be lower. Certain real estate transactions have their own rules as well.
State and Local Capital Gains Taxes
Most states do not have a separate capital gains tax. However, some states tax capital gains as part of regular income tax. California, for example, taxes long-term capital gains at the same rate as ordinary income, which can reach 13.3% at the top bracket. New York taxes capital gains as income, with rates up to 10.9%. A few states like Washington and Oregon have recently introduced capital gains taxes on high-value sales.
Your city or county may also impose a local income tax that applies to capital gains. New York City, for instance, adds a local tax on top of state and federal rates. The total tax you owe on an investment gain can easily exceed 50% when you combine federal, state, and local taxes.
How Long You Hold an Investment Matters
The holding period is the single biggest factor in what you pay. If you sell an investment within one year of buying it, the gain is taxed as short-term capital gains at your ordinary income tax rate. Someone in the 37% federal bracket pays 37% on short-term gains. That same person pays only 20% on long-term gains.
Holding an investment for more than one year moves it into the long-term category, which unlocks the lower rates. The IRS counts the holding period from the purchase date to the sale date. If you buy on January 15 and sell on January 16 the following year, it qualifies as long-term. If you sell on January 14, it is short-term.
Special Situations and Exceptions
Inherited investments receive a "step-up in basis," which means the cost basis resets to the market value on the date of death. If your parent bought a stock for $10,000 and it was worth $50,000 when they died, your basis becomes $50,000. If you sell it immediately for $50,000, you owe no capital gains tax. This applies to most inherited assets, though some states have their own rules.
Primary residence sales have a partial exclusion. Single filers can exclude up to $250,000 of gains, and married couples filing jointly can exclude up to $500,000, provided they owned and lived in the home for at least two of the past five years. You must meet both the ownership and use tests to may have access to.
Charitable donations of appreciated securities avoid capital gains tax entirely. If you donate stock that has doubled in value, you do not pay tax on the gain, and you receive a charitable deduction for the full current value. This is often more tax-efficient than selling and donating the proceeds.
How Capital Gains Interact with Your Tax Bracket
Capital gains do not sit in a separate tax world—they stack on top of your ordinary income. If you earn $60,000 in wages and have $30,000 in long-term capital gains, your total taxable income is $90,000. The IRS applies the capital gains rates to the portion of your income that falls within each bracket threshold.
This stacking effect means that capital gains can push you into a higher tax bracket. Someone earning $45,000 in wages might be in the 0% capital gains bracket. But if they also have $10,000 in capital gains, that $10,000 may be taxed at 15% because it pushes them over the threshold. Understanding this interaction helps explain why the same gain can be taxed at different rates for different people.
Key Takeaways
- Long-term capital gains (held over one year) are taxed at 0%, 15%, or 20% federally, depending on your income level; short-term gains are taxed as ordinary income at rates up to 37%.
- Most states tax capital gains as ordinary income, and some add local taxes on top, so your total rate can exceed 50% when combining federal, state, and local taxes.
- Holding an investment for more than one year is the primary way to access lower capital gains rates instead of ordinary income rates.
- Inherited assets receive a step-up in basis, and primary residence sales have exclusions up to $250,000 (single) or $500,000 (married), both of which can eliminate or reduce capital gains tax.
Frequently Asked Questions
What is the difference between short-term and long-term capital gains tax rates?
Short-term gains (assets held one year or less) are taxed as ordinary income at rates from 10% to 37%. Long-term gains (held over one year) are taxed at 0%, 15%, or 20% based on your income level. Long-term rates are significantly lower for most people.
Do I pay capital gains tax on stocks I own but haven't sold?
No. Capital gains tax is only owed when you sell an investment and realize the gain. Unrealized gains—the profit on stocks or property you still own—are not taxed. You only owe tax when you actually sell and lock in the profit.
Can I reduce my capital gains tax by donating to charity?
Yes. If you donate appreciated securities directly to a charity, you avoid capital gains tax on the gain and receive a charitable deduction for the full current value. This is more tax-efficient than selling the asset and donating the proceeds.
What happens to capital gains tax if I move to a different state?
Your tax rate depends on your state of residence when you sell the investment. If you move from a state with no capital gains tax to one that taxes capital gains as income, your rate will increase. Some states also have residency rules that can affect when the change takes effect.
Are capital gains from selling my house always taxed?
Not if you meet the primary residence exclusion. Single filers can exclude up to $250,000 of gains, and married couples can exclude up to $500,000, provided they owned and lived in the home for at least two of the past five years. Gains above the exclusion amount are taxed as long-term capital gains.