Most people pay attention to taxes once a year, in April, when they file. Investors who do this miss something the tax code rewards heavily: the holding period of an asset. The day you sell can change your tax bill on the same gain by ten or fifteen percentage points. Understanding the difference between short-term and long-term capital gains is one of the highest-leverage financial concepts most households never learn.
What a Capital Gain Actually Is
A capital gain is the profit on the sale of a capital asset โ most commonly stocks, bonds, mutual funds, real estate, or a business interest. The gain is the sale price minus the cost basis (what you paid, plus any adjustments like commissions or improvements).
If you bought 100 shares of an index fund for $50 and sold them for $80, your gain per share is $30, and your total realized capital gain is $3,000. Until you sell, the gain is unrealized and untaxed. The IRS only cares once the asset trades hands.
The Holding Period Distinction
Here is where the tax code makes a sharp split. Capital gains fall into two categories based on how long you held the asset:
- Short-term capital gains: held one year or less. Taxed at your ordinary income tax rates โ the same rates that apply to your wages.
- Long-term capital gains: held more than one year. Taxed at preferential rates โ currently 0%, 15%, or 20%, depending on your taxable income.
For 2026, the long-term rates apply roughly as follows for most filers: 0% for taxable income below about $48,000 (single) or $96,000 (married filing jointly), 15% for most middle-income filers, and 20% for high earners. (The exact thresholds adjust each year for inflation.)
The gap is enormous. A taxpayer in the 35% federal bracket pays 35% on a short-term gain but only 15% or 20% on a long-term gain. On a $20,000 profit, that is the difference between $7,000 and $3,000 to $4,000 in tax.
Why the Code Treats Them Differently
The preferential treatment of long-term gains is a deliberate policy choice. The argument behind it has been, broadly:
- To encourage long-term investment, capital formation, and patient ownership.
- To partially offset the effect of inflation, which inflates nominal gains over time.
- Because corporate profits have already been taxed at the company level (the so-called "double taxation" rationale for dividends and gains).
Whether these justifications hold up is debated by economists. But the law is what it is, and the law rewards holding longer than a year.
The Net Investment Income Tax
There is a second layer most casual investors miss. High earners pay an additional 3.8% Net Investment Income Tax (NIIT) on capital gains and other investment income, on top of the regular capital gains rate.
The NIIT kicks in when modified adjusted gross income exceeds $200,000 for single filers or $250,000 for married filing jointly. So an investor in the 20% long-term bracket who is also subject to NIIT effectively pays 23.8%. That number is the real ceiling for federal long-term capital gains for most high-income filers.
State Taxes Compound the Effect
Most states tax capital gains as ordinary income โ they do not honor the federal long-term distinction. California, for example, taxes long-term gains at the same rate as wages, with a top rate above 13%. This means a California investor in the highest federal bracket can face an effective combined rate near 37% on long-term gains and over 50% on short-term gains.
Eight states currently have no income tax at all. The location where you live and where you sell matters as much as the federal treatment.
Strategies That Follow From This
Once you understand the structure, several practical strategies emerge:
Hold for at least a year and a day. If you bought a stock on March 1 and it has gone up, selling on March 1 of the following year is short-term โ you need March 2 or later to qualify for long-term treatment. The IRS counts the holding period as starting the day after purchase.
Consider tax-loss harvesting. Capital losses offset capital gains dollar for dollar, and short-term losses can offset short-term gains (which are taxed at higher rates) before being applied to long-term gains. You can also deduct up to $3,000 of net capital losses against ordinary income each year, with the rest carried forward.
Use tax-advantaged accounts for active trading. Inside a Roth IRA or a 401(k), short-term and long-term gains are equally tax-free or tax-deferred. The holding-period distinction is a taxable account problem.
Time large sales. If your taxable income is unusually low in a given year โ say, between jobs, or in the early years of retirement before Social Security starts โ you may qualify for the 0% long-term capital gains bracket. Selling appreciated stock then can be effectively tax-free.
What This Doesn't Cover
A few important wrinkles: collectibles (art, gold, certain coins) are taxed at a maximum 28% federal rate, not the standard long-term rate. Real estate gains can be deferred via 1031 exchanges. Qualified small business stock can sometimes be excluded from gain entirely under Section 1202. The basic short-term/long-term framework is the foundation, but the code is full of carve-outs.
Capital gains tax is one of the few areas where simply waiting โ doing literally nothing for an extra day โ can save thousands of dollars. That is unusual in finance. Most rewards require effort or risk. This one mostly requires patience.



