Quick Answer
How can I reduce my capital gains taxes? The most effective strategies for 2026:
- Hold over 1 year — Pay 0-20% instead of 10-37% ordinary income rates
- Harvest losses — Offset gains dollar-for-dollar before December 31
- Time your sales — Sell in lower-income years to hit the 0% bracket
- Use tax-advantaged accounts — IRAs and 401(k)s for high-turnover investments
- Consider Opportunity Zones — Defer and potentially eliminate taxes on large gains
Bottom line: Switching from short-term to long-term treatment can cut your tax rate by 7-20 percentage points, depending on your income—for example, saving $4,500 on a $50,000 gain at a $100,000 income.
Key Takeaways
- Long-term gains (held over 1 year) are taxed at 0%, 15%, or 20% vs. short-term rates of 10-37%
- Tax-loss harvesting lets you offset gains dollar-for-dollar by selling losing positions before year-end
- The more-than-one-year holding period rule is critical—sell no earlier than the day after the purchase anniversary; selling even one day early costs you preferential rates
- Singles can pay 0% capital gains tax on taxable income up to $49,450; married couples up to $98,900
- Inherited assets receive a step-up in basis, potentially eliminating capital gains tax entirely
Understanding the 2026 Capital Gains Tax Landscape
Before diving into strategies, you need to understand the playing field. Capital gains tax rates depend on two factors: how long you held the asset and your total taxable income. For the complete rate tables by filing status, see our 2026 capital gains tax brackets guide.
Long-Term vs Short-Term: The Critical Distinction
- Short-term gains (held 1 year or less): Taxed as ordinary income at 10-37%
- Long-term gains (held more than 1 year): Taxed at preferential rates of 0%, 15%, or 20%
2026 Long-Term Capital Gains Brackets
| Tax Rate | Single | Married Filing Jointly | Head of Household |
|---|---|---|---|
| 0% | Up to $49,450 | Up to $98,900 | Up to $66,200 |
| 15% | $49,451 - $545,500 | $98,901 - $613,700 | $66,201 - $579,600 |
| 20% | Over $545,500 | Over $613,700 | Over $579,600 |
Net Investment Income Tax (NIIT)
High earners pay an additional 3.8% on investment income when MAGI exceeds $200,000 (single) or $250,000 (married). This can push the effective top rate to 23.8%.
Strategy 1: Holding Period Optimization
Now that you understand the rate landscape, the first and most impactful strategy is straightforward: hold your assets long enough to qualify for preferential rates. The holding period starts the day after you acquire the asset.
The More-Than-One-Year Rule
To qualify for long-term rates, you need to hold for more than one year: sell no earlier than the day after the one-year anniversary of your purchase date. That is usually 366 days, but count by calendar date rather than by days, because a February 29 in between makes it 367 -- IRS Publication 550's own example is a purchase on February 5, 2024 that is short-term if sold on February 5, 2025 and long-term if sold on February 6. Mark your calendar—selling even one day early costs you the preferential rate.
Real Example: $50,000 Gain
| Scenario | Tax Rate | Tax Owed |
|---|---|---|
| Short-term (held 11 months) | 24% (ordinary income) | $12,000 |
| Long-term (held 13 months) | 15% | $7,500 |
| Savings | — | $4,500 |
Specific Share Identification
When selling partial positions, you can choose which specific shares to sell. This allows you to:
- Sell shares with the highest cost basis (minimizing gains)
- Sell shares held over one year (qualifying for long-term rates)
- Strategically match gains with losses
Pro Tip
Notify your broker in writing which specific shares you're selling BEFORE the trade executes. Keep documentation for your tax records.
Strategy 2: Tax-Loss Harvesting
Tax-loss harvesting is selling investments at a loss to offset gains. It's one of the most powerful legal strategies to reduce your tax bill.
How It Works
- Identify losing positions in your portfolio
- Sell to realize the loss before December 31
- Use losses to offset gains dollar-for-dollar
- Reinvest in similar (but not identical) assets
Real Example: Tax-Loss Harvesting
| Scenario | Without Harvesting | With Harvesting |
|---|---|---|
| Realized gains | $30,000 | $30,000 |
| Harvested losses | $0 | $25,000 |
| Net taxable gain | $30,000 | $5,000 |
| Tax at 15% | $4,500 | $750 |
| Tax savings | — | $3,750 |
The $3,000 Bonus
If your losses exceed your gains, you can deduct up to $3,000 per year against ordinary income ($1,500 if married filing separately). Unused losses carry forward indefinitely. For a deeper look at the mechanics and rules, see our complete tax-loss harvesting strategy guide.
Wash Sale Rule
The IRS disallows the loss if you purchase "substantially identical" securities within 30 days before or after the trade date of the sale. To stay compliant, wait 31 days to repurchase or buy a similar but different investment (e.g., switch from one S&P 500 ETF to another).
Year-End Deadline
For tax-loss harvesting, the IRS recognizes your gain or loss on the trade date -- the day you place the sell order -- not the settlement date. The last day to execute a harvesting trade for tax year 2026 is December 31, 2026, a Thursday and a regular trading day. A trade placed on December 31 counts as a 2026 loss even though T+1 settlement doesn't happen until January 2027. Many investors still act a day or two early as practical margin against order or connectivity issues -- don't leave it to the closing bell -- but the legal deadline is the trade date, not the settlement date.
Strategy 3: Income Bracket Management
Your capital gains tax rate depends on your total taxable income. Strategic timing can help you pay the lowest possible rate.
Hitting the 0% Bracket
If your taxable income (including capital gains) stays below the 0% threshold, you pay zero federal tax on long-term gains. Understanding your 2026 tax brackets is essential for this strategy:
- Single: Under $49,450
- Married Filing Jointly: Under $98,900
- Head of Household: Under $66,200
Real Example: 0% Bracket Targeting
A married couple has $80,000 in taxable income (after deductions, not gross salary). They have $25,000 in unrealized long-term gains.
- If they sell all $25,000: $80,000 + $25,000 = $105,000 taxable income
- $98,900 at 0%, $6,100 at 15% = $915 tax
- Better approach: Sell only $18,900 this year (staying under $98,900)
- Tax: $0. Sell the remaining $6,100 next year.
Run this example in the Capital Gains Calculator (selling all $25,000)
Run this example in the Capital Gains Calculator (selling only $18,900)
Life Event Timing
Lower-income years are ideal for recognizing gains:
- Retirement year—income often drops significantly
- Job transition—gap between employment
- Sabbatical or leave—reduced income year
- Early retirement—before Social Security and RMDs
Coordination Tip
If doing Roth conversions, coordinate with capital gains recognition. Both add to taxable income—spreading across years may keep you in lower brackets for both.
Strategy 4: Asset Location Optimization
Where you hold investments matters as much as what you hold. Proper "asset location" can significantly reduce lifetime taxes.
Tax-Advantaged vs Taxable Accounts
Placing the right investments in the right account type can save thousands in taxes. For a full breakdown of retirement account options, see our IRA vs 401(k) comparison guide.
| Investment Type | Best Location | Reason |
|---|---|---|
| High-turnover funds | 401(k) / IRA | Avoid annual short-term gains |
| Bonds / Bond funds | 401(k) / IRA | Interest taxed as ordinary income |
| REITs | 401(k) / IRA | Dividends taxed as ordinary income |
| Index funds (buy-and-hold) | Taxable | Low turnover, qualify for 0% rate |
| Growth stocks (no dividends) | Taxable | Control timing, potential 0% rate |
| Municipal bonds | Taxable | Already tax-free |
Strategy 5: Charitable Giving with Appreciated Stock
If you're planning to donate to charity, giving appreciated stock instead of cash provides a double tax benefit.
The Double Benefit
- Avoid capital gains tax on the appreciation entirely
- Deduct the full fair market value as a charitable contribution
Example: $10,000 Donation
| Method | Sell & Donate Cash | Donate Stock Directly |
|---|---|---|
| Stock value | $10,000 | $10,000 |
| Cost basis | $3,000 | $3,000 |
| Capital gains tax (15%) | $1,050 | $0 |
| Amount donated | $8,950 | $10,000 |
| Tax deduction | $8,950 | $10,000 |
| Extra benefit | — | $1,050 + larger deduction |
2026 limits on the deduction row. The table shows the deduction before two limits that H.R.1 (OBBBA) added for tax years beginning in 2026. If you itemize, charitable gifts count only to the extent your total gifts for the year exceed 0.5% of your adjusted gross income (AGI): with $200,000 of AGI, the first $1,000 of gifts produces no deduction that year. And if your income reaches the 37% bracket, your itemized deductions are reduced by 2/37, which caps their tax value at 35 cents per dollar instead of 37. The capital gains tax you avoid by giving the stock is not affected. Our 2026 standard deduction guide shows when itemizing beats the standard deduction.
Donor-Advised Funds (DAFs)
DAFs let you donate appreciated stock, receive an immediate tax deduction, and then distribute to charities over time. You can "bunch" multiple years of giving into one year to exceed the standard deduction.
Short-Term Stock Is Not the Same Deal
The double benefit above only applies to stock held for more than one year. Donate stock you have held for one year or less and your deduction is capped at your cost basis, not fair market value -- the appreciation gets no special treatment. Always check the holding period before choosing which shares to give.
Strategy 6: Qualified Opportunity Zones
Qualified Opportunity Zones (QOZs) offer significant tax benefits for investing capital gains in designated low-income communities.
Key Benefits (for gains invested through 2026)
- Deferral: Defer original capital gains tax until December 31, 2026 (or earlier sale)
- Exclusion: If held 10+ years, any appreciation in the QOZ investment is completely tax-free
2026 Deadline Implications
The deferral period ends December 31, 2026—you'll owe tax on the original deferred gain by then regardless of when you invested. However, the 10-year exclusion benefit remains valuable for new appreciation.
What Changes on January 1, 2027
The One Big Beautiful Bill Act (H.R.1, July 2025) made the Opportunity Zone incentive permanent, with new zones designated every ten years. Four changes matter for planning:
- Current zones sunset December 31, 2026 — existing zone designations now end with 2026, not 2028 as under prior law.
- New zones are being designated now — a 90-day designation window began July 1, 2026, and the new zones take effect for new investments on January 1, 2027.
- Rolling five-year deferral — gains invested on or after January 1, 2027 defer tax until the fifth anniversary of the investment, replacing the fixed December 31, 2026 deferral date.
- New zones only — the post-2026 rolling deferral is available only for investments in the newly designated zones.
When QOZs Make Sense
Large gains where you plan to invest for 10+ years anyway. The tax-free appreciation on the QOZ investment can be substantial over a decade. Timing matters in late 2026, though: a legacy investment made now sits in a zone whose designation expires at year-end and defers tax only until December 31, 2026, while a gain invested on or after January 1, 2027 gets the rolling five-year deferral in a newly designated zone.
Asset-Specific Strategies
Stocks and ETFs
- Lot selection: Choose high-cost basis shares when selling
- Dividend reinvestment: Creates new lots with their own holding periods
- Index fund efficiency: Passively managed funds generate fewer taxable events -- see our investment growth guide for how compounding works in tax-efficient funds
Cryptocurrency
- Specific identification: Track cost basis for each purchase
- No like-kind exchanges: Unlike real estate, crypto-to-crypto trades are taxable
- DeFi and staking: Rewards are typically taxable as ordinary income when received
Real Estate
- 1031 Exchange: Defer gains indefinitely by reinvesting in like-kind property -- see Section 11 below for the deadlines and rules
- Primary residence exclusion: Up to $250,000 ($500,000 married) tax-free if lived there 2 of last 5 years
- Installment sales: Spread gain recognition over multiple years
Net Investment Income Tax (NIIT): The 3.8% Surcharge in Full
Section 2 introduced the NIIT as a 3.8% surcharge on investment income once your modified adjusted gross income (MAGI) crosses a threshold. Here is the full picture by filing status, and the moves that keep you under it.
| Filing Status | MAGI Threshold | Maximum Effective Rate |
|---|---|---|
| Single | $200,000 | 23.8% (20% + 3.8%) |
| Married Filing Jointly | $250,000 | 23.8% (20% + 3.8%) |
| Head of Household | $200,000 | 23.8% (20% + 3.8%) |
Source: IRS, IRC Section 1411 (thresholds set by statute, not inflation-adjusted). Because these thresholds have never been adjusted for inflation since the NIIT took effect in 2013, more taxpayers become subject to it every year in real terms.
Strategies to Manage NIIT Exposure
- Spread gains across multiple years to keep MAGI below the threshold in each year
- Maximize above-the-line deductions such as retirement account contributions to reduce MAGI
- Maximize contributions to tax-deferred accounts such as a 401(k), traditional IRA, or HSA to reduce MAGI directly. A Roth conversion does the opposite -- it increases MAGI in the conversion year, so save conversions for a lower-income year if you are trying to stay under the NIIT threshold
- Time the recognition of other income to avoid stacking capital gains on a high-income year
Section 1031 Exchanges: Deferring Gains on Real Estate
A Section 1031 like-kind exchange lets real estate investors defer capital gains tax indefinitely by reinvesting sale proceeds into another investment property of equal or greater value.
Key Rules and Deadlines
- 45-day identification period: identify potential replacement properties within 45 calendar days of closing on the relinquished property
- 180-day closing deadline: close on the replacement property within 180 calendar days of the sale, or by the due date (with extensions) of that year's tax return if that comes first
- Equal or greater value: the replacement property must be of equal or greater value to defer the full gain
- Qualified intermediary: in practice a qualified intermediary holds the sale proceeds during the exchange period (the IRS safe-harbor route) -- if you receive or control the money, the exchange generally fails
- Real property only: after the Tax Cuts and Jobs Act, 1031 exchanges apply only to real property, not personal property, equipment, or other assets
Deferral, not elimination. A 1031 exchange defers the gain into the replacement property by carrying over the original cost basis. If you keep doing 1031 exchanges throughout your lifetime, though, the gain may ultimately be eliminated through a stepped-up basis at death -- one of the most powerful long-term wealth-building strategies for real estate investors.
For the rules on selling your primary residence instead of an investment property, see our home sale exclusion (Section 121) guide.
Year-End Tax Planning Checklist
November Tasks
- Review your portfolio for unrealized gains and losses
- Estimate your 2026 taxable income
- Identify tax-loss harvesting candidates
- Calculate whether you can hit the 0% bracket
December Tasks
- Execute tax-loss harvesting trades by December 31 (trade date controls, not settlement date -- don't leave it to the closing bell)
- Make charitable contributions of appreciated stock
- Complete any planned asset sales
- Document specific share identification in writing
Key 2026 Deadlines
| Deadline | Action |
|---|---|
| Dec 31, 2026 | Last trading day to execute tax-loss harvesting trades (trade date controls, not settlement date) |
| Dec 31, 2026 | Charitable contributions must be completed |
| 180 days from gain | QOZ investment deadline |
| April 15, 2027 | 2026 tax return filing deadline |
Ready to Calculate Your Exact Tax Liability?
Use our capital gains calculator to see exactly how much tax you'll owe on your investment gains, compare short-term vs long-term treatment, and plan your strategy.
Frequently Asked Questions
December 31 of the tax year. For publicly traded securities, the IRS recognizes your gain or loss on the trade date -- the day you place the sell order -- not the settlement date. A trade executed on December 31, 2026 (a Thursday and a regular trading day) counts as a 2026 loss even though T+1 settlement doesn't happen until January 2027. Many investors still place trades a day or two early as practical margin against order or connectivity issues, but the legal deadline is the trade date.
Yes, but you must wait at least 31 days to avoid the wash sale rule. If you buy substantially identical securities within 30 days before or after the trade date of your loss sale, the IRS disallows the loss deduction. You can immediately buy a similar but not identical investment (e.g., a different S&P 500 ETF) to stay invested in the market.
It depends on your income situation. Waiting until January defers the tax by one year, which has time value. However, if your income will be higher next year, selling in December may result in a lower tax rate. Also consider: if the stock is volatile, waiting risks price decline that could exceed the tax deferral benefit.
The NIIT applies when your MAGI exceeds $200,000 (single) or $250,000 (married). Strategies include: spreading gains across multiple years to stay under the threshold, maximizing above-the-line deductions, contributing to tax-deferred retirement accounts, and timing income recognition. Maximizing your HSA contributions also reduces MAGI.
Yes, several strategies allow indefinite deferral: (1) Hold appreciated assets until death for a step-up in basis, (2) Use 1031 like-kind exchanges for real estate, (3) Invest in Qualified Opportunity Zones, (4) Donate appreciated assets to charity or a charitable remainder trust.
Sources
- IRS - Topic No. 409: Capital Gains and Losses (opens in new tab)
- IRS - Publication 550: Investment Income and Expenses (opens in new tab)
- IRS - Qualified Opportunity Zones FAQ (opens in new tab)
- IRS - 2026 Tax Inflation Adjustments (opens in new tab)
- IRS - Publication 544: Sales and Other Dispositions of Assets (opens in new tab)
- IRS - Rev. Proc. 2025-32 (opens in new tab) -- 2026 0% and 15% capital gains thresholds and ordinary brackets (checked September 2026)
- IRS - Topic No. 559: Net Investment Income Tax (opens in new tab) -- 3.8% rate and the $200,000 / $250,000 thresholds (checked September 2026)
- IRS - Instructions for Form 8824, Like-Kind Exchanges (opens in new tab) -- 45-day and 180-day rules (checked September 2026)
- NAHB - Opportunity Zone Changes in the One Big Beautiful Bill Act (opens in new tab) -- 2026 sunset of current zones, July 1, 2026 designation window, rolling five-year deferral (checked September 2026)
Important Disclaimer
Disclaimer: This content is for educational purposes only and should not be considered tax advice. Tax laws are complex and vary by individual circumstances. Consult a qualified tax professional or CPA for advice tailored to your specific situation before implementing any tax strategy. Data current as of September 2026.
Content reviewed by Mark at Markco Labs. Learn more about our accuracy standards.