Guide

How Capital Gains Taxes Work in 2026: 7 Rules to Know Before You Sell

Capital gains tax is what you owe on profit when you sell an asset. Learn how holding period, income, and special rules like the home sale exclusion change your 2026 bill.

Published November 3, 2026·Guide·6 min read

Capital gains tax is the tax you pay on the profit when you sell something for more than you paid for it (learn more about the 2026 insurance gap: 8 policies most canadians are missing (that cost them thousands)) (learn more about 7 student loan forgiveness programs in 2026: are you eligible?) (learn more about 7 best personal loans for bad credit in 2026) (learn more about retirement account comparison 2026: 401(k) vs ira vs roth ira vs sep — which is right for you?). How much you owe depends mostly on two things: how long you held the asset, and your taxable income. Assets held more than one year are taxed at 0%, 15%, or 20%. Assets held one year or less are taxed like regular income. This guide walks through seven rules, ranked by how often they change what people owe (learn more about best student loan refinancing companies of 2026: 6 lenders ranked) (learn more about best debt consolidation loans for bad credit in 2026), so you can plan a sale without surprises.

How We Ranked These Rules

We ordered the rules by how much money they typically move for everyday sellers of stocks, funds, and homes.

Criteria Weight Why It Matters
Dollar impact High Rules that can change your bill by thousands come first
How often it applies High Most people sell stocks or a home, not art or collectibles
How much you can control it Medium Timing and planning options are worth knowing about
Risk of a surprise Medium Rules people commonly miss, like the wash sale rule

Data sources: IRS Topic No. 409 and Publication 550, IRS Publication 523 (selling your home), and the IRS annual inflation adjustments for tax year 2026.

1. Holding Period — Over One Year Changes Everything

Best for: Anyone selling stocks, funds, or crypto
Key number: More than 1 year = long-term

If you own an asset for more than one year before selling, your profit is a long-term gain and gets lower tax rates. One year or less is a short-term gain, taxed at your ordinary income rate, which can be as high as 37%. Waiting even a few days past the one-year mark can cut the rate on a gain significantly.

Pros

  • Long-term rates (0%, 15%, 20%) are lower than ordinary rates for most people
  • Easy to control: you choose when to sell

Cons

  • Waiting means market risk: the price could drop before you sell
  • Doesn't help if you need the cash now

Who This Is Best For

People who can wait. If you are a few weeks short of one year, check the date before you sell. If you need the money right away, the tax cost may still be worth paying.

2. The Long-Term Rate Brackets — 0%, 15%, or 20%

Best for: Planning how much of a gain you keep
Key numbers (2026): 0% up to $49,450 single / $98,900 married filing jointly in taxable income

Long-term gains are taxed at 0%, 15%, or 20% depending on your taxable income. For 2026, the 0% rate applies up to about $49,450 (single) or $98,900 (married filing jointly). The 15% rate covers most people above that, and the 20% rate starts around $545,500 (single) or $613,700 (married filing jointly). Check the IRS tables for your filing status before you plan.

Pros

  • Many middle-income households pay 15% or less
  • Some retirees and lower earners pay 0% on gains

Cons

  • The gain stacks on top of your other income, which can push you into a higher rate
  • Thresholds change every year

Who This Is Best For

Anyone with a large one-time gain. Your total taxable income that year, including the gain, decides your rate, so a big sale can bump part of the gain into the next bracket.

3. Short-Term Gains — Taxed Like Your Paycheck

Best for: Active traders and anyone who sold within a year
Key rate: Ordinary income rates (10% to 37%)

Short-term gains are added to your wages and other income. There is no special discount. For a person in the 24% bracket, a $2,000 short-term gain costs about $480 in federal tax, versus about $300 at 15% if it were long-term.

Pros

  • Simple: same rates you already pay on income
  • Losses can offset these gains dollar for dollar

Cons

  • Highest tax cost of any gain type
  • Frequent trading can add up fast

Who This Is Best For

People who must sell soon. If you are selling short-term winners, look at your losers too, because losses can reduce the bill.

4. Offsetting Gains With Losses — Tax-Loss Harvesting

Best for: Investors with some losing positions
Key number: Up to $3,000 of net losses can reduce ordinary income per year

Capital losses first cancel out capital gains. If losses are bigger than gains, you can deduct up to $3,000 ($1,500 if married filing separately) against other income, and carry the rest forward to future years. Watch the wash sale rule: if you buy the same or a substantially identical investment within 30 days before or after selling at a loss, the loss is disallowed for now.

Pros

  • Can erase or shrink a tax bill
  • Unused losses carry forward with no expiration

Cons

  • The wash sale rule trips people up
  • You are locking in a loss, which only makes sense if it fits your plan

Who This Is Best For

Investors with taxable brokerage accounts. It does not apply inside IRAs or 401(k)s, where gains are not taxed each year.

5. Selling Your Home — Up to $250,000 or $500,000 Tax-Free

Best for: Homeowners
Key numbers: $250,000 single / $500,000 married filing jointly exclusion

If the home was your main residence and you owned and lived in it for at least two of the last five years, you can exclude up to $250,000 of gain ($500,000 for most married couples filing jointly). Gain above that is taxed as a long-term capital gain. This exclusion generally can be used once every two years. Rental properties and second homes do not qualify the same way.

Pros

  • Most home sellers owe nothing
  • Improvements add to your cost basis, lowering your gain

Cons

  • Strict ownership and use tests
  • Large gains in high-price markets can still exceed the limit

Who This Is Best For

Long-time homeowners in appreciated markets. Keep records of major improvements such as a new roof or addition.

6. The Extra 3.8% — Net Investment Income Tax

Best for: Higher earners
Key numbers: Applies above $200,000 single / $250,000 married filing jointly in modified adjusted gross income

Higher earners may owe an extra 3.8% Net Investment Income Tax on investment income, including capital gains. It is added on top of the regular rates. It is not indexed for inflation, so more households reach it each year.

Pros

  • Easy to know in advance: it only applies above fixed income thresholds

Cons

  • Raises the top long-term rate to 23.8% for the highest earners
  • Not adjusted for inflation

Who This Is Best For

Anyone with a large gain in a year when income is already high. Spreading sales over more than one year may help.

7. Special Rates and Quirks — Collectibles and Inherited Assets

Best for: Collectors, heirs, and gift recipients
Key number: Collectibles can be taxed at up to 28%

Gold, art, and other collectibles are taxed at up to 28% even when held long-term. Inherited assets usually get a "stepped-up basis," which resets your cost to the value on the date of death, so gains before then are generally not taxed. Gifted assets usually carry over the giver's original cost.

Pros

  • Stepped-up basis can wipe out decades of gain for heirs

Cons

  • Collectibles lose the lower long-term rates
  • Gifted assets can come with a large built-in gain

Who This Is Best For

People who inherited property or hold physical metals or art. Get a date-of-death valuation for inherited assets.

Quick Comparison

Situation Holding Period Federal Rate Key Detail
Stocks, funds, crypto 1 year or less 10%–37% Taxed as ordinary income
Stocks, funds, crypto More than 1 year 0%, 15%, 20% Based on taxable income
Main home Owned and lived in 2 of 5 years $0 on first $250K/$500K Excess taxed as long-term gain
Collectibles, gold More than 1 year Up to 28% No lower long-term rate
High earners Any Add 3.8% Over $200K/$250K MAGI
Inherited assets Treated as long-term 0%, 15%, 20% Stepped-up basis

How We Researched This

This guide draws on IRS Topic No. 409 (Capital Gains and Losses), IRS Publication 550 (Investment Income and Expenses), Publication 523 (Selling Your Home), and the IRS tax year 2026 inflation adjustments. We compared the rules across filing statuses and left out state taxes, which vary. Last updated: November 2026. We review this guide at least once a year when the IRS releases new thresholds.

Frequently Asked Questions

How do capital gains taxes work?

You pay tax on the profit when you sell an asset for more than your cost basis. Long-term gains (held more than one year) are taxed at 0%, 15%, or 20%. Short-term gains are taxed as ordinary income.

What is the difference between long-term and short-term capital gains?

Long-term gains come from assets held more than one year and get lower rates. Short-term gains come from assets held one year or less and are taxed at your regular income tax rate.

What are the capital gains tax rates for 2026?

Long-term rates are 0%, 15%, and 20%. The 0% rate applies up to about $49,450 of taxable income for single filers and $98,900 for married couples filing jointly. Confirm current figures on IRS.gov.

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

No. Gains are generally taxed only when you sell, called "realizing" the gain. Unsold investments with paper gains are not taxed, though dividends and fund distributions may be.

How much capital gains tax do I pay when I sell my house?

Many homeowners pay nothing. You can exclude up to $250,000 of gain ($500,000 if married filing jointly) if you owned and lived there for at least two of the last five years.

Can capital losses reduce my taxes?

Yes. Losses offset gains first. After that, up to $3,000 of net losses a year can reduce ordinary income, and extra losses carry forward.

What is the wash sale rule?

If you buy the same or a substantially identical investment within 30 days before or after selling at a loss, you cannot claim that loss right away. The disallowed loss is added to the cost of the new purchase.

Are capital gains taxed in retirement accounts?

Not when you sell inside a traditional IRA or 401(k). Taxes apply when you withdraw. Roth accounts can be tax-free if rules are met.

Do I owe state tax on capital gains?

Most states tax capital gains as income, but a few have no income tax. Rates and rules vary by state.

How are inherited assets taxed?

Inherited assets usually get a stepped-up basis to the value on the date of death, so only gains after that date are generally taxed when you sell.

Next Step

Look at your 2025 return to see your taxable income, then estimate where a sale would land. If you are comparing ways to put money to work, see how compound interest works, our guide on 2026 federal tax brackets, and what the One Big Beautiful Bill Act changed.

Important Disclosures

This content is for informational purposes only and does not constitute tax, legal, or financial advice. Tax rules and thresholds change and your situation may differ. Consider speaking with a qualified tax professional before selling an asset. Results vary. MoneySimple may receive compensation from partners featured on this site.

This content is for educational purposes only and does not constitute financial advice. Consult a licensed financial professional for advice specific to your situation.

MoneySimple may receive compensation from partners featured on this page. This does not influence our editorial opinions or recommendations.

Get smarter about money.

Free weekly tips on credit, debt, taxes, and more.

No spam. Unsubscribe anytime.