Word creates an index automatically if your document uses heading styles
An index in Word — technically called a table of contents — pulls from the headings you've already formatted in your document. You don't type it manually. Instead, you mark which text should appear in the index by applying heading styles (Heading 1, Heading 2, and so on), then tell Word to generate the index. Word reads those styles, collects the text, and builds the list with page numbers.
This works because Word tracks where each heading sits in your document. When you move text around or add pages, you can update the index in seconds rather than retyping it. The index lives at the beginning of your document, usually right after the title page.
Key Takeaways
- Apply heading styles to the text you want in your index — Heading 1 for main sections, Heading 2 for subsections — before you generate the index.
- Place your cursor where you want the index to appear, usually at the start of the document, then use the References tab to insert a table of contents.
- Word offers several index layouts; choose the one that matches your document's formality and whether you want page numbers visible.
- After you finish writing or make major changes, right-click the index and select Update Field to refresh page numbers and add new sections.
Apply heading styles to your document sections
Before Word can build an index, it needs to know which text represents a section heading. You do this by selecting text and applying a heading style from the Home tab. Click the text you want to be a heading — for example, "Chapter 1: Getting Started" — then look at the Styles group on the Home tab. You'll see options like Heading 1, Heading 2, and Normal. Click Heading 1 for your main section titles.
Use Heading 1 for the largest sections (like chapter titles), Heading 2 for subsections within those chapters, and Heading 3 for smaller subdivisions if your document needs them. Word will nest these in the index so readers see the hierarchy. If you apply Heading 1 to everything, your index becomes a flat list and loses its structure. The styles also control how the text looks — Heading 1 is usually larger and bold — but you can change those appearances later without affecting the index itself.
Go through your entire document and apply styles consistently. If a section should appear in the index, it needs a heading style. Regular paragraph text won't show up, even if you make it large or bold manually.
Position your cursor and insert the table of contents
Decide where the index should go. Most documents place it near the front, after the title page or introduction. Click at that location in your document. Then go to the References tab at the top of Word. You'll see a button labeled Table of Contents on the left side of the ribbon.
Click Table of Contents and you'll see several pre-designed layouts. Automatic Table 1 and Automatic Table 2 are the most common — they both pull from your heading styles and show page numbers. The difference is mainly visual: one has a title "Table of Contents" built in, the other doesn't. Choose whichever matches your document's style. Click your choice and Word inserts the index at your cursor position.
Word generates the index instantly by scanning your document for all the heading styles you applied. Each heading appears as an entry with its page number. If you haven't applied any heading styles yet, the index will be empty or show a placeholder message.
Customize the index appearance
After Word inserts the index, you can adjust how it looks. Right-click directly on the index and select Table of Contents Properties. This opens a dialog where you can change the layout style — for example, switching from a formal outline format to a simpler list, or hiding page numbers if your document doesn't need them.
You can also manually edit the text of the index itself. If a heading in your document reads "Introduction to Security Protocols" but you want the index to say just "Introduction," you can click into the index and retype that entry. However, if you later update the index (see below), your manual edits will be overwritten, so make manual changes only as a final step.
The index is a special field in Word, not regular text. You can't edit it the way you'd edit a paragraph. If you want to change how entries appear, the safest approach is to change the heading text in your document itself, then update the index to reflect those changes.
Update the index when your document changes
After you finish writing or make significant changes — adding new sections, deleting old ones, or moving text around — the index becomes outdated. Page numbers shift, and new headings don't appear. To refresh it, right-click anywhere on the index and select Update Field. A dialog appears asking whether you want to update page numbers only or the entire index. Choose Update Entire Table to catch new headings and changed text.
Word rescans your document, finds all the heading styles again, and rebuilds the index. This takes a few seconds. If you've added a new Heading 1 section in the middle of your document, it will now appear in the index in the correct position with the correct page number.
You can update the index as many times as you want. There's no limit, and it won't damage your document. Many writers update the index once per day while drafting, then a final time before sharing the document.
Troubleshoot a missing or incomplete index
If your index is empty or missing sections, the most common cause is that you haven't applied heading styles to those sections. Regular text formatted to look like a heading — made bold or enlarged manually — won't appear in the index. Go back to your document, find the text that should be in the index, select it, and apply the correct heading style from the Home tab. Then update the index.
Another issue: you may have used a custom style name instead of Word's built-in heading styles. If you created a style called "MyHeading" and applied it to your sections, Word's table of contents won't recognize it by default. The easiest fix is to reapply the built-in Heading 1, Heading 2, or Heading 3 styles instead. If you strongly prefer your custom style, you can configure the table of contents to recognize it, but that requires accessing Table of Contents Properties and modifying which styles Word looks for — a more advanced step.
If page numbers in the index are wrong, you likely haven't updated the index since moving or adding text. Right-click the index and select Update Field, then choose Update Entire Table.
Frequently Asked Questions
Can I have an index without heading styles?
No. Word's table of contents feature requires heading styles to work. If you haven't used heading styles in your document, the index will be empty. You must go back and apply Heading 1, Heading 2, or Heading 3 to the sections you want to include, then generate or update the index.
What's the difference between a table of contents and an index?
A table of contents (what Word calls an "index") lists your document's sections and their page numbers, organized by heading level. A true index, used in textbooks and reference books, is an alphabetical list of topics and the pages where they appear. Word can create both, but they're separate features. For most documents, you want the table of contents.
Can I delete the index and create a new one?
Yes. Click anywhere on the index, then right-click and select Delete Field. The entire index disappears. You can then create a new one by going to the References tab and clicking Table of Contents again. This is useful if you want to change the layout style or start fresh.
Does the index update automatically when I edit my document?
No. Word does not automatically update the index as you type. You must manually right-click the index and select Update Field each time you want it refreshed. This prevents the index from changing unexpectedly while you're still writing.