How to Insert a Full-Width Horizontal Line in Word

How-to basics · Updated November 3, 2026

How to Insert a Full-Width Horizontal Line in Word

To insert a line across the full width of your text area in Microsoft Word, place the cursor in an empty paragraph and choose Home > Borders ▼ > Horizontal Line. For a quick alternative, type three hyphens (—) and press Enter; Word turns them into a paragraph border. Both methods usually span the space between your page margins, not the paper’s edge.

What You’ll Need

  • Microsoft Word for Microsoft 365 on Windows, or Word for Mac if you use an Apple computer.
  • A document with the page margins and line location already set. A line’s apparent width depends on the space available between those margins.
  • Optional: a mouse or trackpad if you plan to draw and resize a line shape.

Step-by-Step

  1. Choose where the line should go. Click in the document at the location where you want the divider. To put a line between two paragraphs, click at the end of the first paragraph and press Enter to create a separate blank paragraph. The line will be associated with a paragraph, so this makes its placement easier to manage. If you want a line under a heading, click in the heading paragraph instead, but consider using a bottom border as described below.
  2. Use Word’s Horizontal Line command for a quick full-width line. On Windows, open the Home tab. In the Paragraph group, select the arrow beside the Borders button, then choose Horizontal Line. The line is inserted at the cursor’s paragraph position and typically fills the available paragraph width. If the ribbon is narrow, the Borders control may be shown as an icon; point to it to confirm its name before opening its menu.
  3. Adjust the line if needed. In many Microsoft 365 desktop versions, double-click the inserted horizontal line to open a formatting dialog. Use the available width, height, color, and alignment settings to refine it, then confirm the changes. If double-clicking does not open a dialog in your version, right-click the line and look for Format Horizontal Line. Options and dialog labels can vary slightly between Word builds.
  4. Use the automatic hyphen method if you prefer a border. Click in an empty paragraph where the line belongs, type three hyphens in a row, and press Enter. Word should replace the characters with a horizontal border beneath that paragraph. The border follows the paragraph width, so it normally stretches between the margins. It is not a separate drawn object; it is paragraph formatting.
  5. Use a paragraph border when the line should stay attached to text. Click in the paragraph that should have a line beneath it. On the Home tab, open the Borders menu in the Paragraph group and select Bottom Border. The border extends across the paragraph’s usable width. This is often a better choice than a floating shape for a heading, section label, or paragraph divider because it moves with the text when you edit the document.
  6. Draw a line shape for exact placement. If the line must sit at a particular height or stop short of the margins, go to Insert > Shapes and select the straight Line option. Click and drag across the page to draw it. Hold Shift while dragging to keep it perfectly horizontal. Start and finish within the text area if you want the line to align with the margins. A shape is independent of paragraph formatting and can be repositioned.
  7. Set a shape’s exact width and position. Select the line shape and open the Shape Format tab. Use the Size controls, if shown, to enter a width; for more positioning options, open the Format Shape pane and check the line’s size and layout settings. Ribbon controls can be collapsed on smaller windows. You can also drag an endpoint to resize the line; hold Shift while dragging to preserve a horizontal angle.
  8. Check how the line looks in the document. Review the line at normal page view and in Print Preview. Confirm that it is in the correct paragraph, spans the intended width, and does not collide with text or a page break. If necessary, adjust the paragraph spacing, margins, or shape position rather than adding extra spaces to force the line into place.

On Mac: The main ribbon commands are similar: use Home > Borders for paragraph borders, or Insert > Shapes for a drawn line. In some Mac versions, the ribbon may label or group the Borders control differently. The hyphen shortcut also depends on AutoFormat settings. To enable it, open Word > Settings (or Preferences) > AutoCorrect > AutoFormat As You Type and turn on Border lines if that option is available.

Common Mistakes

Expecting the line to touch the paper edges. A full-width line in Word generally means full width of the text area, which is set by the left and right margins. Word keeps ordinary text and paragraph borders inside those margins. To extend a line farther, you would need to change the page layout or use a shape positioned outside the text area; printing may still clip content near the paper edge.

Using a row of underscores or spaces. Typing underscores, repeated dashes with spaces, or a long string of characters may create an uneven line that wraps or changes when the font changes. Use a border command or a line shape instead. Those options are easier to format and more stable when the document is edited.

Choosing the wrong kind of line. A paragraph border belongs to a paragraph; a shape is a separate object. If you insert a shape and later add text above it, the line may move because of its anchor and wrapping settings. If the divider should always stay directly under a heading, a bottom border is usually more reliable.

Pressing Enter repeatedly to move the line. Extra blank paragraphs can change spacing throughout the page and may push content onto another page. Place the cursor in the correct paragraph, or adjust paragraph spacing and shape position directly instead.

Tips

Use a bottom border for a divider that should align automatically with paragraph text. Use the Horizontal Line command when you want a quick, distinct line and may want to adjust its appearance. Choose Insert > Shapes when exact length, height, or placement matters. Matching the line type to its purpose avoids awkward positioning later.

For a clean design, keep the line weight and color consistent with the rest of the document. A thin black or gray line is often easier to read than a heavy rule. If the line is under a heading, leave enough space above and below it so the text does not feel crowded. You can adjust paragraph spacing from the Layout tab or the Paragraph dialog rather than adding empty lines.

To make a border easier to identify while editing, click in the paragraph it belongs to. Word may not select a paragraph border when you click directly on the line because the border is not an independent object. A shape, by contrast, can be selected by clicking it; use the arrow keys for small position adjustments after selecting it.

If you use the hyphen shortcut often, check that AutoFormat As You Type is enabled before relying on it. The shortcut is convenient, but a border can be surprising if you intended to type a row of hyphens. Immediately use Undo if Word converts the characters and you did not want that result.

Troubleshooting

The hyphens stay as characters. AutoFormat As You Type may be disabled, or Word may not recognize the sequence because it is not in a suitable paragraph. On Windows, open File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type and enable Border lines. On Mac, check Word > Settings (or Preferences) > AutoCorrect > AutoFormat As You Type. If the option is missing or the conversion still does not work, use Home > Borders > Bottom Border instead.

The line is shorter than the page. Check the left and right margins under Layout > Margins. A paragraph may also have a left or right indent, reducing the width of its border. Select the paragraph and review its indentation settings on the Layout tab or in the Paragraph dialog. A drawn shape may simply need its endpoints dragged farther apart.

The line appears in the wrong place or moves when you edit. If it is a border, check which paragraph is selected and remove the border from the unintended paragraph before applying it to the right one. If it is a shape, select it and review its wrapping or layout options. You can set it to move with text or remain fixed relative to the page, depending on the arrangement you need. Avoid placing a floating shape over text unless that overlap is intentional.

The line will not select or delete. A paragraph border is removed through its paragraph, not by clicking the line. Click in the relevant paragraph, open Home > Borders, and choose No Border or turn off the active bottom border. For a Horizontal Line object or shape, click the line until its selection handles appear, then press Delete. If it is hard to select, use Undo immediately after inserting it or try selecting it from the document’s selection tools.

The line prints differently from the screen. Check Print Preview and confirm that the line is inside the printable area. Printer margins can be larger than the document margins, especially near the edges of a sheet. For a line that appears too close to text, adjust paragraph spacing or the shape’s position rather than changing its width alone.

Frequently Asked Questions

How do I make a line stretch from margin to margin?
Use Home > Borders > Horizontal Line, or apply a bottom paragraph border. Both normally span the paragraph’s available width. If the line is shorter, check paragraph indents and page margins.

Why does typing three hyphens make a line?
Word’s AutoFormat As You Type feature can convert three hyphens followed by Enter into a paragraph border. It applies formatting to the paragraph rather than inserting a row of typed characters. Disable Border lines in AutoFormat settings if you do not want this conversion.

How do I make a line thicker or change its color?
For a Horizontal Line object, double-click it or right-click and open its formatting options if available. For a paragraph border, open the Borders and Shading dialog from the Borders menu and select a line style, color, and width before applying it. A shape’s line appearance can be changed from Shape Format > Shape Outline.

Can I put a full-width line between two paragraphs?
Yes. Put the cursor at the end of the first paragraph, create a separate paragraph for the divider, and insert a horizontal line or apply a border there. A bottom border on the first paragraph is another option if you want the rule directly below its text.

Can I insert a line across only part of the page?
Yes. Insert a line shape with Insert > Shapes and drag its endpoints to the desired length. Hold Shift while drawing to keep it horizontal. A paragraph border is less suited to partial-width lines because it follows the paragraph width.

Will the line appear in Word for the web?
Word for the web supports many common document formatting features, but available shape and formatting controls can differ from the desktop app. If you cannot insert or precisely format the line in the browser, open the document in Word for Microsoft 365 on Windows or Mac, make the change, and save it.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.