Error Bookmark Not Defined: How to Fix It in Word
In this article
The "Error! Bookmark not defined" message occurs in Microsoft Word when a cross-reference, table of contents, or hyperlink points to a bookmark or heading that has been deleted, renamed, or moved. This guide helps you identify the broken link and reconnect it to the correct destination or remove the error entirely to ensure your document remains professional and functional.
What You'll Need
- A computer with Microsoft Word installed.
- The document containing the error.
- A backup copy of the document (recommended before performing bulk updates).
Step-by-Step
- Locate the Error: Open your document and find the text displaying "Error! Bookmark not defined." If the document is long, press
Ctrl + Fand search for the specific phrase to find every instance of the error. - Check for Deleted Content: Determine if the section the link was supposed to point to still exists. If you recently deleted a heading, a paragraph, or a specific bookmarked word, the cross-reference now has no destination, triggering the error.
- Update the Field: Sometimes the error is a glitch that persists after a fix. Right-click the error text and select Update Field. If the bookmark was simply moved but not deleted, this may resolve the issue immediately.
- Re-create the Bookmark (If Missing): If the destination content still exists but the bookmark was accidentally deleted:
- Highlight the text or click the heading you want to link to.
- Go to the Insert tab.
- Click Bookmark in the Links group.
- Type a name for the bookmark (no spaces allowed) and click Add.
- Re-link the Cross-Reference: Now that the destination is restored, you must fix the broken link:
- Highlight the "Error! Bookmark not defined" text and delete it.
- Go to the References tab and click Cross-reference.
- In the Reference type dropdown, select the type (e.g., Heading, Bookmark, or Numbered item).
- In the Insert reference to dropdown, choose what you want to display (e.g., Page number or Heading text).
- Select the correct item from the list and click Insert.
- Verify the Fix:
Ctrl + Clickthe new link to ensure it jumps to the correct location in the document. - Global Update: To ensure all other references are correct, press
Ctrl + Ato select the entire document, then pressF9to update all fields simultaneously.
Common Mistakes
- Deleting Headings: The most common cause is deleting a heading that is used in a Table of Contents or a cross-reference. Instead of deleting the text, try changing the style to "Normal" if you no longer want it as a heading.
- Renaming Bookmarks: If you manually change the name of a bookmark in the Bookmark manager, any existing links using the old name will break immediately.
- Overwriting Bookmarked Text: If you select the bookmarked text and type over it, the bookmark is often deleted. To avoid this, place your cursor at the start of the bookmarked area and type, rather than replacing the text.
- Ignoring the Error during Printing: Word often updates fields automatically during printing. You might not see the error on your screen, but it appears on the printed page. Always perform a final
Ctrl + AandF9before printing.
Tips
- Use Heading Styles: Whenever possible, use built-in Heading styles (Heading 1, Heading 2, etc.) for cross-references instead of manual bookmarks. They are more stable and automatically update the Table of Contents.
- Show Bookmarks: To see exactly where your bookmarks are located, go to File > Options > Advanced. Scroll down to the "Show document content" section and check the box for Show bookmarks. Bookmarks will appear as grey brackets [ ] in your text.
- Use Find and Replace: If you have hundreds of these errors and decide to remove them all rather than fix them, you can use the Find and Replace tool to search for the error string and replace it with nothing.
Troubleshooting
If the error persists despite following the steps above, consider these scenarios:
- Hidden Bookmarks: Some bookmarks are created automatically by Word (like those used in the Table of Contents). If these are corrupted, the best solution is to delete the Table of Contents entirely and insert a new one via the References tab.
- Track Changes Conflict: If "Track Changes" is turned on, the document may be confused between the original bookmark and the deleted version. Accept all changes in the document and then update the fields using
F9. - Broken Links in Tables: If the error is inside a table or a text box, ensure the destination bookmark is not also inside a complex object that Word is struggling to index. Moving the bookmark to the main body text often solves this.
Frequently Asked Questions
Why did this error appear suddenly?
It usually appears after you have deleted or moved a piece of text that was being referenced elsewhere in the document, or after you updated the fields (F9) or printed the document.
Can I fix all these errors at once?
No, because each error represents a unique broken link. You must either re-link each one to a new destination or delete the broken references individually.
Will this error show up if I save the file as a PDF?
Yes. Since PDF conversion usually triggers a field update, the "Error! Bookmark not defined" text will be baked into the PDF if it is not fixed in the Word document first.
How do I prevent this from happening in the future?
Avoid deleting headings that are linked in a Table of Contents. If you must remove a section, check for cross-references first, or use the "Show bookmarks" setting to see what is linked before deleting.
Does this happen with hyperlinks too?
Hyperlinks usually just stop working or lead to a dead page, but cross-references (which are internal Word fields) specifically trigger this error message when the target is missing.