logo
search
Office Settings & Configuration

How to Reverse the Heading Order in a Microsoft Word Table of Contents

Aamir Naveed AkramAamir Naveed Akram Oct 12, 2026 869 views

Question details

The user wants to know if there is a way to automatically display Table of Contents headings in reverse order using field codes in Microsoft Word.

How to Reverse the Heading Order in a Microsoft Word Table of Contents
Product
Microsoft Word
Device & OS
not provided
Scenario
Customizing the generated Table of Contents to display document headings in a non-standard, bottom-to-top order.
Observed behavior
Microsoft Word generates the Table of Contents in standard chronological order (top-to-bottom) and lacks a built-in field code to reverse this automatically.
Before you start

Before attempting to reorder your Table of Contents, ensure that your document is completely finished and all headings are finalized, as applying the manual workaround breaks the automatic update link.

Solution 1Recommended

Convert Table of Contents to Static Text and Rearrange Manually

Since Microsoft Word does not have a built-in field code to reverse TOC entries automatically, you must unlink the TOC and manually sort the text lines.

Reversing a standard document table is different from reversing a generated Table of Contents. Converting your Table of Contents to static text allows you to edit it freely, but it permanently breaks the automatic link to your document headings.

If you add, modify, or change pages for headings later, you will need to delete this static text, generate a new TOC, and repeat the unlinking process.

1
Generate the Table of Contents

Navigate to the 'References' tab and insert your standard Table of Contents.

2
Select the Table of Contents

Click and drag to highlight the entire Table of Contents block in your document.

3
Unlink the Field

Press 'Ctrl + Shift + F9' (or 'Cmd + Shift + F9' on Mac) to convert the dynamic Table of Contents field into standard, editable static text.

4
Rearrange the Headings

Manually cut and paste the individual lines of text to place them in your desired reverse order.

Final Step Precaution: Only perform this conversion as the absolute final step before printing, exporting to PDF, or publishing your document.
Free Microsoft Office alternative

Try WPS Office for Your Document Creation Needs

While no standard word processor automatically reverses Table of Contents entries via field codes, WPS Office offers a highly compatible, free, and lightweight alternative to Microsoft Word. It provides an intuitive interface for generating standard TOCs, managing styles, and formatting complex documents seamlessly.

Free and lightweight alternative to Microsoft OfficeHigh format compatibility with Microsoft Word documents (.docx) and standard field codesFamiliar user interface for easy migration without a learning curveBuilt-in PDF reader and editor for easy sharing of finalized documents
microsoft office alternative - wps office

Frequently Asked Questions

Is there any field code switch to reverse TOC entries in Word?

No, Microsoft Word does not provide a built-in field code switch to automatically display Table of Contents headings in reverse order. You must convert the TOC to text and edit it manually.

Can I sort a Table of Contents alphabetically?

Not automatically. Similar to reversing the order, you must first unlink the Table of Contents using Ctrl + Shift + F9 to convert it to plain text, and then use the Sort feature found in the Home tab.

Why did my edited Table of Contents disappear when I updated the document?

If you did not unlink the TOC (Ctrl + Shift + F9) before editing it, any manual changes you made will be completely overwritten the next time you tell Word to 'Update Field'. Always unlink the field if you need permanent manual edits.