Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Note: This article has done its job, and will be retiring soon. To prevent "Page not found" woes, we're removing links we know about. If you've created links to this page, please remove them, and together we'll keep the web connected.

Word can automatically count the lines in a document and display the appropriate number next to each line of text. This is useful if you have to refer to specific lines in a document, such as a script or legal contract. By default, Word numbers every line in a document (except those in tables, footnotes, endnotes, text boxes, frames, and headers and footers). However, you can choose which line numbers to display. For example, you can include line numbers in all or part of the document. You can also include line numbers at intervals, such as every tenth line (10, 20, 30, and so on). If you do not want Word to count specific lines, such as a heading or a blank line, you can skip line numbers for these items and continue numbering the subsequent lines.

  1. On the View menu, click Print Layout.

  2. On the Layout tab, click Line Numbers, and then select the option that you want.

  1. On the View menu, click Print Layout.

  2. Select the text that you want to number.

  3. On the Layout tab, click Line Numbers > Line Numbering Options.

  4. On the Apply to list, click Selected text.

  5. Click Line Numbers.

  6. Select the Add line numbering check box, select the options that you want, and then click OK.

  7. Click OK.

    Word automatically inserts a section break before and after the text with the line numbers.

  1. On the View menu, click Print Layout.

  2. Click in a section, or select multiple sections.

  3. On the Layout tab, click Line Numbers > Line Numbering Options.

  4. On the Apply to list, click This section.

  5. Click Line Numbers.

  6. Select the Add line numbering check box, select the options that you want, and then click OK.

  7. Click OK.

  1. On the View menu, click Print Layout.

  2. Select the section that you want to remove line numbers from.

  3. On the Layout tab, click Line Numbers > Line Numbering Options.

  4. Click Line Numbers.

  5. Clear the Add line numbering check box, and then click OK.

  6. Click OK.

  1. On the View menu, click Print Layout.

  2. On the Layout tab, click Line Numbers > Line Numbering Options.

  3. Click Line Numbers.

  4. Clear the Add line numbering check box, and then click OK.

  5. Click OK.

  1. On the View menu, click Print Layout.

  2. On the Layout tab, under Text Layout, click Line Numbers, and then select the option that you want.

    Layout tab, Text Layout group

  1. On the View menu, click Print Layout.

  2. Select the text that you want to number.

  3. On the Layout tab, under Text Layout, click Line Numbers, and then click More Line Numbering.

    Layout tab, Text Layout group

  4. On the Apply to pop-up menu, click Selected text.

  5. Click Line Numbers.

  6. Select the Add line numbering check box, and then select the options that you want.

    Word automatically inserts a section break before and after the text with the line numbers.

  1. On the View menu, click Print Layout.

  2. Click in a section, or select multiple sections.

  3. On the Layout tab, under Text Layout, click Line Numbers, and then click More Line Numbering.

    Layout tab, Text Layout group

  4. Click Line Numbers.

  5. Select the Add line numbering check box, and then select the options that you want.

  1. On the View menu, click Print Layout.

  2. Select the section that you want to remove line numbers from.

  3. On the Layout tab, under Text Layout, click Line Numbers, and then click More Line Numbering.

    Layout tab, Text Layout group

  4. Click Line Numbers.

  5. Clear the Add line numbering check box.

  1. On the View menu, click Print Layout.

  2. On the Layout tab, under Text Layout, click Line Numbers, and then click More Line Numbering.

    Layout tab, Text Layout group

  3. Click Line Numbers.

  4. Clear the Add line numbering check box.

See also

Add page numbers

Remove page numbers

Insert, delete, or change a section break

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×