Long-term capital gains are profits from selling an asset you owned for more than one year, and they're taxed at lower rates than short-term gains or ordinary income
When you sell a stock, rental property, or other investment you've held for over a year, the profit is taxed as a long-term capital gain. The federal tax rate depends on your total income for the year and ranges from 0% to 20%, which is lower than the ordinary income tax brackets that go up to 37%. This rate structure is why holding an asset longer can mean paying less tax on the same profit.
The key distinction is time: if you own something for one year or less, any profit is a short-term capital gain and gets taxed as ordinary income at your regular tax bracket. If you own it for more than one year, it qualifies for long-term rates. State taxes still apply on top of federal rates, and some high-income earners also pay an additional 3.8% net investment income tax.
Key Takeaways
- Long-term capital gains are taxed at 0%, 15%, or 20% depending on your income level, while short-term gains use your ordinary income tax rate.
- You must own an asset for more than one year (not just 12 months—it's the day after the one-year anniversary) for the gain to may have access to as long-term.
- The IRS counts the holding period from the purchase date to the sale date, and the one-year threshold is strictly enforced.
- State income tax still applies to long-term capital gains in most states, and some states tax them differently than federal rates do.
- High earners (over $200,000 single, $250,000 married filing jointly) pay an extra 3.8% net investment income tax on top of the federal rate.
The three federal tax brackets for long-term capital gains
The federal long-term capital gains rate you pay depends on your taxable income for the year, not the size of the gain itself. The IRS uses income thresholds that change each year. For 2024, the brackets are roughly:
| Tax Rate | Single Filers | Married Filing Jointly |
|---|---|---|
| 0% | Up to $47,025 | Up to $94,050 |
| 15% | $47,025 to $518,900 | $94,050 to $583,750 |
| 20% | Over $518,900 | Over $583,750 |
These thresholds shift each year with inflation, so check the IRS website or your tax software for the current year. Your taxable income includes wages, interest, dividends, and the capital gain itself. If you earn $60,000 in wages and sell an investment for a $20,000 gain, your taxable income is $80,000, which puts the gain in the 15% bracket for a single filer in 2024.
The 0% bracket is often overlooked but valuable: if your total taxable income stays below the threshold, you pay no federal tax on long-term gains. This can matter for retirees with low income, people taking a year off work, or those timing a large sale strategically.
How the IRS measures the one-year holding period
The IRS counts the holding period from the date you buy an asset to the date you sell it. You must own it for more than one year, not exactly one year. If you buy a stock on January 15, 2023, and sell it on January 15, 2024, it's still a short-term gain because you haven't held it for more than one year. You'd need to sell on January 16, 2024, or later for it to may have access to as long-term.
This rule applies to all assets: stocks, bonds, real estate, cryptocurrency, collectibles, and business interests. The holding period is determined by the specific purchase and sale dates in your brokerage or property records, not by calendar years. If you inherit an asset, the holding period typically starts fresh from the date of inheritance, though there are exceptions for certain inherited property.
If you're unsure about your holding period, check your purchase confirmation and sale confirmation documents. Your brokerage or tax software usually calculates this automatically when you report the sale.
State taxes and the net investment income tax
Federal long-term capital gains rates are only part of the picture. Most states tax capital gains as ordinary income, meaning you'll 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 like California tax long-term gains at the same rate as ordinary income, which can be 13.3% or higher.
High-income earners also face the net investment income tax, a 3.8% federal tax that applies to investment income (including long-term capital gains) if your modified adjusted gross income exceeds $200,000 for single filers or $250,000 for married couples filing jointly. This tax was created as part of the Affordable Care Act and is separate from your regular income tax.
For example, a single filer in California with $600,000 in taxable income and a $100,000 long-term capital gain would pay 20% federal tax ($20,000), 3.8% net investment income tax ($3,800), and California state tax at the top rate (roughly $13,300), totaling about $37,100 on that gain—an effective rate of 37.1%.
How long-term gains differ from short-term gains and ordinary income
Short-term capital gains—profits from assets held one year or less—are taxed as ordinary income at your regular tax bracket, which ranges from 10% to 37% federally. This means a short-term gain can be taxed at nearly double the rate of a long-term gain for the same person. If you're in the 37% bracket and sell a stock for a $10,000 short-term gain, you owe $3,700 in federal tax. If you hold that same stock one day longer and sell for the same gain, you owe $2,000 (at the 20% long-term rate).
Certain assets like collectibles (art, coins, stamps) and Section 1202 small business stock have their own long-term rates, which can be higher than the standard 0%, 15%, or 20%. Collectibles are taxed at a maximum of 28% even if they may have access to as long-term gains. These exceptions are rare but matter if you're selling valuable collectibles or business interests.
Ordinary income—wages, interest, rental income—is always taxed at your regular bracket rate, never at capital gains rates. This is why some investors focus on holding assets long-term: the tax savings can be substantial over time.
How to report long-term capital gains on your tax return
You report long-term capital gains on Schedule D (Form 1040), which is the IRS form for capital gains and losses. Your brokerage or investment platform sends you a Form 1099-B showing all sales for the year, including the purchase date, sale date, proceeds, and cost basis. You use this information to fill out Schedule D, which calculates your net gain or loss.
If you have long-term losses, you can use them to offset long-term gains dollar-for-dollar. If losses exceed gains, you can deduct up to $3,000 of net capital loss against ordinary income in a single year, with any remaining loss carried forward to future years. This is called tax-loss harvesting and is a common strategy to reduce your tax bill.
Most tax software walks you through Schedule D step-by-step and calculates the tax automatically based on your income and filing status. If you use a tax preparer, provide them with your 1099-B forms and any records of purchases or sales not reported on a 1099.
Frequently Asked Questions
Do I have to hold an asset for exactly 365 days for it to be long-term?
No. You need to hold it for more than one year, which means the day after the one-year anniversary. If you buy on January 15, 2023, the holding period ends on January 16, 2024. Selling on January 15, 2024, results in a short-term gain; selling on January 16 or later results in a long-term gain.
What if I inherit stock or property—does the one-year clock start over?
Generally yes, the holding period starts fresh from the date of inheritance. However, inherited property receives a "step-up in basis," meaning your cost basis is the fair market value on the date of death, not what the original owner paid. This often eliminates or greatly reduces the capital gain when you sell inherited assets.
Can I use long-term capital losses to offset short-term gains?
Yes. Long-term losses offset long-term gains first, and any remaining loss offsets short-term gains. If you have $10,000 in short-term gains and $15,000 in long-term losses, the $10,000 short-term gain is eliminated, and you have a $5,000 net long-term loss to carry forward or deduct.
Do I owe long-term capital gains tax if I sell at a loss?
No. If you sell an asset for less than you paid for it, you have a capital loss, not a gain. You can use this loss to offset other gains or up to $3,000 of ordinary income in the current year, with excess losses carried to future years.
Does the 0% long-term capital gains rate mean I pay nothing at all?
You pay no federal tax at the 0% rate, but state income tax may still apply depending on where you live. Some states tax long-term gains at ordinary income rates, while others have no income tax. Check your state's rules to understand your total tax liability.