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 March 21, 2025)
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

Getting Rid of All Hyperlinks

Need to get rid of all the hyperlinks in a worksheet? It's easy when you use this single-line macro.

Discover More

Printing Row Numbers

On-screen Excel displays row numbers that help you easily see what is in each row. If you want to print these row ...

Discover More

Referring to the Last Cell

It is not unusual to use worksheets to collect information over time. As you keep adding information to the worksheet, ...

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 2019. Spend more time working and less time trying to figure it all out! Check out Word 2019 For Dummies today!

More WordTips (ribbon)

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

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

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
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 minus 0?

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.