Office for Mac Issues

Fix Word for Mac Crashing When Inserting a Table of Contents

Amos GikundaAmos Gikunda Nov 3, 2026 868 views

Question details

The user is looking for a solution to stop Microsoft Word from crashing when adding a table of contents to a document.

How to Fix Word for Mac Crashing When Inserting a Table of Contents
Product
Microsoft Word
Device & OS
macOS
Scenario
Generating a table of contents in a document after the heading styles have been marked.
Observed behavior
The Microsoft Word application crashes unexpectedly when the table of contents is inserted.
Before you start

Before applying these fixes, ensure your document is fully saved and verify that your macOS and Microsoft Word application are updated to the latest versions.

Solution 1Recommended

Clear the Word Application Container Cache

Removing corrupted cache files from the application container is the most effective way to resolve unexpected crashes in Word for Mac.

macOS stores application preferences and temporary cache files in specific container folders. If these files become corrupted, they can cause features like the table of contents generator to crash the app.

1
Open the 'Go to Folder' utility

Launch Finder on your Mac and press the Command+Shift+G keyboard shortcut simultaneously.

2
Locate the Word container

In the search bar, enter the exact path: ~/Library/Containers/com.microsoft.word and press Return.

3
Delete the cache folder

Move the com.microsoft.word folder to the Trash. Restart your Mac and open your document to test inserting the table of contents.

Clear the Word Application Container Cache
Safe to delete: Deleting this folder will only reset application preferences and will not delete your saved Word documents.
Free Microsoft Office alternative

Use WPS Office for a Stable Document Experience

If Microsoft Word for Mac continues to freeze or crash, consider switching to WPS Office. It is a highly compatible, fast, and free alternative that effortlessly handles complex documents and automatic table of contents generation.

  1. 1. Download and install: Download WPS Office for Mac from the official website and install the application.
  2. 2. Open your document: Launch WPS Writer and open the .docx file where you need to insert your table of contents.
  3. 3. Insert Table of Contents: Navigate to the References tab and click 'Table of Contents' to generate it automatically without crashing.
Fully compatible with Microsoft Word (.docx) formats.Stable performance on macOS, preventing unexpected application crashes.Easily generate and update a Table of Contents with a single click.Free and lightweight alternative to Microsoft Office.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Word for Mac crash when generating a table of contents?

This issue is typically caused by corrupted application cache files, problematic third-party add-ins, or broken custom heading styles embedded within the specific document.

How do I easily find the hidden Library folder on macOS?

To access the hidden Library folder, open Finder, press the 'Command+Shift+G' keyboard shortcut, type '~/Library' into the search bar, and press Return.

Will clearing the Microsoft Word container delete my documents?

No, deleting the com.microsoft.word folder only resets application preferences and temporary cache. Your saved documents are safe and remain completely unaffected.