1. Capital gains tax: the short answer
Quick Answer: Capital gains tax is what you pay on the profit when you sell an asset for more than you paid. Hold it more than one year and you get the long-term rates of 0%, 15% or 20%. Hold it one year or less and the profit is stacked onto your wages and taxed at your regular rate, which runs as high as 37% on taxable investment accounts.
Two identical trades. Two very different bills. That is the whole idea.
| Short-term | Long-term | |
|---|---|---|
| How long you held it | One year or less | More than one year |
| 2026 federal rate | 10% to 37% | 0%, 15% or 20% |
| Rate depends on | Your ordinary tax bracket | A separate gains bracket |
| Can it ever be zero? | Only if your income is | Yes, quite often |
Your broker decides how easy this is at tax time.
Lot selection tools, holding-period tags and cost-basis reporting vary a lot between platforms. Compare brokerage accounts →
Here is a plain-English walkthrough before we get to the 2026 numbers.
2. What actually counts as a capital gain
Quick Answer: A capital gain is the difference between what you sold an asset for and your adjusted basis in it, which is usually what you paid. Almost everything you own counts as a capital asset, including stocks, funds, a home and personal items. Your brokerage account reports the sale to the IRS on Form 1099-B.
The IRS defines this broadly in Topic no. 409. Two details trip people up more than any others.
- Nothing is taxed until you sell. A position that has doubled on your screen creates no capital gains tax bill. Paper gains are not income.
- Personal-use losses are not deductible. Sell your car for less than you paid and you cannot claim the loss, even though a gain on the same car would be taxable.
Retirement accounts sit outside all of this. Trades inside a 401(k), IRA or HSA do not trigger a capital gains tax bill at all, which is why workplace retirement plans are the natural home for your most-traded holdings.
3. 2026 long-term capital gains tax brackets
Quick Answer: For 2026, a single filer pays 0% on long-term gains while total taxable income stays at or below $49,450, and $98,900 for a married couple filing jointly. Above that it is 15%, and the 20% rate starts at $545,500 single or $613,700 joint. These are taxable income figures, not gross pay.
| Rate | Single | Married filing jointly | Head of household |
|---|---|---|---|
| 0% | $0 – $49,450 | $0 – $98,900 | $0 – $66,200 |
| 15% | Over $49,450 | Over $98,900 | Over $66,200 |
| 20% | Over $545,500 | Over $613,700 | Over $579,600 |
Source: IRS Revenue Procedure 2025-32, tax year 2026, as tabulated by the Tax Foundation. Thresholds are taxable income.
Notice the shape. The 15% band is enormous, running from $49,451 to $545,500 for a single filer, so most households who owe any 2026 capital gains tax pay exactly 15%.
4. Short-term gains are taxed like a paycheck
Quick Answer: A short-term gain gets no special treatment. It is added to your wages and runs through the ordinary 2026 brackets of 10%, 12%, 22%, 24%, 32%, 35% and 37%. Someone earning $120,000 pays 24% on a quick flip and 15% on the identical gain held past the one-year mark.
The chart below prices that difference on a $10,000 gain, using the 2026 rate schedules the IRS published in IR-2025-103. Bars show the extra tax caused purely by selling early.
| Other taxable income | Long-term tax | Short-term tax | Extra cost of selling early |
|---|---|---|---|
| $40,000 | $83 | $1,200 |
$1,117 |
| $60,000 | $1,500 | $2,200 |
$700 |
| $120,000 | $1,500 | $2,400 |
$900 |
| $250,000 | $1,500 | $3,314 |
$1,814 |
| $600,000 | $2,000 | $3,500 |
$1,500 |
Illustrative scenario modeled by DollarVisor on the 2026 federal rate schedules in IRS Revenue Procedure 2025-32. Federal income tax only; excludes the net investment income tax and any state tax. Companies cannot pay for placement in our rankings.
The $40,000 row is the one worth staring at. That filer pays almost nothing on a patient sale and $1,200 on an impatient one, because a long-term gain inside the 0% band is genuinely free.
Buying the same fund every month?
Each purchase starts its own one-year clock, which is why steady buyers end up with a mix of short and long lots. See how dollar-cost averaging works →
5. How the one-year clock is actually counted
Quick Answer: You start counting the day after you bought, and you count through the day you sold. Buy on March 10, 2025 and the clock starts March 11. You need to sell on March 11, 2026 or later for the gain to be long-term. Selling on March 10 leaves you one day short and taxed as ordinary income.
That off-by-one rule comes straight from the IRS and it catches people every year. Three other timing details matter when you rebalance a taxable portfolio.
- The trade date governs, not settlement. Your holding period ends when the trade executes.
- Each lot has its own clock. Five monthly purchases mean five separate holding periods, and your broker sells whichever lot you tell it to.
- Reinvested dividends are new purchases. A dividend reinvested last month is a fresh, short-term lot even if you have owned the fund for a decade.
6. What one more day is worth, by gain size
Quick Answer: The saving from crossing the one-year line grows faster than the gain itself, because a large short-term gain pushes you through several ordinary brackets while the long-term rate stays flat. On a $250,000 gain, waiting one extra day saves a $90,000 earner roughly $35,757 in federal tax.
| Gain size | Holding period | Federal tax | Effective rate |
|---|---|---|---|
| $5,000 | Short-term | $1,100 | 22.0% |
| Long-term (saves $350) | $750 | 15.0% | |
| $25,000 | Short-term | $5,686 | 22.7% |
| Long-term (saves $1,936) | $3,750 | 15.0% | |
| $100,000 | Short-term | $23,686 | 23.7% |
| Long-term (saves $8,686) | $15,000 | 15.0% | |
| $250,000 | Short-term | $73,257 | 29.3% |
| Long-term (saves $35,757) | $37,500 | 15.0% |
Illustrative scenario modeled by DollarVisor on the 2026 federal rate schedules in IRS Revenue Procedure 2025-32. Federal income tax only; excludes the 3.8% net investment income tax, which would apply to the two larger gains, and any state tax.
Watch the effective rate column. Long-term treatment holds a flat 15% however big the gain gets, while the short-term rate climbs from 22.0% to 29.3% as the profit drags the filer into higher brackets.
7. Your state takes a cut too
Quick Answer: Most states tax capital gains as ordinary income, with no long-term discount at all. On a $50,000 long-term gain, a California resident pays $4,650 to the state on top of $7,500 federal, while a Texas or Florida resident pays nothing extra. Same trade, same investing decision, a $4,650 spread.
| State | Federal | State | Total | Combined rate |
|---|---|---|---|---|
| California | $7,500 | $4,650 | $12,150 | 24.3% |
| New York | $7,500 | $2,950 | $10,450 | 20.9% |
| Georgia | $7,500 | $2,595 | $10,095 | 20.2% |
| Illinois | $7,500 | $2,475 | $9,975 | 20.0% |
| Michigan | $7,500 | $2,125 | $9,625 | 19.3% |
| North Carolina | $7,500 | $1,995 | $9,495 | 19.0% |
| Pennsylvania | $7,500 | $1,535 | $9,035 | 18.1% |
| Ohio | $7,500 | $1,375 | $8,875 | 17.8% |
| Texas | $7,500 | $0 | $7,500 | 15.0% |
| Florida | $7,500 | $0 | $7,500 | 15.0% |
Illustrative scenario modeled by DollarVisor using 2026 state rate schedules published by the Tax Foundation. Assumes a single filer with $120,000 of other taxable income. Excludes local taxes and state-specific deductions.
A few states break the pattern. Washington taxes gains on a graduated schedule of its own, and Missouri became the first income-taxing state to repeal its tax on capital gains outright.
Broad funds trigger fewer surprise gains.
Low-turnover index products pass through far less taxable income than actively traded ones. Compare index funds and ETFs →
8. The 3.8% surtax stacked on top
Quick Answer: The net investment income tax adds 3.8% on top of your capital gains tax. It starts once modified adjusted gross income passes $200,000 single, $250,000 joint or $125,000 married filing separately. That turns a 15% rate into 18.8% and a 20% rate into 23.8%.
Two things make this surtax bite harder than people expect, per IRS Topic no. 559.
- The thresholds have never been indexed for inflation. They have sat at $200,000 and $250,000 since the tax began, so more households cross them every year.
- The gain itself can push you over. A single large sale can lift your MAGI above the line in a year when your salary alone would not have.
Timing is the main defense. Splitting a large sale across two tax years, or taking it in a low-income year, can keep MAGI under the threshold. That belongs in the same conversation as your retirement withdrawal order.
9. When the rate is not 0, 15 or 20
Quick Answer: Three asset types get their own maximum rates. Collectibles such as coins and art are capped at 28%, qualified small business stock at 28%, and the depreciation-recapture part of a rental property sale at 25%. Losses cut your bill too, but only $3,000 of net loss per year against ordinary income.
The loss rule is the one most investors can use. If losses exceed gains, you deduct up to $3,000 ($1,500 if married filing separately) against ordinary income and carry the rest forward indefinitely. Harvesting those losses on purpose is a strategy of its own, covered in our guide to tax-loss harvesting rules and deadlines.
Reporting runs through Form 8949 and then Schedule D. A large gain may also require estimated tax payments during the year.
10. How to legally pay 0%
Quick Answer: Add the 2026 standard deduction to the 0% threshold and the picture changes. A single filer can gross roughly $65,550 and a married couple roughly $131,100 while every long-term gain inside those limits is taxed at zero. Retirees in a gap year are the classic case.
The math is simple. The 2026 standard deduction is $16,100 single and $32,200 joint, and the 0% band runs to $49,450 and $98,900 of taxable income. Stack them for the gross-income room above.
- Find your gap years. Between leaving work and starting Social Security or required withdrawals, taxable income often drops far enough to open the 0% band.
- Sell to the top of the band, not past it. Realize just enough long-term gain to fill the remaining space, then stop.
- Repurchase immediately if you still want the position. There is no wash sale restriction on gains, so you can reset your basis higher at no tax cost.
- Coordinate with any Roth conversion you are planning. Conversion income fills the same brackets, so the two compete for the same space.
Not sure which account to sell from first?
Withdrawal order changes your lifetime tax bill more than fund selection does. Read our retirement planning guides →
11. Our verdict, by situation
Quick Answer: Default to holding past the one-year mark unless the position itself has broken. The capital gains tax saving is usually worth more than a few days of price risk, and it is the only part of the outcome you control.
| Your situation | Our pick |
|---|---|
| Position is 11 months old | Wait, unless the thesis broke |
| Retired, low income this year | Harvest gains to the 0% ceiling |
| MAGI near $200,000 | Split the sale across two years |
| Losers sitting in the account | Net them against the gain first |
| High-turnover strategy | Run it inside an IRA or 401(k) |
Every number on DollarVisor is built this way, with the math shown and the sources named. Companies cannot pay for placement in our rankings.
12. The bottom line
Quick Answer: Capital gains tax rewards patience more reliably than almost anything else in the tax code. One extra day of holding can cut the rate on the same profit from 24% to 15%, and in a low-income year all the way to zero.
Check the purchase date. Check your state’s rate. Then check whether the sale pushes you past $200,000 of MAGI. Two minutes of work, worth more than most trading decisions.
13. Frequently Asked Questions
1. What is the capital gains tax rate in 2026?
Long-term gains are taxed at 0%, 15% or 20%. For 2026 a single filer pays 0% up to $49,450 of taxable income, 15% above that, and 20% above $545,500. Joint filers use $98,900 and $613,700. Short-term gains are taxed at ordinary rates of 10% to 37%.
2. How long do I have to hold a stock to avoid short-term rates?
More than one year. Start counting the day after you bought and count through the day you sold. If you bought on March 10, 2025, you need to sell on March 11, 2026 or later. Selling one day earlier makes the entire gain short-term.
3. Do I owe capital gains tax if I do not sell?
No. Unrealized gains are not taxed; the sale triggers the bill. Mutual funds are the exception worth knowing, because a fund can distribute gains to you in a year you bought and sold nothing.
4. Does my state charge capital gains tax?
Most do, and most tax gains at the same rates as wages with no long-term discount. Texas and Florida have no individual income tax, so residents pay only the federal amount. California residents can pay 9.3% or more on top of the federal rate.
5. Can capital losses reduce what I owe?
Yes. Losses first offset gains of the same type, then the other type. If losses still exceed gains, you can deduct up to $3,000 against ordinary income each year ($1,500 if married filing separately) and carry the remainder forward to future years.
6. What is the 3.8% net investment income tax?
It is a surtax on investment income for higher earners. It applies once modified adjusted gross income exceeds $200,000 for single filers, $250,000 for joint filers or $125,000 for married filing separately. It raises the effective long-term rates to 18.8% and 23.8%.
Want the numbers for your own sale?
Tell us your state, filing status and roughly what the gain looks like. We’ll send back the federal and state math side by side, the surtax threshold that applies to you, and the dates that matter, with every figure sourced and no paid placements.
This article is educational information, not tax or financial advice. Rules change and individual situations differ. See our disclaimer.