Capital Gains Tax: Short-Term vs. Long-Term and How to Reduce What You Owe

Few investing surprises sting more than selling a winning stock or fund and then discovering how much of the gain the tax code claims. The good news is that the rules are knowable, and the single most important one is almost embarrassingly simple: how long you held the investment usually matters more than what you bought. Hold an asset for a year or less and your profit is taxed like your paycheck; hold it longer and it is taxed at lower, preferential rates. Understanding that one distinction — short-term versus long-term — is the foundation for keeping more of what your investments earn. This guide explains how capital gains work, the difference between the two holding periods, and the legitimate strategies investors use to reduce the bill.

What a capital gain actually is

A capital gain is the profit you make when you sell a capital asset — such as a stock, bond, mutual fund, ETF, or share of real estate — for more than your cost basis, which is generally what you paid for it plus certain adjustments. If you buy shares for $4,000 and sell them for $6,000, you have a $2,000 capital gain. Sell for less than your basis and you have a capital loss instead, which, as you will see, can be genuinely useful at tax time.

The crucial detail is that a gain is only taxed when it is realized — that is, when you actually sell. An investment that rises in value while you continue to hold it produces an unrealized gain, and unrealized gains are not taxed. As the SEC's investor education site explains in its overview of capital gains, the tax event is the sale, not the appreciation. This is why simply holding a broadly diversified portfolio can be so tax-efficient: you control the timing of the taxable event.

Short-term vs. long-term: the line that changes everything

The tax code splits capital gains into two buckets based entirely on your holding period — how long you owned the asset before selling.

  • A short-term capital gain comes from selling an asset you held for one year or less. It is taxed as ordinary income, meaning it is stacked on top of your wages and taxed at your regular marginal income tax rate.
  • A long-term capital gain comes from selling an asset you held for more than one year. It qualifies for special long-term capital gains rates, which are lower than ordinary rates for most investors.

The IRS lays out the mechanics in Topic No. 409, Capital Gains and Losses. The holding period is counted from the day after you acquired the asset through the day you sold it. Crossing the one-year mark — even by a single day — can move your profit from the ordinary-income column to the preferential column, which for many investors is the difference between a meaningfully higher and lower tax bill on the exact same dollar of gain.

FeatureShort-term gainLong-term gain
Holding periodOne year or lessMore than one year
Tax treatmentOrdinary income ratesPreferential long-term rates
Typical rate rangeSame as your wage bracket0%, 15%, or 20% for most investors
RewardsNothing extraLower rate for patience

How long-term rates work

Long-term capital gains are taxed at one of three headline rates — 0%, 15%, or 20% — and which one applies depends on your taxable income and filing status. Many investors with modest incomes pay 0% on at least part of their long-term gains, a fact that surprises people who assume all investment profit is heavily taxed. Higher earners reach the 15% band, and only those with substantial income hit 20%. Because the income thresholds for these brackets are adjusted over time, you should confirm the current figures for your situation directly on the IRS Topic No. 409 page rather than relying on last year's numbers.

Two extra wrinkles are worth knowing. First, certain assets have special rules — for example, gains on collectibles and some real estate depreciation can be taxed at higher maximum rates. Second, higher-income investors may owe an additional 3.8% Net Investment Income Tax (NIIT) on top of their capital gains rate. The IRS explains who is affected in its guidance on the Net Investment Income Tax; it applies only above specific income thresholds, so most middle-income investors never encounter it.

Capital losses: the built-in offset

Losses are not just disappointing — they are a tool. When you sell investments at a loss, those losses first offset your capital gains of the same type, dollar for dollar. Long-term losses offset long-term gains, short-term losses offset short-term gains, and any leftover of one type can then offset the other.

If your total capital losses exceed your total capital gains for the year, you can use up to $3,000 of the excess loss to offset ordinary income (such as wages), with any remaining loss carried forward to future tax years indefinitely. The IRS describes this netting process and the deduction limit in Topic No. 409. Deliberately realizing losses to reduce a tax bill is a common year-end practice sometimes called tax-loss harvesting — selling a losing position to bank the loss while staying invested in a similar (but not "substantially identical") asset.

That last phrase points to a trap. The wash-sale rule disallows a loss if you buy the same or a substantially identical security within 30 days before or after the sale. The details are covered in IRS Publication 550, Investment Income and Expenses. Run afoul of it and your carefully harvested loss is simply deferred, not claimed — so harvesting requires a little care, not just a sell button.

Legitimate ways to reduce what you owe

You cannot wish away capital gains taxes, but you can shape them. The most reliable strategies are boring, legal, and available to ordinary investors:

  • Hold for more than a year. The simplest lever of all. Waiting to cross the one-year line converts a short-term gain into a long-term one, often cutting the rate substantially. Never let the tax tail wag the investment dog, but when the decision is close, patience frequently pays.
  • Use tax-advantaged accounts. Investments held inside an IRA or 401(k) grow without triggering capital gains taxes as you buy and sell within the account. This is a cornerstone of tax-efficient investing, because it removes the annual drag entirely.
  • Harvest losses thoughtfully. Offsetting gains with realized losses — while respecting the wash-sale rule — can lower your net taxable gain.
  • Mind your income year. Because long-term rates depend on taxable income, realizing gains in a lower-income year (for example, between jobs or early in retirement) can keep more of them in the 0% or 15% band.
  • Watch fund distributions. Even if you do not sell, mutual funds can pass through taxable capital gains distributions. Broad index funds and ETFs tend to distribute far less, which is one reason they are popular for taxable brokerage accounts.

None of these require exotic maneuvers or aggressive positions. They are the everyday habits of investors who treat taxes as a controllable cost rather than an afterthought.

Key takeaways

  • A capital gain is taxed only when you sell; appreciation you have not sold is untaxed.
  • Short-term gains (held one year or less) are taxed as ordinary income; long-term gains (held more than a year) get preferential 0%, 15%, or 20% rates for most investors.
  • Crossing the one-year holding period can meaningfully lower the tax on the same gain.
  • Capital losses offset gains, and up to $3,000 of net loss can offset ordinary income each year, with the rest carried forward — but beware the wash-sale rule.
  • Holding investments in tax-advantaged accounts is one of the most effective ways to avoid capital gains tax altogether.

Frequently asked questions

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

Generally, no. Capital gains tax applies to realized gains — profits you lock in by selling. An investment that has risen in value but that you still hold produces an unrealized gain, which is not taxed. (One exception to be aware of: mutual funds can distribute taxable capital gains to you even if you did not sell your shares.)

How is the one-year holding period counted?

Your holding period begins the day after you acquire an asset and runs through the day you sell it. To qualify for long-term treatment, you must hold for more than one year — one year plus at least a day. Because a single day can change the tax rate, it is worth checking your purchase date before selling a position that is close to the line.

Are long-term capital gains ever taxed at 0%?

Yes. For investors whose taxable income falls below the relevant threshold for their filing status, some or all long-term capital gains are taxed at 0%. The income cutoffs are updated periodically, so confirm the current figures on the IRS Topic No. 409 page. This is a key reason some people intentionally realize gains in lower-income years.

What is the wash-sale rule?

The wash-sale rule prevents you from claiming a loss if you buy the same or a substantially identical security within 30 days before or after selling at a loss. If it applies, the disallowed loss is added to the cost basis of the replacement shares rather than deducted now. It is the main pitfall to avoid when harvesting losses; the details are in IRS Publication 550.

This article is general educational information, not personalized tax or investment advice. Capital gains rates, income thresholds, and rules change over time and depend on your individual circumstances and filing status. Verify current figures with the official IRS sources cited above and consider consulting a qualified tax professional or financial advisor before acting.

References

  1. IRS - Topic No. 409, Capital Gains and Losses
  2. IRS - Publication 550, Investment Income and Expenses
  3. IRS - Net Investment Income Tax
  4. SEC Investor.gov - Capital Gains