On a phone? Word for iPhone and Android can’t run add-ins. GenText also works in your browser: rephrase, summarize or draft text. Free plan.
Use GenText in your browser →Steps below. GenText also works in this same Word window: rephrase or summarize the text you select, draft from a heading, or find research papers to cite. Free plan.
Add GenText to Word →How to Add Line Numbers in Word (Every 5 Lines)
Quick Answer
To add line numbers in Word, go to Layout > Line Numbers and choose Continuous, Restart Each Page or Restart Each Section. To number every fifth line, choose Layout > Line Numbers > Line Numbering Options. On the dialog’s Layout tab, click Line Numbers, select Add line numbering, set Start at to 1 and Count by to 5, then click OK twice. In desktop Word, view line numbers in Print Layout; they also appear when you print.
Use GenText in your browser →
On a computer or iPad? Add GenText to Word →
To add line numbers in Word, go to Layout > Line Numbers and choose Continuous (or Restart Each Page, or Restart Each Section). In Word 2007, 2010 and 2013 the tab is called Page Layout. Word puts a number in the left margin next to each line of body text, so readers can say “see line 47” instead of describing where something is.
Word can also number only every 5th or 10th line, restart on each page or section, number one section only, and skip paragraphs you do not want counted. To remove line numbers, choose Layout > Line Numbers > None. Line numbering is set per section, so to apply either choice to the whole document, click in the body text and select all first (Ctrl+A on Windows, Command+A on Mac).
Add line numbers in 3 clicks
- Open the Layout tab (called Page Layout in Word 2007, 2010 and 2013).
- In the Page Setup group, click Line Numbers.
- Choose Continuous, Restart Each Page or Restart Each Section.
The numbers appear in the left margin. In desktop Word, use Print Layout view (View > Print Layout) to see them; they also appear when you print. To remove line numbers throughout the document, click in the body text, press Ctrl+A, then choose Layout > Line Numbers > None.
What each Line Numbers option does
| Option | What it does | Typical use |
|---|---|---|
| None | Removes line numbers from the section | Final copy |
| Continuous | 1, 2, 3… to the end of the document | Manuscripts for peer review, contracts |
| Restart Each Page | Starts at 1 on every page | Court documents, scripts |
| Restart Each Section | Starts at 1 after each section break | Reports with separate parts |
| Suppress for Current Paragraph | Skips the paragraph your cursor is in | Titles, headings, block quotes |
| Line Numbering Options | Opens the dialog for Count by, Start at and From text | Every 5th line, custom start |
Line numbering is a section setting. In a document with one section, the choice applies to the whole document. If the document has several sections, the menu choice applies to the section your cursor is in (or the sections you selected). To number a multi-section document all the way through, press Ctrl+A first.
Number every 5th line (or every 10th)
- Go to Layout > Line Numbers > Line Numbering Options. The Page Setup dialog opens on its Layout tab.
- Click the Line Numbers button near the bottom.
- Tick Add line numbering.
- Set Start at to 1 and Count by to 5 (or 10).
- Optional: set From text (distance between the numbers and the text; Auto is fine for most documents).
- Under Numbering, pick Restart each page, Restart each section or Continuous.
- Click OK, then OK again.
Word still counts every line. It just shows the number on lines 5, 10, 15 and so on.
Add line numbers to only one section
Use this when only part of a document, such as the body of a contract or one chapter, needs numbers.
- Put the part in its own section: insert a Next Page or Continuous section break before and after it (Layout > Breaks). See how to insert a section break in Word.
- Click anywhere inside that section.
- Open Layout > Line Numbers > Line Numbering Options.
- On the Layout tab, set Apply to to This section.
- Click Line Numbers, tick Add line numbering, choose your options and click OK twice.
To number several sections at once, select text that spans them first; Apply to then offers Selected sections.
Skip a paragraph (title, heading or quote)
- Click in the paragraph.
- Choose Layout > Line Numbers > Suppress for Current Paragraph.
Word skips the paragraph and does not count its lines, so the numbering carries on from the line before it. To skip many paragraphs, select them all first. The same setting is in Home > Paragraph dialog launcher > Line and Page Breaks > Suppress line numbers, which you can also add to a heading style so every heading is skipped automatically.
What Word does not number
- Headers, footers, footnotes and endnotes are never numbered.
- Tables and figures each count as a single line. To number rows in a table, select the first column and use Home > Numbering.
- Text boxes: the text inside is not numbered. An inline text box counts as one line; if body text wraps around it, only the lines of body text are counted.
- Empty paragraphs (blank lines made with Enter) are counted. Use Spacing Before/After instead of blank lines if you want the count to match visible text only.
- In multi-column layouts, each column gets its own numbers beside it.
Change the font or size of line numbers
Line numbers use the Line Number character style. To change it:
- Open the Styles pane (Home > Styles dialog launcher, or Alt+Ctrl+Shift+S).
- Click Options, set Select styles to show to All styles and click OK.
- Find Line Number, click its arrow > Modify, set the font, size or colour and click OK.
Word for Mac
- Open the Layout tab.
- Click Line Numbers and choose Continuous, Restart Each Page, Restart Each Section or Suppress for Current Paragraph.
- For custom intervals or starting numbers, choose Layout > Line Numbers > Line Numbering Options. In the Document dialog, select Layout, then click Line Numbers. Select Add line numbering, adjust Start at, Count by or From text, and click OK twice.
The numbers show in Print Layout view (View > Print Layout).
Word for the web
Word for the web supports line numbering. Open Layout > Line Numbers and choose the numbering option you need. Choose Line Numbering Options to adjust settings such as Count by, the distance from the text, and whether numbering restarts on each page or section or continues throughout the document. If the command is unavailable in your session, open the file in the desktop app, add the numbers and save.
Troubleshooting
| Problem | Fix |
|---|---|
| No numbers visible | In desktop Word, switch to View > Print Layout. Draft, Web Layout and Read Mode do not show line numbers. In Word for the web, check Layout > Line Numbers and enable numbering. |
| Numbers on some pages only | Check line-number settings in each section. To enable continuous numbering throughout the document, click in body text, press Ctrl+A and choose Layout > Line Numbers > Continuous. |
| A paragraph has no number | Check Count by: values above 1 intentionally leave some lines without a displayed number. To check paragraph suppression, open Home > Paragraph dialog launcher > Line and Page Breaks and clear Suppress line numbers if selected. |
| Numbering restarts unexpectedly | A section break or Restart Each Page is set. Choose Continuous, or check Line Numbering Options in each section. |
| Numbers are cut off or overlap text | For clipped numbers, widen the left margin or reduce From text in the Line Numbers dialog. For numbers overlapping body text, increase From text while leaving enough margin space. Check File > Print before printing. |
| Four-digit numbers are cut off (past line 999) | The numbers do not fit in the left margin. Widen the left margin or adjust From text, or use Restart Each Page or Restart Each Section. |
| Numbers count blank lines | Remove empty paragraphs and use paragraph spacing instead. |
| Line Numbers is greyed out | Click in ordinary body text outside a table or text box, and close header/footer editing. If editing protection blocks the command, use Review > Restrict Editing > Stop Protection; Word may require the protection password. If you cannot remove protection, ask the document owner. |
| Need to number table rows | Line numbers count a table as one line. Use Home > Numbering on the first column. |
When to use line numbers
- Manuscripts for peer review: line numbers help reviewers identify passages. Check the journal’s submission instructions for the required numbering format.
- Contracts and legislation drafts: continuous numbers make comments like “line 112” precise during negotiation.
- Court filings: some courts require numbered lines that restart on each page; check your court’s rules, as many use pleading templates rather than Word line numbers.
- Scripts and transcripts: restart each page so cast or transcribers can find lines quickly.
If you are reviewing a long document with numbered lines, GenText can help you draft or rewrite passages in Word while you work through the comments.
Further Reading
- Microsoft Support: Add or remove line numbers: Microsoft’s own steps for line numbering in Word.
- Microsoft Support: Insert a section break: how to split a document into sections so only part of it is numbered.
On a phone? Word for iPhone and Android can’t run add-ins. GenText also works in your browser: rephrase, summarize or draft text. Free plan.
Use GenText in your browser →Steps below. GenText also works in this same Word window: rephrase or summarize the text you select, draft from a heading, or find research papers to cite. Free plan.
Add GenText to Word →Frequently Asked Questions
How do I insert line numbers in Word?
Open the Layout tab, click Line Numbers in the Page Setup group and choose Continuous, Restart Each Page or Restart Each Section. In Word 2007, 2010 and 2013 the tab is called Page Layout. The numbers appear in the left margin in Print Layout view. To remove line numbers throughout the document, click in the body text, press Ctrl+A, then choose Layout > Line Numbers > None.
How do I number only every 5th line?
Go to Layout > Line Numbers > Line Numbering Options. On the Layout tab of the dialog that opens, click Line Numbers, tick Add line numbering, set Start at to 1 and Count by to 5 and click OK twice. Every line is still counted, but only 5, 10, 15 and so on are shown.
What does continuous line numbering mean?
Continuous line numbering counts every line from 1 to the end of the document without restarting on each page or section. Continuous line numbers let reviewers identify passages throughout a manuscript; check the journal’s submission instructions for its requirements. In Word, choose Layout > Line Numbers > Continuous.
Why can I not see the line numbers I added?
In desktop Word, line numbers appear in Print Layout view and in print. Switch to View > Print Layout. If they are still missing, check that the paragraph is not set to Suppress for Current Paragraph, that the section you are in has line numbering turned on, and that the left margin is wide enough to show them.
Can I add line numbers to only part of a document?
Yes. Put the part in its own section with section breaks, click inside it, then open Layout > Line Numbers > Line Numbering Options. On the Layout tab set Apply to: This section, click Line Numbers and tick Add line numbering. Other sections keep their own setting.
How do I remove line numbers from one paragraph?
Click in the paragraph and choose Layout > Line Numbers > Suppress for Current Paragraph. Word skips that paragraph and does not count its lines. To undo it, click in the paragraph and choose the same command again.
Do line numbers include tables, headers and footnotes?
No. Word numbers lines of body text only. Text in headers, footers, footnotes, endnotes and inside text boxes is not numbered, and a table or figure is counted as a single line. To number the rows of a table, select a column and use Home > Numbering instead.
Do line numbers print?
Yes. Enabled line numbers print with the document. To remove them throughout the document before printing, click in the body text, press Ctrl+A and choose Layout > Line Numbers > None. To exclude particular paragraphs, select them and choose Suppress for Current Paragraph.
Writing in Word? Add GenText
Rephrase or summarize the text you select, draft a section from a heading, or find peer-reviewed papers to cite, without leaving your document. Free plan, no credit card.
Install free →On a phone? Word for iPhone and Android can’t run add-ins. GenText also works in your browser: rephrase, summarize or draft text. Free plan.
Use GenText in your browser →Related Guides
Free Microsoft Word reference by email
Useful Word shortcuts and steps for citations, formatting and document review.
The resource is in English, in the email body. You can save or print the email.
Your resource request does not sign you up for tips. Existing email preferences stay unchanged unless you ask to change them. Privacy.
Request received
Please check your inbox for the resource email. If it does not arrive, check your spam folder or contact support@gentext.ai.