Skip to content
FreedomClock

Taxes & Paychecks

Capital Gains Tax in 2026: Rates, Holding Periods and Legal Ways to Pay Less

2026 long-term capital gains brackets, the one-year holding rule, the 3.8% NIIT, the home-sale exclusion and smart ways to shrink your tax bill.

Freedom Clock Editorial Team Updated November 16, 2026 7 min read

When you sell an investment for more than you paid, the profit is a capital gain. If you owned the asset for one year or less, the gain is short-term and taxed at your ordinary income tax rates (10% to 37%). If you owned it for more than one year, it's long-term and taxed at 0%, 15% or 20%, depending on your taxable income. For 2026, single filers pay 0% on long-term gains while their taxable income stays at or below $49,450 ($98,900 for married couples filing jointly), and the 20% rate starts above $545,500 ($613,700 joint).

Higher earners may also owe a 3.8% net investment income tax. And if the gain is on your home, you may be able to exclude up to $250,000 of it ($500,000 for most married couples) entirely.

Short-term vs. long-term: the holding period

Crossing from short-term to long-term can be worth a lot of money, so it pays to know exactly when it happens.

  • Short-term: held one year or less. Taxed like wages.
  • Long-term: held more than one year. Taxed at the lower capital gains rates.

Your holding period generally starts the day after you buy and includes the day you sell. Shares bought on March 10, 2026 need to be sold on March 11, 2027 or later to qualify as long-term.

A few special cases:

  • Inherited assets are treated as long-term no matter how long you or the person who died held them. Their cost basis is usually "stepped up" to the value on the date of death.
  • Gifted assets generally keep the giver's cost basis and holding period.
  • Reinvested dividends each start their own holding period and add to your cost basis.

2026 long-term capital gains tax brackets

These thresholds are based on your total taxable income, including the gain itself.

Filing status 0% rate 15% rate 20% rate
Single Up to $49,450 $49,450 to $545,500 Over $545,500
Married filing jointly Up to $98,900 $98,900 to $613,700 Over $613,700
Head of household Up to $66,200 $66,200 to $579,600 Over $579,600
Married filing separately Up to $49,450 $49,450 to $306,850 Over $306,850

Qualified dividends use the same rates. A few assets have their own maximum rates: gains on collectibles such as art, coins and precious metals can be taxed at up to 28%, and the part of a real estate gain that comes from depreciation you previously deducted ("unrecaptured Section 1250 gain") can be taxed at up to 25%.

How the brackets stack on top of your other income

Long-term gains sit on top of your ordinary income. Your wages and other income fill the brackets first, and the gain lands in whatever capital gains bracket is left.

Example 1: A single worker. Maya earns $70,000 in wages in 2026 and sells stock for a $20,000 long-term gain.

  • Ordinary taxable income: $70,000 − $16,100 standard deduction = $53,900.
  • That's already above the $49,450 top of the 0% bracket, so the whole $20,000 gain is taxed at 15%: $3,000.
  • If Maya had sold a few weeks too early and the gain were short-term, it would be taxed at her 22% ordinary rate instead: $4,400. Waiting past the one-year mark saves her $1,400.

Example 2: A retired couple. Pat and Lee have $60,000 of ordinary taxable income (after deductions) and realize a $50,000 long-term gain.

  • The 0% bracket for joint filers runs to $98,900, so $38,900 of the gain ($98,900 − $60,000) is taxed at 0%.
  • The remaining $11,100 is taxed at 15%: $1,665.

Their effective rate on a $50,000 gain is about 3.3%. Couples with modest taxable income in early retirement often have room to realize gains at 0%.

The 3.8% net investment income tax

The net investment income tax (NIIT) adds 3.8% on investment income for people whose modified adjusted gross income is above:

Filing status NIIT threshold
Single or head of household $200,000
Married filing jointly $250,000
Married filing separately $125,000

The tax applies to the smaller of your net investment income or the amount your MAGI exceeds the threshold. These thresholds are set in the tax code and are not adjusted for inflation, so more people cross them over time.

Example: A single filer has $260,000 of MAGI, including $40,000 of net investment income. MAGI exceeds the threshold by $60,000, which is more than the $40,000 of investment income, so NIIT applies to $40,000: $40,000 × 3.8% = $1,520, on top of regular capital gains tax.

Free calculatorCapital Gains Tax CalculatorWhat you’ll owe when you sell: short vs. long term, with the 3.8% NIIT and state tax.Open the calculator →

Selling your home: the $250,000 / $500,000 exclusion

If you sell your main home, you can exclude up to $250,000 of gain from income, or $500,000 if you're married filing jointly. To qualify, you generally must have owned the home and lived in it as your main home for at least two of the five years before the sale, and you can't have used the exclusion on another home in the previous two years. If you fall short because of a job change, health reasons or certain unforeseen events, you may qualify for a partial exclusion.

Example: A married couple bought their home for $350,000 and spent $50,000 on a kitchen remodel and a new roof, giving them a basis of $400,000. They sell for $1,000,000 and pay $55,000 in selling costs, so the amount realized is $945,000.

  • Gain: $945,000 − $400,000 = $545,000
  • Excluded: $500,000
  • Taxable long-term gain: $45,000

Gain that's excluded isn't subject to the NIIT either. Keep receipts for improvements; they raise your basis and lower your gain. Routine repairs don't count.

1. Hold for more than a year. The difference between short-term and long-term rates can be 10 percentage points or more.

2. Harvest gains in low-income years. If your taxable income will sit below the 0% threshold, as in a gap year, early retirement or a year between jobs, you can sell appreciated investments and pay no federal tax on the gain. You can even buy the same investment right back to reset your basis higher. The wash-sale rule applies only to losses, not gains.

3. Harvest losses. Selling investments that are down lets the losses offset gains. Short-term losses offset short-term gains first, long-term losses offset long-term gains, and any excess crosses over. If losses exceed gains, you can deduct up to $3,000 of net loss against ordinary income each year ($1,500 if married filing separately). Anything left carries forward to future years indefinitely and keeps its short- or long-term character.

4. Respect the wash-sale rule. If you sell at a loss and buy a "substantially identical" security within 30 days before or after the sale, the loss is disallowed for now. It's added to the cost basis of the new shares, so you get the benefit later. Purchases by your spouse count, and so do purchases in your IRA. A repurchase inside an IRA is the costly case: the loss generally can't be recovered at all. A common workaround is switching to a similar but not identical fund for 31 days.

5. Choose which shares you sell. If you bought the same fund at different prices, telling your broker to sell specific high-cost lots can shrink the gain. Check that your account is set to specific identification rather than first-in, first-out.

6. Give appreciated shares instead of cash. Donating long-held stock directly to a qualified charity generally lets you deduct its market value (if you itemize, subject to income-based limits) while never paying tax on the gain. Gifting shares to a family member in a lower bracket can also work, but watch the kiddie tax rules for children and young adult students.

7. Use tax-advantaged accounts. Trades inside a 401(k), IRA or HSA don't create capital gains. Holding tax-inefficient assets in those accounts and broad, low-turnover index funds in taxable accounts is a common approach.

8. Spread large sales across tax years. Selling half in December and half in January can keep more of the gain in a lower bracket and below the NIIT threshold.

Common mistakes

Forgetting reinvested dividends in your basis. Those reinvestments were taxed when paid. If you leave them out of your basis, you pay tax on them twice. Brokers track basis for most shares bought since 2011, but older holdings and transferred accounts can have gaps.

Triggering a wash sale across accounts. Selling at a loss in a taxable account while an automatic investment buys the same fund in your IRA can wipe out the loss.

Assuming a 0% gain has no side effects. A tax-free gain still raises your adjusted gross income. That can make more of your Social Security taxable, reduce income-based credits or affect Medicare premiums two years later.

Ignoring state taxes. Most states tax capital gains as ordinary income. A handful have no income tax, and a few have special rules.

Overlooking fund distributions. Mutual funds can pass capital gains out to you even if you never sold a share. Check a fund's estimated year-end distributions before buying it in a taxable account late in the year.

Bottom line

How long you hold an asset matters as much as how much it gains. Hold past one year when you can, use low-income years to realize gains at 0%, harvest losses carefully without tripping the wash-sale rule, and keep good records of your cost basis. For larger or more complicated sales, such as a business, rental property or concentrated stock position, a session with a tax professional is usually worth the fee. To see how gains fit with the rest of your return, use the income tax calculator alongside our 2026 tax brackets guide.

This guide is general education, not personalized financial, tax or legal advice. Figures reflect 2026 rules where noted and can change. Consider a qualified professional for decisions specific to you.

Keep reading

Freedom Clock for iPhone

Carry your freedom date in your pocket.

  • Save a base plan + unlimited what-ifs
  • Stress-test crashes and life events
  • Log money wins — see days gained
  • Quarterly check-ins keep you on track