To insert a line across the page in Word, click in a blank paragraph, then choose Home > Paragraph > Borders ▼ > Bottom Border. Word adds a horizontal border across the paragraph area, between the page margins. For a line you can move or resize independently, use Insert > Shapes > Line instead. The border method is usually best for a simple divider; the shape method is better when you need precise placement.
Before you start, decide whether the line should behave like part of the text or like a separate drawing object. A paragraph border moves with its paragraph and stays aligned to the text area. A shape can be positioned and styled more freely, but may overlap text or shift as the document changes.
What You’ll Need
- Microsoft Word for Microsoft 365 on Windows, or a recent desktop version of Word. The ribbon labels may vary slightly in older versions.
- A document with a place where you want the line to appear. Save a copy first if you are editing an important document, especially if it has complex formatting.
- Optional: know whether the line should span the text area, sit under a heading, or be a movable graphic. This determines which method to use.
Step-by-Step
- Place the cursor where the line should go. Click at the start of a new, empty paragraph. If the line should separate two paragraphs, click at the end of the first paragraph and press Enter to create a blank paragraph between them. A border is applied to a paragraph, so clicking somewhere in a sentence can put the line in an unexpected place. If you want a divider directly below a heading, create an empty paragraph immediately after the heading.
- Use a bottom border for a standard full-width divider. On Windows, open the Home tab. In the Paragraph group, click the small arrow beside the Borders button. Choose Bottom Border. The line appears along the bottom of the paragraph and normally spans the usable text width between the left and right margins. If the paragraph contains text, the border runs beneath that paragraph; using an empty paragraph gives you a cleaner standalone divider.
- Check which paragraph received the border. Click in the paragraph above and below the line if needed. Word indicates the active paragraph by the cursor position, not by selecting the visible line. If it is attached to the wrong paragraph, click in that paragraph, open the Borders menu, and choose No Border to remove it. Then put the cursor in the intended paragraph and apply Bottom Border again.
- Adjust the space around the line. A paragraph border sits at the edge of its paragraph; it is not an independent object that you can drag. To add breathing room, place the cursor in the paragraph carrying the line, then use Home > Paragraph and open the Paragraph dialog launcher (the small arrow in the group). Adjust Spacing Before or Spacing After in the dialog. Use small values and check the result in Print Layout so the divider does not look detached from the text.
- Change the border’s appearance if required. Open the Borders menu again and select Borders and Shading. In the dialog, use the border settings to choose a line style, color, and width, and confirm that the preview shows the bottom edge rather than all four edges. Apply the setting to the paragraph, then choose OK. The exact dialog arrangement can differ a little by Word release, but the preview helps you confirm which side will be drawn.
- Use Word’s Horizontal Line command when available. Click in the paragraph where you want the divider, open Home > Paragraph > Borders, and choose Horizontal Line if it appears in the menu. This inserts a horizontal line element that can have its own formatting controls. Right-click the inserted line to look for Format Horizontal Line or related formatting options. This command is not shown in every Word interface; use a bottom border if it is missing.
- Draw a line when you need exact placement. Choose Insert > Shapes, then select the straight line under the Lines section. Click and drag across the page to draw it. Hold Shift while dragging to keep the line horizontal. Select the line to reveal the shape-formatting tab, where you can change its color, weight, or dash style. Drag an endpoint to change its length. A drawn line is a shape, so it can be moved independently and may need its wrapping or position adjusted if nearby text changes.
- Save and review the page. Look at the divider in Print Layout and, if the document will be printed or shared as a PDF, check the page at the intended size. Confirm that the line is not too close to a heading, does not cross any text, and has not caused an unwanted blank page. Save the document after you are satisfied.
On Word for Mac: The paragraph-border option is also on the Home tab in the Paragraph group; open the Borders menu and choose Bottom Border. To draw a shape, use Insert > Shapes and choose a line. Ribbon layout and some dialog labels can differ from Windows. In Word for the web, look on the Home tab for paragraph borders; if a border style or shape command is unavailable in your browser version, open the document in the desktop app for those controls.
Common Mistakes
- Typing hyphens when you want a controllable line. In many desktop Word configurations, typing three hyphens on a blank line and pressing Enter triggers automatic border formatting. It can be convenient, but the result is a paragraph border, not a row of editable hyphens. AutoFormat settings can also prevent the conversion. Use the Borders menu when you want a deliberate, predictable result.
- Applying the border to the wrong paragraph. Word applies paragraph borders based on where the insertion point is. If you click at the end of a heading, the border may become part of the heading paragraph rather than a separate divider. Create an empty paragraph at the desired position and click inside it first.
- Choosing All Borders instead of Bottom Border. All Borders can draw a box around a paragraph or add extra edges, which is not the same as one horizontal rule. Open the menu and verify that you chose Bottom Border. If a box appears, remove the borders and apply the single bottom edge.
- Expecting a paragraph border to drag like a shape. A border is tied to paragraph formatting, so dragging it will not reposition it. Use paragraph spacing or margins to alter its location, or insert a line shape if you need free positioning.
- Using repeated underscores or spaces. These characters can wrap, change length with the font, or look uneven when the document is opened on another computer. A border or shape gives you a more consistent divider.
Tips
- Use a bottom border for section breaks in reports, forms, and letters. It normally adjusts to the text area’s width when page margins change, which makes it more robust than a manually sized line shape.
- Keep the line in a dedicated empty paragraph when it should sit between two sections. That makes it easier to remove or adjust without changing the wording above or below it.
- For a shorter rule under a heading, a paragraph bottom border may still span the full text width. If you need a genuinely short line, insert a shape and set its position and length, or use a table cell border when the divider belongs inside a structured layout.
- Use a restrained line weight and color so the divider separates content without competing with headings. Check contrast on screen and in print, especially if you choose a pale color.
- Turn on formatting marks with Home > Paragraph > Show/Hide ¶ if you are unsure which paragraph contains the border. The paragraph mark reveals the blank paragraph associated with the line.
Troubleshooting
The line does not appear: Confirm that the cursor is in the intended paragraph and that you selected Bottom Border, not a different border option. Make sure the line color is not white or extremely faint. If you used the three-hyphen shortcut, automatic border formatting may be disabled; use the ribbon command instead. If the document is in a restricted editing mode, check whether editing is allowed.
The line is too short or too long: A paragraph border follows the paragraph’s available width, indentation, and page margins. Check for a left or right paragraph indent under Home > Paragraph, and review the page margins under Layout > Margins. If the line should have a custom length that does not follow the text area, use a line shape and adjust its endpoints.
The line is in the wrong place or appears twice: A nearby paragraph may also have a border, or the border may be attached to the paragraph above rather than the blank one. Click in each affected paragraph and use the Borders menu to select No Border where needed. Then add one border to the correct paragraph. Show formatting marks to identify paragraph breaks and remove any extra empty paragraphs.
The line moves when text changes: That is normal for a paragraph border because it belongs to the paragraph. Keep it with the text if it is a section divider. If it must stay at a fixed visual position, use a shape and set its text wrapping or position from the shape-formatting options. Recheck the layout after editing because a floating shape can overlap content or move relative to the page.
Frequently Asked Questions
How do I insert a line across the entire page?
Put the cursor in a blank paragraph and choose Home > Paragraph > Borders > Bottom Border. The line normally reaches across the text area, from one page margin to the other, rather than into the margins.
How do I make the line thicker or change its color?
Open the Borders menu, choose Borders and Shading, and set the line style, color, and width. Check the preview to ensure only the bottom edge is selected, then apply the change to the paragraph.
Can I insert a line with the keyboard?
On many desktop installations, typing three hyphens in an empty paragraph and pressing Enter creates a horizontal paragraph border. If it does not, use the Borders menu; the automatic-format setting may be off. The keyboard method does not create a freely movable shape.
How do I remove a line I inserted?
Click in the paragraph immediately above the line and open Home > Paragraph > Borders, then choose No Border. If it is a drawn shape, click its edge to select it and press Delete.
Why does my line stop at the paragraph indent?
A paragraph border respects the paragraph’s indentation and the page’s text area. Remove or reduce the paragraph indent if you want it to extend farther. To cross a custom distance, draw a shape and position it as needed.
Related
- How to Insert Bullet Points in Excel
- How to Insert a Check Mark in Excel in 4 Easy Ways
- How to Insert an Image in an Excel Cell and Keep It in Place
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Custom Sort in Google Sheets: Steps, Rules, and ExamplesTo custom-sort Google Sheets data, select the full table, choose Data > Sort range > Advanced range sorting…
- How to Add a Custom Slide Number in PowerPointTo add a custom slide number in PowerPoint, turn on the slide-number field with Insert > Header &…
- How to Group Rows in Excel and Hide ThemTo group rows in Excel and hide them, select the detail rows, choose Data > Outline > Group,…
- Return Unique Values in Google Sheets: Formulas & TipsTo return each distinct value from a column in Google Sheets, enter =UNIQUE(A2:A) in an empty cell, replacing…
- Monthly Budget Tracker Template for Google Sheets?A monthly budget tracker template for Google Sheets can be built from a transaction log, a monthly category…
- Merge Cells in Google Sheets: Formula vs. Menu OptionNo Google Sheets formula can merge cells in the spreadsheet layout. To combine the contents of cells in…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.