Understanding ETF Capital Gains Taxes
When you sell ETF shares for more than you paid, the profit is a capital gain — and the IRS wants its share. But how much you pay in taxes depends heavily on one simple factor: how long you held the ETF. The difference between short-term and long-term capital gains rates is one of the most impactful tax rules for ETF investors to understand.
This guide covers the holding period rules, current tax rates, and practical strategies to keep more of your ETF gains in your pocket.
Short-Term vs Long-Term Capital Gains
Short-term capital gains apply when you sell an ETF that you have held for one year or less. These gains are taxed as ordinary income — at your marginal tax rate, which ranges from 10% to 37% in 2026. For high earners, this means nearly four out of every ten dollars of profit goes to taxes.
Long-term capital gains apply when you hold for more than one year. The rates are substantially lower: 0% for the lowest income brackets, 15% for most taxpayers, and 20% for high earners. The 3.8% net investment income tax may apply on top of these rates for modified adjusted gross incomes above $200,000 (single) or $250,000 (married filing jointly).
Here is a concrete example. Suppose you have $10,000 in gains from selling an ETF and your marginal tax rate is 32%. If you held for 11 months (short-term), you owe $3,200 in federal tax. If you held for 13 months (long-term), you owe $1,500 at the 15% rate. That is $1,700 saved — a 53% reduction in your tax bill — simply by waiting two extra months.
The Holding Period: When Does It Start and End?
Your holding period begins the day after you buy the ETF shares and ends on the day you sell. You must hold for more than 365 days to qualify for long-term treatment. Buying on March 17, 2026, means you need to hold until at least March 18, 2027.
If you purchase ETF shares at multiple times — through regular investments, dollar-cost averaging, or dividend reinvestment — each purchase creates a separate tax lot with its own holding period. When you sell, the specific lots you sell determine whether the gains are short-term or long-term.
This is where the cost basis method becomes important. Under the default FIFO (first in, first out) method, your oldest shares are sold first. Using specific identification, you can choose exactly which lots to sell, giving you control over whether gains are short-term or long-term. Most brokerages let you select your preferred method in your account settings. See ETF tax reporting for more details.
Capital Gains Distributions from ETFs
Beyond gains from selling your shares, ETFs can also distribute capital gains from internal portfolio activity. When the fund sells holdings — to rebalance, track index changes, or respond to corporate actions — any realized gains are passed through to shareholders as capital gains distributions.
The good news is that this rarely happens with ETFs. Thanks to the in-kind creation and redemption mechanism, most index ETFs go years without distributing capital gains. This is a major advantage over mutual funds, which commonly distribute capital gains annually.
When an ETF does distribute capital gains, they are classified as short-term or long-term based on how long the fund held the securities — not how long you have held the ETF. Long-term capital gains distributions are taxed at your long-term rate; short-term distributions are taxed as ordinary income.
The Wash-Sale Rule
The wash-sale rule is critical for ETF investors who use tax-loss harvesting. It says that if you sell an investment at a loss and buy a substantially identical security within 30 days before or after the sale, you cannot claim the loss for tax purposes.
For ETFs, "substantially identical" is not precisely defined by the IRS, which creates some gray area. Selling VOO (Vanguard S&P 500) and immediately buying SPY (SPDR S&P 500) could be considered a wash sale since both track the same index. However, selling VOO and buying VTI (Vanguard Total Market) is generally considered sufficiently different, since VTI tracks a different index with thousands more holdings.
The wash-sale rule applies across all your accounts — if you sell an ETF at a loss in your taxable account and buy the same ETF in your IRA within 30 days, the loss is disallowed. The disallowed loss adds to the cost basis of the replacement shares, deferring (but not eliminating) the tax benefit.
Tax-Loss Harvesting Strategies
Tax-loss harvesting is one of the most powerful tools for managing ETF taxes. When an ETF position declines in value, you sell it to realize the loss, which can offset capital gains from other investments. If your losses exceed your gains, you can deduct up to $3,000 against ordinary income, with remaining losses carried forward indefinitely.
ETFs are particularly well-suited for tax-loss harvesting because of the wide range of similar-but-not-identical funds available. If your total US stock ETF declines, you can sell it and buy a different total market ETF that tracks a different index — maintaining your market exposure while capturing the tax loss.
Common harvesting pairs include: VTI and ITOT (different total market indexes), VOO and IVV (same index but considered separate securities by many advisors — consult a tax professional), and VXUS and IXUS (different international indexes). After 30 days, you can switch back to your preferred fund if you choose.
Capital Gains in Tax-Advantaged Accounts
If you hold ETFs in a traditional IRA, Roth IRA, or 401(k), capital gains taxes do not apply to activity inside the account. You can buy and sell ETFs, rebalance your portfolio, and reinvest dividends without triggering any tax events. This is one of the primary reasons to maximize your retirement account contributions.
In a traditional IRA or 401(k), you eventually pay ordinary income tax when you withdraw funds in retirement — regardless of whether the growth came from capital gains, dividends, or interest. In a Roth IRA, qualified withdrawals are completely tax-free. Neither account differentiates between short-term and long-term gains internally.
Strategies to Minimize Capital Gains Taxes
Hold for the long term. The simplest and most effective strategy. Waiting more than one year before selling slashes your tax rate on gains, often by more than half.
Use specific identification. When selling partial positions, choose the highest-cost-basis lots to minimize the taxable gain (or maximize the loss). This gives you the most control over your tax outcome.
Harvest losses to offset gains. Selling losing positions to offset winning positions can reduce or eliminate your capital gains tax bill for the year.
Be mindful of income thresholds. If you are near a long-term capital gains bracket boundary (e.g., the 0% to 15% threshold), timing your sales to stay below the line can save you significantly. Some retirees deliberately realize gains in low-income years to take advantage of the 0% long-term rate.
Donate appreciated ETF shares. If you are charitably inclined, donating appreciated ETF shares held for more than one year lets you deduct the full market value while avoiding capital gains tax entirely. This is more tax-efficient than selling the shares, paying the tax, and donating cash.
Understanding how capital gains work gives you control over a significant expense in your investing life. For the complete picture on ETF taxation, read our comprehensive guide on how ETFs are taxed, and explore tax-efficient fund options in the ETF directory.