To quickly separate text in Microsoft Word, type three hyphens (—) on an empty line and press Enter; Word turns them into a horizontal rule. For more control, apply a paragraph border or draw a line with Insert > Shapes. The best method depends on whether you want a quick divider, a line that follows the page layout, or a shape you can position and format.
The steps below are for Word for Microsoft 365 on Windows. The main commands are also available in Word for Mac, although some settings and ribbon labels may be arranged differently. You do not need a special template or add-in.
What You’ll Need
- A document open in Microsoft Word for Microsoft 365.
- Permission to edit the document, and a clear idea of where the divider should go.
- For the automatic shortcut, AutoFormat As You Type must allow border lines. If typing three hyphens does not create a rule, see Troubleshooting.
Step-by-Step
- Choose where the divider belongs. Click in the document at the intended break. For a line between paragraphs, put the insertion point in a blank paragraph between them. If there is no blank paragraph, click at the end of the first paragraph and press Enter once to create one. Avoid selecting words unless you intend to format or underline that text. A horizontal rule created by Word is usually attached to a paragraph, so its position can change when you edit nearby text.
- Insert the quickest divider with three hyphens. In the blank paragraph, type three ordinary hyphen-minus characters (—) and press Enter. Word should replace them with a horizontal line that spans the text area between the page margins. You can type three underscores for a heavier-looking rule in many Word configurations, but the result is still an automatic paragraph border, not a freely movable drawing. If the characters remain as hyphens, do not keep adding them; use the border or shape method below, or enable the relevant AutoFormat setting.
- Use a paragraph border for a divider that stays with text. Click in the paragraph where you want the rule. On the Home tab, find the Paragraph group, open the Borders drop-down (the small arrow beside the border icon), and choose Bottom Border. Word draws a line along the bottom of that paragraph. To put a line above the paragraph instead, choose Top Border. This method is useful for section headings or a paragraph that should have a consistent divider even when text is added or the page layout changes. The border belongs to the paragraph, not to a character or a separately selected object.
- Insert a horizontal-line object from the Borders menu. If your Word version shows the command, click where the line should appear, open Home > Paragraph > Borders, and choose Horizontal Line. Word inserts a horizontal-line graphic. This is different from Bottom Border: it is an inserted object with its own formatting, while a paragraph border is part of paragraph formatting. To adjust the graphic, click it and use the available formatting controls or its sizing handles. If you do not see Horizontal Line in the menu, use Bottom Border or Insert > Shapes instead; the menu can vary between Word builds.
- Draw a line when you need precise placement. Select Insert > Shapes, then choose the straight-line option in the Lines section. Click and drag where the divider should run. Hold Shift while dragging to constrain the line to a straight horizontal direction. When selected, use the Shape Format tab to change options such as Shape Outline color and Weight. A drawn line can be positioned independently, which is helpful for forms, diagrams, or a divider that does not run the full width of the text column. It may move as surrounding content changes, so check its placement after editing.
- Check the line and save your document. Look at the divider in Print Layout and confirm it sits between the intended sections, has a suitable length and thickness, and does not collide with text. If you used a shape, click away to see its finished appearance. Save with Ctrl+S on Windows. On Mac, use Command+S. If the line appears in the wrong place, undo once with Ctrl+Z on Windows or Command+Z on Mac, then place the insertion point more carefully and try the appropriate method.
For most ordinary documents, the three-hyphen shortcut or a paragraph border is the simplest choice. Use a drawn shape only when you need to control the line’s position or length beyond the paragraph margins.
Common Mistakes
- Typing hyphens without pressing Enter. The automatic rule is usually created only after you press Enter, and only when the characters are in a paragraph by themselves. If you type — within a sentence, Word normally leaves them as text.
- Applying a border to the wrong paragraph. A bottom border belongs to the paragraph where the cursor is located. If the line appears under the next paragraph or a heading, click inside the intended paragraph and apply the border again. Clicking near the line is not always enough to identify which paragraph owns it.
- Expecting a paragraph border to behave like a drawing. You cannot freely drag a bottom border around the page. It follows the paragraph width and formatting. Choose Insert > Shapes for a line that needs independent placement.
- Dragging a shape instead of drawing one. If you select a shape tool but only click, Word may create a tiny line or no useful divider. Click and drag across the document to set its length. Hold Shift if you need to keep it horizontal.
- Using repeated underscore or hyphen characters as a permanent design. A long row of typed characters can wrap, shift, or look uneven when fonts or margins change. Use a border or a line object for a consistent rule.
Tips
- Match the method to the purpose. A paragraph border is usually the most stable choice for separating blocks of ordinary text. A shape is better for a form or a layout where the line needs a custom length or position. The automatic shortcut is convenient for a quick, full-width divider.
- Use paragraph spacing instead of extra blank lines. If the line feels cramped, adjust the spacing around its paragraph using the Paragraph settings on the Home tab, rather than pressing Enter several times. Extra empty paragraphs can create awkward gaps when the document reflows.
- Keep styling restrained. A thin gray line often separates content without competing with headings. If you use a border, open the Borders and Shading dialog from the Borders menu when available to set a style, color, and width. Check the preview and apply the setting to the intended paragraph.
- Think about page width. A paragraph border normally follows the paragraph’s available width, including any indents. If the line looks too short, check the paragraph’s left and right indentation before changing the line itself.
- Make a shape easier to manage. Select the line to access its layout options. If text wrapping or placement options are available, choose an arrangement that suits the page; a line intended to sit between paragraphs often works best positioned with the text. Recheck its position after changing margins, adding text, or editing nearby objects.
- Know where the Mac settings live. The Insert, Home, and Shapes commands are broadly similar in Word for Mac, but ribbon placement and automatic-format settings can differ. On Windows, the AutoFormat option is under File > Options > Proofing > AutoCorrect Options. On Mac, look under Word > Settings or Preferences > AutoCorrect, then the AutoFormat As You Type options. The exact wording may depend on the installed Word release.
Troubleshooting
The three hyphens stay on the page. First confirm that you typed them in an otherwise empty paragraph and pressed Enter. If Word still leaves them unchanged, go to File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type and enable Border lines. On Mac, open Word > Settings or Preferences > AutoCorrect and check the AutoFormat As You Type options. If you do not want to change automatic formatting, apply Home > Paragraph > Borders > Bottom Border instead.
The line is too dark, thick, or long. For a paragraph border, click in the paragraph and open the Borders and Shading dialog, if available, to choose a lighter color or thinner width. For a drawn shape, select it and use Shape Format > Shape Outline > Weight or Shape Outline > Color. A rule that seems too long may be following the paragraph width; inspect its indents or use a shape if you require a specific length.
The line appears above or below the wrong text. Click inside the paragraph that should own the border, then choose Top Border or Bottom Border as appropriate. If a shape is involved, select it and move it carefully; use the arrow keys for small adjustments when the shape is selected. Undo if the movement affects the wrong object, then click the line itself before trying again.
You cannot select or remove the line. If it is a paragraph border, click in the paragraph immediately above or below it, open Home > Paragraph > Borders, and choose No Border. Take care: No Border can remove other borders from that paragraph too. If it is a shape, click its edge until selection handles appear, then press Delete. If the line is part of a table, picture, or template, removing it may require editing that separate element rather than changing paragraph formatting.
The line moves when you edit the document. That is normal for a shape anchored to text. Select it and review its layout or wrapping options, or replace it with a paragraph border if the divider should remain associated with a text section. Avoid relying on a shape’s current screen position as a fixed page coordinate: adding text above it can change where it appears.
Frequently Asked Questions
What is the fastest way to insert a horizontal line in Word?
Type three hyphens in a blank paragraph and press Enter. This works when Word’s Border lines AutoFormat option is enabled. If it is disabled, use the Borders menu to apply a Bottom Border.
How do I insert a line between two paragraphs without drawing it?
Place the cursor in the paragraph where the divider should appear and select Home > Paragraph > Borders > Bottom Border. The rule follows that paragraph and its width settings.
Can I make the line shorter than the text area?
Yes. Insert a line using Insert > Shapes and drag it to the desired length. A paragraph border follows the paragraph width, so you may need to adjust the paragraph indents to shorten it.
How do I remove a horizontal line made from three hyphens?
Click in the paragraph immediately above the rule, open Home > Paragraph > Borders, and select No Border. The automatic rule is a paragraph border, so pressing Backspace as if it were ordinary text may not remove it.
Does this work in Word for Mac?
Yes. The Borders and Shapes approaches are available in Word for Mac, though ribbon details can differ. The three-hyphen shortcut depends on the AutoFormat As You Type setting, which is found in Word’s AutoCorrect settings on Mac.
Which type of line should I use for a printed document?
Use a paragraph border for a divider that should stay with a heading or paragraph as the document changes. Choose a shape for a specific visual layout, then check the line in Print Layout before printing or sharing the file.
Related
- Compress Photos in PowerPoint to Reduce File Size
- Compress Pictures in PowerPoint: Step-by-Step Guide
- Compare Two Documents in Word: Create a Redline
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Create a Box Plot in Excel: Steps and InterpretationTo create a box plot in Excel for Microsoft 365 on Windows, put each group of numeric observations…
- How to Create a Picture Template in Microsoft WordTo create a reusable picture template in Word, place a Picture Content Control inside a fixed-size table cell,…
- Date in Google Sheets: Enter, Format, and CalculateTo enter a date in Google Sheets, type it into a cell in a format your spreadsheet recognizes,…
- How to Create CD Labels in WordTo create CD labels in Word, download the template for your exact label sheet, open it in desktop…
- Excel Data Validation Lists Based on CriteriaTo make an Excel drop-down list change according to a criterion, put a FILTER formula in a helper…
- Excel vs Google Sheets: Features and DifferencesExcel and Google Sheets both handle everyday spreadsheet work, including formulas, charts, sorting, and pivot tables. Excel generally…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.