To add a line across the usable width of a Word page, click a blank paragraph and choose Home > Paragraph > Borders > Bottom Border. The line runs between the document’s margins. For a quick alternative, type three hyphens on a blank line and press Enter; Word turns them into a horizontal rule when AutoFormat is enabled. You do not need a special add-in, and the line will print with the document.
Word can make a page-wide line in a few ways. A paragraph border is usually the best choice for a neat divider that should stay aligned with the text. A line shape is more suitable when you need to control its exact length, position, or appearance. The instructions below cover both and explain how to avoid accidentally applying a border to the wrong paragraph.
What You’ll Need
- Microsoft Word for Microsoft 365 on Windows, or Word for Mac. Some menu labels and settings differ slightly on Mac.
- A document with the cursor near the place where the line should appear. Save the document first if you are editing an important file.
- For a truly page-wide result, know that Word’s normal text area ends at the page margins. A line between the margins is not the same as an edge-to-edge line.
Step-by-Step
- Choose where the line belongs. Click in the document at the position where you want the divider. For the most predictable result, create or use a blank paragraph there: click at the end of the preceding paragraph and press Enter, then click in the new empty paragraph. A bottom border is attached to a paragraph, rather than being a free-floating object, so placing the cursor in the intended paragraph matters.
- Show paragraph marks if the insertion point is unclear. On Windows, select Home > Paragraph > Show/Hide ¶. On Mac, use Home > Paragraph > Show/Hide if the control is visible, or press the formatting-marks shortcut for your version. The marks are not printed; they reveal paragraph breaks and help you see which paragraph Word will format. You can turn them off again when you are done.
- Apply a bottom border to the blank paragraph. On Windows, open Home, find the Paragraph group, and select the arrow beside the Borders button. Choose Bottom Border. In Word for Mac, open Home and use the Borders control in the Paragraph group; choose Bottom Border from its menu. If the ribbon is narrow, the control may be inside a collapsed Paragraph or Borders menu.
- Check the line’s width and placement. A bottom border normally follows the paragraph’s available width, so a plain paragraph with no indent creates a line from the left text margin to the right text margin. If the line is too short or shifted, click in that paragraph and check its indentation under Home > Paragraph. Remove unintended left or right indents, and check that the paragraph is not inside a narrow table cell or text box.
- Adjust the line style if needed. Open the Borders menu again and choose Borders and Shading if that option is available. In the dialog, select a line style, color, and width, and use the preview to confirm that the bottom edge is enabled. Apply the setting to the paragraph, not the whole document. Dialog names and layout can vary by Word release; on Mac, look for the Borders and Shading command in the same Borders menu.
- Set comfortable spacing around the line. Use the paragraph’s spacing controls to add space before or after it rather than pressing Enter repeatedly. On Windows, open the Paragraph dialog from the small launcher in the Home > Paragraph group and adjust Spacing Before or Spacing After. On Mac, open the Paragraph settings from the Format menu or the Paragraph group, depending on the ribbon layout. This keeps the divider’s position consistent if nearby text changes.
- Try the quick AutoFormat method when appropriate. Click a blank paragraph, type three hyphens (
---), and press Enter. If Word’s AutoFormat feature is active, it replaces the characters with a horizontal border. Three underscores or equal signs may create other border styles in some Word configurations, but three hyphens are the straightforward option. This method is quick, though the resulting line is still a paragraph border and can be less obvious to select than a shape. - Use a line shape for exact control. Select Insert > Shapes, then choose the straight line from the Lines section. Click and drag across the page. Hold Shift while dragging to keep the line horizontal. In Word for Mac, use Insert > Shapes and select the line tool as well; the gallery may look different. Drag between the text margins for a standard-width divider, or use the shape’s sizing controls when you need a precise length.
- Format and position a shape carefully. With the line selected, use the contextual Shape Format tab to change its outline color, weight, or dash style. If it moves unexpectedly when text is edited, open Layout Options beside the shape and choose a text-wrapping option that suits the page. A shape can float independently of the paragraph, so check its position in Print Layout and in Print Preview. The exact layout controls can differ on Mac.
- Check the result before continuing. Scroll to the page and confirm the rule is straight, at the intended location, and not overlapping text. Open File > Print to inspect the preview. If you want the line on every page, a one-off paragraph border or shape is not enough; use a header or footer, or edit the relevant page layout, as appropriate.
Common Mistakes
Applying the border to the wrong paragraph: Word applies a paragraph border to the paragraph containing the cursor or selection. If you click in a paragraph of text and choose Bottom Border, the line may appear under that text instead of on a separate divider line. Undo immediately with Ctrl+Z on Windows or Command+Z on Mac, click in the correct blank paragraph, and apply the border again.
Expecting a line to reach the physical paper edges: A paragraph border respects page margins. That is usually what people mean by page-wide: it crosses the text area. A rule that reaches the edges may be clipped by a printer and can require different page setup or a carefully positioned shape. Do not reduce margins just to lengthen a decorative line unless the whole document layout should change.
Using underscores as if they were a shape: Typing many underscore characters may look like a rule on screen, but it is text. Its length can change with the font, wrapping, and edits. Use a paragraph border or shape instead so the line stays clean and easier to manage.
Adding several empty paragraphs for spacing: Extra paragraph returns can push the line or following text onto another page. Use paragraph spacing settings instead. Also remember that pressing Enter after a bordered paragraph creates another paragraph, and the border may appear to move or be repeated depending on where the cursor is.
Choosing a shape without checking its wrapping: Shapes can sit in front of or behind text and may shift as content changes. If a line crosses words, select it and change its wrapping or reposition it. For a simple divider that should track the text, a paragraph border is generally less fragile.
Tips
Use a paragraph border for recurring document dividers, especially in reports, letters, or forms. It stays attached to the paragraph and naturally spans the paragraph’s text width. A shape is better for a design element that needs a particular length, a diagonal angle, or a position independent of the text flow. Pick the method according to how the line should behave after you edit the page.
To make a plain rule feel subtle, choose a thin line in a neutral color rather than a heavy black stroke. Keep the same style for similar dividers in the document. If you need more space around it, use paragraph spacing rather than adding blank lines; this makes the layout more stable and easier to update.
For a line that should appear at the same location on every page, consider placing it in a header or footer. Double-click the header or footer area to edit it, add the line there using a border or shape, and then close the header and footer. Check section settings such as Different First Page and linked sections: they can cause a line to appear on some pages but not others.
Remember that page width and text width are different. A document with one-inch margins has a text area narrower than the paper itself. If the line must align with a heading, table, or column, match that element’s width rather than automatically extending the rule across the full text area.
Troubleshooting
The three hyphens stay as characters. Use the Borders menu to apply Bottom Border manually. To enable the automatic conversion on Windows, go to File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type and check Border lines. On Mac, open Word’s Preferences or Settings, choose AutoCorrect, and look under AutoFormat As You Type for the border-line setting. The precise wording can vary by release. If the setting is unavailable or you prefer not to change it, the manual border method works.
The line does not span the text area. Click in the paragraph with the border and inspect its indents, alignment, and container. A paragraph inside a table cell, text box, or column cannot extend beyond that container. Move the insertion point to a normal body paragraph, clear unwanted indents, and apply the bottom border there. If you actually want a shorter divider, adjust the paragraph width or use a shape.
The border appears above the text or on several sides. Reopen the Borders menu and choose only Bottom Border. If the border preview shows multiple edges, select the unwanted edges to turn them off. If you applied the border to a group of paragraphs, select only the intended paragraph or place the cursor in that paragraph before changing the setting.
The shape is hard to select or keeps moving. Click near the line until its endpoint handles appear. If text is in the way, use Home > Select > Selection Pane on Windows to find and select the object; availability and placement may differ on Mac. Then adjust its wrapping and position. If you cannot get reliable placement, delete the shape and use a paragraph border instead.
The line looks right but does not print as expected. Check File > Print and confirm the correct page, paper size, and printer are selected. Printer non-printable margins may prevent a line placed near the paper edge from appearing fully. Move it inside the margins or use a standard paragraph border, which is less likely to be clipped.
Frequently Asked Questions
What is the quickest way to insert a horizontal line in Word?
On a blank paragraph, type three hyphens and press Enter. If Word does not convert them, use Home > Paragraph > Borders > Bottom Border instead.
Will the line go from one edge of the paper to the other?
Usually not. A paragraph border spans the paragraph’s available width between the margins. An edge-to-edge line may be clipped by the printer and requires a different layout approach.
How do I make the line thicker or change its color?
Open the Borders menu and choose Borders and Shading, then select the desired line width and color and check the preview. For a shape, select it and use Shape Format > Shape Outline.
How do I remove a line I inserted?
Click in the paragraph above the border and open the Borders menu, then choose No Border or turn off Bottom Border. If it is a shape, select the line and press Delete. If you just added it, Ctrl+Z on Windows or Command+Z on Mac is the fastest undo.
Can I add the same line to every page?
Yes. Add it to a header or footer rather than inserting a separate body line on each page. Check section breaks and header/footer settings so the line is included on the page types you want.
Why does my line disappear after I edit the document?
A paragraph border moves with its paragraph, which is useful when text is added above it but may change its page position. A shape may also move according to its anchor and wrapping settings. Use a border for a text-flow divider, or set a shape’s position and wrapping deliberately.
Related
- Google Sheets INDEX MATCH With Multiple Criteria Guide
- Google Sheets Indian Currency Format: Rupee Guide
- Google Sheets INDEX Formula: Syntax, Examples, and Tips
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Find Excel Product Key: Where to Look and What to DoIf you need to activate Excel, first sign in with the Microsoft account used to buy or redeem…
- How to Add Custom Transitions to PowerPointTo add a custom transition in PowerPoint, select a slide, open the Transitions tab, choose an effect, then…
- Excel Insert Row With Same Formatting: Best MethodsTo insert a row in Excel and keep the surrounding formatting, select the row number where the new…
- Excel Compare Two Sheets Side by Side: Practical MethodsTo view two Excel sheets beside each other, open both views, then choose View > View Side by…
- How to Delete Blank Rows in Excel in One Go SafelyTo delete completely blank rows in Excel at once, add a helper column that marks rows with no…
- Using IFs in Google Sheets: IF, IFS, and Examples ExplainedTo use an IF in Google Sheets, enter a condition followed by the value to return when it…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.