logo
search
Formatting Issues

How to Display Line 1 and Every Fifth Line Number in Word

Partner EditorPartner Editor Sep 28, 2026 869 views

Question details

The user needs to display line numbers starting at 1, followed by every fifth line (e.g., 1, 5, 10, 15) in a Word document.

How to Display Line 1 and Every Fifth Line Number in Word
Product
Microsoft Word
Device & OS
not provided
Scenario
Formatting a legal, academic, or reference document that requires precise custom line numbering intervals.
Observed behavior
Word's default line numbering behavior, when set to start at 1 and count by 5, automatically produces a sequence of 1, 6, 11, 16, rather than the desired 1, 5, 10, 15 sequence.
Before you start

Ensure your document's text is fully drafted and finalized, as adding manual elements like text boxes for specific line numbers may shift if the text flows differently later.

Solution 1Recommended

Use Line Numbering Options Combined with a Text Box

Since standard line numbering counts rigidly from the starting number (yielding 1, 6, 11), you can set the document to count by 5 and manually label the first line.

Microsoft Word does not natively support an irregular sequence like 1, 5, 10 without a manual workaround. To achieve this exact pattern, you need to configure the automated numbering for multiples of five, and then manually insert the number '1' on the first line.

1
Set Line Numbering Interval

Navigate to the 'Layout' (or 'Page Layout') tab on the ribbon, click 'Line Numbers', and select 'Line Numbering Options'.

2
Configure Count By 5

In the Page Setup dialog, click the 'Line Numbers' button. Check 'Add line numbering', leave 'Start at' blank or configure it so the sequence aligns with multiples of 5, set 'Count by' to 5, and click OK. This will automatically number lines 5, 10, 15, etc.

3
Insert a Text Box for Line 1

Go to the 'Insert' tab, select 'Text Box', and choose 'Draw Text Box'. Draw a small text box in the left margin directly next to the very first line of text.

4
Format the Text Box

Type '1' into the text box. Right-click the text box, select 'Format Shape', and set both the 'Fill' to 'No fill' and the 'Line' to 'No line' so it blends seamlessly with the automated numbers.

Use Line Numbering Options Combined with a Text Box
Formatting Limit: Standard line numbering does not allow individual line numbers to have different interval logic. If the text edits push the first line down, you will need to manually move the text box.
Free Microsoft Office alternative

Customize Line Numbering Easily with WPS Writer

WPS Writer offers an intuitive Page Layout interface to manage line numbering and document margins. You can easily apply custom line intervals and insert manual text boxes just like in Microsoft Word, all for free.

  1. 1. Open your Document: Launch WPS Writer and open the document you wish to format.
  2. 2. Access Line Numbers: Navigate to the 'Page Layout' tab and click on the 'Line Numbers' drop-down menu.
  3. 3. Set Custom Intervals: Select 'More Line Numbering Options', check 'Add line numbering', and set the 'Count by' interval to 5.
  4. 4. Add Manual Reference: Use the 'Insert' tab to add a frameless Text Box containing '1' next to your first line to complete the 1, 5, 10 sequence.
Fully compatible with Microsoft Word (.docx) formats.Intuitive layout tools for precise document formatting.Lightweight, fast, and completely free to use.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Word show 1, 6, 11 when I set it to count by 5?

When you set the numbering to start at 1 and count by 5, Word calculates the next interval by strictly adding 5 to the starting number, resulting in 6, 11, 16, rather than landing on standard multiples of 5.

Can I apply line numbers to only a specific paragraph?

Yes. Select the specific text you want to number, go to Line Numbering Options, and choose to apply it to 'Selected text'. Alternatively, use continuous section breaks to isolate the area you want numbered.

How do I completely remove line numbers from my document?

Go to the 'Layout' tab, click on 'Line Numbers', and select 'None' from the dropdown menu to remove all line numbers from the current section or the entire document.