How Capital Gains Tax Works in 2025
Capital gains tax applies when you sell an asset — stocks, bonds, real estate, cryptocurrency, or other property — for more than you paid for it. The difference between your sale price and your cost basis (what you originally paid, including commissions and improvements) is your capital gain. If you sell for less than your cost basis, you have a capital loss, which can offset other gains or reduce your ordinary income by up to $3,000 per year.
The tax rate you pay depends on how long you held the asset before selling and your total taxable income. The holding period determines whether the gain is classified as short-term or long-term, and these two types are taxed very differently. Understanding this distinction is one of the most important tax planning decisions investors face.
Short-Term vs. Long-Term Capital Gains: The Key Difference
Short-term capital gains apply to assets held for one year or less. These gains are taxed as ordinary income, meaning they are added to your wages and salary and taxed at your marginal income tax rate — anywhere from 10% to 37% for 2025. This makes short-term gains significantly more expensive from a tax perspective.
Long-term capital gains apply to assets held for more than one year. These gains receive preferential tax treatment with three rate tiers: 0%, 15%, and 20%. The rate you pay depends on your total taxable income (including the capital gains). For most middle-income taxpayers, the 15% rate applies. The 0% rate benefits lower-income taxpayers, while the 20% rate applies only at very high income levels. This rate advantage is the primary reason financial advisors recommend holding investments for at least a year before selling.
2025 Long-Term Capital Gains Tax Rates by Filing Status
| Rate | Single | Married Filing Jointly | Head of Household |
|---|---|---|---|
| 0% | Up to $48,350 | Up to $96,700 | Up to $64,750 |
| 15% | $48,351 – $533,400 | $96,701 – $600,050 | $64,751 – $566,700 |
| 20% | Over $533,400 | Over $600,050 | Over $566,700 |
These thresholds are based on total taxable income, not just capital gains. Your ordinary income fills the brackets first, and capital gains are stacked on top. This means a high salary can push long-term gains into the 15% or 20% bracket even if the gain itself is modest.
The Net Investment Income Tax (NIIT): An Extra 3.8%
High-income taxpayers face an additional 3.8% Net Investment Income Tax on the lesser of their net investment income or the amount by which their MAGI exceeds $200,000 (single) or $250,000 (MFJ). Net investment income includes capital gains, dividends, interest, rental income, and royalties. For an investor with $300,000 in MAGI and $50,000 in long-term gains, the NIIT applies to the full $50,000 (since MAGI exceeds the threshold by $100,000), adding $1,900 to the tax bill. Combined with the 20% long-term rate, the effective top rate on long-term gains is 23.8%.
How to Reduce Your Capital Gains Tax Bill
The simplest strategy is to hold assets for more than one year to qualify for the lower long-term rates. Tax-loss harvesting — selling losing investments to offset gains — can reduce or eliminate capital gains in a given year. Donating appreciated securities to charity lets you avoid capital gains entirely while claiming a charitable deduction. For inherited assets, the step-up in basis at death eliminates gains on appreciation during the decedent's lifetime. Contributing appreciated assets to a donor-advised fund or qualified opportunity zone can also defer or reduce gains. Always consult a tax professional before implementing tax strategies.