How to Move Word Line Numbers to the Right Margin
Question details
The user wants to adjust the position of line numbers in a Word document, specifically moving them to the right side of the left margin or to the far right side of the page.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Formatting a document that requires non-standard placement of line numbers for specific layout or referencing needs.
- Observed behavior
- Word automatically places line numbers on the far left margin for Left-to-Right (LTR) languages, without a straightforward toggle to place them on the right margin unless a Right-to-Left language is used.
Ensure your document is set to Print Layout view (View > Print Layout) so you can accurately see the margins and real-time positioning of your line numbers as you make adjustments.
Adjust Custom Margins to Shift Line Numbers Right
Increase the left margin to create additional space between the document edge and the text, which pushes the line numbers further to the right (to the right side of the left margin).
By default, Word places line numbers in the left margin. If you want them closer to your text or further right within that left margin space, you must modify the margin width itself.
Navigate to the Layout tab on the ribbon, click on Margins, and select Custom Margins at the bottom of the drop-down list.
In the Page Setup dialog box, locate the Left margin box and increase the value by approximately 0.5 inch (1.25 cm), depending on how far right you want the numbers to sit.
Click OK to apply the new margin. Your text will shift right, taking the line numbers with it. You can adjust the distance from the text in the Line Numbering Options if needed.

Use a Manual Text Box for the Far Right Margin
Since Word only automatically places line numbers on the far right for Right-to-Left (RTL) languages, you must use a manual text box for English or other Left-to-Right documents.
Manage Page Margins and Line Numbers Easily with WPS Writer
WPS Writer provides intuitive tools for page layout, allowing you to quickly adjust margins, insert custom text boxes, and format line numbers for professional document presentation with ease.
- 1. Open your Document: Launch WPS Writer and open your existing document or create a new one.
- 2. Apply Line Numbers: Navigate to the Page Layout tab, click on Line Numbers, and select Continuous or your preferred numbering style.
- 3. Adjust Margins: Click on Margins in the same tab and select Custom Margins to increase the left margin, pushing your line numbers to the desired rightward position.

Frequently Asked Questions
Can I place automatic line numbers on the far right margin in English?
By default, Word only supports automatic right-side line numbering for Right-to-Left languages like Arabic or Hebrew. For English (a Left-to-Right language), you must manually draw a text box in the right margin and insert the numbers yourself.
How do I change the distance between line numbers and the text?
Go to Layout > Line Numbers > Line Numbering Options. Click the Line Numbers button at the bottom of the Page Setup dialog. There, you can adjust the 'From text' value to increase or decrease the spacing between the numbers and your document text.
Why are my line numbers not showing up on the page?
Line numbers only appear when your document is in Print Layout view. Switch to Print Layout under the View tab. Additionally, check your margin settings to ensure the line numbers haven't been pushed outside the printable area of the page.




