If you have ever sold a stock, ETF, crypto, or even a collectible and wondered why the tax bill felt surprisingly high, you are not alone. The difference between short-term and long-term capital gains often comes down to one simple thing: how long you held the investment.

In this guide, I will break down the 2026 framework in plain English: the holding period cutoffs, how the tax rates stack with your other income, when the 3.8% Net Investment Income Tax (NIIT) might show up, and a few practical ways to plan sales so you do not hand over more than you have to.

Quick note on “2026”: The IRS publishes inflation-adjusted tax brackets and capital gains thresholds each year (often later in the prior year). This article focuses on how the rules work, and you can plug in the IRS-published 2026 numbers (or let tax software do it) once they are released.

A person sitting at a kitchen table reviewing stock holdings and recent trades on a smartphone next to a laptop, natural morning light, real photo style

Short-term vs long-term: the one-year rule

Capital gains are the profit you make when you sell an investment for more than you paid (your cost basis). The IRS puts that gain in one of two buckets:

  • Short-term capital gains: You held the investment for one year or less. These are taxed like regular income.
  • Long-term capital gains: You held the investment for more than one year. These usually qualify for lower federal tax rates.

How the holding period is counted

This trips people up. The standard rule is: exclude the day you bought it, and include the day you sold it. In other words, you start counting the day after you acquire the investment.

  • Buy on May 10, 2025 and sell on May 10, 2026: typically short-term (not more than one year).
  • Buy on May 10, 2025 and sell on May 11, 2026: typically long-term (more than one year).

If you are right on the edge, double-check the dates in your brokerage tax lots screen or ask your broker. Being off by one day can be the difference between long-term rates and ordinary income rates.

2026 tax rates: what changes when gains are long-term

Here is the cleanest way to remember it:

  • Short-term gains are taxed at your ordinary income tax rates (the same brackets that apply to wages, self-employment income, interest, etc.).
  • Long-term gains are taxed using preferential capital gains rates (commonly 0%, 15%, or 20% at the federal level), based on your taxable income.

Important: The exact 2026 bracket cutoffs depend on filing status and IRS inflation adjustments. Once the IRS releases the official figures for 2026, your tax software (or your CPA) will apply the correct numbers. What matters for planning is the structure: short-term gains stack into your regular brackets, and long-term gains sit on top and are taxed at their own set of rates.

The stacking concept

Your long-term capital gains rate is not determined in isolation. The IRS essentially:

  1. Calculates your taxable income from ordinary sources (wages, business income, short-term gains, etc.).
  2. Then stacks long-term capital gains on top of that to see which portion falls into the 0%, 15%, or 20% capital gains bands.

This is why two people with the same long-term gain can pay different tax. The person with higher wages has less room in the 0% or 15% band.

Do not forget the 3.8% NIIT

If your income is above certain thresholds, you may owe the Net Investment Income Tax (NIIT), an extra 3.8% on some investment income, including capital gains.

Under current law, NIIT generally comes into play when your modified adjusted gross income (MAGI) is over:

  • $200,000 for Single or Head of Household
  • $250,000 for Married Filing Jointly
  • $125,000 for Married Filing Separately

Also important: NIIT is calculated on the lesser of (1) your net investment income, or (2) the amount your MAGI exceeds the threshold. So it is not always a flat add-on to your entire gain, but it can still be a meaningful extra layer in high-income years.

NIIT is most common when you have:

  • a large one-time sale that spikes income (selling a big position, business interests, or a concentrated stock), or
  • high ongoing income plus meaningful taxable investing activity.

Also note: NIIT is separate from state taxes. Most states that levy an income tax treat capital gains as ordinary income, but a few states have no income tax or special rules. Your state can change how valuable the long-term vs short-term difference feels.

Real-world examples

Example 1: selling too soon (short-term gain)

Let’s say you buy shares for $5,000 and sell them 8 months later for $6,500.

  • Gain: $1,500
  • Holding period: under one year
  • Tax treatment: short-term, taxed like ordinary income

If you are in a moderate federal bracket, that $1,500 can be taxed at a much higher percentage than if you had waited until it became long-term.

Example 2: waiting a few months (long-term gain)

Same purchase and sale price, but you sell after 13 months instead of 8 months.

  • Gain: $1,500
  • Holding period: more than one year
  • Tax treatment: long-term, taxed at preferential capital gains rates (assuming it is a normal investment asset)

This is one of the simplest planning wins: you do not have to deprive yourself. You just have to be intentional about timing when you are close to the one-year mark.

Example 3: the 0% long-term capital gains zone

Some households with lower taxable income can have long-term gains taxed at 0%. It typically shows up when your taxable income stays within the 0% capital gains band for your filing status.

Two common situations where this can happen:

  • a student or early-career worker with low income and small long-term gains
  • a year with lower income (job change, sabbatical, starting a business, new parent at home) where you intentionally realize gains

Just be careful: realizing gains can affect things like ACA health insurance credits, student aid formulas, and other income-based benefits even if the federal capital gains rate is 0%.

What counts as a capital asset

Most of the time, when people say “capital gains,” they mean gains from selling things like:

  • stocks, ETFs, mutual funds
  • crypto
  • business or partnership interests
  • bond funds or individual bonds sold before maturity (price changes can create a capital gain or loss)

Small but important bond note: bond interest is usually taxed as ordinary income. Capital gains and losses typically come from price movement (selling before maturity, buying at a discount or premium, and certain other bond rules).

Not every sale you make is treated the same. A few categories can have different rules or rates:

  • Collectibles (like certain coins, art, some precious metal products): long-term gains may be taxed up to a 28% maximum federal rate.
  • Depreciated real estate: part of the gain can be taxed under special recapture rules, including unrecaptured Section 1250 gain (often capped at a 25% maximum federal rate).
  • Qualified dividends are not capital gains, but they are often taxed at the same preferential rates as long-term capital gains.

This article is focused on general investing in taxable brokerage accounts, not real-estate-specific exclusions.

Losses matter too: gains are netted

You do not pay tax on each trade in isolation. Capital gains and losses are netted for the year.

The usual order

  • Short-term losses first offset short-term gains.
  • Long-term losses first offset long-term gains.
  • If you have leftover losses in one bucket, they can offset gains in the other bucket.

If you end the year with a net capital loss, you may be able to deduct up to $3,000 per year against ordinary income (generally $1,500 if Married Filing Separately). Any remaining loss typically carries forward to future years.

A person at a home office desk sorting printed brokerage statements and a notepad with a calculator nearby, candid real photo style

Planning moves that help

1) When you are close to one year, consider waiting

If you are sitting on a gain at 11 months and 2 weeks, it is worth pausing and asking: “Is selling today worth potentially paying ordinary income rates?” Sometimes the answer is yes. But many times, waiting a few days can reduce the federal tax rate on that gain.

2) Use specific share identification

If you bought the same investment multiple times, you likely have multiple tax lots with different costs and holding periods. Many brokers default to FIFO (first in, first out), which may not be ideal.

Specific ID lets you choose which shares you sell. That can help you:

  • sell long-term shares instead of short-term shares
  • harvest losses intentionally
  • control how much gain you realize in a given year

3) Tax-gain harvesting in lower-income years

Most people have heard of tax-loss harvesting. Tax-gain harvesting is the opposite: intentionally realizing long-term gains in a year where your taxable income is low enough that some gains may be taxed at 0% (or at a lower rate than future years).

This can raise your cost basis, which can reduce taxes later.

4) Donate appreciated shares

If you itemize deductions and you donate to charity anyway, donating appreciated long-term shares can be a double win:

  • You may get a charitable deduction (subject to IRS rules).
  • You may avoid paying capital gains tax on the appreciation.

This is one of my favorite “keep your lifestyle, improve your tax outcome” strategies.

5) Watch the hidden impact on credits and Medicare

Even if your long-term gains are taxed at a favorable rate, realizing a big gain can increase your adjusted gross income (AGI) and modified adjusted gross income (MAGI). That can affect:

  • ACA premium tax credits
  • student financial aid calculations
  • Medicare IRMAA surcharges (for those already on Medicare)
  • NIIT exposure

Translation: sometimes the “tax rate” you feel is higher because of what the gain does to other parts of your financial life.

Where gains show up on your return

For most investors, your broker reports sales on Form 1099-B (and sometimes 1099-DIV for dividends and capital gain distributions). You typically report totals on Form 8949 and Schedule D.

One thing that surprises people: mutual funds and ETFs can pay capital gain distributions that create taxable income even if you did not sell any shares.

If you use tax software, it often imports directly from your brokerage, but it is still on you to confirm:

  • your cost basis is correct
  • wash sales are handled correctly (for stocks and some securities)
  • the holding period classification matches what actually happened

Crypto wash sale note: the federal wash sale rule is written for stocks and securities. Under current guidance, many taxpayers treat crypto as not covered by the wash sale rule as written, but this is an evolving area and proposals have been floated. If you are actively trading crypto losses, it is worth being cautious and staying current.

Quick FAQ

Do I pay capital gains tax if I do not sell?

Usually, no. In a taxable brokerage account, gains are typically taxed when they are realized, meaning you sold. You can still owe tax on dividends and certain fund distributions even if you did not sell shares.

Are long-term gains always 0%, 15%, or 20%?

Those are the common federal rates for typical investment assets, but other categories (like certain collectibles) can have different maximum rates. And NIIT can add 3.8% for higher-income households.

Does the one-year rule apply to crypto too?

Generally, yes. Crypto gains are usually treated as capital gains, and the short-term vs long-term holding period concept still applies.

What about retirement accounts?

In IRAs and most workplace retirement plans, you typically do not pay capital gains tax each time you trade. Taxes are handled under retirement account rules instead. That is why asset location and account choice can matter a lot.

The simple takeaway

If you remember nothing else, remember this: holding an investment for more than one year can move your profit from ordinary income tax rates to preferential long-term capital gains rates. Add in smart lot selection, mindful timing, and a quick NIIT check for higher-income years, and you can often keep more of your returns without changing your investment strategy.

If you are planning a large sale or you are close to a holding-period cutoff, consider running scenarios in tax software or reviewing the plan with a CPA or enrolled agent. This article is for education, not individualized tax advice.