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

Checking for Words and Phrases

You may want to determine if a document contains a certain set of words or phrases. There are a couple of ways you can ...

Discover More

Formatting Captions

When you add captions to elements in your document, Word allows you to modify how those captions are formatted. Here's ...

Discover More

Determining If a Cell is Bold

Want to figure out if the text in a cell is bold? The best approach is to use your own user-defined function, as ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (ribbon)

Turning Off Line Numbering

Need to have line numbering turned off for a paragraph or two? You can accomplish the task by following these steps.

Discover More

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

Removing Line Numbering

If you've added line numbers to your document, at some point you may want them turned off. Here's how to disable line ...

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 three minus 2?

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.