Capital Gains Tax Explained: Rates, Rules, and How to Minimize It
Understand how capital gains tax works, the difference between short-term and long-term rates, special rules for home sales, and legal strategies to reduce your bill.
Holding an Investment 366 Days Instead of 365 Can Cut Your Tax Bill in Half
The difference between a short-term and long-term capital gain can be the difference between paying 37% and paying 20% on the same profit. The IRS draws a hard line at one year of ownership: assets sold after holding for 12 months or fewer are taxed at ordinary income rates; assets held longer than 12 months qualify for preferential long-term capital gains rates. For an investor in the top tax bracket selling a stock with a $100,000 gain, this distinction is worth $17,000 in taxes on a single transaction. Understanding how capital gains taxes work — and how to structure transactions around them — is foundational to investment decision-making.
Short-Term vs. Long-Term Capital Gains Rates
| Tax Type | Holding Period | 2025 Tax Rate |
|---|---|---|
| Short-term capital gains | 12 months or less | Ordinary income rates (10%–37%) |
| Long-term capital gains (lower brackets) | More than 12 months | 0% |
| Long-term capital gains (mid brackets) | More than 12 months | 15% |
| Long-term capital gains (top brackets) | More than 12 months | 20% |
| Net Investment Income Tax (high earners) | Either | +3.8% surtax |
2025 Long-Term Capital Gains Income Thresholds
| Filing Status | 0% Rate Up To | 15% Rate Up To | 20% Rate Above |
|---|---|---|---|
| Single | $48,350 | $533,400 | $533,400 |
| Married Filing Jointly | $96,700 | $600,050 | $600,050 |
| Head of Household | $64,750 | $566,700 | $566,700 |
The 0% rate is a significant planning opportunity. A retired couple with total taxable income below $96,700 pays no federal capital gains tax at all on long-term gains. This creates a strategy called capital gains harvesting — intentionally realizing gains in low-income years to reset the cost basis tax-free.
How Capital Gains Are Calculated
Capital gain equals the amount realized from a sale minus the cost basis. Cost basis is typically the purchase price plus any commissions, fees, or improvements (for real estate). The IRS allows several methods for identifying which shares you sold when you hold multiple lots purchased at different prices:
- FIFO (First In, First Out): Default method — assumes the oldest shares are sold first
- Specific Identification: You designate exactly which shares are sold, enabling you to choose the highest-cost lots to minimize gain
- Average Cost: Only available for mutual funds — uses the average cost per share across all lots
Using specific identification to sell high-cost-basis shares can dramatically reduce the taxable gain compared to defaulting to FIFO.
Special Asset Categories
Not all capital gains are taxed at the standard long-term rates:
- Collectibles (art, coins, stamps): Maximum long-term rate of 28%, regardless of bracket
- Unrecaptured Section 1250 gain (real estate): Gain attributable to depreciation deductions is taxed at a maximum rate of 25%
- Qualified Small Business Stock (Section 1202): Up to 100% exclusion from federal capital gains tax on gains from qualifying small business stock held more than 5 years
The Home Sale Exclusion
Homeowners receive one of the most valuable capital gains exclusions in the tax code. When selling a primary residence, taxpayers can exclude up to $250,000 of gain (single) or $500,000 (married filing jointly) from federal capital gains tax. Requirements include:
- You owned the home for at least 2 of the last 5 years
- You lived in it as your primary residence for at least 2 of the last 5 years
- You have not used the exclusion within the past 2 years
Gain above the exclusion threshold is taxable at capital gains rates. Homeowners who have owned for decades in high-appreciation markets should track their cost basis carefully, including all improvements made over the years, which increase the basis and reduce taxable gain.
Strategies to Legally Reduce Capital Gains Tax
- Tax-loss harvesting: Sell investments with unrealized losses to offset realized gains, reducing the net taxable amount. Losses can offset up to $3,000 of ordinary income per year after netting all gains and losses.
- Hold for long-term treatment: Patience across the 12-month threshold converts short-term gains (up to 37%) into long-term gains (0%–20%).
- Donate appreciated assets to charity: Donating stock or other appreciated assets directly avoids capital gains tax entirely and provides a fair market value deduction.
- Invest through tax-advantaged accounts: Gains inside IRAs, 401(k)s, and HSAs are not subject to capital gains tax — they are either tax-deferred or tax-free.
- Opportunity Zone funds: Investing capital gains in Qualified Opportunity Zones can defer and potentially reduce the original gain and allow tax-free treatment of appreciation in the new investment.
This article is for informational purposes only and does not constitute financial advice.
Related Articles
taxes
1099 Contractor Taxes: Quarterly Payments, Safe Harbor, and Schedule C
Independent contractors must pay estimated taxes quarterly and file Schedule C. Learn 2024 deadlines, safe harbor rules, 1099-NEC vs. 1099-MISC differences, and penalty avoidance.
9 min read
taxes
Bonus Depreciation 2024: 60% Rate, Phase-Down Schedule, and Qualified Property
Bonus depreciation drops to 60% in 2024, 40% in 2025, and 20% in 2026. Learn qualified property rules, anti-churning provisions, and how to plan around the phase-down.
9 min read
taxes
Capital Gains Tax Rates: Short-Term, Long-Term, and NIIT
Complete guide to capital gains tax rates including 0/15/20% long-term brackets, NIIT 3.8% threshold, the $250K/$500K home exclusion, and Section 1231 property rules.
9 min read
taxes
Cryptocurrency Taxes: Capital Gains, Reporting Requirements, and IRS Rules
The IRS treats cryptocurrency as property, meaning every sale, trade, and payment can be a taxable event. Learn how crypto taxes work, what you must report, and strategies to manage your liability.
10 min read