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%.
- ✓ 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.
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.
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.
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.
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.
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.
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:
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.
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.
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.
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.
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.
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:
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:
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
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.
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.



