How to Lock Header Section in a Word Template
🔍 WiseChecker

How to Lock Header Section in a Word Template

When you share a Word template with colleagues, you want them to fill in the body content without accidentally changing the header. The header often contains a company logo, document title, or legal disclaimer that must remain unchanged. Word does not have a single “lock header” button, but you can restrict editing to the body of the document, leaving the header protected. This article explains how to lock the header in a Word template using the Restrict Editing feature and how to save the result as a template file.

Key Takeaways: Locking a Header in a Word Template

  • Review > Restrict Editing > Editing restrictions > Allow only this type of editing in the document > No changes (Read only): Prevents any edits unless you mark specific sections as editable.
  • Select sections in a document and check Everyone in the Exceptions list: Allows users to edit the body while the header remains locked.
  • File > Save As > Word Template (.dotx): Saves the restricted document as a reusable template so the header stays locked each time someone opens it.

How the Restrict Editing Feature Works for Headers

The Restrict Editing pane in Word lets you protect a document by blocking all changes except in areas you choose. This is not a header-specific command; instead, you apply read-only protection to the whole document and then grant editing permission to the main body. Because the header is not included in the exception, it remains locked. The feature uses section breaks to separate the header from the body. If your document already has distinct sections, you can apply exceptions to only the body sections. For a simple template with one section, you add a continuous section break at the start of the body to create two sections: one for the header (section 1) and one for the body (section 2).

Prerequisites

Before you begin, make sure you have the following:

  • A Word document with a header you want to lock.
  • Content in the body area that users must edit.
  • Administrator access to the computer (no special permissions are needed beyond a standard Word installation).

Steps to Lock the Header in a Word Template

Follow these steps to protect the header while allowing editing in the body. The instructions apply to Word for Microsoft 365, Word 2021, Word 2019, and Word 2016.

  1. Open the document and show nonprinting marks
    Open the document you want to turn into a template. Go to the Home tab and click the Show/Hide button in the Paragraph group. This displays paragraph marks and section breaks, which helps you see exactly where sections begin and end.
  2. Insert a continuous section break before the body
    Place your cursor at the very beginning of the body content, right after the header area. On the Layout tab, click Breaks and choose Continuous under Section Breaks. This creates a new section starting at the body. The header area now belongs to section 1, and the body belongs to section 2.
  3. Open the Restrict Editing pane
    Go to the Review tab and click Restrict Editing in the Protect group. The Restrict Editing pane opens on the right side of the window.
  4. Enable editing restrictions
    In the Restrict Editing pane, check the box under Editing restrictions that says “Allow only this type of editing in the document.” From the dropdown list, select “No changes (Read only).” This makes the entire document read-only by default.
  5. Select the body section and add an exception
    Click inside the body area of your document. The body is now section 2. In the Exceptions section of the Restrict Editing pane, check the box for Everyone. This grants editing permission to all users for the selected part of the document. If you want only specific people to edit the body, click “More users” and enter their email addresses.
  6. Start enforcement of the protection
    Click the “Yes, Start Enforcing Protection” button at the bottom of the Restrict Editing pane. A dialog box appears asking for a password. Type a password in both fields and click OK. The password prevents anyone from turning off the protection. If you do not set a password, any user can stop the protection and edit the header.
  7. Save the document as a Word template
    Click File > Save As. Choose a location such as a shared network drive or the default Templates folder. In the Save as type dropdown, select Word Template (.dotx). Give the template a descriptive name, for example “Company Report Template.dotx,” and click Save.

When users open the template or a document based on it, they can edit only the body. The header remains locked. If they try to double-click the header, Word shows a message that the selection is locked.

Common Mistakes When Locking a Header

Word does not let me select the body section for exceptions

If the Restrict Editing pane does not allow you to check the Everyone box, you likely have only one section in the document. The header and body share the same section, so Word cannot treat them separately. Insert a continuous section break at the start of the body as described in step 2. After the break, you can select the body section and apply the exception.

Users can still edit the header after protection is applied

This happens when the protection is not enforced or the password is not set. Open the document, go to Review > Restrict Editing, and verify that “No changes (Read only)” is selected and that the Everyone exception is applied only to the body section. Click “Yes, Start Enforcing Protection” and enter a password. Save the file again.

The template loses the header lock when a new document is created

If you save the file as a .docx instead of a .dotx, the protection settings are not carried over to new documents. Always use File > Save As and select Word Template (.dotx). When a user opens the .dotx file, Word creates a new .docx based on the template, and the protection remains active.

Word Template With Locked Header vs Standard Template: Key Differences

Item Locked Header Template Standard Template
Header editability Locked; users cannot modify Fully editable by anyone
Body editability Editable by all users Fully editable
Protection setup Requires section break and Restrict Editing No protection applied
Password requirement Optional but recommended None
Use case Company letterhead, legal disclaimers, branded reports General-purpose document starter

After completing these steps, you can distribute the .dotx file to your team. They will be able to type in the body but not alter the header. If you need to update the header later, open the template, stop protection by entering the password, make your changes, and reapply the protection. For more control, explore the “Group” or “Everyone” exception options in the Restrict Editing pane.