Mutual funds are taxed as pass-through entities, so the fund itself pays no federal income tax and instead sends its dividends, interest, and net capital gains to you each year on a Form 1099-DIV. You owe tax on those distributions in the year they hit your account, and you owe a separate tax when you sell your shares at a gain. Depending on the type of income, the federal rate can run anywhere from 0% on qualified dividends and long-term gains in the lowest brackets to 37% on ordinary income at the top, plus a 3.8% surtax for higher earners.
The practical consequence is that a fund held in a taxable account can generate a bill even in a year you never bought or sold a share. Understanding the three income streams below is the whole game.
Dividends and Interest Passed Through Each Year
The stocks and bonds inside a fund throw off income, and the fund distributes it to shareholders. How that income is taxed depends on what it is.
Ordinary dividends are taxed at the same rates as wages. The top federal rate reaches 37% at the highest income levels for 2026.1Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 Most fund dividends land on your 1099-DIV as ordinary, but a portion often qualifies for lower rates.
Qualified dividends are taxed at the long-term capital gains rates of 0%, 15%, or 20%. Two holding periods have to be met. The fund must have held the underlying stock for more than 60 days during the 121-day period beginning 60 days before the stock’s ex-dividend date, and you must hold your fund shares for the same 60-day window around the fund’s ex-dividend date.2Office of the Law Revision Counsel. 26 USC 1 – Tax Imposed Buy right before a distribution and sell shortly after, and the dividend drops to ordinary rates.
Bond fund distributions are interest, not dividends, and interest is almost always taxed as ordinary income at your full rate regardless of how long the fund held the bonds. Municipal bond funds are the exception. Interest on state and local government bonds is excluded from federal gross income, and that tax-exempt character passes through when a fund holds them.3Office of the Law Revision Counsel. 26 USC 103 – Interest on State and Local Bonds Certain private activity bonds inside a muni fund can trigger the alternative minimum tax, and any capital gains the muni fund distributes are still taxable even though the interest is not. A muni fund from your own state may also be exempt from state income tax, though rules vary.
Capital Gains Distributions From Fund Trading
When the portfolio manager sells a security at a profit, the fund must distribute at least 90% of its taxable income to shareholders to keep its favorable status under the Internal Revenue Code.4Office of the Law Revision Counsel. 26 USC 852 – Taxation of Regulated Investment Companies and Their Shareholders Those distributions land in your account whether you want them or not. Your personal holding period in the fund does not matter; what matters is how long the fund held the security it sold.
If the fund held the asset a year or less, you get a short-term capital gains distribution taxed at ordinary rates. Held more than a year, it comes to you as a long-term capital gains distribution taxed at 0%, 15%, or 20% based on your total taxable income.5Internal Revenue Service. Topic No. 409, Capital Gains and Losses High-turnover funds tend to throw off more short-term gains, which stings in a taxable account.
Reinvesting distributions does not defer the tax. The IRS treats the distribution as taxable income in the year it is credited to your account, and the reinvested amount simply buys new shares at the post-distribution price with its own cost basis.6Internal Revenue Service. Mutual Funds (Costs, Distributions, etc.) 4
Buying a Dividend
Most funds make their largest capital gains distributions in November or December. Drop a lump sum into a fund right before that date and you receive the full distribution, owe tax on gains the fund accumulated all year, and watch the share price fall by the distribution amount on the ex-date. You have effectively converted part of your own investment into a tax bill. Check a fund’s estimated distribution schedule before a fourth-quarter purchase in a taxable account, and consider waiting until after the distribution date.
Selling Your Fund Shares
Selling shares triggers a tax event separate from anything the fund distributes. Your gain or loss is the sale proceeds minus your cost basis. Shares held more than a year produce a long-term gain taxed at 0%, 15%, or 20%; shares held a year or less produce a short-term gain taxed at ordinary rates up to 37%.5Internal Revenue Service. Topic No. 409, Capital Gains and Losses
Exchanging shares from one fund into another inside the same fund family is a taxable sale. The IRS treats it exactly like selling the first fund and buying the second, so any built-up gain becomes taxable even though no cash reached your bank account.
Cost Basis Methods
Cost basis is your original purchase price plus any reinvested dividends and capital gains distributions you have already paid tax on. Understating basis means overpaying tax; overstating it can bring penalties. The IRS accepts three methods for identifying which shares you sold:7Internal Revenue Service. Publication 550 (2025), Investment Income and Expenses
- First-in, first-out treats your oldest shares as sold first and is the default if you pick nothing. In a rising market it usually produces the largest taxable gain because the oldest shares carry the lowest basis.
- Specific identification lets you tell the broker exactly which lot to sell, giving you the most control over the tax outcome. You have to communicate the choice before the trade settles and receive written confirmation from the broker; a vague instruction after the fact will not meet the IRS standard.
- Average cost divides the total cost of all your shares in the fund by the share count. It is the simplest method for accounts with years of reinvested distributions, but you must elect it, and once elected you generally cannot switch back for shares already covered.
The Wash Sale Rule When You Harvest Losses
Sell fund shares at a loss and buy substantially identical shares within 30 days before or after the sale, and the IRS disallows the loss.8Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities The disallowed amount gets added to the replacement shares’ cost basis, so you recover it eventually, but the immediate deduction is gone.
Automatic dividend reinvestment is the quiet trap here. If a reinvestment purchase in the same fund lands inside the 61-day window around your loss sale, it can trigger a wash sale and wipe out part or all of the loss. Turn off automatic reinvestment for a fund before you harvest losses in it.
Shares of one fund are generally not considered substantially identical to shares of a different fund, even when both invest in similar markets, so you can sell one large-cap fund at a loss and immediately buy another provider’s large-cap fund. Two index funds tracking the exact same benchmark are a blurrier case, and no IRS guidance draws a bright line.
The 3.8% Net Investment Income Tax
Higher-income investors owe an extra 3.8% Net Investment Income Tax on top of ordinary and capital gains tax. It applies to the lesser of your net investment income or the amount by which your modified adjusted gross income exceeds a fixed threshold: $200,000 for single filers and heads of household, $250,000 for married filing jointly, and $125,000 for married filing separately.9Internal Revenue Service. Topic No. 559, Net Investment Income Tax These thresholds are not indexed for inflation, so more taxpayers cross them each year.
Nearly every kind of mutual fund income counts: ordinary and qualified dividends, interest, short- and long-term capital gains distributions, and gains from selling your shares.10Internal Revenue Service. Questions and Answers on the Net Investment Income Tax The top effective rate on long-term gains reaches 23.8%, and on short-term gains or ordinary dividends 40.8%. The tax is calculated on Form 8960 and reported on your individual return.11Internal Revenue Service. About Form 8960, Net Investment Income Tax
Foreign Tax Credit for International Funds
If your fund holds foreign stocks or bonds, it may pay tax to foreign governments on your behalf and elect to pass those payments through. Your 1099-DIV shows the foreign taxes paid and the country involved.12Internal Revenue Service. Foreign Taxes That Qualify for the Foreign Tax Credit
If your total creditable foreign taxes are $300 or less ($600 for joint filers) and all the foreign income is passive income reported on a payee statement like Form 1099-DIV, you can claim the credit directly on your return without Form 1116.13Internal Revenue Service. Instructions for Form 1116 Above those amounts you file Form 1116. The credit is almost always better than taking a deduction because it reduces your tax bill dollar for dollar.
Where You Hold the Fund Changes Everything
The account type controls when and how fund income is taxed.
In a taxable brokerage account, every distribution and every sale creates a current-year tax event. That annual drag reduces the portion of your return that compounds.
Traditional 401(k)s and IRAs defer all of it. Dividends pile up, gains reinvest, and you can sell shares inside the account without any immediate consequence. The catch is that every dollar you eventually withdraw is taxed as ordinary income, and you lose the favorable capital gains rates entirely.14Internal Revenue Service. Traditional and Roth IRAs
Roth IRAs and Roth 401(k)s flip the trade. You put in after-tax dollars with no upfront deduction, and qualified withdrawals after age 59½ come out entirely tax-free.14Internal Revenue Service. Traditional and Roth IRAs All fund activity inside a Roth escapes federal income tax permanently. Funds that throw off heavy taxable distributions, like high-turnover stock funds or taxable bond funds, are the best candidates for tax-advantaged accounts. Tax-efficient index funds and muni bond funds fit naturally in taxable accounts because they generate fewer taxable events.
Forms and Where the Numbers Land
Your brokerage sends Form 1099-DIV by January 31, breaking out ordinary dividends, qualified dividends, capital gains distributions, and any foreign taxes paid.15Internal Revenue Service. General Instructions for Certain Information Returns (2025) If you sold shares during the year, Form 1099-B reports the proceeds and cost basis for each transaction.16Internal Revenue Service. Instructions for Form 1099-B
On your return, interest and ordinary dividends above $1,500 go on Schedule B.17Internal Revenue Service. About Schedule B (Form 1040) Capital gains distributions and any gains or losses from selling fund shares flow onto Schedule D.18Internal Revenue Service. About Schedule D (Form 1040), Capital Gains and Losses The IRS gets copies of every 1099, and its matching program flags mismatches quickly, so check that your return lines up with what the broker reported. If a 1099-B shows an incorrect basis, especially for shares built up through years of reinvestment, ask the broker for a corrected form rather than overriding the number on your return.