logo
search
Formatting Issues

How to Fix Table of Contents Links Not Working in Word

Camila MilosovichCamila Milosovich Oct 1, 2026 868 views

Question details

Users need a method to fix the Table of Contents in Microsoft Word when the entries are not functioning as clickable hyperlinks.

How to Fix Table of Contents Links Not Working in Word
Product
Microsoft Word
Device & OS
not provided
Scenario
A user is trying to navigate a document by clicking the Table of Contents entries, but the links are inactive despite having the hyperlink option enabled during creation.
Observed behavior
Clicking on the Table of Contents entries does nothing, and the cursor does not change into a hand icon to indicate a clickable hyperlink.
Before you start

Ensure your document headings are properly formatted with standard Heading styles (Heading 1, Heading 2, etc.) and save a backup copy of your document before editing underlying field codes.

Solution 1Recommended

Add the Hyperlink Switch to the TOC Field Code

Display the hidden field codes of your Table of Contents and manually insert the hyperlink switch (\h) to restore clickable functionality.

Microsoft Word uses field codes to generate complex elements like the Table of Contents. If the hyperlink switch is accidentally deleted or missing, the table will only display page numbers without making them clickable.

1
Toggle Field Codes

Open your Word document and press the 'Alt + F9' keys on your keyboard to reveal all field codes in the document.

2
Locate the TOC Code

Scroll to your Table of Contents. It will now look like a bracketed line of code, similar to { TOC \o "1-3" \u }.

3
Insert the Hyperlink Switch

Click inside the bracketed field code and type '\h' so it looks like { TOC \o "1-3" \h \u }.

4
Update the Table of Contents

Press 'Alt + F9' again to hide the field codes. Right-click on your Table of Contents and select 'Update Field', then choose 'Update entire table'.

Add the Hyperlink Switch to the TOC Field Code
Tip: Holding down the 'Ctrl' key while clicking on a Table of Contents entry will allow you to follow the hyperlink directly to the referenced heading.
Create Clickable TOCs Easily

Generate a Clickable Table of Contents with WPS Writer

Avoid complex field codes by using WPS Writer to create fully functional, clickable Tables of Contents with just a few clicks. It handles heading styles flawlessly and is highly compatible with Microsoft Word documents.

  1. 1. Open Document: Launch WPS Writer and open your existing document.
  2. 2. Apply Heading Styles: Ensure your chapter titles are styled properly using Heading 1, Heading 2, etc., from the Home tab.
  3. 3. Access Reference Tab: Navigate to the 'Reference' tab on the top ribbon menu.
  4. 4. Insert Automatic TOC: Click 'Table of Contents' and choose an automatic style from the dropdown list.
  5. 5. Verify Links: The generated Table of Contents will automatically include clickable links to your headings by default.
Easily insert clickable Tables of Contents without manual codingSeamlessly open, edit, and save Microsoft Word (.docx) formatsLightweight application that runs smoothly on all devicesIntuitive interface for managing document layouts and heading styles
microsoft office alternative - wps office

Frequently Asked Questions

Why did my Table of Contents links suddenly stop working?

This often happens if the document was saved in an older format (.doc), if the Table of Contents field code was accidentally altered, or if the document was converted to plain text, which strips the necessary \h hyperlink switch.

How can I update my Table of Contents after adding new headings?

Right-click anywhere inside the Table of Contents and select 'Update Field'. You can choose to update just the page numbers if you only added text, or 'Update entire table' to include any newly added headings.

Does converting my Word document to PDF preserve the TOC hyperlinks?

Yes, as long as the Table of Contents links are working in your word processor and you choose the option to create bookmarks or keep hyperlinks active during the PDF export process.