What you pay on long-term capital gains depends on your income level
Long-term capital gains — profit from selling an asset you held for more than one year — are taxed at lower rates than ordinary income. The rate you pay is 0%, 15%, or 20%, depending on your total taxable income for the year. These rates are set by federal law and do not change based on how much profit you made; they change based on how much money you earned overall.
The income thresholds that determine which rate applies vary by filing status. A single filer in 2024 pays 0% on long-term gains up to $47,025 of taxable income, 15% from $47,025 to $518,900, and 20% above that. A married couple filing jointly has higher thresholds: 0% up to $94,050, 15% from $94,050 to $583,750, and 20% above that. These numbers change each year with inflation.
Key Takeaways
- Long-term capital gains rates are 0%, 15%, or 20% based on your total taxable income for the year, not the size of your gain.
- The income thresholds that determine your rate change annually and differ by whether you file single, married jointly, or head of household.
- You must have owned the asset for more than one year for the gain to may have access to as long-term; gains on assets held one year or less are taxed as ordinary income at higher rates.
- State and local taxes on capital gains are separate from federal rates and vary widely by location.
How the three federal tax brackets work
The 0% bracket is the lowest. If your total taxable income for the year falls within this bracket, you owe no federal tax on long-term capital gains. This bracket exists partly to offset the tax burden on lower-income households. For 2024, a single filer with taxable income up to $47,025 falls into this bracket; for a married couple filing jointly, the limit is $94,050.
The 15% bracket is the middle rate and applies to most people who sell investments. It covers the income range above the 0% bracket up to a set ceiling. For 2024, that ceiling is $518,900 for single filers and $583,750 for married couples filing jointly. Most long-term capital gains fall into this bracket.
The 20% bracket applies to high-income earners whose taxable income exceeds the 15% bracket ceiling. Additionally, high-income filers pay an extra 3.8% net investment income tax on capital gains, bringing their effective rate to 23.8%. This extra tax applies to single filers with modified adjusted gross income over $200,000 and married couples filing jointly over $250,000.
How holding period affects your tax rate
The distinction between long-term and short-term capital gains is purely about time. You must own the asset for more than one year — meaning you sell it on or after the one-year anniversary of purchase — for the gain to may have access to as long-term. If you sell before that date, the gain is short-term and taxed as ordinary income at your regular tax bracket rate, which is typically much higher than the long-term rates.
Short-term capital gains rates range from 10% to 37% depending on your ordinary income bracket. For many people, this means a short-term gain is taxed at double or triple the long-term rate. Holding an asset just a few months longer can save thousands in taxes on a large gain. The IRS counts the holding period from the purchase date to the sale date; the specific day of the month matters for borderline cases.
State and local taxes on capital gains
Federal tax is only part of the picture. Most states tax capital gains as ordinary income, meaning you pay your state income tax rate on top of the federal rate. A few states — including Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, and Wyoming — have no state income tax at all. Others tax capital gains at a flat rate or at graduated rates that may differ from federal brackets.
Some states have recently introduced capital gains taxes separate from income tax. California, for example, imposes a 13.3% tax on long-term capital gains over $250,000 for single filers. New York has a 7% surcharge on gains over $1 million. These state-level taxes stack on top of federal taxes, so your total rate can exceed 40% in high-tax states. Check your state's tax authority website or a tax professional for your specific state's rules.
How to calculate your taxable income to find your bracket
Your capital gains rate depends on your total taxable income, not just the gain itself. To find which bracket you fall into, you add the long-term capital gain to your other income — wages, interest, dividends, business income — and subtract deductions. The result is your taxable income, and that number determines your rate.
This means a large capital gain can push you into a higher bracket. If you are a single filer earning $40,000 in wages and you sell an investment for a $20,000 gain, your taxable income is $60,000. The first $7,025 of that gain falls in the 0% bracket (up to $47,025), and the remaining $12,975 falls in the 15% bracket. You do not pay 15% on the whole gain; you pay 0% on part of it and 15% on the rest. A tax professional or tax software can calculate this for you.
Special situations that affect capital gains tax
Certain types of assets or sales have different rules. Collectibles — art, coins, stamps — are taxed at a maximum rate of 28% on long-term gains, even if you would otherwise fall into the 15% or 20% bracket. may have access to small business stock held for more than five years may allow you to exclude part of the gain from tax under Section 1202. Real estate used as your primary home is exempt from capital gains tax on the first $250,000 of gain for single filers and $500,000 for married couples filing jointly, provided you meet ownership and use tests.
Losses also matter. If you sell an asset at a loss, you can use that loss to offset capital gains from other sales. If your losses exceed your gains, you can deduct up to $3,000 of the net loss against ordinary income in a single year. Any remaining loss carries forward to future years. This strategy, called tax-loss harvesting, can reduce your overall tax bill.
Frequently Asked Questions
Do I pay capital gains tax if I sell an investment at a loss?
No, you do not owe tax on a loss. Instead, you can use the loss to reduce taxes on other gains or ordinary income. If your losses exceed gains in a year, you can deduct up to $3,000 against wages or other income. Any unused loss rolls into the next year.
What if I inherit an investment — do I owe capital gains tax when I sell it?
Inherited assets receive a "step-up in basis," meaning your cost basis resets to the asset's value on the date of death. If you sell shortly after inheriting, you typically owe little or no capital gains tax. You only owe tax on gains that occur after you inherit, not on gains that occurred before.
Can I reduce my capital gains tax by spreading the sale over two years?
Not directly. The year you receive the proceeds is the year you report the gain and owe tax. However, you can time sales across years to manage which tax bracket you fall into. Selling in a lower-income year may result in a lower rate. A tax professional can model this for your situation.
Are dividends from stocks taxed the same way as capital gains?
may have access to dividends are taxed at the same rates as long-term capital gains — 0%, 15%, or 20% — based on your income. Non-may have access to dividends are taxed as ordinary income at higher rates. Your brokerage statement will tell you which type you received.