Every time you sell an investment at a profit, you may owe taxes on that gain. But how much you owe, and when, depends on several factors most investors don’t fully understand. This guide covers the complete 2026 picture: what capital gains taxes are, how they’re calculated, who owes the net investment income tax, and how to minimize your bill without changing your investment strategy.
Table of Contents
ToggleShort-Term vs. Long-Term Capital Gains
The most important variable in capital gains taxation is your holding period. If you sell an asset you’ve held for one year or less, the gain is classified as short-term and taxed as ordinary income, at your marginal federal income tax rate, which can be as high as 37% for high earners in 2026.
If you hold the asset for more than one year before selling, the gain is classified as long-term and taxed at preferential rates: 0%, 15%, or 20%, depending on your taxable income. For most high-income earners, the applicable long-term rate is 20%.
The difference between short-term and long-term treatment can be 20 percentage points or more on the same investment gain. This is why holding period management is one of the most straightforward and impactful levers available to taxable investors.
The 2026 Capital Gains Tax Rates
For 2026, the long-term capital gains rates apply at the following income thresholds (single filers): 0% up to approximately $49,450; 15% from $49,451 to $545,500; 20% above $545,500. For married filing jointly, the 20% threshold begins at $613,700.
These thresholds are adjusted annually for inflation, so it’s worth confirming current figures with a tax professional or the IRS website each year.
The Net Investment Income Tax (NIIT)
High earners face an additional 3.8% surtax on investment income, including capital gains, known as the Net Investment Income Tax. This applies to individuals with modified adjusted gross income above $200,000 (single) or $250,000 (married filing jointly). These thresholds are not inflation-adjusted.
For high-income investors, the effective maximum federal rate on long-term capital gains is therefore 23.8% (20% + 3.8% NIIT), not including state taxes. In high-tax states like California, the combined rate can exceed 35%.
State Capital Gains Taxes
Most states tax capital gains as ordinary income at the state level. A small number of states, including Texas, Florida, Nevada, Washington, and Wyoming, have no state income tax. California is notable for taxing all capital gains as ordinary income with no preferential rate for long-term gains, resulting in a top state rate of 13.3%.
State taxes can meaningfully change the calculus on timing decisions, particularly for investors in high-tax states who are considering a relocation.
Tax-Loss Harvesting
Tax-loss harvesting is the practice of selling investments that have declined in value to realize a capital loss, which can then be used to offset capital gains elsewhere in your portfolio. If your losses exceed your gains, up to $3,000 of net capital losses can be deducted against ordinary income per year, with remaining losses carried forward to future years.
The wash sale rule prohibits repurchasing the same or a substantially identical security within 30 days before or after the sale. Violating the wash sale rule disqualifies the loss. However, you can immediately purchase a similar but not identical security. For example, selling one total market index ETF and purchasing a comparable fund from a different provider, maintaining market exposure without violating the rule.
Tax-loss harvesting is most valuable in taxable brokerage accounts. It has limited applicability in tax-advantaged accounts like IRAs and 401(k)s, where capital gains are either deferred or tax-free.
Minimizing Capital Gains Taxes: Key Strategies
Hold for the long term. The simplest strategy is holding assets for more than one year before selling. This alone converts a short-term rate of up to 37% to a long-term rate of 15–20% for most investors.
Use tax-advantaged accounts for high-turnover investments. Assets that generate frequent taxable events: actively managed funds, bonds with taxable interest, and REITs are better suited for tax-deferred, or Roth accounts, where gains and income aren’t immediately taxable.
Consider your income in the year of sale. If you have a year with lower taxable income, a career transition, a sabbatical, or a year without a large bonus, that may be the optimal time to realize gains at a lower rate.
Donate appreciated securities. Contributing appreciated stock to a charity allows you to avoid capital gains tax entirely on the appreciation while deducting the full fair market value (subject to AGI limits). This is one of the most tax-efficient forms of charitable giving available.
Millennial Wealth Tip: For investors with significant unrealized gains in taxable accounts, a detailed tax projection before any major sale is essential. The combination of federal capital gains rates, NIIT, and state taxes can result in an effective rate significantly higher than the headline 20%, and the optimal timing of a sale is rarely obvious without running the full numbers.
