The fastest way: headers and footers

To put your last name and page number on every page in Word, use the header and footer feature. A header appears at the top of every page; a footer appears at the bottom. Both repeat automatically on each new page without you typing them again.

Open your document in Word. Go to the Insert tab at the top. Click Header (or Footer if you want the information at the bottom). A dropdown menu appears with preset designs. Choose Blank to start straightforward, or pick a design if you want a line or box around the text.

The header area opens and your cursor sits inside it. Type your last name, then press the spacebar a few times, then click Page Number (still on the Insert tab). Choose how you want the number to appear — just the number, or "Page 1", or other formats. Word inserts the page number automatically and updates it on each page.

Key Takeaways

  • Headers and footers are the built-in Word feature that repeats text on every page without manual work.
  • You access headers and footers through the Insert tab, and Word automatically updates page numbers as you add or delete pages.
  • You can choose whether the header or footer appears on the first page, and whether left and right pages look different.
  • Once you close the header area by clicking in the main document, the header and footer stay in place and do not interfere with your typing.

Closing the header so you can write your document

After you insert your last name and page number, you need to exit the header area and return to the main document. Double-click anywhere in the body of the page (the white space below the header), and Word closes the header editing mode. Your cursor moves back to the document text.

The header now appears faintly at the top of the page. It will not print faintly — it prints normally. The faint appearance is just Word's way of showing you it is there while you work on the main text. You can now type your document normally.

Removing the header from the first page only

Many documents — essays, reports, cover letters — should not have a header on the first page. Word lets you turn off the header for page one while keeping it on all the others.

Go to the Insert tab and click Header. At the bottom of the dropdown, click Edit Header. The header area opens. Now go to the Design tab (this tab only appears when you are editing a header). Check the box labeled Different First Page. The header disappears from page one. Close the header by double-clicking in the document body.

Changing the header on different pages

If your document has sections — for example, a title page, then chapters, then an appendix — you can make the header different in each section. This is more advanced, but Word makes it straightforward once you understand the steps.

First, insert section breaks where you want the header to change. Go to the Layout tab, click Breaks, and choose Next Page. This creates a new section. Now edit the header in the new section: go to Insert > Header > Edit Header. The header for this section is now separate. You can type a different last name or page number format. Word will not link this header to the previous one.

Fixing headers that look wrong or disappeared

Sometimes a header stops showing, or it shows on only some pages. The most common cause is that you accidentally deleted it or turned on Different First Page without meaning to. Go to Insert > Header > Edit Header and check whether Different First Page is checked. If it is, uncheck it.

If the header is completely gone, edit the header again and retype your last name and page number. If the header shows on some pages but not others, you may have section breaks that are preventing the header from flowing through. Check the Design tab while editing the header — look for a button called Link to Previous. If it is not pressed (highlighted), click it to reconnect the sections.

Page numbers in different formats

Word offers several ways to format page numbers. When you click Page Number in the Insert tab, a dropdown shows options like "1, 2, 3" or "Page 1" or "1 of 5" (which shows the current page and total pages). Choose the format that matches your document style.

You can also right-click the page number itself (once it is inserted in the header) and choose Format Page Numbers. This opens a dialog where you can start numbering from a different number, use Roman numerals (I, II, III), or use letters. This is useful if your document has a cover page you do not want numbered, but you want the main text to start at page 1.

Headers and footers on Mac Word

On a Mac, the steps are nearly identical. Go to Insert > Header, choose a design, and type your last name and page number. The Design tab appears when you edit the header, and the Different First Page option is in the same place. Double-click the document body to close the header.

One difference: on Mac, the page number button may be labeled Page Number or # depending on your Word version. It is in the same location on the Insert tab.

Frequently Asked Questions

Can I put the page number on the left side and my last name on the right?

Yes. Edit the header, type your last name, then press Tab twice to move to the right side of the header. Click Insert > Page Number and choose your format. The page number now appears on the right while your last name stays on the left.

What if I want the header only on pages 2 and onward, not page 1?

Edit the header and check the Different First Page box on the Design tab. This removes the header from page one. The header reappears on page two and continues on all following pages.

Does the page number update automatically if I add or delete pages?

Yes. Word updates page numbers automatically whenever you add, delete, or rearrange pages. You do not need to edit the header or do anything manually.

Can I use a footer instead of a header?

Absolutely. Go to Insert > Footer instead of Header, and follow the same steps. The footer appears at the bottom of the page instead of the top. Many documents use footers for page numbers and headers for chapter titles or document names.

What if my header is showing but the page number is not updating?

Right-click the page number in the header and choose Update Field. If that does not work, delete the page number and insert it again through Insert > Page Number. Occasionally Word needs the field to be refreshed.