Show or Hide TC and TOC Field Codes in Word for Mac
Question details
The user wants to control the display of TC and TOC field codes in Word for Mac.

- Product
- Microsoft Word for Mac
- Device & OS
- macOS
- Scenario
- A document contains TC fields used to create table of contents entries and a TOC field that displays the table of contents.
- Observed behavior
- Field codes may appear instead of results, or TC entries may be visible as hidden text.
Open the document in Word for Mac and locate the field or TC entry you want to change. If your Mac uses function keys for system controls, you may need to hold Fn when using F9.
Toggle an individual field code or update its result
Use keyboard shortcuts when only one field needs to be changed or updated.
Click the TOC field or select the field whose code or result you want to view.
Press Shift+F9 to switch the selected field between its code and result. If needed, also hold Fn.
With the field selected, press F9 to update its result. If needed, also hold Fn.

Change field-code and hidden-text display settings
Use Word's View settings when field codes or TC entries appear throughout the document.
Work with Word Documents in WPS Writer
WPS Office is a free, lightweight Office alternative with a familiar interface for opening and editing Word documents. Its format compatibility makes it easy to move existing documents into WPS Writer, though Word-specific field behavior may vary.

Frequently Asked Questions
Why can I see TC entries in my document?
TC entries are formatted as hidden text. In Word > Preferences > View, clear Hidden text and turn off the option to show all formatting marks.
How do I switch a TOC field back to its result?
Click or select the TOC field and press Shift+F9. On some Macs, you may also need to hold Fn.
How do I update the table of contents after changing entries?
Select the table of contents and press F9 to update it. Hold Fn as well if your Mac uses F9 for a system control.
Will hiding TC entries remove them from the table of contents?
No. Clearing Hidden text in Word > Preferences > View changes their display, not the TC fields themselves.




