Move Microsoft Word Line Numbers Inside Page Margins
Question details
The user wants to move Word line numbers closer to the document text or farther inside the printable page area.
- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- A document uses line numbers, and the user wants to adjust their position relative to the text or page edge.
- Observed behavior
- Paragraph indents cannot be applied directly to line numbers, and the Line Number character style does not control their position.
Open the document in Word and check that line numbering is enabled under Layout > Line Numbers. If printing is the concern, check the result in File > Print after making changes.
Adjust the distance between Word line numbers and text
Use the line numbering settings to bring line numbers closer to the document text.
On the Layout tab, select Line Numbers > Line Numbering Options.
In the Page Setup dialog box, select Line Numbers.
Replace Auto in the From text field with a specific measurement. A smaller value generally places the numbers closer to the text.
Select OK to close the dialogs, then review the document. Reopen the same settings and adjust the value if needed.
Adjust page margins for printing line numbers
Use this approach if line numbers are too close to the page edge or are cut off when printed.
Edit Word Documents and Page Margins in WPS Writer
WPS Office is a free, lightweight alternative for editing documents with a familiar interface. Open compatible Word files, adjust page layouts, and move between Office applications with ease. It does not change Microsoft Word's own line-number settings.

Frequently Asked Questions
Why can't I indent Word line numbers like a paragraph?
Line numbers are not part of the paragraph text, so paragraph indents do not control them. Use Layout > Line Numbers > Line Numbering Options and change the From text measurement instead.
How do I bring line numbers closer to the text?
Go to Layout > Line Numbers > Line Numbering Options, select Line Numbers, and replace Auto in From text with a smaller measurement. Review the result and adjust it as needed.
Why are my line numbers missing when I print?
They may be outside your printer's printable area. Check File > Print, then try increasing the left margin through Layout > Margins > Custom Margins or reducing the line-number distance from the text.
Can I change the font of Word line numbers?
Yes. Line numbers use the Line Number character style, which can control font formatting. Changing that style does not change their distance from the text.




