Short-term vs long-term capital gains: tax rates and strategies for 2026
The distinction between short-term and long-term capital gains is one of the biggest factors in determining how much tax you owe on your stock market profits. Two investors with identical gains can pay very different amounts of tax depending solely on how long they held their shares before selling.
Understanding the holding period rules, the 2026 tax rate tables, and the strategies available to minimize your bill is essential for any US investor who actively manages their portfolio.
Disclaimer: This article is for informational purposes only and does not constitute financial or tax advice. Consult a qualified tax professional before making investment decisions based on tax considerations.
The holding period rule
The IRS classifies capital gains based on how long you held the asset before selling it:
- Short-term capital gains: The asset was held for one year or less
- Long-term capital gains: The asset was held for more than one year
This single rule determines which tax rate schedule applies to your gain. There is no middle ground or graduated transition. One day can make the difference between a 37% tax rate and a 15% tax rate.
How the holding period is counted
The holding period starts the day after you purchase the shares, not the day of purchase. It runs through and includes the day you sell the shares.
Worked example: counting the holding period
If you buy shares on March 10, 2025, your holding period begins on March 11, 2025. To qualify for long-term treatment, you must sell on or after March 11, 2026 (more than one year from the purchase date).
- Sell on March 10, 2026: 365 days held, but counted from March 11, 2025, this is exactly one year, which means it is still short-term (you need more than one year)
- Sell on March 11, 2026: This is the first day the gain qualifies as long-term
This counting rule matters most when you are close to the one-year mark. Selling one day too early can mean paying nearly double the tax rate on your gain.
Trade settlement and the holding period
Stock trades settle on a T+1 basis (one business day after the trade date). However, for holding period purposes, the IRS generally uses the trade date, not the settlement date. So if you place a sell order on March 11, it counts as a March 11 sale regardless of when the trade settles.
2026 short-term capital gains tax rates
Short-term capital gains are taxed at the same rates as ordinary income. For the 2026 tax year, the federal income tax brackets are:
| Tax rate | Single filers | Married filing jointly | Head of household |
|---|---|---|---|
| 10% | Up to $12,400 | Up to $24,800 | Up to $17,700 |
| 12% | $12,401 - $50,400 | $24,801 - $100,800 | $17,701 - $67,450 |
| 22% | $50,401 - $105,700 | $100,801 - $211,400 | $67,451 - $105,700 |
| 24% | $105,701 - $201,775 | $211,401 - $403,550 | $105,701 - $201,775 |
| 32% | $201,776 - $256,225 | $403,551 - $512,450 | $201,776 - $256,200 |
| 35% | $256,226 - $640,600 | $512,451 - $768,700 | $256,201 - $640,600 |
| 37% | Over $640,600 | Over $768,700 | Over $640,600 |
Because short-term gains are added to your other income, they are taxed at your marginal rate. If you earn $90,000 in salary and have $10,000 in short-term capital gains, the $10,000 is taxed at whatever bracket applies to income between $90,000 and $100,000 (22% for a single filer in 2026, since the 22% bracket covers $50,401 to $105,700).
2026 long-term capital gains tax rates
Long-term capital gains are taxed at preferential rates that are significantly lower than ordinary income rates for most taxpayers:
| Tax rate | Single filers | Married filing jointly | Head of household |
|---|---|---|---|
| 0% | Up to $49,450 | Up to $98,900 | Up to $66,200 |
| 15% | $49,451 - $545,500 | $98,901 - $613,700 | $66,201 - $579,600 |
| 20% | Over $545,500 | Over $613,700 | Over $579,600 |
The 0% rate is notable. Investors with relatively modest taxable income can realize long-term capital gains completely tax-free at the federal level. This is particularly relevant for retirees or individuals in lower income years.
The difference between short-term and long-term rates is dramatic. A single filer in the 24% ordinary income bracket pays 24% on short-term gains but only 15% on long-term gains. That is a 9 percentage point difference, which on a $20,000 gain represents $1,800 in tax savings.
Net investment income tax (NIIT)
Higher-income taxpayers face an additional 3.8% tax on investment income, known as the Net Investment Income Tax. This tax applies to both short-term and long-term capital gains when your modified adjusted gross income (MAGI) exceeds:
- Single filers: $200,000
- Married filing jointly: $250,000
- Married filing separately: $125,000
The NIIT is calculated on the lesser of your net investment income or the amount by which your MAGI exceeds the threshold. This effectively increases the top long-term rate from 20% to 23.8% and can push the effective short-term rate to 40.8% for the highest earners.
Worked example: 11 months vs 13 months
Let's see how the holding period makes a concrete difference. Suppose you are a single filer with $120,000 in salary income, and you bought 500 shares of a stock at $40 per share ($20,000 total investment). The stock has risen to $60 per share, giving you an unrealized gain of $10,000.
Scenario A: Sell at 11 months (short-term)
The $10,000 gain is short-term, taxed as ordinary income. With $120,000 in salary, the additional $10,000 falls in the 24% bracket for a single filer.
- Federal tax on the gain: $10,000 x 24% = $2,400
Scenario B: Sell at 13 months (long-term)
The $10,000 gain is long-term. With $120,000 in taxable income, the long-term rate is 15%.
- Federal tax on the gain: $10,000 x 15% = $1,500
The difference
By waiting two additional months, you save $900 in federal tax on a $10,000 gain. That is a 9% improvement on your return from this investment, just from timing.
Of course, there is a risk: the stock price could decline during those two extra months. If the stock drops from $60 to $55, your gain decreases to $7,500. At the 15% long-term rate, you would owe $1,125, which is still less than the $2,400 you would have paid at 11 months. The stock would need to drop to roughly $46 per share before the tax savings from waiting are offset by the decline in value.
This break-even analysis is worth doing whenever you are close to the one-year mark and considering a sale.
Worked example: higher income with NIIT
Now consider a single filer with $220,000 in salary income and the same $10,000 stock gain.
Short-term sale:
- Ordinary income rate: 35%
- NIIT: 3.8% (MAGI exceeds $200,000)
- Total tax: $10,000 x 38.8% = $3,880
Long-term sale:
- Long-term rate: 15%
- NIIT: 3.8%
- Total tax: $10,000 x 18.8% = $1,880
The difference: $2,000 in tax savings on the same $10,000 gain. For higher-income investors, the incentive to hold for the long term is even stronger.
Strategies to minimize capital gains tax
Strategy 1: Hold for the long term when possible
The most straightforward strategy is to hold investments for more than one year before selling. This qualifies your gain for the lower long-term rate and can save you thousands of dollars on a meaningful gain.
This does not mean you should never sell a stock that has been held for less than a year. If a position has deteriorated fundamentally and you no longer want to own it, the tax tail should not wag the investment dog. But when you have flexibility on timing, waiting past the one-year mark is often worth it.
Strategy 2: Tax-loss harvesting to offset short-term gains
If you have short-term gains that you cannot avoid (from trades earlier in the year, for example), you can use tax-loss harvesting to offset them. By selling holdings that are currently at a loss, you realize capital losses that directly offset your gains.
Short-term losses are particularly valuable because they first offset short-term gains (which are taxed at the highest rates). A $5,000 short-term loss can eliminate a $5,000 short-term gain that would otherwise be taxed at 24% or higher, saving you $1,200 or more.
If your losses exceed your gains, up to $3,000 of net capital losses can offset ordinary income. Any excess carries forward to future years. For a complete explanation of this process, see our guide on how to offset capital gains with capital losses.
Strategy 3: Specific lot identification
When you sell only some of your shares in a holding, choosing which specific lots to sell can significantly affect your tax outcome.
For example, suppose you bought 100 shares in January 2025 at $30 and another 100 shares in March 2026 at $45. The stock is now at $50. If you want to sell 100 shares:
- Selling the January 2025 lot: $20 gain per share, long-term, 15% rate = $300 tax on $2,000 gain
- Selling the March 2026 lot: $5 gain per share, short-term, 24% rate = $120 tax on $500 gain
In this case, selling the newer lot results in less total tax ($120 vs $300) because the gain is much smaller, even though the rate is higher. The right choice depends on the specific numbers.
Specific lot identification requires you to designate which lots you are selling at the time of sale. TrackMyShares tracks each lot separately, making it easy to compare the tax implications of selling different lots before you place the trade.
Strategy 4: Harvest gains in low-income years
If you have a year with unusually low income (job transition, sabbatical, early retirement), your long-term capital gains rate could drop to 0%. This is a good time to realize long-term gains that you have been deferring.
For 2026, a single filer can have up to $49,450 in taxable income (including long-term capital gains) and pay 0% on the long-term gains. A married couple filing jointly has a threshold of $98,900. If your other income is low enough, you can realize substantial gains completely tax-free.
Strategy 5: Consider the full calendar year
Capital gains tax is calculated on a calendar-year basis. This means you have until December 31 to take actions that affect your tax bill for the year:
- Sell losing positions to offset gains realized earlier in the year
- Defer sales that would create short-term gains until January (if that pushes them past the one-year mark or into a new tax year where your income might be lower)
- Review your unrealized gains and losses across all positions
An end-of-year review is one of the most valuable tax planning exercises you can do as an investor.
Wash sale consideration
When implementing these strategies, be careful not to trigger the wash sale rule. If you sell a stock at a loss and buy the same or a "substantially identical" security within 30 days before or after the sale, the IRS disallows the loss.
This is particularly relevant for Strategy 2 (tax-loss harvesting). If you sell a stock to realize a loss but want to maintain your market exposure, you need to either wait 31 days before rebuying or purchase a different (but similar) stock or ETF.
The wash sale rule does not apply to gains, only losses. So if you sell a stock at a gain and immediately buy it back, there is no wash sale issue. The rule only blocks you from claiming a loss while maintaining essentially the same position.
For a deeper dive into the wash sale rule, including examples of what does and does not constitute a substantially identical security, see our guide on tax-loss harvesting for US investors.
How TrackMyShares helps
TrackMyShares provides several features designed to help you manage the short-term vs long-term distinction effectively.
Automatic holding period classification
Every sale recorded in TrackMyShares is automatically classified as short-term or long-term based on the purchase date and sale date of the specific lots being sold. You do not need to calculate holding periods manually.
Short-term and long-term split in tax reports
The US capital gains tax report breaks down your realized gains and losses by holding period. You can see at a glance how much of your gain is short-term versus long-term, and calculate your estimated tax liability for each category.
Lot-level analysis
For every holding, you can view each individual tax lot with its purchase date, cost basis, current unrealized gain or loss, and holding period classification. This makes it easy to evaluate which lots to sell when you want to control the tax outcome.
Before selling, you can review your lots to see which ones have crossed the one-year threshold and which are still short-term. If selling specific lots would result in long-term treatment, you can make that choice before placing the trade with your broker.
Tax-loss harvesting tool
The tax-loss harvesting tool identifies positions with unrealized losses that could offset your realized gains. It shows your current short-term and long-term gains, available harvestable losses, and estimated tax savings based on your marginal rate.
Prices updated throughout the day
Stock prices in TrackMyShares are updated throughout the day, so your unrealized gain and loss figures reflect current market conditions. This helps you make informed decisions about whether to sell now or wait.
The short-term vs long-term distinction is one of the simplest tax rules to understand but one of the most impactful. With potential tax savings of 9 to 20 percentage points on your gains, the holding period deserves consideration in every sell decision you make.
Sign up for TrackMyShares to track your holding periods, identify tax-loss harvesting opportunities, and generate tax reports that separate your short-term and long-term gains automatically.