In Microsoft Word, press Shift+Enter to insert a line break without starting a new paragraph. If you mean a horizontal line across the page, Word has no single universal shortcut for that: type three hyphens (---) on a blank line and press Enter to have AutoFormat turn them into a border, if that feature is enabled.
What “insert a line” can mean
The phrase can describe several different actions in a document, and the right keystroke depends on which one you want. A line break moves the next text to a new visual line while keeping it in the same paragraph. A new paragraph starts a separate paragraph, with its own paragraph formatting. A horizontal line is a rule separating parts of the page. A drawn line is a shape that can be positioned and formatted independently.
These distinctions matter because Word treats them differently. For example, pressing Enter may create extra spacing because the paragraph style adds space after each paragraph. Shift+Enter avoids creating a new paragraph, but it does not draw a rule. Typing hyphens and pressing Enter can create a rule, but that rule is usually a paragraph border rather than a movable shape.
- Text should continue on the next line in the same paragraph: press Shift+Enter.
- You want a separate paragraph: press Enter.
- You want a horizontal divider: type
---and press Enter, or use the ribbon. - You need a line you can position or resize: insert a line shape.
Insert a line break with Shift+Enter
On Word for Microsoft 365 on Windows, place the cursor where the next line should begin and press Shift+Enter. Word inserts a manual line break and moves the following text down, but the text remains part of the same paragraph. On a Mac, use Shift+Return; the Return key serves the same role as Enter on a Windows keyboard.
This is useful when a paragraph needs a controlled line break without the separation of a new paragraph. Common examples include an address, a poem, a short label, or a signature block. For instance, you can put a street address and city on separate lines while retaining one paragraph’s alignment and spacing settings. It can also help when a heading or short piece of text needs a deliberate break at a particular point.
A manual line break is not a promise that the text will stay at the same spot on the page. If you edit the text before it, change the font, or alter the page width, the content may reflow. The break remains, but the line’s position can shift. To see where Word has inserted breaks, turn on formatting marks with Ctrl+Shift+8 on Windows. On Mac, the corresponding shortcut is commonly Command+8. The manual line-break mark looks different from the paragraph mark that appears after Enter.
When Enter is the better choice
Press Enter when you intend to begin a new paragraph, such as the next sentence block in a report or the next item in ordinary prose. A new paragraph can have its own indentation, spacing, or style. That distinction is often helpful for editing and document structure, even when two paragraphs appear close together on screen.
If pressing Enter leaves too much space between lines, the issue may be paragraph spacing rather than a need for Shift+Enter. Select the relevant paragraphs and inspect the paragraph spacing controls on the Home tab, or change the paragraph style if the spacing is repeated throughout the document. Using Shift+Enter everywhere to work around paragraph spacing can make the document harder to edit and can interfere with features that work paragraph by paragraph, including some list and style formatting.
Enter also has different effects in different contexts. In a bulleted or numbered list, it normally creates another list item; pressing Enter twice at the end of an item usually ends the list. In a table, Enter inserts a new paragraph within the current cell rather than creating a new table row. Those behaviors are separate from the Shift+Enter line-break shortcut.
Create a horizontal line with three hyphens
To make a quick horizontal divider, start a new paragraph, type three hyphens in a row, and press Enter. In Word for Microsoft 365, AutoFormat As You Type can convert the hyphens into a horizontal border. The result is generally a bottom border applied to the paragraph above, not a separate line object. This is why clicking the line may not select it as a shape.
The three-hyphen method depends on Word’s AutoFormat setting being active. If Word leaves the hyphens as typed, open the AutoCorrect options and check whether the option for creating border lines as you type is enabled. In Windows Word, these options are available through File > Options > Proofing > AutoCorrect Options, under the AutoFormat As You Type tab. The wording and location can vary between Word releases and platforms. You can still add a border from the ribbon if automatic conversion is turned off or unavailable.
Other repeated characters may produce different border styles in Word when this AutoFormat feature is enabled. The exact appearance can depend on the characters and the version, so use the ribbon’s border controls when you need a predictable style. Do not confuse this conversion with a keyboard shortcut that inserts a graphic: Word is interpreting typed characters as an AutoFormat pattern.
Insert a horizontal line from the ribbon
For a rule that does not depend on typing a character pattern, use the paragraph border command. Place the cursor in the paragraph where you want the border, then choose Home > Paragraph > Borders and select the horizontal-border option available in your Word version. A paragraph border is usually the most convenient choice for a simple divider that should align with the text area and move along with the surrounding paragraph.
For more control over position, length, color, or endpoints, use a line shape instead. Choose Insert > Shapes, select a straight line from the Lines group, and drag across the page to draw it. Hold Shift while dragging if you want to constrain the line to a straight horizontal or vertical direction. After inserting it, select the shape to access drawing-formatting controls. Shape wrapping and anchoring can affect how it moves when nearby text changes, so check its layout settings if it shifts unexpectedly.
A paragraph border is generally preferable for a simple section divider in a document that will be edited frequently. A shape is useful for diagrams, callouts, or a line that needs to sit at a specific location independent of paragraph boundaries. The tradeoff is that a shape may require more attention to text wrapping and placement.
Change or remove a line
Because the three-hyphen method creates a paragraph border, deleting visible hyphens may not remove the resulting rule. To remove an automatic border, place the cursor in the paragraph immediately above the line, then go to Home > Paragraph > Borders and choose No Border. The border belongs to paragraph formatting, which is why selecting the apparent line itself may not work.
If you inserted a line as a shape, click the line to select it and press Delete or Backspace. If it is difficult to select, try clicking near its edge; in a busy layout, the Selection Pane can help you locate objects. If the line is part of a table border, select the relevant cell or cells and use the table border controls rather than the paragraph-border command.
When a line appears unexpectedly, check the paragraph above it first. A row of hyphens, underscores, or another repeated character sequence followed by Enter may have triggered AutoFormat. Pressing Ctrl+Z immediately after the conversion may undo it; on Mac, use Command+Z. If you keep undoing the line but it returns as soon as you type the same pattern, disable the border-line AutoFormat option or use a different method.
Common mistakes and practical tips
The most frequent mix-up is using Shift+Enter when a horizontal divider is wanted, or using Enter when the goal is only a line break. Decide whether the line is part of the text flow or a visual separator before choosing a command. If the content must remain one paragraph, Shift+Enter is the appropriate shortcut. If it needs a rule, choose a border or shape.
- Extra gap after Enter: inspect paragraph spacing or the paragraph style before replacing every Enter with Shift+Enter.
- Hyphens remain on screen: AutoFormat may be off; use the Borders command or enable border lines in AutoFormat As You Type.
- The rule is hard to select: it may be a paragraph border, not a shape. Put the cursor in the paragraph above it and adjust the border.
- The line moves when text changes: this is normal for a paragraph border; a shape has separate positioning and wrapping behavior.
- You need a new page, not a new line: use a page break, not Shift+Enter. On Windows, Ctrl+Enter inserts a page break.
For accessible, maintainable documents, use paragraph styles and borders consistently rather than spacing a divider into position with repeated spaces or hyphens. Repeated characters can wrap, change appearance with font substitutions, or create uneven results. A border or shape provides more reliable layout control.
Frequently Asked Questions
What is the shortcut for a line break in Word?
Press Shift+Enter on Windows. On Mac, press Shift+Return. This moves text to the next line while keeping it in the same paragraph.
How do I insert a horizontal line in Word with the keyboard?
Type three hyphens (---) in a new paragraph and press Enter. Word can convert them into a horizontal paragraph border if the relevant AutoFormat As You Type option is enabled. It is an AutoFormat action, not a dedicated line-insertion shortcut.
What is the difference between Enter and Shift+Enter?
Enter starts a new paragraph, while Shift+Enter inserts a line break inside the current paragraph. Paragraphs can have separate formatting and spacing; a manual line break does not create a separate paragraph.
Why does Word turn my hyphens into a line?
Word’s AutoFormat As You Type feature recognizes a row of repeated characters and changes it into a paragraph border when you press Enter. You can undo the conversion with Ctrl+Z on Windows or Command+Z on Mac, or turn off the border-line option in AutoCorrect settings.
How do I delete a horizontal line in Word?
If it is a border created by AutoFormat, put the cursor in the paragraph above it and select Home > Paragraph > Borders > No Border. If it is a drawn shape, select the shape itself and press Delete or Backspace.
Related
- Insert a Checked Checkbox in Word: 3 Simple Methods
- Insert a Circle Checkbox in Word: Symbols and Options
- Insert a Checkbox in Excel or Word
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- How to Insert a Line in Microsoft Word Online EasilyTo insert a line in Microsoft Word Online, open the document, choose Insert > Shapes, select a line…
- Google Sheets SUMIF: Syntax, Examples, and Common FixesTo add values in Google Sheets only when matching cells meet a condition, use SUMIF. For example, if…
- Best Way to Make a Booklet in Word: Layout and PrintingFor a printed, folded booklet, the best way is Word’s built-in Book fold layout: it arranges pages in…
- Custom Label Template in Word: Create and Save Your OwnTo create a custom label template in Microsoft Word, open Mailings > Labels, choose Options > New Label,…
- Google Sheets: Extract a Date from a TimestampTo extract the date from a timestamp in Google Sheets, use =INT(A2) when A2 contains a real date-time…
- How to Delete a Single Page in Word SafelyTo delete a single page in Word, click anywhere on it, press Ctrl+G on Windows (Option+Command+G on Mac),…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.