Insert a Line in Word Without Text: Simple Methods

How-to basics · Updated November 3, 2026

Insert a Line in Word Without Text: Simple Methods

To insert a horizontal line in Word without typing text, place the cursor in an empty paragraph and use Home > Paragraph > Borders > Horizontal Line. For a line you can move and resize independently, choose Insert > Shapes > Line and drag across the page. The first method is quick and follows the paragraph; the second gives you more control over placement and appearance.

The steps below are for Microsoft Word for Microsoft 365 on Windows. You do not need to enter words on the page, but Word does need a place to anchor a line. If you are working in a document you need to preserve, save a copy first so you can experiment without changing the original.

What You’ll Need

  • A document open in Word for Microsoft 365. The desktop app provides the most control over lines and shapes.
  • A blank paragraph where you want the line, or a paragraph whose border you want to use as a separator.
  • Optional: a mouse or trackpad if you want to draw a shape and adjust its length or position precisely.

Step-by-Step

  1. Choose the kind of line you need. Use a horizontal paragraph border for a simple divider that spans the text area. It is attached to a paragraph, not a separate drawing object, and is easy to add or remove. Choose a shape line if you need to set a particular length, angle, location, color, or thickness. Decide before you insert it because these two types are edited in different ways.
  2. Put the insertion point where the line should go. Click in a blank paragraph at the intended location. If there is no blank paragraph, click at the end of the paragraph above and press Enter once to create one. Avoid selecting existing text: a paragraph border can be applied to the paragraph containing the selection, which may make it look as if the line has appeared in the wrong place. A paragraph mark may be visible if formatting marks are on, but it will not print.
  3. Insert a quick horizontal divider. On the Home tab, find the Paragraph group and open the arrow beside the Borders button. Select Horizontal Line. Word adds a thin horizontal rule across the available text width. The rule is a formatting element rather than typed characters, so there is no text to delete and it does not depend on a run of dashes. If the Borders button is collapsed in the ribbon, widen the Word window or open the Paragraph group controls to find its dropdown.
  4. Use the keyboard shortcut alternative if suitable. In an empty paragraph, type three hyphens (---) and press Enter. Word’s AutoFormat feature may convert the characters into a horizontal paragraph border. This is convenient for a plain full-width divider, but it is not guaranteed if AutoFormat is disabled or the characters are entered in a context where Word does not recognize the pattern. If the hyphens remain visible, undo once and use the Borders menu instead. The characters must be hyphens, not underscores or a long dash.
  5. Draw a line when you need independent positioning. Select Insert > Shapes, then choose the straight line from the Lines section. The pointer changes to a drawing crosshair. Click where the line should begin, hold the mouse button, and drag to its endpoint. Release the button to place it. Hold Shift while dragging to constrain the line to a horizontal, vertical, or 45-degree angle. Word anchors the shape to text in the document, but the line itself is a separate object and does not require any words.
  6. Adjust a shape line after drawing it. Click the line to select it. Drag an endpoint to change its length or angle, or drag the line itself to move it. With the shape selected, use the Shape Format tab to choose Shape Outline for a different color, weight, or dash style. If that tab is not visible, click the line once; it only appears when a drawing object is selected. For a straight horizontal rule, check that the endpoints are level, or redraw while holding Shift.
  7. Check spacing and placement. Click in the surrounding paragraphs and confirm that the line separates the intended sections. A border usually follows the paragraph’s text margins, while a shape can sit at a different position depending on its wrapping and anchor. Use Print Layout to review how the divider will appear on the page. Save the document after the line is positioned and formatted.

On Mac: Word for Mac has the same general approaches. Use Home > Borders to find the paragraph border options, or select Insert > Shapes and choose a line. Ribbon labels and the exact arrangement of controls can vary slightly by Word version. The Shift-drag method also constrains a drawn line. Word for the web may offer fewer shape-formatting options than the desktop app, so use the desktop version if you cannot find the shape or formatting controls you need.

Common Mistakes

Typing dashes and expecting them to stay as a line. When AutoFormat is active, three hyphens followed by Enter become a paragraph border. They are not a collection of separate dash characters afterward. If you need actual typed dashes, use Undo immediately after conversion or turn off the relevant AutoFormat option. If you want a drawn object, use Insert > Shapes instead.

Applying a border to the wrong paragraph. Borders belong to paragraphs, including paragraphs that contain text. If a rule appears under a heading or paragraph rather than in the blank space you expected, click the paragraph directly above or below it and inspect the border setting. Add a blank paragraph where needed, then apply the rule there. The line may look like it sits between paragraphs, even though Word associates it with one of them.

Trying to select a border as if it were a shape. A horizontal paragraph border is not a selectable drawing object. Clicking it will not show handles at its ends. To change or remove it, place the cursor in the paragraph that owns it and use the Borders menu. A shape line, by contrast, shows selection handles when clicked.

Dragging a shape without noticing its anchor or wrapping. A shape may shift when nearby text changes because it is anchored to a paragraph. It can also overlap text or appear in an unexpected position if its layout option allows text to wrap around it. Select the shape and review the layout options if it does not stay where you expect. For a simple divider that should remain within the text column, a paragraph border is often more reliable.

Tips

Use a paragraph border for repeated section dividers in a report, form, or letter. It automatically stretches to the paragraph width, so it adapts if you change the page margins or text column. It is also less likely than a floating shape to drift when you edit nearby content. A shape is the better choice for a short underline, a diagram, or a rule that should not span the whole text area.

To change the look of a paragraph border, place the cursor in the relevant paragraph and open Home > Paragraph > Borders. Use Borders and Shading if you need more control over the line style, color, width, or which edges are applied. In the dialog, inspect the preview before choosing OK; selecting a top, bottom, or other edge can change where the rule appears. The precise menu layout may vary slightly between ribbon configurations.

Make a line easier to find while editing by turning on paragraph marks with Home > Paragraph > Show/Hide ¶. This reveals otherwise hidden paragraph breaks, not printable text. If a border is attached to a blank paragraph, the paragraph mark helps you identify the paragraph to select for removal. Turn Show/Hide off again before sharing if you prefer a cleaner editing view; the setting does not add marks to the printed document.

For a shape, select it before changing its outline or layout. If you need an exactly horizontal line, hold Shift as you draw rather than trying to correct a slight angle afterward. Use the Shape Format controls to set consistent weight and color across multiple rules. When you need multiple identical dividers, copy and paste the formatted shape, then reposition each copy; keep in mind that each remains an independent object.

Before sending the file, check the line in Print Layout and, if the document’s appearance is important, in print preview. A line near a page break may end up separated from the heading or paragraph it was meant to divide. A shape can also move when text reflows on another device. Saving as PDF can preserve the layout for viewing, but keep the Word document if others need to edit the line.

Troubleshooting

The Horizontal Line command is missing. Confirm that you are on the Home tab and open the dropdown arrow beside the Borders control in the Paragraph group; do not click only the main Borders button. If the ribbon is simplified or the Word window is narrow, expand the ribbon or widen the window. As another option, try typing --- in an empty paragraph and pressing Enter, provided Word’s AutoFormat feature is enabled.

The hyphens do not convert. First make sure you typed three standard hyphen characters and pressed Enter immediately after them. If Word still leaves the characters in place, use the Borders menu method. AutoFormat settings can be disabled or changed. In Windows Word, open File > Options > Proofing > AutoCorrect Options, then check the AutoFormat As You Type tab for the border-related setting. If you do not want to change settings, using the menu is the simplest workaround.

The rule is in the wrong place or appears beneath text. A paragraph border is attached to the paragraph where the insertion point was located. Click in the paragraph that owns the unwanted rule, open Home > Borders, and choose No Border to remove its border. Then click in the correct blank paragraph and insert the horizontal line there. If the rule is a shape, click it to show its handles and drag it into place instead.

The line is too short, too long, or slanted. For a border, its length is determined by paragraph width and indentation; adjust the paragraph’s indentation or page layout if appropriate. For a shape, select it and drag an endpoint to resize it. Hold Shift while drawing or adjusting to constrain its angle. If resizing is awkward, delete the shape and draw it again with Shift held down.

The line disappears or shifts after editing. If it is a paragraph border, check that the paragraph remains in the document and that its border has not been removed. If it is a shape, its anchor and text-wrapping settings may explain the movement. Select the shape and review its layout options, then position it relative to the paragraph it should accompany. For a stable, full-width divider in ordinary text, replace the shape with a paragraph border.

Frequently Asked Questions

Can I insert a line without creating a blank line of text?
Word needs a paragraph to attach a paragraph border to, and a shape needs an anchor in the document. You can use an existing empty paragraph, or add one where the divider belongs. The paragraph mark is formatting structure, not visible text in the printed document.

What is the fastest way to make a horizontal line?
In a blank paragraph, type three hyphens and press Enter if AutoFormat is enabled. For a method that does not depend on that setting, use Home > Paragraph > Borders > Horizontal Line. Both create a paragraph-style rule rather than a freely positioned shape.

How do I remove a line in Word?
For a paragraph border, click in the paragraph associated with the line and choose Home > Paragraph > Borders > No Border. For a shape, click the line so its handles appear and press Delete. If you are unsure which kind it is, try selecting it: visible endpoint handles indicate a shape.

Can I make the line shorter than the page width?
Yes. Draw a shape line and set its endpoints where you want them. A horizontal paragraph border normally follows the paragraph’s available width, so you can adjust that width with paragraph indentation, but a shape is more direct when you need a specific short length.

Will the line print?
Both a paragraph border and a shape line normally print when they are visible in the document. Check Print Layout or print preview to confirm the result. Show/Hide paragraph marks do not print, and neither do the editing handles shown while a shape is selected.

Is a horizontal line the same as an underline?
No. An underline formats text and appears beneath characters; a horizontal rule is a border or shape that can exist without any text. Use an underline when you want to emphasize a word or blank space within a line of text, and use a border or shape for a page divider.

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.