How to Fix Bookmark Not Defined in Microsoft Word on Windows 11

If you’ve ever generated a table of contents, cross-reference, or linked heading in Microsoft Word, you might have seen a frustrating error appear:
“Error! Bookmark not defined.”

This message usually replaces a heading or reference link when Word can’t find the internal bookmark it was supposed to connect to. It doesn’t mean your document is broken beyond repair — it just means Word has lost track of a reference.

In this guide, we’ll explain why this error happens and show you how to fix the “Bookmark Not Defined” message in Word on Windows 11 quickly and safely.

Fix Bookmark Not Defined in Microsoft Word

You’ll need Microsoft Word installed on your Windows 11 PC and access to the document showing the error. Make sure you can open and edit the file — you’ll need to adjust some references and fields inside it.

Tip: If you’re working on a large report or thesis with a table of contents, always make a backup copy of your document before making major changes.

Step 1: Understand Why the Error Appears

Bookmarks in Word act like invisible reference points used by internal links, cross-references, and automatically generated sections like the Table of Contents.

You’ll see “Error! Bookmark not defined.” when:

  • A heading or section that a reference points to was deleted.
  • A bookmark name was changed or removed.
  • A field code in Word (like for the TOC or cross-reference) can’t find its target.

Once Word loses that link, it replaces the reference text with the error message.

Step 2: Update or Refresh the Table of Contents

If you see this error inside your Table of Contents (TOC), the problem is usually just an outdated reference. Word still thinks it’s pointing to a deleted heading.

To fix it:

  1. Click anywhere inside your Table of Contents.
  2. Press F9 on your keyboard or right-click and choose Update Field.
  3. Select Update entire table, then click OK.

Word will rebuild your TOC with current headings, removing any references to deleted bookmarks. The “Bookmark not defined” message should disappear immediately.

Step 3: Recreate or Relink the Missing Bookmark

If the error appears inside the main text (for example, where a cross-reference or hyperlink used to be), it means the bookmark itself was removed. You can fix this by recreating or relinking it.

  1. Highlight the text or heading that should be the target of the reference.
  2. Go to the Insert tab.
  3. Click Bookmark in the Links group.
  4. In the Bookmark dialog box, enter the original bookmark name (if you remember it) or a new one.
  5. Click Add.

Now, go back to the part of the document where you saw the error.

  1. Delete the “Error! Bookmark not defined.” message.
  2. Reinsert the cross-reference or hyperlink:
    • Go to Insert → Link → Cross-reference.
    • Choose Heading, Bookmark, or the appropriate type.
    • Select the correct target and click Insert.

Your link should now work correctly.

Step 4: Turn Field Codes into Plain Text (Optional Fix)

If the “Bookmark not defined” error still appears and you no longer need the link functionality, you can convert the field to plain text.

  1. Click the field that shows Error! Bookmark not defined.
  2. Press Ctrl + Shift + F9.

This removes the field code and replaces it with the last visible text value. While this doesn’t fix the underlying bookmark, it prevents the error from reappearing.

Step 5: Show Field Codes to Inspect the Problem

Sometimes it’s helpful to view the hidden field codes to understand where the error comes from.

  1. Press Alt + F9 to toggle field code view.
  2. Look for text like { REF BookmarkName } or { PAGEREF BookmarkName }.

If the bookmark name shown inside the braces doesn’t exist, you’ll see the error. You can either:

  • Update the bookmark name to one that exists, or
  • Delete and reinsert the reference using Insert → Cross-reference.

When finished, press Alt + F9 again to return to normal view.

Step 6: Reinsert the Field Code Manually (Advanced)

If you’re comfortable working with Word’s field codes, you can repair broken ones manually.

  1. Place your cursor where the missing reference should appear.
  2. Press Ctrl + F9 to insert a new field code.
  3. Type the field manually, for example: REF MyBookmark
  4. Press F9 to update the field.

If the bookmark exists, Word will display the correct linked text or page number again.

Step 7: Check for Hidden or Broken Bookmarks

If you’ve inherited a long document with multiple editors, some bookmarks may still exist but be hidden or corrupted.

  1. Go to Insert → Bookmark.
  2. Check the Hidden bookmarks box.
  3. Review the list of bookmarks and see if the one mentioned in the error is missing.

If it’s listed but not linked to anything, delete and recreate it. If it’s missing entirely, create a new one and relink any affected cross-references.

Step 8: Update All Fields in the Document

Sometimes the error persists simply because Word hasn’t refreshed all fields. You can force an update across the entire document.

  1. Press Ctrl + A to select all content.
  2. Press F9 to update every field.

Word will refresh all references, TOCs, and indexes. Any lingering “Bookmark not defined” messages should be replaced with their correct linked values.

Step 9: Repair Microsoft Word (If Errors Persist)

If none of the above steps work and Word frequently shows bookmark errors even in new documents, you may be dealing with a corrupted installation.

  1. Open Settings → Apps → Installed apps.
  2. Find Microsoft Office (or Microsoft 365) and click Modify.
  3. Choose Quick Repair, then click Repair.
  4. If the issue continues, repeat and select Online Repair.

Once the repair completes, reopen your document and recheck your bookmarks.

Wrapping Up

The “Bookmark not defined” error in Microsoft Word can be annoying, but it’s rarely serious. It simply means Word has lost a reference link, usually because a heading or section was deleted.

Updating your Table of Contents, recreating missing bookmarks, or reapplying cross-references typically resolves the issue. For large, complex documents, regularly refreshing all fields and keeping bookmarks organized helps prevent it from happening again.

Once fixed, your Word document should display clean, accurate references — without those distracting error messages interrupting your work.

Posted by Arpita

With a background in Computer Science, she is passionate about sharing practical programming tips and tech know-how. From writing clean code to solving everyday tech problems, she breaks down complex topics into approachable guides that help others learn and grow.