Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and 2021. 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 2021


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 2021. 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

Storing AutoText Entries with a Document

AutoText entries can provide quite a bit of flexibility and power in a document. If you want to share those entries with ...

Discover More

Changing the Format of Existing Dates

There are a myriad of ways in which a date can be formatted--day first, month first, number of digits in the year, etc. ...

Discover More

Changing the Mouse Pointer

Windows is rather configurable, especially when it comes to the user interface. Here's how you can modify the way that ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 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

Numbering Only Certain Lines

Need to add line numbers to a document? Word provides an easy way to add them, but some of the controls that configure ...

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 0 + 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.