Quick answer: long-term capital gains are usually taxed more favorably than short-term gains.
Capital gains tax applies when you sell an asset for more than your adjusted cost basis. In 2026, long-term capital gains, meaning gains on assets held for more than one year, are generally taxed at 0%, 15%, or 20% depending on taxable income and filing status. Short-term capital gains, meaning gains on assets held for one year or less, are taxed as ordinary income and can be much more expensive.
The most important investor rule is simple: before selling a profitable taxable investment, check the purchase date and the expected taxable income for the year. Waiting until the asset qualifies for long-term treatment can substantially reduce federal tax. For higher-income households, the 3.8% Net Investment Income Tax may also apply, raising the effective federal tax cost on some investment income.
Capital gains tax 2026: what investors need to know
Capital gains tax is the tax on profit from selling an asset for more than you paid for it. The asset could be a stock, ETF, mutual fund, bond, cryptocurrency, rental property, land, business interest, collectible, or personal residence. The taxable gain is generally the sale price minus your adjusted cost basis. Basis can include the purchase price, certain transaction costs, improvements for real estate, depreciation adjustments, and other asset-specific adjustments.
For investors, the capital gains system creates a major timing incentive. Assets held for more than one year can qualify for long-term capital gains treatment, which is generally more favorable than ordinary income tax rates. Assets held for one year or less are short-term gains and are taxed like wages, interest, or other ordinary income. That means two investors with the same dollar profit can owe very different tax bills simply because one waited long enough to qualify for long-term treatment.
The best capital gains strategy is not always “never sell.” Sometimes selling is rational because you need liquidity, want to rebalance, reduce concentration risk, exit a poor investment, harvest a 0% gain, offset losses, or fund a major life goal. The better rule is to understand the tax consequences before selling. Capital gains planning is most powerful when it is integrated with income planning, state taxes, charitable giving, retirement-account withdrawals, real estate decisions, and portfolio rebalancing.
Bottom line
Hold profitable taxable investments for more than one year when possible, use low-income years to harvest gains at lower rates, offset gains with losses, and avoid making tax decisions in isolation from your broader investment plan.
2026 capital gains tax rates and brackets
For 2026, long-term capital gains and qualified dividends use preferential tax brackets. The standard federal long-term rates are 0%, 15%, and 20%. The rate you pay depends on taxable income and filing status. These thresholds are based on taxable income, not gross income, so deductions can materially affect the bracket that applies.
| Filing status | 0% long-term rate | 15% long-term rate | 20% long-term rate |
|---|---|---|---|
| Single | Up to $49,450 | $49,451 to $545,500 | Over $545,500 |
| Married filing jointly | Up to $98,900 | $98,901 to $613,700 | Over $613,700 |
| Married filing separately | Up to $49,450 | $49,451 to $306,850 | Over $306,850 |
| Head of household | Up to $66,200 | $66,201 to $579,600 | Over $579,600 |
These brackets do not mean that every dollar of gain is always taxed at one single rate. A gain can stack on top of other taxable income. Part of the gain may fall in the 0% bracket, while the rest may be taxed at 15% or 20%. That stacking rule is why tax planning can be powerful in retirement, sabbatical years, business-loss years, or any year with unusually low taxable income.
Source note: 2026 long-term capital gains thresholds should be checked against current IRS and tax-year guidance before filing. State capital gains taxes, local taxes, NIIT, AMT interactions, and special asset rules may change the final tax result.
Short-term vs long-term capital gains
The holding period is the most important distinction in capital gains taxation. A short-term capital gain comes from an asset held for one year or less. A long-term capital gain comes from an asset held for more than one year. In practice, this means the difference between selling around the one-year mark can be large.
Short-term gains are taxed as ordinary income. If your marginal tax bracket is 22%, 24%, 32%, 35%, or 37%, a short-term gain can be taxed at those ordinary rates. Long-term gains use the preferential 0%, 15%, or 20% structure. This can create a large gap between the tax due on a short-term sale and a long-term sale.
Example: suppose an investor has a $50,000 gain. If the gain is short-term and the investor is in the 24% marginal bracket, the federal tax could be roughly $12,000 before considering state tax or NIIT. If the same gain qualifies for a 15% long-term rate, the federal tax is $7,500. The difference is $4,500, created entirely by the holding period.
Investor rule
Before selling a winning investment in a taxable account, check whether the asset is close to long-term status. If the investment case still supports holding, waiting can be one of the simplest legal tax reductions available.
The 0% capital gains bracket: an underused planning tool
The 0% long-term capital gains bracket is one of the most useful but underused tax planning tools. If your taxable income is low enough, some or all of your long-term capital gains may be taxed at 0% federally. This does not mean capital gains are ignored; it means the applicable federal long-term capital gains rate can be zero within that bracket.
The 0% bracket is especially relevant for retirees before required minimum distributions, early retirees using taxable accounts, people taking a career break, business owners with a low-income year, students with appreciated investments, or households temporarily living on savings. In these years, investors may intentionally sell appreciated assets to harvest gains at 0%, then repurchase or rebalance into a similar target allocation. Unlike loss harvesting, gain harvesting is not restricted by the wash sale rule.
The benefit is basis reset. If you bought shares for $20,000 and they are now worth $40,000, selling during a 0% year may allow you to realize the $20,000 gain federally tax-free. If you repurchase the investment, your basis may reset closer to $40,000, reducing future taxable gain. This can be powerful when coordinated with Roth conversions, ACA premium-credit planning, Social Security taxation, and state tax rules.
Net Investment Income Tax: when 20% can become 23.8%
Higher-income taxpayers may owe the Net Investment Income Tax, often called NIIT. NIIT is a 3.8% surtax that can apply to investment income, including capital gains, once modified adjusted gross income exceeds certain thresholds. The common thresholds are $200,000 for single filers and $250,000 for married couples filing jointly.
NIIT is important because it can raise the effective top federal rate on long-term capital gains from 20% to 23.8%. For short-term gains, NIIT can stack on top of ordinary income rates, making the tax cost even higher. High-income investors should evaluate NIIT before selling a major concentrated position, business interest, real estate asset, or crypto position.
Planning around NIIT often involves income timing. For example, a taxpayer may spread gains across multiple years, use installment sale treatment when appropriate, harvest losses, contribute more to tax-advantaged accounts, or donate appreciated stock. The goal is not only to reduce capital gains tax, but also to manage adjusted gross income and avoid triggering additional surtaxes where possible.
Example: how capital gains tax is calculated
Suppose a married couple has $120,000 in wage income and sells stock with a $75,000 long-term gain. If their standard deduction is $32,200, their taxable income before the gain is approximately $87,800. The long-term capital gain then stacks on top of that taxable income.
The 0% long-term bracket for married filing jointly reaches $98,900 in taxable income. Since the couple already has $87,800 of taxable income before the gain, there is $11,100 of remaining 0% space. That part of the gain may be taxed at 0%. The remaining $63,900 of gain falls into the 15% bracket. At 15%, that portion produces about $9,585 of federal capital gains tax before any state tax or additional adjustments.
If the same $75,000 gain were short-term, it would be taxed as ordinary income. The tax could be materially higher because the gain would be layered into ordinary income brackets instead of receiving preferential long-term treatment. This is why the holding period can matter more than many investors expect.
Capital gains rules for real estate
Real estate capital gains depend heavily on whether the property is your primary residence, a rental property, land, or investment real estate. The most important rule for homeowners is the primary residence exclusion. If you meet the ownership and use tests, you may be able to exclude up to $250,000 of gain if single or $500,000 if married filing jointly.
Example: a married couple bought a home for $350,000 and later sells it for $790,000. Before selling costs and improvements, the gain is $440,000. If they meet the primary residence rules, the entire gain may be within the $500,000 exclusion. In that case, they may owe no federal capital gains tax on the home sale. This exclusion is one of the most valuable tax benefits available to many households.
Investment real estate is different. Rental properties do not receive the primary residence exclusion unless specific mixed-use or conversion rules apply. Rental real estate may also involve depreciation recapture, which can be taxed differently from ordinary long-term capital gain. Some investors use 1031 exchanges to defer gain by reinvesting into like-kind real property, but strict timing and identification rules apply.
Capital gains tax on cryptocurrency
Cryptocurrency is generally treated as property for U.S. federal tax purposes. That means selling crypto, exchanging one token for another, spending crypto, or disposing of it in another taxable transaction can create a capital gain or loss. The gain is the difference between the value received and your cost basis in the crypto disposed of.
The holding period still matters. Crypto held for more than one year can qualify for long-term capital gains treatment. Crypto held for one year or less generally produces short-term gain or loss. This makes recordkeeping essential. Investors need acquisition dates, purchase prices, sale dates, sale values, fees, transfers, exchange history, and wallet-level details.
Crypto also creates practical tax challenges because investors may trade frequently across multiple exchanges and wallets. Even if no dollars are withdrawn to a bank account, crypto-to-crypto trades can still be taxable events. A taxpayer who swaps ETH for BTC has generally disposed of ETH and must calculate gain or loss on that ETH at the time of exchange.
Tax-loss harvesting: turning market declines into tax value
Tax-loss harvesting is the practice of selling investments at a loss to offset capital gains. Capital losses first offset capital gains. If losses exceed gains, up to $3,000 of net capital loss can generally offset ordinary income each year, with unused losses carried forward to future years. This makes losses economically useful rather than merely painful.
Example: an investor realizes a $20,000 long-term gain from selling Stock A. The same investor also sells Stock B for a $14,000 loss. The net capital gain is $6,000. If the investor is in the 15% long-term capital gains bracket, the federal tax on the net gain is about $900 instead of $3,000 on the full $20,000 gain. The loss reduced current-year federal tax by about $2,100.
The main caution is the wash sale rule. If you sell a security at a loss and buy a substantially identical security within 30 days before or after the sale, the loss may be disallowed for current tax purposes. Investors often maintain market exposure by buying a similar but not substantially identical fund. For example, they may replace one broad-market ETF with a different broad-market ETF that tracks a different index.
How to reduce capital gains tax legally
The best capital gains strategy depends on your portfolio, income, tax bracket, state, goals, and risk tolerance. Still, several strategies are broadly useful for taxable investors.
1. Hold appreciated assets for more than one year
This is the simplest strategy. If you are close to long-term status and the investment case still supports holding, waiting may reduce tax substantially. The difference between ordinary income rates and long-term capital gains rates can be large.
2. Harvest losses deliberately
Use losses to offset gains. Loss harvesting can be done during market declines, rebalancing events, or portfolio cleanups. The strategy is most valuable when it reduces high-rate gains or offsets ordinary income through the annual net loss deduction.
3. Use the 0% bracket in low-income years
If taxable income is low, realize long-term gains while staying inside the 0% bracket. This can reset basis and reduce future tax. Retirees, early retirees, students, sabbatical-year professionals, and business owners with variable income should pay special attention to this strategy.
4. Donate appreciated securities
If you itemize deductions and give to charity, donating appreciated stock can be better than selling the stock and donating cash. You may avoid the capital gain and potentially deduct the fair market value, subject to charitable deduction rules and limitations.
5. Use tax-advantaged accounts strategically
Taxable accounts are not always the best place for high-turnover or high-growth assets. Roth IRAs, traditional retirement accounts, HSAs, and other tax-advantaged accounts can reduce or defer tax. Asset location matters: tax-efficient ETFs may fit taxable accounts, while high-turnover strategies may be better sheltered.
6. Plan around state taxes
State capital gains rules vary widely. Some states tax capital gains as ordinary income; some offer exclusions or preferences; some have no state income tax. A large sale can produce a very different after-tax result depending on where you live when the gain is realized.
Common capital gains tax mistakes
Mistake 1: Selling just before long-term treatment
Selling a profitable asset after 11 months instead of waiting until more than one year can create a much higher tax bill. Always check acquisition date and settlement details before selling a winner.
Mistake 2: Ignoring taxable income stacking
Capital gains rates are based on taxable income. A gain can push some income into a higher capital gains bracket or trigger NIIT. Model the whole tax picture before selling a large position.
Mistake 3: Forgetting state tax
Federal rates are only part of the story. State tax can materially change the after-tax outcome. This is especially important for high-income investors and homeowners selling highly appreciated property.
Mistake 4: Poor crypto recordkeeping
Crypto gains and losses can become difficult to reconstruct after years of trades, transfers, and wallet activity. Keep consistent records and use tax software or a qualified professional when transaction volume is high.
Mistake 5: Letting taxes override investment discipline
Tax reduction is valuable, but it should not cause you to hold an inappropriate risk exposure. Sometimes realizing a gain is rational if it reduces concentration risk, funds a life goal, or improves portfolio quality.
Sources and methodology
FinCalcs uses primary government tax sources where available, then cross-checks practical investor-facing interpretations against reputable financial institutions and tax publishers. Capital gains tax calculations depend on taxable income, filing status, holding period, asset type, cost basis, state tax rules, and whether the Net Investment Income Tax applies.
| Topic | Primary source | How it is used in this guide |
|---|---|---|
| Capital gains and losses | IRS Topic No. 409: Capital Gains and Losses | Used for the federal distinction between capital gains, capital losses, short-term treatment, long-term treatment, and general reporting concepts. |
| Investment income and wash sale rules | IRS Publication 550: Investment Income and Expenses | Used for investment income treatment, capital gains reporting concepts, wash sale rules, and loss-harvesting cautions. |
| 2026 long-term capital gains brackets | Fidelity: Capital gains tax rates | Used to cross-check 2026 long-term capital gains thresholds by filing status. |
| 2026 federal tax brackets | Tax Foundation: 2026 tax brackets | Used to cross-check 2026 ordinary income brackets and broader tax-year context. |
| Home sale exclusion | IRS Publication 523: Selling Your Home | Used for the primary residence exclusion framework, including the general $250,000 single / $500,000 married filing jointly exclusion. |
| Cryptocurrency tax treatment | IRS Digital Assets guidance | Used for the treatment of digital assets as property and the need to report taxable sales, exchanges, and dispositions. |
| Net Investment Income Tax | IRS Net Investment Income Tax guidance | Used for the 3.8% NIIT explanation and the high-income MAGI threshold framework. |
Last reviewed April 30, 2026. This guide is written for educational planning purposes. Tax law, IRS forms, state rules, and individual facts can change the final tax result. For major asset sales, consult a qualified tax professional before acting.