You make money from index funds in two ways: the companies inside the fund pay dividends that get passed through to you, and the fund’s share price rises as those companies grow more valuable. A broad U.S. stock index fund tracking the S&P 500 has historically returned around 10% per year on average with dividends reinvested, though any single year can land well above or below that. What you actually keep comes down to the fund’s expense ratio, your tax situation, and whether the shares sit in a taxable brokerage account or a retirement account.
Dividends From the Companies Inside the Fund
The companies an index fund holds pay dividends on their stock. The fund collects every one of those payments, pools them, and distributes the total to shareholders based on how many shares each person owned on the record date. Most stock index funds send these out quarterly, though a few pay semi-annually or annually.
The money lands as cash in your brokerage account unless you’ve switched on automatic reinvestment. Per share, the amounts are small. For a broad U.S. stock index fund, dividend yields typically run between 1% and 2% of the fund’s value per year. Across a large position held for years, that income is meaningful.
The IRS splits dividends into two categories. Qualified dividends are taxed at long-term capital gains rates. Ordinary dividends are taxed at your regular federal income tax rate. Your brokerage sends a Form 1099-DIV each January showing how much of each you received.1Internal Revenue Service. Topic No. 404, Dividends and Other Corporate Distributions
Growth in the Fund’s Share Price
The bigger source of long-term wealth is capital appreciation. As corporate earnings grow and the stocks inside the fund rise in price, the fund’s net asset value rises with them, and your shares are worth more than you paid.
That gain stays unrealized as long as you hold. You owe no tax on it until you actually sell. That makes price growth a very tax-efficient form of return, especially over long horizons, because the gains compound year after year without the IRS taking an annual slice.
The math is where this gets powerful. A $10,000 investment growing at 8% a year doesn’t just add $800 each year. In year two the 8% applies to $10,800, then to $11,664, and so on. Over 30 years, that initial $10,000 grows to roughly $100,000 through compounding alone, assuming you reinvest distributions and leave the balance untouched.
Reinvestment Turns Distributions Into More Shares
Most brokerage platforms let you flip on automatic dividend reinvestment with a single checkbox. Every dividend or capital gains distribution the fund pays is immediately used to buy more shares of the same fund. Those new shares earn their own dividends and ride the same price appreciation, which produces more shares at the next distribution. That loop is the engine behind most of the long-term wealth index fund investors build.
The gap between reinvesting and taking the cash is large. An investor who reinvests distributions in a broad market index fund for 25 years typically ends up with 30% to 50% more wealth than someone who takes the same distributions in cash, depending on the fund’s yield and market returns during that period.
One catch worth knowing: the IRS still treats a reinvested dividend as taxable income the year you receive it. Reinvestment doesn’t defer the tax. It only puts the money back to work immediately. Each reinvestment purchase also creates its own tax lot with its own cost basis, which matters later when you sell.2Internal Revenue Service. Publication 550 (2025), Investment Income and Expenses
Capital Gains Distributions From the Fund
Dividends aren’t the only cash a fund can send you. When the fund’s managers sell stocks inside the portfolio at a profit, usually because the index swapped some companies out and brought new ones in, the fund has to distribute those gains to shareholders. You owe tax on them in the year you receive them, even if you didn’t sell a share yourself.
Index funds generate far fewer of these than actively managed funds because they trade less often, but they’re not zero. The 1099-DIV reports them in box 2a, and the IRS treats them as long-term capital gains regardless of how long you’ve personally held your fund shares.3Internal Revenue Service. Mutual Funds (Costs, Distributions, Etc.) 4
What the Fund Quietly Subtracts
Every index fund charges an annual expense ratio, a percentage of your assets that covers operating costs. You never see it on your statement. The fund deducts it from returns before calculating the share price each day. A fund that would have returned 10% and charges 0.20% actually delivers 9.80% to you.
Index funds are inexpensive by category. A typical stock index mutual fund charges around 0.20% a year, and index ETFs often come in at roughly 0.10% to 0.15%. Actively managed stock funds average closer to 0.60% or more. That gap looks small annually and compounds like returns do. Over 30 years, the difference between a 0.10% expense ratio and a 0.60% expense ratio on a $100,000 portfolio runs into tens of thousands of dollars in lost growth.
Funds can also trail their benchmark slightly because of trading costs when the index rebalances, cash drag from small uninvested balances, and withholding taxes on foreign dividends in international funds. The gap between a fund’s return and its index’s return is called tracking difference. For well-run domestic index funds it’s small, but it means your actual return is always a hair below the headline index number.
What the IRS Takes
Taxes are the biggest drag on returns after expenses, and the rate depends on what kind of income the fund produced and how long you held your shares.
On Dividends and Distributions
Qualified dividends are taxed at long-term capital gains rates: 0%, 15%, or 20% depending on your taxable income. For 2026, a single filer pays 0% on long-term gains and qualified dividends up to $49,450 in taxable income, 15% up to $545,500, and 20% above that. Married couples filing jointly get the 0% rate up to $98,900 and the 15% rate up to $613,700.4Internal Revenue Service. Inflation-Adjusted Items for Taxable Years Beginning in 2026 (Rev. Proc. 2025-32) Ordinary (non-qualified) dividends get no preferential rate and are taxed at ordinary income rates from 10% to 37%.1Internal Revenue Service. Topic No. 404, Dividends and Other Corporate Distributions Capital gains distributions from the fund are treated as long-term gains on your return regardless of how long you personally owned shares.3Internal Revenue Service. Mutual Funds (Costs, Distributions, Etc.) 4
On Shares You Sell
When you sell shares yourself, holding period decides the rate. Shares held longer than one year qualify for long-term capital gains rates. Shares held one year or less are taxed as short-term capital gains at your ordinary income rate, up to 37%.4Internal Revenue Service. Inflation-Adjusted Items for Taxable Years Beginning in 2026 (Rev. Proc. 2025-32)
Higher-income investors owe an additional 3.8% Net Investment Income Tax on top of those rates. It kicks in when modified adjusted gross income exceeds $200,000 for single filers or $250,000 for married couples filing jointly, and it applies to dividends, capital gains, and other investment income.5Internal Revenue Service. Net Investment Income Tax Most states also tax investment income, with rates running from 0% to roughly 11% depending on where you live.
Where You Hold the Fund Changes Everything
The account type matters almost as much as the fund itself. In a taxable brokerage account, you owe tax every year on dividends and capital gains distributions, even if you reinvest them. In a tax-advantaged retirement account, that annual tax bill shrinks or vanishes.
In a traditional IRA or 401(k), contributions may be deductible, and your investments grow with no annual tax on dividends or gains. You pay ordinary income tax only when you withdraw, ideally in retirement when your bracket may be lower. For 2026, the IRA contribution limit is $7,500, or $8,600 if you’re 50 or older. The 401(k) limit is $24,500, with a catch-up contribution available for older workers.6Internal Revenue Service. 401(k) Limit Increases to $24,500 for 2026, IRA Limit Increases to $7,500
In a Roth IRA or Roth 401(k), you contribute after-tax dollars but owe no tax on the growth or on qualifying withdrawals in retirement. Decades of compounding index fund returns completely tax-free is a serious advantage. For someone decades from retirement, a Roth account holding a low-cost broad index fund is one of the strongest wealth-building setups available.7Internal Revenue Service. Retirement Plan and IRA Required Minimum Distributions FAQs
Taking the Money Out
Getting cash out of an index fund is simple, but the details affect what you keep. For an ETF, you place a sell order on your brokerage platform during market hours. For a mutual fund, you submit a redemption request, and the sale processes at the fund’s net asset value calculated after that day’s close. Some mutual funds charge a redemption fee if you sell within a short window after buying, capped by SEC rules at 2%, though most large index funds have dropped these entirely.8eCFR. 17 CFR 270.22c-2 Redemption Fees for Redeemable Securities
Picking Which Shares to Sell
If you’ve been buying over time through contributions and reinvested dividends, you own many tax lots purchased at different prices on different dates. Which lots you sell determines your taxable gain. The IRS default is first-in, first-out: the oldest shares are treated as sold first, and those usually have the lowest cost basis and the largest gain.
You can instead use specific identification to pick exact lots, or elect the average cost method, which averages the cost of all your shares together. Average cost is common with mutual funds because the math is easy.9Internal Revenue Service. Mutual Funds (Costs, Distributions, Etc.) Specific identification gives you more control. You can target high-cost lots to shrink your gain, or pick lots held over a year to get the lower long-term rate. You do have to designate the lots before the trade settles.2Internal Revenue Service. Publication 550 (2025), Investment Income and Expenses
The Wash Sale Problem With Auto-Reinvestment
If you sell index fund shares at a loss to claim a tax deduction and your automatic reinvestment buys new shares of the same fund within 30 days, the IRS disallows the loss. That’s the wash sale rule, and it catches people because the repurchase happens on autopilot. The window runs 30 days before and 30 days after the sale, so even a routine dividend reinvestment landing in that period can spoil a deliberate tax-loss harvest.10Office of the Law Revision Counsel. 26 U.S. Code 1091 – Loss From Wash Sales of Stock or Securities
The disallowed loss isn’t lost forever. It gets added to the cost basis of the replacement shares and reduces your taxable gain when you eventually sell those. But if you needed the deduction this year, it’s gone. The straightforward fix is to turn off automatic reinvestment about a month before you plan to harvest losses, or to park the proceeds in a different, not substantially identical index fund during the waiting period.