Taxes

Capital Gains Tax: Why When and How You Sell Matters

The short answer

When you sell something for more than you paid, the profit is a capital gain. Hold it more than a year and the gain is usually taxed at 0%, 15% or 20%, depending on your income, plus a possible 3.8% surtax. Hold it a year or less and it's taxed like a paycheck, at up to 37%. When you sell, how you sell, and whether you sell at all can change the tax more than the price does.

This applies to stocks, funds, real estate, a business, crypto and collectibles. The rules differ a little for each.

Words to know

Cost basis
what you paid, plus certain costs and improvements. Your gain is the sale price minus basis.
Long-term / short-term
held more than one year, or one year or less.
Net investment income tax (NIIT)
an extra 3.8% on investment income above $200,000 of income for single filers and $250,000 for joint filers (Experian).
Step-up in basis
when someone dies, the basis of most assets they leave resets to the value at death, which can wipe out the built-in gain for heirs.

What are the 2026 rates?

Long-term rateSingle filers (taxable income)Married filing jointly
0%Up to $49,450Up to $98,900
15%Up to $545,500Up to $613,700
20%Above $545,500Above $613,700

Source: IRS Rev. Proc. 2025-32 as summarized by CountryTaxCalc. Add 3.8% NIIT at higher incomes, and state tax where it applies.

How can timing change the tax?

  • Wait past one year. The jump from short-term to long-term rates can be large.
  • Use low-income years. Retirees and people between jobs can sometimes realize gains at 0%.
  • Spread big sales out. Selling over two tax years, or using an installment sale for a business or property, can keep more of the gain in lower brackets.
  • Pair gains with losses. Losses offset gains. See Tax-Loss Harvesting.

What are the other ways around a big gain?

  • Give appreciated assets to charity or a donor-advised fund instead of cash. That generally avoids the gain entirely.
  • Gift to family in lower brackets, keeping in mind the kiddie tax and gift rules.
  • Hold until death. The step-up can erase the gain for heirs. This is why selling late in life deserves extra thought.
  • Home sale exclusion. Up to $250,000 of gain ($500,000 for a married couple) on a main home can be tax-free if you meet the ownership and use tests.
  • Real estate exchanges. See 1031 Exchanges.
  • Small-business stock. Certain founders and early investors in C corporations can exclude large gains. The 2025 tax law expanded this for stock acquired after July 4, 2025, up to a $15 million cap per company (Wolters Kluwer).

Does this matter if I'm not selling a business?

Yes. An employee with company stock, a retiree rebalancing, an heir selling inherited shares, and a family selling a rental all face the same rules. The bigger the gain, the more structure matters. When a business is sold, structure decisions made months before closing often decide the tax.

Your one move

Before selling anything with a large gain, ask three questions: How long have I held it? What's my taxable income this year? Could I sell over two years, give it, or hold it instead? Then run the numbers with your tax preparer.

Next steps

Sources

  1. CountryTaxCalc: 2026 thresholds from IRS Rev. Proc. 2025-32.
  2. Experian: net investment income tax thresholds.
  3. Wolters Kluwer: changes to qualified small business stock (QSBS) under the 2025 law.
  4. IRS Publication 523 (home sale exclusion) and Publication 550.