logo
search
Formatting Issues

How to Fix Word Table of Contents Spacing and Page Number Problems

Maira MehtabMaira Mehtab Sep 24, 2026 871 views

Question details

The user is experiencing issues where updating a Word Table of Contents applies unwanted double spacing, and manually adjusting the spacing prevents page numbers from updating properly. Additionally, blank paragraphs appear as entries in the table of contents.

Product
Word
Device & OS
not provided
Scenario
Formatting and updating a Table of Contents in a document layout.
Observed behavior
The Table of Contents reverts to double spacing upon updating, manual spacing adjustments block page number updates, and empty paragraphs with Heading styles mistakenly appear in the index.
Before you start

Before modifying your Table of Contents, ensure that formatting marks are turned on in your document so you can easily identify hidden paragraph breaks and empty headings.

Solution 1Recommended

Remove Empty Headings and Adjust Style Spacing

Clear out hidden formatting issues that cause blank entries and configure proper paragraph styles to prevent double spacing when updating.

A Table of Contents in Word is dynamically generated based on heading styles. If you press Enter multiple times to create space, or if blank lines carry a Heading style, the Table of Contents will reflect those errors. Adjusting the root styles is the permanent fix.

1
Reveal formatting marks

Go to the Home tab and click the Paragraph mark icon (¶) in the Paragraph group to display hidden formatting symbols.

2
Delete empty heading paragraphs

Scroll through your document to locate any empty paragraph symbols (¶) that mistakenly have a Heading style applied (usually indicated by a small black square next to the mark). Delete these blank lines or change their style to 'Normal'.

3
Modify TOC paragraph spacing

Instead of pressing Enter to create space in your document or TOC, open the Styles pane (Alt + Ctrl + Shift + S). Right-click the specific TOC style (e.g., TOC 1, TOC 2), select 'Modify', click the 'Format' button, choose 'Paragraph', and adjust the 'Spacing Before' or 'Spacing After' values.

4
Update the Table of Contents

Right-click anywhere inside the Table of Contents, select 'Update Field', and choose 'Update entire table' to apply your corrected styles and page numbers.

Style Persistence: Modifying the TOC styles directly ensures that your customized spacing preferences remain perfectly intact every time you update the table or add new content.
Easily format documents with WPS Office

Create and Manage Tables of Contents Effortlessly with WPS Writer

WPS Writer offers an intuitive way to manage document structures. You can easily update Tables of Contents, modify heading styles, and adjust paragraph spacing without dealing with unexpected formatting glitches.

  1. 1. Insert a Table of Contents: Open your document in WPS Writer, navigate to the Reference tab, and click Table of Contents to insert a pre-formatted index.
  2. 2. Customize TOC Spacing: Open the Styles and Formatting pane on the right, find your TOC styles, and modify the paragraph spacing to fit your document's design layout.
  3. 3. Update Automatically: Click anywhere inside the Table of Contents and click the 'Update TOC' button that appears at the top left of the table box to instantly refresh page numbers and headings.
Highly compatible with Microsoft Word document formats (.docx).Intuitive Table of Contents generation and one-click updating.Easy-to-use style manager for precise line and paragraph spacing control.Free, lightweight, and fast office suite for daily document tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Word Table of Contents keep reverting to its original formatting?

A Table of Contents is a dynamic field based on specific TOC styles. Whenever you update it, any manual formatting you applied is overwritten by the underlying style rules. To make permanent changes, modify the actual TOC styles (e.g., TOC 1, TOC 2) directly in the Styles pane.

How do I remove a single entry from my Table of Contents without deleting the text in the document?

Locate the text in your document, highlight it, and change its style from a Heading (e.g., Heading 1) to the 'Normal' style. Once you update the Table of Contents, the entry will be removed.

Why are my page numbers in the Table of Contents incorrect or out of order?

Incorrect page numbers usually occur if the document layout has shifted but the Table of Contents hasn't been refreshed. Right-click the Table of Contents, select 'Update Field', and choose 'Update page numbers only' to sync them correctly.