Introduction
When your investments grow, the growth is not automatically taxed. You owe tax only when you sell and realize a gain. But when that moment arrives, the tax can take a meaningful bite out of your profit if you are not prepared.
Capital gains taxes are not a single flat rate. They depend on how long you held the asset, your total income, and the type of asset you sold. Stocks, bonds, real estate, and collectibles all have different rules. And high-income earners may owe an additional surtax on top of the standard rate.
This guide explains how capital gains taxes work, the current rates for 2026, and strategies to reduce or defer what you owe. By the end, you will know exactly what to expect when you sell an investment and how to plan ahead.
- What a capital gain is and when it is taxed
- The difference between short-term and long-term gains
- Current 2026 capital gains tax rates and income thresholds
- How the Net Investment Income Tax adds 3.8%
- Strategies to reduce or defer capital gains taxes
What a Capital Gain Actually Is
A capital gain is the profit you make when you sell an asset for more than your cost basis. The cost basis is generally what you paid for the asset, plus certain adjustments such as commissions or reinvested dividends .
Capital gains apply to a wide range of assets: stocks, bonds, mutual funds, exchange-traded funds, real estate, and even personal property like collectibles. The key point is that a gain is only realized when you actually sell. Paper gains on investments you continue to hold are not taxed.
How to calculate a capital gain
Capital Gain = Sale Price − Cost Basis
For example, if you buy 100 shares at $50 each ($5,000 total) and later sell them for $80 each ($8,000 total), your capital gain is $3,000.
Short-Term vs Long-Term Gains
The single most important factor in how much tax you pay on a capital gain is how long you held the asset before selling .
Short-Term Capital Gains
Assets held for one year or less produce short-term capital gains. These are taxed as ordinary income at your marginal tax rate, which in the United States can be as high as 37% for the highest earners .
Long-Term Capital Gains
Assets held for more than one year produce long-term capital gains. These receive preferential tax rates of 0%, 15%, or 20% depending on your taxable income. The difference between short-term and long-term rates is significant and is one of the most powerful tax planning tools available to investors .
| Holding Period | Gain Type | Tax Rate |
|---|---|---|
| 1 year or less | Short-term | Ordinary income rates (up to 37%) |
| More than 1 year | Long-term | 0%, 15%, or 20% |
The holding period begins the day after you acquire the asset and ends on the day you sell it. Selling on day 365 after purchase is short-term; day 366 is long-term .
2026 Capital Gains Tax Rates
For the 2026 tax year, long-term capital gains are taxed at three rates: 0%, 15%, and 20%. The rate that applies to you depends on your taxable income and filing status .
2026 Long-Term Capital Gains Tax Brackets
| Filing Status | 0% Rate | 15% Rate | 20% Rate |
|---|---|---|---|
| Single | $0 – $49,450 | $49,451 – $545,500 | $545,501+ |
| Married Filing Jointly | $0 – $98,900 | $98,901 – $613,700 | $613,701+ |
| Head of Household | $0 – $66,200 | $66,201 – $579,600 | $579,601+ |
| Married Filing Separately | $0 – $49,450 | $49,451 – $306,850 | $306,851+ |
Source: IRS Revenue Procedure 2025-32
These thresholds apply to taxable income, which is your income after deductions. The brackets are adjusted annually for inflation .
The Net Investment Income Tax
High-income investors may owe an additional 3.8% tax on their investment income. This is the Net Investment Income Tax (NIIT), established under the Affordable Care Act .
NIIT thresholds
| Filing Status | MAGI Threshold |
|---|---|
| Single | $200,000 |
| Married Filing Jointly | $250,000 |
| Married Filing Separately | $125,000 |
| Head of Household | $200,000 |
The NIIT applies to the lesser of your net investment income or the amount by which your modified adjusted gross income exceeds the threshold. These thresholds are not adjusted for inflation, so more taxpayers become subject to the tax over time .
Example
A single filer with $220,000 in modified adjusted gross income and $15,000 in long-term capital gains:
- MAGI above threshold: $220,000 − $200,000 = $20,000
- Net investment income: $15,000
- NIIT applies to the lesser amount: $15,000
- NIIT owed: $15,000 × 3.8% = $570
- Combined federal rate on the gain: 15% + 3.8% = 18.8%
Special Rules for Different Assets
Not all capital gains are taxed at the standard 0%/15%/20% rates. Certain asset types have special rules .
Collectibles
Gains from collectibles such as art, rugs, and coins are taxed at a maximum rate of 28%, regardless of your income level. This is higher than the top long-term capital gains rate .
Unrecaptured Section 1250 Gain
When you sell depreciable real property, the portion of the gain attributable to depreciation you previously claimed is taxed at a maximum rate of 25%. This is called unrecaptured Section 1250 gain .
Qualified Small Business Stock
Gains from the sale of qualified small business stock in excess of any excluded amount are generally taxed at a maximum rate of 28% .
| Asset Type | Maximum Long-Term Rate |
|---|---|
| Most investments (stocks, bonds, funds) | 20% |
| Collectibles (art, coins, rugs) | 28% |
| Unrecaptured Section 1250 gain | 25% |
| Qualified small business stock | 28% |
Capital Gains on Home Sales
The sale of your primary residence receives special treatment under Section 121 of the tax code. You can exclude a significant portion of the gain from taxation if you meet certain requirements .
The Section 121 exclusion
- Single filers: Exclude up to $250,000 of gain
- Married filing jointly: Exclude up to $500,000 of gain
Requirements
- You owned the home for at least two of the five years before the sale
- You used it as your primary residence for at least two of the five years before the sale
- You did not claim the exclusion on another home in the two years before the sale
These exclusion amounts are not adjusted for inflation. They have remained at $250,000 and $500,000 since 1997 .
If any portion of the gain exceeds the exclusion amount, that portion is taxed as a long-term capital gain. Additionally, any depreciation claimed on the property is taxed separately as unrecaptured Section 1250 gain .
Using Capital Losses to Offset Gains
Capital losses can reduce your tax bill by offsetting capital gains. If you sell an investment for less than you paid, the loss can be used to reduce the taxable gains from other investments .
How capital loss offsetting works
- Short-term losses first offset short-term gains
- Long-term losses first offset long-term gains
- If losses exceed gains, up to $3,000 of remaining losses can offset ordinary income ($1,500 if married filing separately)
- Any remaining losses carry forward to future tax years indefinitely
Wash sale rule
The wash sale rule prevents you from claiming a loss if you buy a substantially identical security within 30 days before or after the sale. The disallowed loss is added to the cost basis of the replacement security .
Strategies to Reduce Capital Gains Tax
Several legitimate strategies can reduce or defer capital gains taxes. The right approach depends on your income, goals, and investment timeline.
1. Hold assets for more than one year
This is the simplest and most effective strategy. The difference between short-term (ordinary income) and long-term (preferential rates) can be substantial. If you are close to the one-year mark, waiting can save thousands in tax .
2. Use tax-advantaged accounts
Investments held in 401(k)s, traditional IRAs, and Roth IRAs grow without triggering annual capital gains taxes. You pay tax only when you withdraw from traditional accounts, and Roth withdrawals are tax-free in retirement .
3. Harvest capital losses
Sell losing investments to offset gains from winners. This reduces your net taxable gain and can even reduce ordinary income by up to $3,000 per year .
4. Donate appreciated assets
Donating appreciated securities to charity allows you to avoid capital gains tax entirely while claiming a charitable deduction for the fair market value. This is more tax-efficient than selling the asset and donating the proceeds.
5. Time sales for low-income years
If you expect a year with lower income — a sabbatical, early retirement, or a gap between jobs — realizing gains in that year may place them in a lower tax bracket, potentially even the 0% rate .
6. Consider qualified opportunity zones
Qualified Opportunity Zone investments allow you to defer capital gains taxes and potentially reduce or eliminate them if you hold the investment long enough. These are complex and require professional guidance.
Real Example: Selling Stock
Consider an investor who bought 500 shares of a stock at $40 per share and sold them at $70 per share after holding for 18 months.
| Item | Amount |
|---|---|
| Sale proceeds (500 × $70) | $35,000 |
| Cost basis (500 × $40) | −$20,000 |
| Capital Gain | $15,000 |
Assume the investor is single with $80,000 in taxable income before the gain, placing them in the 15% long-term capital gains bracket.
- Capital gains tax: $15,000 × 15% = $2,250
- NIIT: Does not apply (income below $200,000 threshold)
- Total tax on the gain: $2,250
- Net profit after tax: $12,750
If the investor had held the shares for only 10 months, the gain would be short-term and taxed at their ordinary income rate. At a 24% marginal rate, the tax would be $3,600 — a difference of $1,350 simply from holding longer .
Related Calculators
Use these MoneyTool calculators to estimate and plan your tax situation:
Authoritative Resources
For additional guidance from official sources:
- Internal Revenue Service (IRS): Topic No. 409: Capital Gains and Losses — official IRS explanation of capital gains, holding periods, and tax rates.
- Internal Revenue Service (IRS): Topic No. 701: Sale of Your Home — IRS guidance on the Section 121 home sale exclusion.
- Internal Revenue Service (IRS): Net Investment Income Tax — detailed information on the 3.8% NIIT and who it applies to.
Frequently Asked Questions
What is a capital gain? +
A capital gain is the profit you make when you sell an asset for more than its cost basis. The cost basis is generally what you paid for the asset, plus certain adjustments. Capital gains apply to stocks, bonds, mutual funds, real estate, and many other investments. You only realize a capital gain when you actually sell the asset, not when it increases in value on paper.
What is the difference between short-term and long-term capital gains? +
Short-term capital gains apply to assets held for one year or less. They are taxed as ordinary income at your marginal tax rate, which can be as high as 37% in the United States. Long-term capital gains apply to assets held for more than one year. They receive preferential tax rates of 0%, 15%, or 20% depending on your taxable income.
What are the 2026 long-term capital gains tax rates? +
For 2026, long-term capital gains are taxed at 0%, 15%, or 20% depending on your taxable income. For single filers, the 0% rate applies up to $49,450 in taxable income, the 15% rate applies from $49,451 to $545,500, and the 20% rate applies above $545,500. Married couples filing jointly have higher thresholds. Certain asset types like collectibles are taxed at a maximum rate of 28%.
Can I avoid capital gains tax on the sale of my home? +
Yes. Under Section 121 of the tax code, you can exclude up to $250,000 of gain from the sale of your primary residence if you are single, or up to $500,000 if married filing jointly. To qualify, you must have owned and lived in the home as your primary residence for at least two of the five years before the sale. You can generally use this exclusion once every two years.
What is the Net Investment Income Tax (NIIT)? +
The Net Investment Income Tax is an additional 3.8% tax that applies to investment income when your modified adjusted gross income exceeds $200,000 for single filers, $250,000 for married filing jointly, or $125,000 for married filing separately. These thresholds are not adjusted for inflation. The NIIT applies to the lesser of your net investment income or the amount by which your income exceeds the threshold.
How can I reduce or defer capital gains taxes? +
Several strategies can reduce or defer capital gains taxes: holding assets for more than one year to qualify for lower long-term rates, using tax-advantaged accounts like 401(k)s and IRAs, harvesting capital losses to offset gains, charitable giving of appreciated assets, and timing sales for years when your income is lower. Consulting a tax professional can help identify which strategies apply to your situation.
Financial & Legal Disclaimer
Educational Purposes Only. This guide is provided for informational and educational purposes only. It does not constitute financial, legal, tax, or investment advice. MoneyTool.io is not a tax advisor, and nothing in this article should be construed as a recommendation to take any specific tax position.
Tax laws change frequently and vary by jurisdiction and individual circumstances. The information in this guide reflects rules applicable to the 2026 tax year for United States federal income tax purposes. Capital gains tax rules differ significantly in other countries. Before making tax or investment decisions, consult a qualified tax professional who can review your specific situation. All external links are provided for reference and do not imply endorsement.