How Federal Capital Gains Taxes Work: Short-Term vs. Long-Term Gains Explained

August 21, 2026

If you’ve ever sold a stock, mutual fund, ETF, cryptocurrency, or piece of real estate for more than you paid for it, you’ve likely generated a capital gain. While the concept sounds complicated, capital gains taxes are actually based on a few simple rules. Understanding those rules can help you make better investment decisions and avoid surprises at tax time.

What Is a Capital Gain?

A capital gain occurs when you sell an asset for more than its cost basis. Your cost basis is generally what you paid for the asset, including certain purchase costs. The IRS considers assets such as stocks, bonds, mutual funds, ETFs, real estate, and many other investments to be capital assets.

For example:

  • You purchase a stock for $10,000. This is your cost basis.
  • A few years later, you sell it for $18,000.
  • Your capital gain is $8,000.

Importantly, you do not owe capital gains tax simply because an investment rises in value. Taxes are generally triggered only when you sell the asset and “realize” the gain. Unrealized gains, sometimes called paper gains, are not taxed under current federal law.

The Most Important Rule: How Long Did You Own It?

The federal government taxes capital gains differently depending on how long you held the asset.

Short-Term Capital Gains

If you owned the investment for one year or less before selling it, the gain is considered short-term. Short-term gains are taxed at your ordinary income tax rate, the same rates that apply to wages, salaries, and business income.

For many taxpayers, this means short-term gains can be taxed at significantly higher rates than long-term gains.

Long-Term Capital Gains

If you owned the asset for more than one year before selling it, the gain is considered long-term. Long-term gains receive special, preferential tax treatment and are generally taxed at lower rates of 0%, 15%, or 20%, depending on your taxable income.

Because of these lower rates, many investors try to hold appreciated investments for more than one year before selling.

What Are the Federal Capital Gains Tax Rates?

Most long-term capital gains fall into one of three federal tax rates:

  • 0%
  • 15%
  • 20%

The rate you pay depends on your taxable income and filing status. Most Americans who realize long-term capital gains pay either 0% or 15%. The 20% rate generally applies only to higher-income taxpayers.

This creates an interesting planning opportunity. Sometimes individuals in lower-income years can realize long-term gains and pay little or no federal capital gains tax.

How Capital Losses Help

Not every investment works out. Fortunately, capital losses can reduce your tax bill.

Suppose you have:

  • $10,000 of capital gains
  • $4,000 of capital losses

You would generally owe tax only on the net gain of $6,000.

If your losses exceed your gains, you can typically use up to $3,000 of excess losses each year to offset ordinary income, with additional losses carried forward into future years.

This strategy is commonly called tax-loss harvesting and is one reason investors pay attention to investment gains and losses near year-end.

A Common Misunderstanding: “I’ll Never Sell Because I Don’t Want to Pay Taxes”

Many investors become so focused on avoiding taxes that they overlook the purpose of investing in the first place: building wealth.

Imagine someone owns a stock with a $50,000 gain. They need to sell it to improve their portfolio but refuse because doing so will create taxes. The problem is that avoiding a tax bill does not automatically improve their financial outcome.

Paying taxes on a gain generally means you made money. The goal should be maximizing after-tax wealth, not minimizing taxes at all costs.

Taxes matter, but they should rarely be the sole factor driving an investment decision.

What About Retirement Accounts?

One of the biggest exceptions to capital gains taxation involves retirement accounts.

Traditional IRAs, Roth IRAs, 401(k)s, 403(b)s, HSAs, etc. generally do not create capital gains taxes when investments are bought and sold within the account. Instead, other tax rules apply depending on the type of account and how withdrawals are handled.

This is one reason retirement accounts are often considered tax-advantaged.

Special Situations

While the basic rules are straightforward, there are a few important exceptions.

Qualified dividends are generally taxed at the same favorable rates as long-term capital gains. Collectibles such as artwork, coins, and certain antiques may be subject to different tax treatment. High-income taxpayers may also owe an additional 3.8% Net Investment Income Tax on top of regular capital gains taxes.

Additionally, inherited assets often receive a “step-up” in basis, meaning beneficiaries may pay substantially less capital gains tax when they eventually sell inherited property.

Easy To Understand, Powerful Knowledge

Federal capital gains taxes are built around three simple ideas:

  1. You generally owe tax only when you sell an investment and realize a gain.
  2. Assets held more than one year receive more favorable tax treatment than assets held one year or less.
  3. Capital losses can offset gains and potentially reduce other taxable income.

Understanding these rules can help you make more informed investment decisions and avoid letting taxes become the sole driver of your financial strategy. In many cases, the goal is not to pay the least amount of tax possible. The goal is to maximize how much wealth you keep after taxes over your lifetime.

Sources and Resources:

Topic no. 409, Capital gains and losses | Internal Revenue Service

This article is not intended to be financial or investment advice. You should consult with a qualified professional to assess if the content contained in this article is applicable to you.


Content provided by Ditch The Suits. Learn more at Financial Planning & Finance Podcast | Ditch The Suits

For financial planning, tax planning, estate planning and investment planning services, check out Wealth Management & Financial Planning | S.E.E.D.

For DIY financial tools and financial coaching, check out Money Milestones | Financial Planning, Budgeting & Money Coaching

Browse the Knowledge Library

You are now leaving this website

You are about to visit SEEDPG.com, the website of S.E.E.D. Planning Group, a separate company. We provide this link for your convenience.

S.E.E.D. Planning Group is solely responsible for the content, privacy practices, and terms of its website. Our Terms of Use and Privacy Policy do not apply there, and we do not control or endorse the information it contains.