1. Home
  2. Learn
  3. Index funds
Investing guide

Index funds: what they are, how they work and how to invest in them

Reviewed by a licensed financial advisor

An index fund buys every stock or bond in a market index and holds it, at very low cost. That simple approach has become the core of millions of retirement portfolios. This guide explains how index funds work, what they cost, the main types and how to build a portfolio with them.

8 min readReviewed by the My Financial Next Step teamUpdated November 2026
Investor reviewing a diversified index fund portfolio
In this guide
  1. What an index fund is
  2. How index funds work
  3. Why low cost matters
  4. Types of index funds
  5. Index funds vs active funds
  6. Mutual fund or ETF
  7. Building a portfolio
  8. How to start
  9. Risks and limits
  10. Taxes
  11. Related reading
  12. Frequently asked questions
The short answer

An index fund is a mutual fund or exchange-traded fund that aims to match the return of a market index, such as the S&P 500, by holding the securities in that index. Because no one is paid to pick stocks, costs are very low, and low cost is the main reason index funds have outperformed most actively managed funds over long periods. They still rise and fall with the market, so they suit money you can leave invested for years.

What an index fund is

A market index is a list of securities that represents a market or a part of one. The S&P 500 tracks about 500 large U.S. companies. Other indexes track the entire U.S. stock market, small companies, international stocks or the bond market. You cannot invest in an index directly. An index fund solves that by buying the securities in the index, in the same proportions, and passing the results on to its investors.

The idea is to own the whole market instead of trying to find the winners in it. When you buy one share of a total stock market index fund, you own a small slice of thousands of companies at once.

How index funds work

Most stock indexes are weighted by market value, so larger companies make up a bigger share of the index and of the fund. When a company’s stock price rises, its weight in the fund rises automatically, without any trading. The fund manager’s job is mechanical: keep the holdings in line with the index, reinvest dividends and handle money flowing in and out. The fund buys or sells only when the index itself changes, for example when a company is added or removed.

The measure of how well a fund does this job is tracking error, the gap between the fund’s return and the index’s return. A good index fund trails its index by roughly the amount of its fees and little more.

Why low cost matters

Every fund charges an expense ratio, a yearly fee taken as a percentage of your balance. Broad index funds commonly charge well under 0.10% a year. Actively managed stock funds often charge 0.50% to 1.00% or more. The difference looks small and compounds into a large sum.

Expense ratio$100,000 after 30 years at a 7% gross returnLost to fees
0.05%about $750,600about $10,600
0.50%about $661,400about $99,800
1.00%about $574,300about $186,900

With no fees at all, $100,000 at 7% would grow to about $761,200. A 1% fee consumes almost a quarter of the final balance. Costs are one of the few things about investing you can control, which is why they deserve attention. The investment calculator lets you test the effect of fees on your own numbers.

Types of index funds

TypeWhat it holdsRole in a portfolio
Total U.S. stock marketNearly all publicly traded U.S. companiesCore stock holding
S&P 500About 500 large U.S. companiesCore stock holding, large companies only
International stockCompanies outside the United StatesGeographic diversification
Total bond marketGovernment and high-quality corporate bondsStability and income
Small-cap or mid-capSmaller companiesA tilt, if you want one
Sector or thematicOne industry or themeConcentrated bets, with more risk
Target-dateA mix of index funds that shifts toward bonds over timeA complete portfolio in one fund
Not sure how to split your money between funds?

Talk to an advisor about a portfolio that fits your goals and timeline.

Request a free call →

Index funds vs actively managed funds

An active fund employs managers who try to beat an index by choosing which securities to own. Some succeed in any given year. Over long periods, studies of fund performance have consistently found that most active funds trail their index after costs, and that past winners are hard to identify in advance. The reason is arithmetic more than skill. Before costs, investors as a group earn the market return. After costs, the average actively managed dollar must earn less than the average indexed dollar, because it pays more in fees and trading.

This does not mean active management has no place. It does mean that an index fund gives you a very high chance of earning close to the market’s return, which is more than most investors achieve.

Index mutual fund or index ETF

Index funds come in two wrappers. An index mutual fund is bought and sold once a day at its closing value, usually directly through a fund company or your retirement plan, and it handles automatic investments in exact dollar amounts easily. An index exchange-traded fund, or ETF, trades on an exchange throughout the day like a stock and tends to be slightly more tax-efficient in a taxable account. For a long-term investor, both do the same job. Our comparison of ETFs and mutual funds goes through the differences.

Building a portfolio with index funds

A complete, diversified portfolio can be built from two to four funds. A common approach uses three.

  • A U.S. total stock market fund for growth.
  • An international stock fund for diversification outside the United States.
  • A total bond market fund to reduce swings and provide income.

The split between stocks and bonds, called asset allocation, matters more than which specific funds you choose. More stocks mean higher expected long-term returns and deeper declines along the way. Someone decades from retirement might hold mostly stocks. Someone about to retire often holds a larger share of bonds and cash, so that a market drop does not force them to sell stocks at low prices. If you would prefer not to manage the mix yourself, a target-date index fund sets and adjusts it for you based on a retirement year. Our investing basics guide covers risk and diversification in more depth.

How to start

  1. Choose the account. Use tax-advantaged accounts first: a 401(k) up to the employer match, then an IRA. See 401(k) vs IRA. A taxable brokerage account works for money beyond those limits.
  2. Check the menu. In a 401(k), look for funds with index in the name and the lowest expense ratios.
  3. Decide your stock and bond mix based on your timeline and tolerance for swings.
  4. Compare expense ratios between similar funds and choose the cheaper one.
  5. Automate contributions. Investing a fixed amount every month, known as dollar-cost averaging, removes the temptation to time the market.
  6. Rebalance once a year to bring the mix back to your targets.
  7. Stay invested. The largest cost for many investors is selling after a decline and missing the recovery.

Risks and limits

  • Market risk. An index fund falls as far as its market does. Broad U.S. stock indexes have lost a third to a half of their value in the worst bear markets before recovering.
  • No downside protection. There is no manager to move to cash.
  • Concentration. Because indexes are weighted by size, a handful of the largest companies can make up a large share of an S&P 500 fund.
  • Narrow indexes. A fund that tracks one sector or country is far riskier than a broad fund, even though it is technically an index fund.
  • Average returns by design. You will never beat the market, only match it less costs.

Taxes

Inside a 401(k) or IRA, index fund returns are not taxed until withdrawal, or not at all in a Roth account. In a taxable account you owe tax each year on dividends and on any capital gains the fund distributes, and on your own gain when you sell. Broad index funds tend to distribute few capital gains because they trade so little, which makes them tax-efficient. Qualified dividends and long-term gains are taxed at the lower capital gains tax rates. Bond index funds pay interest taxed as ordinary income, so many investors hold them in retirement accounts.

This guide is general education, not a recommendation to buy any security. All investing involves risk, including loss of principal. If you want help choosing a mix of investments for your retirement and other goals, talk to an advisor. Request a free call with the form on this page and a licensed advisor will reach out by phone or video, with no obligation.

Local advisor pages near you

Where you live can change the practical side of this topic, from state taxes to local costs and rules. Browse advisor pages by state, or start with Washington financial advisors, Wyoming financial advisors, Delaware financial advisors and South Dakota financial advisors. City pages include Financial advisors in Houston, Financial advisors in Dallas and Financial advisors in Austin, and county pages include Advisors in Maricopa County and Advisors in Miami-Dade County. Ready to talk it through? Talk to an advisor: a licensed advisor will reach out by phone or video, free and with no obligation.

Run your numbers

Free calculator for this topic

Frequently asked questions

What is an index fund?

It is a mutual fund or ETF that holds the securities in a market index and aims to match that index’s return at low cost.

Are index funds a good investment?

For long-term goals, broad index funds offer diversification and low costs, and have beaten most actively managed funds over long periods. They can lose value in the short term.

How do I invest in index funds?

Open a 401(k), IRA or brokerage account, choose low-cost index funds that match your stock and bond mix, and contribute regularly.

What is the difference between an index fund and an ETF?

An ETF is a wrapper that trades on an exchange during the day. Many ETFs are index funds. Index mutual funds trade once a day at the closing price.

Can you lose money in an index fund?

Yes. An index fund falls when its market falls. The risk of loss shrinks, but does not disappear, over longer holding periods.

Sources and further reading

See our editorial standards for how we research and review our guides.

Want help with your investment plan?

Talk to an advisor by phone or video call. Free and with no obligation.

Talk to an advisor →
From the blog

Latest money guides and ideas