Credit Cards Credit Score Loans Insurance Investing Subscribe

Capital Gains Tax 2026–2027: Rates, Hidden Rules & How to Pay Less Legally

capital gains tax

Tax Strategy · 2026–2027 Guide

Capital Gains Tax 2026–2027: Rates, Hidden Rules & How to Pay Less Legally

Everything you need to understand IRS brackets, long-term vs short-term treatment, and the proven strategies that legally keep more money in your pocket.


📅 Updated for Tax Year 2026–2027


18 min read


📋 Stocks · Real Estate · Crypto

⚡ Quick Answer

Capital gains tax is what you owe the IRS when you sell an asset for more than you paid for it. The rate you pay depends on two things: how long you held the asset and how much you earn. Hold for over a year and you qualify for lower long-term rates (0%, 15%, or 20%); sell sooner and you’re taxed at your regular income rate, which can be as high as 37%.

📋 Quick Summary
  • Short-term gains (held 1 year or less) are taxed as ordinary income — up to 37%.
  • Long-term gains (held more than 1 year) are taxed at preferential rates: 0%, 15%, or 20%.
  • Your income level determines which long-term bracket you fall into.
  • A 3.8% Net Investment Income Tax (NIIT) may apply to high earners on top of capital gains rates.
  • Tax-loss harvesting, timing your sales, and using retirement accounts are the top legal ways to reduce your bill.
  • Crypto, real estate, and collectibles each come with special rules worth knowing.
  • A little planning today can save you thousands at tax time.

What Is Capital Gains Tax, Exactly?

Let’s start from the beginning, because understanding the basics is what separates people who pay too much in taxes from people who don’t.

When you sell an asset — a stock, a rental property, cryptocurrency, even a piece of art — for more than you originally paid, the profit is called a capital gain. The IRS wants a cut of that profit. That cut is the capital gains tax.

Here’s the key: not all capital gains are taxed the same way. The IRS draws a clear line between short-term and long-term gains, and the difference in what you owe can be substantial.

The Holding Period Rule

This is the rule that changes everything. It’s simple:

  • Short-term: You sold the asset within 12 months (365 days) of buying it.
  • Long-term: You held the asset for more than 12 months before selling.

That one extra day can mean the difference between being taxed at 22% and being taxed at 15%. That’s not a rounding error — on a $50,000 gain, that’s $3,500 in your pocket instead of the government’s.

Understanding Cost Basis

Before you can figure out your capital gain, you need to know your cost basis — simply put, what you paid for the asset, including commissions and fees.

If you bought 100 shares of Apple at $150 per share and sold them at $200 per share, your cost basis is $15,000. Your proceeds are $20,000. Your capital gain is $5,000. That $5,000 is what gets taxed.

Sounds straightforward, right? It usually is — but with things like reinvested dividends, inheritance, or cryptocurrency, the cost basis can get a little tricky. If you’re managing multiple assets, a tool like TurboTax or H&R Block Deluxe can track your cost basis automatically, which saves a lot of headaches come April.

Capital Gains Tax Rates for 2026–2027

Here’s the deal: the IRS adjusts tax brackets annually for inflation. The rates themselves — 0%, 15%, and 20% for long-term gains — are set by law and haven’t changed significantly in recent years. But the income thresholds that determine which rate you pay do get a modest annual adjustment.

For 2026–2027, here’s what you need to know:

Long-Term Capital Gains Rates (2026 Estimates)

These are the rates that apply when you’ve held an asset for more than one year. They’re significantly lower than ordinary income tax rates, which is exactly why holding matters.

Tax Rate Single Filers (Approx.) Married Filing Jointly (Approx.)
0% Up to ~$47,000 Up to ~$94,000
15% ~$47,001 to ~$518,000 ~$94,001 to ~$583,000
20% Over ~$518,000 Over ~$583,000

Note: These figures are estimates based on projected IRS inflation adjustments. Always confirm exact thresholds at IRS.gov or with a tax professional.

Short-Term Capital Gains Rates (2026)

Short-term gains are taxed as ordinary income. That means whatever your regular income tax bracket is, that’s what you pay on short-term gains too.

Tax Rate Single Filers Married Filing Jointly
10% Up to ~$11,925 Up to ~$23,850
12% ~$11,926–$48,475 ~$23,851–$96,950
22% ~$48,476–$103,350 ~$96,951–$206,700
24% ~$103,351–$197,300 ~$206,701–$394,600
32% ~$197,301–$250,525 ~$394,601–$501,050
35% ~$250,526–$626,350 ~$501,051–$751,600
37% Over ~$626,350 Over ~$751,600

The Net Investment Income Tax (NIIT)

Here’s a wrinkle that catches a lot of high earners off guard: if your modified adjusted gross income (MAGI) exceeds $200,000 (single) or $250,000 (married filing jointly), you may owe an additional 3.8% Net Investment Income Tax on top of your capital gains rate. That means a high-income investor in the 20% long-term bracket could effectively face a 23.8% rate on their gains. It’s not widely talked about, but it’s very real. Make sure you factor this in when planning large sales.

Short-Term vs. Long-Term Capital Gains: Head-to-Head

Let’s put the two side by side so the difference really sinks in:

Feature Short-Term Gains Long-Term Gains
Holding Period 12 months or less More than 12 months
Tax Rate Ordinary income rate (10%–37%) Preferential rate (0%, 15%, 20%)
Best Strategy Avoid where possible Hold to qualify
Who It Hits Hardest Active traders, flippers Less impact on patient investors
IRS Treatment Same as wages/salary Separate, lower bracket system
NIIT Applies? Yes, if income threshold met Yes, if income threshold met

The takeaway? Patience literally pays in the world of investing.

Real-Life Examples: Stocks, Real Estate & Crypto

Numbers on paper can feel abstract. Let’s run through some real-world scenarios so you can see exactly how this plays out.

1

Selling Stocks (Short-Term vs. Long-Term)

Imagine you bought 50 shares of Apple stock at $150 per share (total: $7,500) in January 2025. By September 2025 — just 8 months later — the stock hit $210 per share and you sold (total: $10,500).

Your gain: $3,000. But here’s the problem: because you held for less than 12 months, that’s a short-term gain. If you’re in the 22% income bracket, you owe $660 in federal tax.

Now imagine you waited until February 2026 instead — just five more months. Assume the stock is still at $210. Same $3,000 gain, but now it’s a long-term gain. At a 15% long-term rate, you’d owe $450.

💡 THE LESSON

Waiting five more months saved $210 on a $3,000 gain. Scale that to a $300,000 gain and the difference is $21,000. The holding period is one of the most powerful levers you have.

2

Selling a Rental Property

Let’s say you bought a rental property in Denver for $350,000 in 2020. In 2026, you sell it for $520,000 — a $170,000 gain.

You’ve held it for over five years, so this is clearly a long-term gain. If your household income puts you in the 15% long-term bracket, your federal capital gains tax is $25,500.

But wait — real estate has an important wildcard: depreciation recapture. Over the years, you’ve claimed depreciation deductions on the property. The IRS taxes that recaptured depreciation at a flat 25% rate, separate from your capital gains rate. Make sure you account for this (a CPA can calculate it precisely).

Also worth noting: if the property was your primary residence for at least two of the last five years, you may qualify for the Section 121 exclusion — $250,000 tax-free for single filers, $500,000 for married couples. That’s a massive benefit.

💡 THE LESSON

Real estate gains are usually long-term and can benefit from significant exclusions. But depreciation recapture is a hidden cost that many sellers miss. Plan for it before closing.

3

Flipping Crypto in 2026

Let’s say you bought $2,000 worth of Ethereum in March 2026 and sold it for $3,400 in May 2026 — a quick $1,400 profit in two months.

Here’s the thing most crypto investors don’t realize: the IRS treats cryptocurrency as property, not currency. Every single taxable event — selling, trading one coin for another, using crypto to buy something — is potentially a capital gains event.

Since you held for less than 12 months, that $1,400 is a short-term gain. In the 22% bracket, that’s $308 owed. And since each trade can be a separate taxable event, active crypto traders can rack up dozens — even hundreds — of taxable events in a year.

Tracking all of this manually is a nightmare. Purpose-built tools like Koinly or CoinTracker connect to your crypto wallets and exchanges to calculate your gains and generate IRS-ready reports automatically.

💡 THE LESSON

Crypto is taxed just like stocks, but with way more moving parts. Every trade is a taxable event. If you’re active in crypto, get a tracking tool before tax season sneaks up on you.

How to Reduce Your Capital Gains Tax in 2026–2027 (Step-by-Step)

Okay, this is where it gets good. There are completely legal, IRS-approved strategies to lower your capital gains bill — and some of them are surprisingly simple. Here’s the step-by-step playbook:

1

Hold Assets for More Than One Year

This one’s almost embarrassingly obvious once you understand the rate difference — but you’d be surprised how many people sell just days or weeks before hitting the 12-month threshold.

Before you sell any investment, check your purchase date. If you’re within a few weeks or months of the 12-month mark, it almost always makes sense to wait. The tax savings alone often justify it, and in many cases the asset will continue to appreciate in value while you wait. Set a calendar alert when you buy. Seriously. Future you will thank present you.

2

Use Tax-Loss Harvesting

Here’s a genuinely powerful strategy: sell investments that are currently at a loss to offset gains you’ve realized elsewhere.

For example, you made a $10,000 gain on one stock. But you’re also sitting on a $4,000 loss in another. If you sell the losing position, your net taxable gain drops to $6,000. You’ve just eliminated $4,000 from your tax bill.

There’s a catch: the wash-sale rule prevents you from buying back a “substantially identical” investment within 30 days before or after the sale. But you can immediately reinvest in a similar (not identical) fund or asset to maintain your market exposure. Robo-advisors like Betterment and Wealthfront automate tax-loss harvesting for you throughout the year, which is especially valuable in volatile markets.

3

Time Your Sales Strategically

If you have control over when you sell (and you often do with investments), timing can make a big difference.

Consider selling in a year when your income is lower than usual — maybe you changed jobs, took time off, or had a year of lower business income. Lower ordinary income can push you into a lower long-term capital gains bracket, potentially dropping you from 15% to 0%. If you’re planning a major sale, think about whether you can spread it across two tax years. Selling part of a position in December and the rest in January splits the gain across two years, which can keep you in a lower bracket each year.

4

Maximize Retirement Accounts

Investments held inside a traditional IRA, Roth IRA, or 401(k) don’t generate capital gains taxes when you buy and sell inside the account. That’s a massive benefit.

  • In a Roth IRA: your investments grow tax-free, and qualified withdrawals are entirely tax-free. Zero capital gains, ever, on that money.
  • Traditional IRA/401(k): you defer taxes until withdrawal, when you pay ordinary income tax — but by then, you may be in a lower bracket.

Maxing out these accounts before investing in taxable accounts is one of the smartest moves you can make for long-term wealth building.

5

Consider Opportunity Zone Investments

Qualified Opportunity Zone (QOZ) investments allow you to defer and potentially reduce capital gains taxes by reinvesting gains into designated economically distressed communities. It’s a more advanced strategy, but worth exploring if you’re dealing with very large gains.

6

Gift or Donate Appreciated Assets

If you’re charitably inclined — or if you want to transfer wealth to family members in lower income brackets — there’s a tax-smart way to do it.

Donating appreciated stock directly to a charity means you get a deduction for the full market value, and you never pay capital gains tax on the appreciation. If you sold the stock first and then donated cash, you’d owe the gains tax. Donating directly sidesteps that entirely. Similarly, gifting appreciated assets to family members in the 0% long-term capital gains bracket (low income) can be a powerful strategy within legal gifting limits.

Special Situations: What You Need to Know

Inherited Assets: The Step-Up in Basis

Here’s one of the most generous tax benefits in the entire tax code, and many people have no idea it exists.

When you inherit an asset — stocks, real estate, whatever — your cost basis is “stepped up” to the fair market value at the time of the original owner’s death. Not what they originally paid. The current value.

What does that mean in practice? If your grandmother bought Microsoft stock for $10 per share decades ago and it’s worth $400 per share when she passes, your cost basis is $400. If you sell it the next week for $402, you only owe gains tax on that $2 difference. The entire appreciation during her lifetime passes to you tax-free.

The 0% Rate: Are You Leaving Money on the Table?

Honestly, this is where most people miss a major opportunity. The 0% long-term capital gains rate applies to single filers earning up to roughly $47,000 and married filers up to roughly $94,000 in 2026.

If you’re in a low-income year — recently retired, between jobs, or early in your career — you might be able to realize gains at absolutely zero federal tax cost. This strategy is called capital gains harvesting (the opposite of loss harvesting), and it’s underused.

Collectibles and Art: A Higher Rate

Most people don’t know that long-term gains on collectibles — art, antiques, coins, wine, and similar items — are taxed at a maximum rate of 28%, not 20%. That’s higher than the standard long-term rate, so if you’re selling collectibles, plan accordingly.

Small Business Stock (Section 1202)

If you’ve invested in a qualified small business and hold the stock for more than five years, you may be eligible to exclude up to 100% of your gains from federal tax under Section 1202. This is a significant but often overlooked benefit for startup investors and small business owners.

Are Capital Gains Rates Changing in 2026–2027?

This is a question on a lot of investors’ minds right now, and it’s worth addressing directly.

As of the latest available information, the core long-term capital gains rates (0%, 15%, 20%) remain in place. However, the broader tax landscape is always subject to legislative changes. Several proposals have been floated over recent years to increase capital gains rates for high earners or to tax unrealized gains — though none of these have been enacted as of this writing.

What does this mean for you? Two things:

  • Stay informed. Tax laws change, and what applies in 2025 might be adjusted by 2027. Bookmarking IRS.gov and following credible financial news sources is good practice.
  • Don’t let tax tail wag the investment dog. Selling a great investment purely to lock in gains before a potential rate change is often a mistake. Make sure investment decisions are driven by fundamentals first, tax strategy second.

That said, if you’re sitting on very large unrealized gains and have been on the fence about selling, a potential rate increase is a reasonable factor to weigh.

Tools That Make Capital Gains Tracking Easier

Let’s be honest — tracking cost basis, holding periods, and wash-sale windows across multiple accounts and asset types is a lot to manage. Here are some tools worth knowing about:

TurboTax Premier
Excellent for investors, imports brokerage data automatically and calculates short vs. long-term treatment.

H&R Block Deluxe/Premium
Strong alternative to TurboTax, good for those with stock and rental income.

Koinly / CoinTracker
Purpose-built for crypto taxes, connects directly to wallets and exchanges, generates IRS Form 8949.

Personal Capital / Empower
Free portfolio tracker that also shows your unrealized gains by holding period — useful for planning sales.

Betterment / Wealthfront
Robo-advisors with automated tax-loss harvesting built in.

None of these are a substitute for a CPA when you have complex situations — large gains, business income, multiple states, or inherited assets. But for most individual investors, good software goes a long way.

Common Capital Gains Mistakes to Avoid

Honestly, this is where most people mess up. Here are the most common and costly errors:

Ignoring the holding period. Selling at 11.5 months and missing the long-term rate by two weeks. Set calendar reminders when you buy.

Forgetting about state taxes. Federal planning without accounting for your state’s rates can lead to surprises.

Miscalculating cost basis. Especially with reinvested dividends, DRIP programs, and multiple lots. Good software helps enormously.

Triggering wash-sale violations. Selling for a loss and buying back within 30 days disallows the loss deduction.

Overlooking the NIIT. High earners sometimes plan around the 20% rate and forget the 3.8% NIIT that pushes it to 23.8%.

Not reporting crypto. Every crypto trade is potentially taxable. The IRS asks about crypto directly on Form 1040.

Failing to use tax-advantaged accounts. Holding volatile, high-growth assets in taxable accounts when they could grow tax-free in a Roth IRA.

Your Capital Gains Planning Calendar for 2026

Good tax strategy isn’t just about April 15th. Here’s a simple year-round framework:

Timeframe Action Item
January–March Review your portfolio’s unrealized gains and losses. Identify assets approaching the 12-month mark.
April–June File 2025 taxes (or extension). Start planning for major transactions in the second half of the year.
July–September Mid-year tax-loss harvesting review. Consider selling losers to offset gains taken earlier in the year.
October–November Model your estimated year-end tax bill. Decide whether to defer or accelerate any sales.
December Last chance for tax-loss harvesting and year-end gains timing before December 31 cutoff.

Frequently Asked Questions

Do I pay capital gains tax if I don’t sell?

No — this is an important distinction. Capital gains tax is triggered by a realization event, meaning you actually have to sell (or otherwise dispose of) the asset. If your stocks have gone up 50% but you’re still holding them, you don’t owe anything yet. The IRS taxes realized gains, not paper gains. The exception is mark-to-market rules for certain traders and some foreign financial accounts, but for the average individual investor, the rule is simple: no sale, no tax.

What happens if I sell at a loss?

A capital loss is actually a tax asset. You can use losses to offset capital gains dollar-for-dollar. If your losses exceed your gains for the year, you can deduct up to $3,000 of the net loss against ordinary income (like wages) per year. Any excess loss beyond that can be carried forward to future tax years indefinitely. This is why tax-loss harvesting is so valuable, especially in down markets.

How is cryptocurrency taxed for capital gains?

The IRS classifies cryptocurrency as property, which means it’s subject to the same capital gains rules as stocks. Every time you sell, trade, or use crypto to buy goods or services, you’ve potentially triggered a taxable event. Short-term crypto gains are taxed as ordinary income. Long-term gains (held more than 12 months) get the preferential rates. Receiving crypto as payment for work is taxed as ordinary income based on its fair market value at the time of receipt. It can get complicated fast, which is why dedicated crypto tax software is worth the investment.

Can I avoid capital gains tax legally?

Yes — “avoid” in the legal sense of minimizing your liability. The strategies we covered earlier (holding longer, tax-loss harvesting, using retirement accounts, timing sales, donating appreciated assets, using the Section 121 home sale exclusion) are all IRS-sanctioned approaches. What you cannot do is evade taxes — hiding gains, failing to report, or using offshore accounts without disclosure. The IRS receives 1099-B forms directly from brokerages and crypto exchanges, so unreported gains are increasingly detectable.

Is the capital gains tax rate changing in 2026?

As of current law, the existing long-term rates (0%, 15%, 20%) remain in effect. The income thresholds that determine which bracket you fall into are adjusted slightly each year for inflation. That said, tax law is subject to change through legislation, so it’s worth staying current with reliable financial news and IRS announcements.

Does my state also tax capital gains?

It depends on where you live. Most states that have an income tax also tax capital gains as part of ordinary income — often at the same rate as your regular state income tax. A few states (like Texas, Florida, Nevada, Wyoming, Washington, South Dakota, and Alaska) have no state income tax at all, so capital gains are state-tax-free there. Some states, like California, do NOT offer preferential rates for long-term capital gains — you pay the same state income rate regardless of holding period. That’s why California residents in high income brackets can have a combined federal + state capital gains rate that approaches 33% or higher on long-term gains. Always factor in your state tax rate when planning a sale.

What’s the best way to handle capital gains on inherited property?

Thanks to the step-up in basis, inherited property is one of the most tax-advantaged situations in the tax code. Your basis is reset to the fair market value at the date of death, which means all the appreciation during the decedent’s lifetime passes to you free of capital gains tax. If you sell the inherited property shortly after receiving it, you’ll likely have little to no taxable gain. If you hold it and it appreciates further, that subsequent appreciation will be taxed normally (long-term if you hold it more than 12 months after inheriting).

Final Thoughts: A Little Planning Goes a Long Way

Capital gains tax doesn’t have to be something that catches you by surprise. Once you understand the basic framework — short-term vs. long-term, how income levels affect your rate, and the tools available to reduce your bill — you’re already ahead of most investors.

The strategies we covered aren’t complicated. Hold your investments for more than a year when you can. Harvest losses to offset gains. Time your sales around your income level. Max out your retirement accounts. Donate appreciated assets rather than cash if you’re giving to charity anyway.

None of this requires you to be a tax expert. It just requires a bit of awareness and planning.

And if you’re sitting on significant unrealized gains — from stocks, real estate, crypto, or anything else — now is genuinely a good time to review your strategy. Tax laws can change, markets move, and opportunities to save have expiration dates.

“A little planning today can save you thousands at tax time. The best tax move isn’t the most complicated one — it’s the one you actually make before the year ends.”

When the numbers get large or complex, a qualified CPA or tax advisor is worth every penny. The right professional doesn’t just file your taxes — they help you build a strategy that keeps more of your money working for you over the long run.

Here’s to smarter investing, lower tax bills, and more of your money staying exactly where it belongs: with you.

Disclaimer

This article is for informational purposes only and does not constitute tax, legal, or financial advice. Tax laws change frequently, and your individual situation may vary. Please consult a licensed CPA, tax attorney, or financial advisor before making tax-related decisions. All rate figures are estimates based on available projections and should be verified at IRS.gov.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top