What Are Capital Gains?
A capital gain occurs when you sell an asset for more than you paid for it. The "gain" is the difference between your purchase price (cost basis) and your selling price. Capital gains apply to stocks, bonds, real estate, cryptocurrency, and other investments.
Example: You buy 100 shares of a stock at $50/share ($5,000 total) and sell them at $80/share ($8,000 total). Your capital gain is $3,000.
Short-Term vs. Long-Term Capital Gains
The tax rate you pay depends on how long you held the asset before selling:
Short-Term Capital Gains (Held ≤ 1 Year)
Taxed as ordinary income — the same rate as your salary. This can be as high as 37% for high earners.
Long-Term Capital Gains (Held > 1 Year)
Taxed at preferential rates — significantly lower than ordinary income rates.
| Taxable Income (Single) | Long-Term Rate |
|---|---|
| $0 - $47,025 | 0% |
| $47,026 - $518,900 | 15% |
| Over $518,900 | 20% |
| Taxable Income (Married Filing Jointly) | Long-Term Rate |
|---|---|
| $0 - $94,050 | 0% |
| $94,051 - $583,750 | 15% |
| Over $583,750 | 20% |
The 0% Rate Is Real
If your taxable income (including the capital gain) stays below $47,025 (single) or $94,050 (married), you pay zero federal tax on long-term capital gains. This is particularly valuable for retirees with modest income.
Net Investment Income Tax (NIIT)
High earners face an additional 3.8% surtax on investment income (including capital gains) if their modified adjusted gross income exceeds $200,000 (single) or $250,000 (married). This effectively makes the top long-term rate 23.8%.
Strategies to Minimize Capital Gains Taxes
1. Hold Investments for Over One Year
The simplest strategy: by holding for at least one year and one day, you convert short-term gains (up to 37%) into long-term gains (0-20%).
2. Tax-Loss Harvesting
Sell losing investments to offset your gains. You can offset unlimited gains with losses, and deduct up to $3,000 of net losses against ordinary income per year. Unused losses carry forward indefinitely.
3. Use Tax-Advantaged Accounts
Investments in 401(k)s, IRAs, and Roth IRAs grow tax-free or tax-deferred. You only pay capital gains tax in taxable brokerage accounts.
4. Gift Appreciated Assets
Gifting appreciated stock to charity lets you deduct the full market value without paying capital gains tax. Gifting to family members in lower tax brackets can also reduce the overall tax burden.
5. Harvest Gains in the 0% Bracket
If you're in a low-income year (early retirement, sabbatical, gap year), strategically sell investments to realize gains at the 0% rate.
6. Use Specific Identification
When selling partial positions, specify which shares (lots) you're selling. Selling the highest-cost shares first minimizes your taxable gain.
Capital Gains on Real Estate
Your primary residence gets special treatment:
- Exclusion: Up to $250,000 in gains (single) or $500,000 (married) is tax-free
- Requirements: You must have owned and lived in the home for at least 2 of the last 5 years
- Investment property: No exclusion — full capital gains tax applies (consider a 1031 exchange to defer)
Capital Gains on Cryptocurrency
The IRS treats cryptocurrency as property:
- Selling crypto for cash triggers capital gains
- Trading one crypto for another triggers capital gains
- Using crypto to buy goods or services triggers capital gains
- The same short-term/long-term holding period rules apply
Key Takeaways
- Hold investments for over one year to qualify for lower long-term capital gains rates
- The 0% rate is available for lower-income taxpayers — plan your income strategically
- Use tax-loss harvesting to offset gains with losses
- Maximize tax-advantaged accounts (401k, IRA, Roth) to avoid capital gains entirely
- Keep detailed records of your cost basis for every investment





