Live a richer life. Independent financial guidance for smarter decisions.

Advertiser Disclosure

2026 Capital Gains Tax on Stocks and ETFs: What You Owe

2026 Capital Gains Tax on Stocks and ETFs: What You Owe

Short-Term vs. Long-Term Capital Gains Taxes in 2026: How Much You Actually Owe on Stocks and ETFs

Selling a profitable stock or exchange-traded fund can produce a tax bill that is substantially different from the gain shown in your brokerage account. The key variables are how long you owned the investment, your taxable income, your filing status, your cost basis, and whether additional federal or state taxes apply.

For 2026, short-term capital gains are generally taxed at ordinary federal income tax rates ranging from 10% to 37%. Long-term gains receive preferential federal rates of 0%, 15%, or 20%. That difference can make the date and tax lot selected for a sale financially significant.

The rates discussed below apply to investments sold during the 2026 tax year, which most individuals will report on the federal tax return they file in 2027. This article provides general educational information, not personalized tax, legal, or investment advice.

Capital Gains Tax Basics: When Stocks and ETFs Become Taxable

A stock or ETF can rise in value without immediately creating a capital gains tax bill. The increase is an unrealized gain while you continue to own the shares. It generally becomes a realized gain when you sell the investment for more than its adjusted cost basis.

The basic calculation is:

Sale proceeds − adjusted cost basis = capital gain or loss

Suppose you buy ETF shares for $8,000 and later sell them for $11,000. If there are no other basis adjustments, you have a $3,000 realized capital gain. Selling for $6,500 instead would create a $1,500 capital loss.

Adjusted cost basis usually starts with the amount paid for the investment, including applicable purchase costs. It can change because of events such as reinvested distributions, stock splits, mergers, return-of-capital payments, and certain wash-sale adjustments.

Capital gains taxes generally arise from sales in taxable brokerage accounts. Simply watching a stock increase in value does not normally create a taxable capital gain. However, dividends and fund distributions may be taxable even when no shares are sold.

Tax-advantaged retirement accounts follow different rules. Trades inside a traditional IRA or 401(k), for example, do not usually generate a current capital gains tax bill. Withdrawals may instead be taxed under the account’s distribution rules. Qualified Roth account withdrawals may be tax-free when applicable requirements are satisfied.

Short-Term vs. Long-Term Capital Gains: The One-Year Rule

The federal tax treatment of a gain depends heavily on the investment’s holding period:

  • Short-term capital gain: The asset was held for one year or less.
  • Long-term capital gain: The asset was held for more than one year.

Short-term gains are taxed using ordinary federal income tax rates. In 2026, those marginal rates range from 10% to 37%, depending on taxable income and filing status. Long-term gains generally qualify for the separate 0%, 15%, or 20% rate structure.

The holding period normally begins the day after the investment is acquired and includes the day it is sold. Investors should verify the actual trade dates and applicable tax rules rather than relying only on a rough anniversary calculation.

Why one day can matter

Assume an investor has a $10,000 gain and is otherwise in the 24% ordinary-income bracket. If the gain is short-term and remains within that bracket, the estimated federal tax is $2,400. If waiting until the gain qualifies as long-term places it entirely in the 15% capital-gains bracket, the estimated tax falls to $1,500.

That is a potential $900 federal difference on the same economic gain, before considering the Net Investment Income Tax, state taxes, market movements, or changes in the investor’s income. Waiting solely for tax reasons can also introduce investment risk: the asset’s price could decline before the planned sale.

2026 Long-Term Capital Gains Tax Brackets

The following federal brackets generally apply to long-term gains realized in 2026. The thresholds are based on taxable income, including applicable capital gains—not gross salary, total cash received, or account value.

Federal 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

Taxable income is generally calculated after eligible adjustments and deductions. As a result, someone with a $70,000 salary does not necessarily have $70,000 of taxable income. Interest, business income, dividends, deductions, and other tax items can also change the calculation.

Special rates and rules can apply to certain assets, including collectibles and some qualified small-business stock. The standard stock and ETF examples in this article assume those special categories do not apply.

How Capital Gains Stack on Top of Your Other Income

Long-term capital-gains brackets do not operate in isolation. Ordinary taxable income—such as wages, taxable interest, and business income—generally fills the income stack first. Long-term gains then sit on top and use any remaining room in the applicable 0%, 15%, or 20% bands.

Example: $40,000 of taxable income before the gain

Consider a single filer with $40,000 of ordinary taxable income and a $10,000 long-term gain. The 2026 zero-rate ceiling is $49,450.

  • The first $9,450 of the gain fills the remaining space below the $49,450 threshold and is taxed at 0%.
  • The remaining $550 falls into the 15% bracket.
  • The estimated federal capital-gains tax is $82.50: $550 multiplied by 15%.

Example: $150,000 of taxable income before the gain

Now consider a single filer with $150,000 of ordinary taxable income and the same $10,000 long-term gain. The gain falls within the 15% long-term bracket, producing approximately $1,500 of federal capital-gains tax.

These examples assume no other gains, losses, preferentially taxed income, credits, alternative minimum tax effects, or Net Investment Income Tax. They illustrate why the same gain can produce different tax bills for different investors.

Crossing a bracket threshold does not automatically subject the entire gain to the higher rate. Only the portion extending into the next capital-gains band receives that rate. This is the same marginal-rate concept used elsewhere in the federal tax system.

How Much Tax You Might Owe: Stock and ETF Examples

Example 1: A $10,000 short-term stock gain

An investor buys stock for an adjusted basis of $20,000 and sells it eight months later for $30,000. The $10,000 gain is short-term. If the entire gain is taxed at a 24% marginal federal rate, the estimated federal tax attributable to the gain is:

$10,000 × 24% = $2,400

This simplified estimate excludes state tax and any applicable Net Investment Income Tax. A gain can also span more than one ordinary-income bracket, so a taxpayer’s actual effective rate on the gain may differ from the headline marginal rate.

Example 2: A $10,000 long-term ETF gain

An investor sells ETF shares held for more than one year and realizes a $10,000 gain. If the full gain falls within the 15% long-term capital-gains bracket, the estimated federal tax is:

$10,000 × 15% = $1,500

ETF tax lots and reinvested distributions

ETF holdings often consist of multiple tax lots acquired on different dates and at different prices. If dividends were automatically reinvested, every reinvestment may have purchased a separate lot with its own cost basis and holding period.

For example, an original ETF purchase from two years ago may qualify for long-term treatment, while shares acquired through a dividend reinvestment six months ago remain short-term. Selling both lots can create a mixture of long-term and short-term results.

Brokerages may offer specific-share identification, first-in-first-out, or other permitted basis methods. The method used can affect both the size and character of the gain. Investors choosing specific lots generally need to make and document the identification by the required deadline.

ETF investors can also owe tax without selling shares. Ordinary dividends, qualified dividends, and capital-gain distributions may be reportable in the year received or reinvested. Reinvesting a taxable distribution does not normally eliminate the tax; it generally adds the reinvested amount to the basis of the new shares.

Additional Taxes, Losses, and State Tax Considerations

The 3.8% Net Investment Income Tax

Higher-income taxpayers may owe the 3.8% Net Investment Income Tax, or NIIT, in addition to regular capital-gains tax. For individuals, it generally applies to the lesser of net investment income or the amount by which modified adjusted gross income exceeds the relevant threshold.

  • $200,000 for single and head-of-household filers
  • $250,000 for married couples filing jointly
  • $125,000 for married individuals filing separately

For a taxpayer in the 20% long-term capital-gains bracket who is also fully subject to NIIT, the combined federal rate on applicable gains can reach 23.8% before state and local taxes.

Using capital losses

Realized capital losses can offset realized capital gains. The tax calculation generally nets short-term and long-term results under ordering rules before determining the final taxable amount.

If total allowable capital losses exceed capital gains, an individual may generally deduct up to $3,000 of the net loss against other income each year. The limit is $1,500 for married taxpayers filing separately. Unused losses can usually be carried forward to future tax years.

For example, $8,000 of realized gains and $5,000 of allowable losses produce a net capital gain of $3,000 before considering the gains’ holding-period categories. The losses do not provide an additional $5,000 deduction after already offsetting the gains.

Watch the wash-sale rule

The wash-sale rule can postpone a loss deduction if an investor sells a stock or security at a loss and acquires the same or a substantially identical investment within 30 days before or after the sale. That creates a 61-day window centered on the loss sale.

The disallowed loss is generally added to the basis of the replacement shares rather than permanently disappearing, but the timing benefit is lost. Transactions across multiple brokerage accounts, IRAs, or a spouse’s account can make the analysis more complicated. Determining whether two ETFs are “substantially identical” can also require professional judgment.

State and local taxes

Federal rates are only part of the bill. Some states tax capital gains as ordinary income, some provide exclusions or special treatment, and others impose no individual income tax. Local income taxes may also apply. Residency, where income is sourced, and a move between states can complicate the calculation.

What to Do Before Selling Stocks or ETFs in 2026

  1. Check every purchase date. Confirm whether each lot is short-term or long-term. Do not assume all shares of the same ETF have the same holding period.
  2. Verify adjusted cost basis. Review reinvested dividends, stock splits, mergers, return-of-capital payments, wash-sale adjustments, and transferred-account records.
  3. Estimate full-year taxable income. Include expected wages, business income, interest, dividends, gains, losses, deductions, and other relevant items.
  4. Model the stacking calculation. Determine whether a long-term gain fits in the 0% band, falls in the 15% band, or crosses into a higher rate.
  5. Compare available tax lots. Selling higher-basis shares may reduce the realized gain, while selling long-held shares may qualify the gain for a lower rate.
  6. Evaluate tax-loss harvesting carefully. Look for legitimate offsetting losses while accounting for the wash-sale window and the investment consequences of changing positions.
  7. Consider the one-year threshold. Estimate the potential tax savings from waiting, then weigh them against market risk, diversification needs, and the reason for selling.
  8. Plan for payment. A large gain may require increased withholding or quarterly estimated tax payments to reduce the risk of an underpayment penalty.
  9. Get professional help when needed. Concentrated stock positions, large gains, employee equity, missing basis records, multi-state filings, and complex ETF transactions can justify advice from a qualified tax professional.

What to Do Next

Before placing a sell order, open the brokerage account’s tax-lot view and record the acquisition date, adjusted basis, current value, and estimated gain for each lot. Then estimate where the gain would land after your other 2026 taxable income.

The practical comparison is not simply “sell or hold.” It may be a choice between short-term and long-term treatment, low-basis and high-basis shares, harvesting a gain this year or next year, or pairing a gain with an allowable loss. A careful estimate made before the trade provides more control than discovering the tax consequences after the calendar year has closed.