How to Add Line Numbers in Word (Step-by-Step Guide)

By Alex March 15, 2026 word-tutorial

Line numbers display sequential numbers along the left margin of your document, numbering each line of text. This feature is essential for legal documents, scripts, collaborative editing, and any situation where specific lines need to be referenced. Microsoft Word makes adding and customizing line numbers straightforward. This guide covers all methods.

Understanding Line Numbers

Line Numbering: Sequential numbers (1, 2, 3, 4…) appear in the left margin, numbering each line of text.

Uses: Legal documents, scripts, academic manuscripts under review, collaborative editing, referencing specific text locations.

Printing: Line numbers print by default. Turn them off before final printing if not desired.

Customization: You can choose to number continuously, restart numbering per page/section, number every line or every nth line, and adjust positioning.

Method 1: Adding Basic Line Numbers

The simplest way to add line numbers:

Step 1: Go to the Layout Tab

Click the “Layout” tab in the ribbon (called “Page Layout” in older versions).

Step 2: Click Line Numbers

In the Page Setup group, look for “Line Numbers” button. Click it.

Step 3: Select Numbering Style

A dropdown shows line numbering options:

  • None: Remove line numbers
  • Continuous: Number all lines continuously from 1 to the document’s end
  • Restart Each Page: Restart numbering at 1 on each new page
  • Restart Each Section: Restart numbering at 1 for each new section
  • Suppress for Current Paragraph: Hide numbers for the current paragraph

Click your preferred option.

Step 4: Verify Appearance

Line numbers now appear in the left margin of your document.

Method 2: Customizing Line Number Intervals

To number every 5th line instead of every line:

Step 1: Go to Layout Tab

Click the “Layout” tab.

Step 2: Click Line Numbers > Line Numbering Options

Click Line Numbers and look for an option like “Line Numbering Options,” “More Options,” or “Customize.”

Step 3: In the Line Numbers Dialog

Customize options:

  • Start at: First line number (usually 1)
  • Count by: Interval between displayed numbers (1 = every line, 5 = every 5th line)
  • From text: Distance from left margin
  • Numbering: Continuous, by page, by section, or other options

Step 4: Preview

The dialog shows how numbering will appear with your settings.

Step 5: Click OK

Your custom line numbering applies to the document.

Method 3: Suppressing Line Numbers for Specific Paragraphs

To hide line numbers for particular paragraphs:

Step 1: Select Your Paragraph

Click in the paragraph where you want to suppress line numbers.

Step 2: Go to Layout Tab

Click the “Layout” tab.

Step 3: Click Line Numbers

Click the Line Numbers button.

Step 4: Select “Suppress for Current Paragraph”

This option hides line numbering for the selected paragraph while keeping it visible elsewhere in the document.

Method 4: Advanced Line Number Customization

For detailed control:

Step 1: Select Your Content

If setting numbering for a specific section, select that section’s content or position your cursor in that section.

Step 2: Access Line Numbering Options

Go to Layout > Line Numbers > Line Numbering Options (or similar).

Step 3: Configure Advanced Options

Depending on your Word version, you might be able to set:

  • Count by: Number every line, every 5 lines, etc.
  • From text: Distance of numbers from left margin
  • Restart option: Continuous, per page, per section
  • Indent: Add indentation to line numbers

Step 4: Set Section Behavior

If you’ve created sections with section breaks:

  • Choose whether numbering continues from previous section or restarts
  • Apply to current section only or whole document

Step 5: Click OK

Your custom settings apply.

Line Number Best Practices

Legal Documents: Continuous line numbering is standard for legal documents and contracts.

Scripts: Restart numbering per page or per scene for screenplays and stage plays.

Academic Manuscripts: Use line numbering when submitting papers for peer review so reviewers can reference specific lines.

Collaborative Editing: Line numbers help multiple editors reference specific locations easily.

Margins: Ensure your left margin is wide enough for line numbers (usually 1.5 inches works well).

Number Intervals: Number every line for shorter documents; number every 5th line for longer documents for cleaner appearance.

Print Consideration: Remove line numbers before final printing unless they’re required (e.g., for legal documents).

Troubleshooting

Line Numbers Not Showing: Ensure you’re in Print Layout view. Line numbers may not display in other views. Go to View > Print Layout.

Line Numbers in Wrong Position: They should appear in the left margin. If not, check your margin settings to ensure they’re wide enough.

Incorrect Starting Number: Use Line Numbering Options to set the starting number if needed.

Numbering Restarted Unexpectedly: If using sections, verify your restart settings. Some sections might be set to restart numbering at 1.

Can’t Customize Line Numbers: Some Word versions have limited line number customization. The basic options (Continuous, by Page, by Section) should be available.

Line Numbers Won’t Suppress for Specific Paragraph: Ensure you’ve selected the paragraph before choosing “Suppress for Current Paragraph.”

Line Number Options Compared

OptionBest ForResult
ContinuousLong documents, legal docsNumbers 1-500+ throughout
Restart Each PageMulti-page documents1-X per page
Restart Each SectionDocuments with sections1-X per section
Suppress ParagraphSpecific paragraphsSelected paragraphs unnumbered

Common Line Numbering Scenarios

Legal Document: Use Continuous numbering for comprehensive referencing throughout the document.

Screenplay: Use Restart Each Page so line numbers reset on each page (more practical for production).

Academic Manuscript: Use Continuous numbering so reviewers can easily reference feedback locations.

Multi-Section Report: Use Restart Each Section if each section should have independent numbering.

Advanced Line Number Techniques

Section-Specific Numbering: Using section breaks, different sections can have different line numbering schemes (one continuous, another by page).

Number Positioning: Adjust the distance of line numbers from the text margin for visual balance.

Interval Numbering: Number every 5th or 10th line for longer documents to reduce visual clutter while maintaining reference capability.

Why Line Numbers Matter

Line numbers serve critical functions in professional and legal documents. They enable precise referencing—readers can point to “Line 47” rather than approximating location. For collaborative editing, line numbers make feedback specific and actionable. For legal documents, line numbering is often required for contract reference. Proper line numbering increases document professionalism and usability.

Using GenText for Document Management

GenText can help manage line numbering in complex documents with multiple sections and numbering requirements.

Conclusion

Adding line numbers to Word documents is straightforward using the Layout tab’s Line Numbers button. Choose continuous numbering, restart by page, or restart by section depending on your needs. For legal documents and scripts, line numbering is often essential for referencing. For academic manuscripts under review, line numbering aids peer review. Customize numbering intervals and positioning to match your document’s needs. Remember that line numbers print by default—remove them before final printing if not desired. Properly configured line numbering enhances document professionalism and usability for reference and collaborative editing.

Frequently Asked Questions

When should I use line numbers in documents?

Line numbers are useful for legal documents (contracts, legislation), scripts (screenplays, plays), academic papers under review, and documents where reviewers need to reference specific lines. They're also helpful during collaborative editing when multiple people provide feedback.

Do line numbers print?

By default, yes, line numbers print. If you don't want them in the printed version, go to Layout > Line Numbers and select 'None' before printing. Some people turn them on for editing, then turn them off before final printing.

Can I have different line numbering in different sections?

Yes, using section breaks and the line numbering options, you can set different numbering schemes in different sections. For example, one section might have continuous numbering while another restarts at 1.

Related Guides

Spend Less Time Formatting

GenText handles formatting inside Word so you can focus on your writing.

Try Free
word-tutorial formatting academic-writing