This article explains how to add line numbers to documents in Word for Microsoft 365, Word 2019, 2016, 2013, 2010, and 2007.

What to Know

  • Select Layout > Page Setup > Line Numbers > choose option > select Apply to drop-down > Selected sections.Next, select Line Numbers > Add line numbering > OK.

How to Add Line Numbers to a Word Document

To include line numbers in a document:

  • Go to Layout > Page Setup > Line Numbers.
  • If the document is divided into sections and you want to add line numbers to the entire document, press Ctrl+A to select the entire document.
  • Choose one of the following options:
  • Continuous: Allows consecutive numbering throughout the document.Restart Each Page: Starts each page with the number 1.Restart Each Section: Starts with number 1 after each section break.Line Numbering Options: Allows more advanced line numbering options, for example, to number at different intervals.
  • To add line numbers to a specific section or to multiple sections, choose Line Numbering Options to open the Page Setup dialog box, then select the Layout tab.
  • Select the Apply to drop-down arrow and choose Selected sections.
  • Select Line Numbers.
  • Select the Add line numbering check box.
  • Select any other options you want, then select OK to close the window.
  • Select OK to save your changes.

All About Line Numbers

Microsoft Word automatically numbers all lines except for a select few. It counts an entire table as one line. It also skips text boxes, headers and footers, and footnotes and endnotes.

Go to Layout > Page Setup > Line Numbers.

If the document is divided into sections and you want to add line numbers to the entire document, press Ctrl+A to select the entire document.

Choose one of the following options:

  • Continuous: Allows consecutive numbering throughout the document.Restart Each Page: Starts each page with the number 1.Restart Each Section: Starts with number 1 after each section break.Line Numbering Options: Allows more advanced line numbering options, for example, to number at different intervals.

To add line numbers to a specific section or to multiple sections, choose Line Numbering Options to open the Page Setup dialog box, then select the Layout tab.

Select the Apply to drop-down arrow and choose Selected sections.

Select Line Numbers.

Select the Add line numbering check box.

Select any other options you want, then select OK to close the window.

Select OK to save your changes.

Microsoft Word does count figures as one line, as well as a text box that has inline with text wrapping applied. However, the lines of text within the text box are not counted.

You decide how Word handles line numbers. For example, apply line numbers to specific sections, or number lines in increments such as every tenth line.

Then, when it’s time to finalize the document, remove the line numbers and you’re ready to go.

Get the Latest Tech News Delivered Every Day