Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Adding Line Numbers.

Adding Line Numbers

Written by Allen Wyatt (last updated September 26, 2020)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365


There are many types of documents that require the use of line numbers. Typically, this is done for legal documents. For instance, each line of a legal contract may need to be numbered. Word allows you to easily add line numbers to your document. This is done in the following manner:

  1. Position the insertion point anywhere in the section that you want to have line numbers. (Line numbering can be controlled on a section-by-section basis.)
  2. Display the Layout (Page Layout in earlier versions of Word) tab of the ribbon.
  3. Click anywhere on the Show Line Numbers tool (in the Page Setup group) to display a drop-down list of options.
  4. Select Line Numbering Options. Word displays the Layout tab of the Page Setup dialog box. (See Figure 1.)
  5. Figure 1. The Layout tab of the Page Setup dialog box.

  6. Click on the Line Numbers button. Word displays the Line Numbers dialog box. (See Figure 2.)
  7. Figure 2. The Line Numbers dialog box.

  8. Make sure the Add Line Numbering check box is selected.
  9. In the Line Numbers dialog box, specify the number at which you want to begin the numbering and the other characteristics you want used.
  10. Click OK to close the Line Numbers dialog box.
  11. Click OK to close the Page Setup dialog box.

You should note that you can only see line numbers when working in Print Layout view. If you are working in one of the other views, then the line numbers are hidden. In addition, Word adds line numbers only to the text in the main document. It won't add them to other elements, such as tables or text in shapes or text boxes.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (8795) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365. You can find a version of this tip for the older menu interface of Word here: Adding Line Numbers.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Default Units that Change

Word allows you to specify the unit of measurement you would like used in dialog boxes throughout the program. It can get ...

Discover More

Dissecting a String

Want to pull a string apart in a macro? It's easy using the string functions introduced in this tip.

Discover More

Pulling All Hyperlinks

Word allows you to add hyperlinks to your document. If your document includes quite a few hyperlinks, you may want a way ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (ribbon)

Setting the Starting Line Number

Line numbers are an important part of some documents, such as those prepared in the legal profession. If you want to ...

Discover More

Positioning Line Numbers

Line numbers can be added to a document, and is typically done in legal documents. The line numbers appear to the left of ...

Discover More

Line Numbering and Tables

Some types of documents (such as legal documents) may require that individual lines of text be numbered. If you use ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is two more than 7?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.