How Are Mutual Fund Capital Gains Taxed? Rates and Cost Basis

Mutual fund capital gains are taxed in two separate situations: when the fund distributes gains from its own internal trading, and when you sell your fund shares at a profit. Both are taxable in the year they happen, even if you reinvested every dollar and never touched the money. For 2026, long-term rates run from 0% to 20% depending on your income, and short-term gains are taxed as ordinary income at rates up to 37%.

The Two Taxable Events

The first event is the one that surprises people. When the fund’s manager sells appreciated stocks or bonds inside the portfolio, the fund passes those profits to you as a capital gains distribution. You owe tax on that distribution whether you asked for it or not, and whether you took the cash or reinvested it into more shares. The fund decides when to sell. You get the tax bill.

The second event is more familiar. When you sell your own fund shares for more than you paid, the difference is a capital gain, taxed like the sale of any other investment. Each event follows its own rules for rate and reporting.

How Capital Gains Distributions Work

Mutual funds are pass-through entities. The fund itself generally pays no federal income tax as long as it distributes its earnings to shareholders.1Office of the Law Revision Counsel. 26 USC 852 – Taxation of Regulated Investment Companies and Their Shareholders For capital gains specifically, a fund must distribute at least 98.2% of its capital gain net income each year or face a 4% excise tax on the shortfall.2Office of the Law Revision Counsel. 26 U.S. Code 4982 – Excise Tax on Undistributed Income of Regulated Investment Companies That excise tax is why nearly every fund pushes its realized gains out to shareholders each year, typically in December.

Reinvestment doesn’t change the tax. The IRS treats a reinvested distribution as if you received the cash and then bought more shares.3Internal Revenue Service. Mutual Funds (Costs, Distributions, etc.) 4 The reinvestment increases your cost basis, which will reduce your gain when you eventually sell, but the current-year tax is real.

One rule works in your favor: capital gains distributions from a mutual fund are always treated as long-term on your return, regardless of how long you personally held the shares.3Internal Revenue Service. Mutual Funds (Costs, Distributions, etc.) 4 Even if you bought the fund two months ago, the distribution qualifies for the preferential long-term rate.

Gains From Selling Your Own Shares

When you redeem fund shares, you have a capital gain if the sale price exceeds your cost basis and a loss if it doesn’t. Cost basis starts with what you paid, including any sales loads or commissions, and increases each time you reinvest a distribution. Tracking it accurately keeps you from paying tax twice on money that was already taxed as a distribution.

Unlike distributions, gains on your own sales depend on how long you held the shares. Shares held more than a year produce long-term gains. Shares held a year or less produce short-term gains, taxed as ordinary income.4Internal Revenue Service. Topic No. 409, Capital Gains and Losses If you’ve been buying over time through regular contributions or reinvested distributions, each purchase lot has its own holding period and its own basis, and the method you use to identify which shares you sold changes what you owe.

Cost Basis Methods

The IRS allows three methods for calculating cost basis on mutual fund shares. Which one applies to your sale is often where investors leave money behind.

Average cost adds up the total cost of all shares you own and divides by the number of shares. It’s the simplest method and the default at most brokerages for mutual fund accounts. If you haven’t picked a method, this is probably what’s running.5Internal Revenue Service. Publication 550 – Investment Income and Expenses

First-in, first-out (FIFO) treats the shares you bought earliest as the shares sold first. In a rising market, those tend to have the lowest cost basis, which means the largest taxable gain.5Internal Revenue Service. Publication 550 – Investment Income and Expenses

Specific identification lets you choose which shares to sell at the time of the trade. You can pick shares with a higher basis to shrink the gain, or shares with a longer holding period to lock in the long-term rate. You have to identify the shares before the trade settles and get confirmation from your broker.5Internal Revenue Service. Publication 550 – Investment Income and Expenses

Specific identification takes more record-keeping but often pays off when your shares were bought at very different prices. To switch away from average cost, you generally need to make that election with your brokerage before placing the trade. Once average cost has been used for a fund, you generally can’t switch retroactively for those same shares.

2026 Tax Rates on Mutual Fund Gains

Short-term gains and short-term distributions are taxed at ordinary income rates. For 2026, those rates run from 10% to 37%, with the top rate applying to taxable income above $640,600 for single filers and $768,700 for married couples filing jointly.6Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026

Long-term gains get preferential rates. For 2026:

  • 0% rate: taxable income up to $49,450 for single filers, $98,900 for married filing jointly, or $66,200 for head of household.
  • 15% rate: taxable income up to $545,500 for single filers, $613,700 for married filing jointly, or $579,600 for head of household.
  • 20% rate: taxable income above the 15%-rate thresholds.4Internal Revenue Service. Topic No. 409, Capital Gains and Losses

Net Investment Income Tax

Higher earners pay an additional 3.8% surtax on investment income, mutual fund capital gains included. The tax applies when modified adjusted gross income exceeds $200,000 for single filers or $250,000 for married couples filing jointly.7Internal Revenue Service. Questions and Answers on the Net Investment Income Tax Those thresholds are fixed in the statute and have never been indexed for inflation, so more taxpayers cross them each year.8Office of the Law Revision Counsel. 26 U.S. Code 1411 – Imposition of Tax The 3.8% applies to the lesser of your net investment income or the amount your income exceeds the threshold. Stacked on the 20% long-term rate, a high earner’s total federal tax on long-term mutual fund gains can reach 23.8%.

Offsetting Gains With Losses

Capital losses first offset capital gains realized during the year. If losses exceed gains, you can deduct up to $3,000 of the remainder against ordinary income ($1,500 if married filing separately), and anything left carries forward indefinitely.9Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses

The Pre-Distribution Buying Trap

This is one of the most common avoidable mistakes in mutual fund investing. Buy shares shortly before the fund pays a capital gains distribution and you effectively pay tax on gains that accrued before you owned the fund.

Say a fund’s net asset value is $50 per share and it’s about to pay a $5 capital gains distribution. You buy 100 shares for $5,000. The next day the fund distributes $5 per share and the NAV drops to $45. You now own shares worth $4,500 plus a $500 distribution that’s taxable income. Your total value hasn’t changed, but you owe tax on gains other shareholders earned.

Fund companies usually announce estimated distribution dates and amounts in the fall. If you’re investing a significant sum in a taxable account near year end, checking whether a distribution is imminent can save a real tax hit. Waiting a few days until after the ex-distribution date solves the problem entirely.

The Account Type Changes Everything

All of the above applies to mutual funds held in taxable brokerage accounts. Tax-advantaged accounts change the picture.

In a traditional 401(k) or IRA, capital gains distributions and internal trading generate no current tax. Gains grow tax-deferred, and you pay ordinary income tax only when you withdraw. In a Roth IRA or Roth 401(k), qualified withdrawals are entirely tax-free if you meet the age and holding period requirements.10Internal Revenue Service. Roth IRAs Every capital gain those funds generate over decades of compounding costs you nothing.

529 education savings plans work similarly. Earnings grow tax-free at the federal level, and withdrawals used for qualified education expenses avoid federal tax.11Internal Revenue Service. 529 Plans: Questions and Answers

Where you hold a fund matters. Putting tax-inefficient holdings (high-turnover active funds, bond funds throwing off ordinary income) inside tax-advantaged accounts and keeping tax-efficient holdings (broad index funds, ETFs) in the taxable account can meaningfully cut your total tax bill over time. Index funds tend to distribute less because they trade less; ETFs generally distribute less still because their in-kind creation and redemption process lets the fund shed low-basis shares without triggering a taxable event for shareholders.

Reporting Mutual Fund Gains to the IRS

Your brokerage or fund company sends you Form 1099-DIV each January summarizing distributions from the prior year. Capital gains distributions appear in Box 2a.12Internal Revenue Service. Instructions for Form 1099-DIV The IRS gets the same form, so they already know what was distributed to you.

If your only investment income is capital gains distributions on a 1099-DIV and you didn’t sell any shares, you can usually report the distributions directly on Form 1040. When you did sell, reporting is more involved. You’ll use Form 8949 to list each sale with its proceeds, basis, and gain or loss, and those totals feed into Schedule D.13Internal Revenue Service. About Form 8949, Sales and Other Dispositions of Capital Assets

Your brokerage also sends Form 1099-B for shares sold during the year, showing the proceeds and, for shares purchased after 2011 (“covered” shares), the cost basis. Check the reported basis carefully. If you reinvested distributions over many years and the brokerage has incomplete records, the reported basis may be too low, which overstates your gain and your tax. For shares acquired before 2012 (“noncovered” shares), the brokerage isn’t required to report basis to the IRS, and tracking falls on you.14Internal Revenue Service. About Schedule D (Form 1040), Capital Gains and Losses