How to Insert a Dividing Line in Word

How-to basics · Updated November 3, 2026

How to Insert a Dividing Line in Word

To insert a dividing line in Word, place the cursor where the line should go and type three hyphens (—), then press Enter. Word usually converts them into a horizontal paragraph border. For a line you can freely position or resize, use Insert > Shapes > Line instead. These instructions cover Microsoft Word for Microsoft 365 on Windows, with Mac notes where the steps differ.

A divider can separate topics, set off a note, or make a document easier to scan. The best method depends on whether you need a quick line that follows the text, a border attached to a paragraph, or a movable graphic. Save your document before making extensive layout changes, especially if it uses complex formatting.

What You’ll Need

  • Microsoft Word for Microsoft 365 on Windows or Mac.
  • A document open to the location where you want the divider.
  • For the three-hyphen shortcut, AutoFormat As You Type must have border lines enabled. If the shortcut does not work, you can use the ribbon method instead.

Step-by-Step

  1. Choose the type of line you want. Use the three-hyphen method for a fast, simple divider that spans the text area. Use a paragraph border if you want a line that stays attached to a particular paragraph and can be switched on or off from the ribbon. Use a shape if you need to set the line’s length, angle, position, color, or weight independently of the text.
  2. Place the cursor for a quick automatic line. Click at the start of a new, empty paragraph where the divider should appear. The line is applied to that paragraph, so it is generally easiest to make room by pressing Enter between the two sections you are separating. Avoid selecting text; the shortcut works by creating a paragraph border, not by drawing across selected words.
  3. Type three hyphens and press Enter. Enter — using the hyphen key, then press Enter. In the usual Word setup, the three characters are replaced by a thin horizontal border along the paragraph. You will not be able to select it like ordinary text, because it is formatting on the paragraph. If the hyphens remain on the page, see Troubleshooting below to enable the setting or use a ribbon option.
  4. Insert a horizontal line from the ribbon if you prefer a menu. Click in the paragraph where the divider should appear. In Word for Windows, open Home, find the Paragraph group, and select the arrow beside Borders. Choose Horizontal Line. Word adds a line at the cursor position. On Word for Mac, open Home and look for the Borders menu in the Paragraph section; choose Horizontal Line if that command appears in your version. Ribbon labels or group placement can vary slightly with window size, so widen the Word window if the command is hidden.
  5. Use a paragraph border for a predictable divider. Click in the paragraph that should carry the line. On Windows, go to Home > Paragraph > Borders arrow and choose Bottom Border. This draws a line along the bottom of that paragraph, typically across its text width. To put the line above it, choose Top Border. The border belongs to the paragraph rather than a separate shape, so it moves with that paragraph when you edit the surrounding text. On Mac, use Home > Borders and choose the corresponding bottom or top border command.
  6. Draw a shape when you need precise control. Choose Insert > Shapes, then select Line in the Lines section. Click and drag in the document to draw the divider. Hold Shift while dragging to keep the line horizontal or vertical. To change its length or placement later, click the line and drag an endpoint or move the shape. The Format Shape or Shape Format controls appear when the line is selected; use them to adjust its outline color, thickness, or dash style. The labels can differ slightly between Windows and Mac, but the line is selected and formatted as a shape in both.
  7. Check how the divider behaves in the layout. If the line is a paragraph border, click near it and look for the paragraph mark or formatting indicators to confirm which paragraph owns it. A shape can be positioned relative to text and may move when text changes. If the shape covers text or shifts unexpectedly, select it and use its layout options to change how text wraps around it, or place it in a suitable paragraph. For a simple document separator, a paragraph border is usually less likely to disrupt layout than a floating shape.
  8. Adjust spacing around the line. Press Enter before or after the divider only if you need additional separation; repeated blank paragraphs can create uneven gaps. For a border line, adjust paragraph spacing through the Layout tab’s Spacing controls or the Paragraph dialog rather than adding many empty lines. If using a shape, drag it slightly or change its position settings so it does not crowd the text. Review the page in Print Layout to check the result as it will appear on the page.

Common Mistakes

Typing hyphens in the middle of a paragraph. Word’s automatic border feature responds to a line of characters in an otherwise empty paragraph. Put the cursor on a separate blank paragraph first. If the characters are inserted in ordinary text, they will usually remain as typed.

Expecting the automatic line to behave like a picture. The three-hyphen shortcut creates paragraph formatting. You cannot drag its endpoints or select it as an independent object. Choose Insert > Shapes > Line when you need a graphic that can be moved or resized freely.

Clicking the wrong border command. The Borders menu includes several choices, such as Bottom Border, Outside Borders, and No Border. A bottom border applies to the paragraph containing the cursor; it does not create a separate, movable line. Check which paragraph is active before applying a border, particularly in a document with multiple columns or indented paragraphs.

Adding extra blank paragraphs to force spacing. A stack of empty lines may look acceptable on one page but can create large gaps after later edits. Use paragraph spacing settings for consistent room around a divider, and keep the number of empty paragraphs to a minimum.

Assuming a shape will stay in the same place. A line inserted as a shape can be anchored to text, so edits may move it. If the divider must remain attached to a section, use a paragraph border. If it must sit at an exact visual position, check the shape’s wrapping and position settings after editing nearby text.

Tips

  • Use a consistent style. Pick one divider method and use a similar weight and spacing throughout the document. Mixing heavy shapes with thin paragraph borders can make pages feel inconsistent.
  • Use border formatting for text-led documents. Paragraph borders are often the simplest choice for reports, letters, and notes because the divider follows the text when paragraphs are moved or edited.
  • Use shapes for designed pages. A shape is useful for a short accent line, a colored separator, or a line that must sit beside an image. Keep it simple if the document will be edited by other people, since floating objects can need repositioning.
  • Show formatting marks when diagnosing layout. On Windows, press Ctrl+Shift+8 to show or hide paragraph marks and other formatting symbols. On Mac, press Command+8. The marks do not print; they help reveal blank paragraphs and the paragraph to which a border is attached.
  • Undo immediately if Word converts the wrong characters. Press Ctrl+Z on Windows or Command+Z on Mac. Undo reverses the automatic formatting change, letting you restore the typed hyphens or try another approach.

Troubleshooting

The three hyphens do not turn into a line. First confirm that they are in a new paragraph and press Enter after them. If they remain text, enable border-line AutoFormat. In Word for Windows, go to File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type, then select Border lines and confirm with OK. In Word for Mac, open Word > Preferences > AutoCorrect > AutoFormat As You Type and enable Border lines if that option is available. The exact preference window can vary by Word release. You can also skip AutoFormat and use Home > Paragraph > Borders > Bottom Border.

The line appears in the wrong place or spans too far. A border follows paragraph formatting, including indentation and paragraph width. Click in the paragraph that owns the line and check its indentation and alignment. If you selected Horizontal Line from the Borders menu, right-clicking it may offer formatting options; availability depends on the kind of line Word inserted. For exact endpoints, delete or undo the border and insert a shape line instead.

You cannot select or delete the line by clicking it. It is probably a paragraph border. Click in the paragraph directly above or below the line, open Home > Paragraph > Borders, and choose No Border to remove its border formatting. If that removes a border you meant to keep, undo immediately and inspect which paragraph is active before trying again. For a shape, click its line until its endpoints or selection handles appear, then press Delete.

The line moves when text changes. That is normal for a shape anchored to a paragraph. Use a paragraph border if you want the divider to remain in the text flow, or review the shape’s layout and positioning options if it needs a more fixed placement. Also check that the shape is anchored near the intended section rather than to a paragraph that is being edited elsewhere.

The line prints faintly or not at all. If it is a shape, select it and check Shape Outline for a visible color and adequate weight. If it is a paragraph border, reopen the Borders menu and review the border style and color options available in your version. Print Preview can help distinguish a display issue from an actual printing problem.

Frequently Asked Questions

What is the fastest way to insert a line in Word?
Start a blank paragraph, type three hyphens (—), and press Enter. Word normally converts them to a horizontal paragraph border when border-line AutoFormat is enabled.

How do I make the line longer or shorter?
A paragraph border follows the paragraph’s available width, so adjust the paragraph’s indentation or margins if appropriate. For a line with independent endpoints, insert it with Insert > Shapes > Line and drag its endpoints.

How do I change the line’s color or thickness?
For a shape, select it and use Shape Format or Format Shape to change its outline. For a paragraph border, open the Borders menu and look for Borders and Shading or the border formatting controls, then choose a style, color, or width before applying it.

How do I remove a dividing line without deleting text?
If it is an automatic or manually applied paragraph border, click in the paragraph carrying it and choose Home > Paragraph > Borders > No Border. If it is a shape, select the line itself and press Delete.

Can I insert a vertical dividing line?
Yes. Use Insert > Shapes > Line and drag while holding Shift to keep the line vertical. A paragraph border is better suited to horizontal separators in ordinary text.

Will the dividing line appear in a printed document or PDF?
Yes, both paragraph borders and shapes normally print and appear in exported PDFs. Check Print Preview, especially if the line is very light, close to a page edge, or positioned over other content.

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.