How to Insert a Separation Line in Word: 3 Easy Ways

How-to basics · Updated November 21, 2026

To insert a separation line in Word, type three hyphens on a blank paragraph and press Enter; Word usually converts them into a horizontal border. For more control, use Home > Paragraph > Borders > Horizontal Line, or draw a line with Insert > Shapes. These options work in Microsoft Word for Microsoft 365 on Windows, and the ribbon is similar on Mac.

A horizontal divider can separate sections, call attention to a note, or break up a long page. Before starting, click where you want the divider and decide whether it should behave like part of the text or like a freely positioned shape.

What You’ll Need

  • A document open in Microsoft Word. The instructions below use Word for Microsoft 365 on Windows.
  • A rough idea of where the divider should go. If using the automatic or border method, place the insertion point in an empty paragraph between the sections.
  • For a drawn line, a mouse or trackpad can make positioning easier, though it is not essential.

Step-by-Step

Choose one of the methods below. The automatic line and paragraph-border methods are best for ordinary document dividers. Use a shape when you need to set the line’s length, angle, or exact position.

  1. Insert a quick line with AutoFormat. Click at the start of a new, empty paragraph where the divider should appear. Type three hyphens in a row (---) and press Enter. If AutoFormat is enabled, Word replaces the hyphens with a thin horizontal border spanning the paragraph width. Press Enter again to continue typing below it. This is the fastest method for a plain divider.
  2. Check that Word converted the characters. After pressing Enter, look for a line running across the text area. If you still see three hyphens, AutoFormat may be turned off; use the border method below, or enable the relevant setting. On Windows, open File > Options > Proofing > AutoCorrect Options, then look under AutoFormat As You Type for the option that applies border lines. The exact wording can vary slightly by Word build.
  3. Insert a horizontal line from the ribbon. Click in the paragraph where the divider belongs. On the Home tab, in the Paragraph group, open the Borders drop-down (the small arrow beside the borders icon) and choose Horizontal Line. Word inserts a horizontal rule in the document. If the command is not visible, widen the Word window or inspect the full Borders menu, since a narrow window can collapse ribbon controls.
  4. Adjust a horizontal rule’s appearance. Right-click the inserted rule and choose Format Horizontal Line if that command is available. Use the dialog to adjust options such as width, height, color, or alignment, then confirm. The available controls can vary between Word versions. If you only need a plain full-width divider, you can leave the default appearance.
  5. Draw a line as a shape. Click where the line should begin, then choose Insert > Shapes > Line. The pointer changes to a drawing crosshair. Click and drag across the page to draw the line, then release. Hold Shift while dragging to constrain it to a straight horizontal or vertical direction. This creates a graphic object rather than a paragraph border.
  6. Format or reposition the shape. Select the line to show the Shape Format tab. Use Shape Outline to choose a color, weight, or dash style. Drag an endpoint to change its length, or drag the line itself to reposition it. If the line is difficult to select, click near its center or use the Selection Pane from the Home tab’s Select menu. A shape may move differently from surrounding text, depending on its layout settings.
  7. Use a paragraph border for a divider that follows the text. Click in the paragraph that should have a border below it. Go to Home > Paragraph > Borders drop-down and choose Bottom Border. This adds a border to that paragraph rather than inserting a separate drawing. It is useful when a divider should stay associated with a heading or paragraph as text is edited.
  8. Set the border style before applying it, if needed. Open the Borders drop-down and choose Borders and Shading. In the dialog, select a line style, color, or width, then select the bottom edge in the preview diagram. Check that Apply to is set to Paragraph and confirm with OK. If you want the border above the paragraph instead, select the top edge in the preview.
  9. Check the result in the document. Scroll through the page and confirm the line sits between the right sections and does not collide with text. If it is too close to a heading or paragraph, adjust paragraph spacing using the Layout tab’s Spacing controls or the Paragraph dialog. Save the document after you are satisfied.

On Word for Mac, the core ribbon commands are generally similar: use Insert > Shapes for a drawn line, and use the Home tab’s Borders menu for paragraph rules. Ribbon groups may be arranged differently depending on window size and Word version. AutoFormat settings are managed through Word’s AutoCorrect settings rather than the Windows File > Options route; if the three-hyphen shortcut does not work, use the ribbon border command instead.

Common Mistakes

  • Expecting three hyphens to stay as typed. When AutoFormat is active, Enter converts them into a border. If you wanted literal hyphens, undo immediately with Ctrl+Z on Windows or Command+Z on Mac, or type them in a different context such as a code-formatted passage.
  • Adding the border to the wrong paragraph. A paragraph border belongs to the paragraph containing the insertion point, even if that paragraph looks blank. Click in the intended paragraph before choosing Bottom Border or Horizontal Line.
  • Using spaces or underscores to draw a long divider. Repeated characters can wrap, change appearance with the font, or stop at the end of the text area. Use a border or a shape for a dependable line.
  • Choosing a shape when a text border is more suitable. A drawn line can float over text or shift as the document changes. Use a paragraph border for a divider that should remain tied to a section of text.
  • Pressing Backspace without checking what will disappear. A border may not behave like a normal character, so deleting text around it can remove or alter the paragraph. Use the Borders menu to remove paragraph borders deliberately.

Tips

  • Use the method that matches the job. The three-hyphen shortcut is quick, a paragraph border is easier to keep aligned with text, and a shape gives the most control over length and placement.
  • Keep dividers consistent. Reuse the same line weight and color throughout a report. A subtle gray rule often separates sections without competing with headings or body text.
  • Leave breathing room. A line placed directly against text can make a page feel cramped. Adjust paragraph spacing before or after the relevant paragraph rather than adding several empty paragraphs, which can create awkward gaps after edits.
  • Consider page width. A paragraph border normally follows the paragraph’s available text width and indentation. If it begins or ends in an unexpected place, check the paragraph indentation and page margins.
  • Use the Selection Pane for crowded drawings. If a shape overlaps other objects, open Home > Select > Selection Pane and select the line from the object list. This can be much easier than clicking precisely on a thin line.
  • Check the divider in Print Layout. A line can look different while editing or at a different zoom level. Print Layout gives a useful preview of how it sits on the page, and Print Preview can help confirm the final page appearance.

Troubleshooting

The three hyphens remain visible. First, click after them and press Enter once more only if you are sure you want a new paragraph. If Word still does not convert them, check the AutoFormat As You Type border option in the AutoCorrect settings. You can also avoid changing settings and insert a line through Home > Paragraph > Borders > Horizontal Line.

A line appears, but you cannot select it. It may be a paragraph border rather than a shape. Click in the paragraph directly above or associated with the line, open the Borders menu, and choose No Border to remove it. If it is a shape, click the line itself; use Home > Select > Selection Pane if nearby text or images make selection difficult.

The divider is the wrong length or seems out of alignment. A paragraph border follows the paragraph width, indent, and margins, so check those settings first. A horizontal line inserted from the Borders menu may also follow the text area. For a custom shorter line, insert a shape and drag its endpoints. Hold Shift while drawing or adjusting it to keep it horizontal.

The line moves when you edit the page. That is expected for a shape whose position is tied to text or the page layout. Select the shape and use the layout options that appear beside it to choose how it interacts with text, or replace it with a paragraph border if the divider should travel with a section. The precise layout choices depend on the selected object’s wrapping settings.

You cannot remove the line with Backspace. Click in the paragraph connected to the border, then use Home > Paragraph > Borders > No Border. For a drawn shape, select it and press Delete. If you remove the wrong element, undo with Ctrl+Z on Windows or Command+Z on Mac.

Frequently Asked Questions

How do I insert a horizontal line in Word with the keyboard?

In a blank paragraph, type three hyphens and press Enter. Word may turn them into a horizontal border if the AutoFormat border option is on. If it does not, use the Borders menu or check the AutoCorrect settings.

How do I remove a horizontal line in Word?

If it is a paragraph border, click in the paragraph immediately above the line and choose Home > Paragraph > Borders > No Border. If it is a drawn line, select the shape and press Delete.

Can I change the line’s color or thickness?

Yes. For a drawn shape, select it and use Shape Format > Shape Outline to change its color, weight, or dash style. For a paragraph border, open Borders and Shading and choose the style, color, and width before applying the border.

Why does the line span the whole page?

A paragraph rule usually spans the paragraph’s available width, which is determined by margins and indentation. To make a shorter divider, adjust the paragraph’s indent or use Insert > Shapes > Line and set the length by dragging its endpoints.

Will the line move with the text?

A paragraph border is attached to a paragraph, so it follows that paragraph as text changes. A shape is a separate object; its position depends on its wrapping and anchoring settings and may need adjustment as the document changes.

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.