Capital gains tax is the tax you pay on the profit when you sell an asset — like a stock, fund, or property — for more than you paid for it. The tax applies only to the gain, meaning the difference between your sale price and your original cost, not the entire amount you receive. A crucial twist is that how long you held the asset can change the rate dramatically. In 2026 the basic structure is unchanged, and understanding short-term versus long-term treatment can meaningfully affect what you owe. Here is how it works.
How capital gains tax works
Your gain is the sale price minus your cost basis, which is generally what you originally paid plus certain adjustments. If you sell for less than your basis, you have a capital loss, which can offset gains and sometimes a limited amount of ordinary income.
The tax is triggered when you realize the gain by selling. While you simply hold the asset, any increase in value is an unrealized gain and is generally not taxed. This is why long-term investors who hold without selling can defer the tax for years.
Capital gains are reported when you file, and your broker typically tracks your cost basis for investments, though you should keep your own records too.
Short-term vs long-term
The holding period is the single biggest factor in the rate.
| Type |
Holding period |
Typical rate |
| Short-term capital gain |
One year or less |
Taxed at your ordinary income tax rate |
| Long-term capital gain |
More than one year |
Taxed at lower long-term rates |
Long-term rates are generally lower than ordinary income rates, which rewards holding investments longer. Short-term gains are taxed like your regular income, so flipping an asset quickly can mean a notably higher bill on the same dollar of profit. This is one reason a buy-and-hold approach, like the one in our guide to how to invest for beginners in 2026, tends to be tax-efficient. The exact rate brackets depend on your income and filing status and change over time, so verify the current figures for your situation.
A concrete example
Suppose you buy a fund for 5,000 dollars and later sell it for 8,000 dollars. Your capital gain is 3,000 dollars — the profit, not the full 8,000. If you held it more than a year, that 3,000 dollars is taxed at the lower long-term rate. If you held it a year or less, it is taxed at your ordinary income rate, which is usually higher. Same profit, different tax, purely because of timing.
Ways the tax can be reduced
This is general information, not personalized tax advice, so confirm with a professional for your circumstances.
- Holding longer to qualify for lower long-term rates instead of short-term.
- Tax-loss harvesting, where realized losses offset realized gains.
- Using tax-advantaged accounts like IRAs, where gains can grow without annual capital gains tax.
- Mind the cost basis, since accurate records can prevent overstating your gain.
Common misconceptions
- You are not taxed on the whole sale. Only the profit above your cost basis is taxed.
- Unrealized gains generally are not taxed. The tax usually applies when you sell, not while you hold.
- Short and long term are not the same. The holding period can change the rate significantly.
- Losses are not useless. Capital losses can offset gains and, within limits, some ordinary income.
FAQ
Do I owe capital gains tax if I do not sell?
Generally no. Most capital gains are taxed only when realized through a sale. Simply holding an asset that has risen in value usually does not trigger the tax.
What is the difference between short-term and long-term gains?
Short-term gains come from assets held a year or less and are taxed at ordinary income rates. Long-term gains come from assets held more than a year and usually get lower rates.
How do I lower capital gains tax?
Common approaches include holding longer for long-term rates, offsetting gains with losses, and investing inside tax-advantaged accounts. Verify what applies to you.
Does capital gains tax apply to my home?
Selling a primary home can qualify for an exclusion up to certain limits, but rules vary, so check the current requirements and your situation.
Where to go next
Learn what a tax deduction is in 2026, read how to reduce taxes legally in 2026, and see what a stock is in 2026.