The simplest way to add a line in Word
The fastest way to add a line in a Word document is to type three hyphens in a row, then press Enter. Word automatically converts --- into a solid horizontal line that spans the width of your page. This works in all recent versions of Word on Windows and Mac, and the line appears on its own paragraph.
If you need the line to appear in a specific spot — between two sections of text, under a heading, or above a signature — just position your cursor where you want it, type the three hyphens, and press Enter. Word creates the line when ready without opening any menus or dialog boxes.
This method works because Word has built-in shortcuts for common formatting tasks. The three-hyphen trick is one of the most reliable, and it produces a clean, professional-looking line every time.
Key Takeaways
- Type three hyphens (---) and press Enter to create a line that spans your page width automatically.
- The Insert menu offers a Shapes tool where you can draw lines of any length, angle, or thickness if you need more control.
- Borders applied to a paragraph create lines above, below, or around text without adding extra space to your document.
- Table cells can hold lines if you need text to appear on top of a line, such as for signature blocks or fill-in forms.
- Deleting a line created with hyphens requires selecting the entire line and pressing Delete, not just backspacing once.
Using the Insert menu for custom lines
When the three-hyphen shortcut does not give you what you need, the Insert menu offers more control. Open the Insert tab at the top of Word, then look for Shapes. Click the dropdown arrow next to Shapes and select Line from the list. Your cursor changes to a crosshair, and you can now click and drag to draw a line anywhere on the page at any angle.
This method lets you make lines shorter or longer than the page width, angle them, or place them in the middle of text. After you draw the line, you can right-click it to change its color, thickness, or style — solid, dashed, dotted, or other patterns. You can also move the line by clicking and dragging it to a new position.
The downside is that custom lines take more steps and can shift if you edit the text around them. For most documents, the three-hyphen method is faster and stays in place better.
Adding lines with paragraph borders
A paragraph border creates a line attached to a specific block of text rather than floating on its own. This is useful when you want a line to stay with a heading, a signature block, or a section of text no matter how much you edit the document.
To add a border, select the paragraph you want a line under (or above, or around). Go to the Home tab, find the Borders button — it looks like a small square with lines around it — and click the dropdown arrow next to it. Choose the border style you want: a line below the paragraph, above it, on all four sides, or just on the left. Word applies the border when ready and the line moves with the text if you add or delete words.
Borders are also the right choice when you want a line to appear only under certain paragraphs, not across the entire page. A signature line with a border stays attached to the name printed above it, whereas a line created with hyphens sits on its own paragraph.
Creating lines in tables for forms and signatures
If you are building a form where people write on lines — a signature block, a fill-in-the-blank section, or a checklist — a table gives you the most control. Insert a table with one row and one column, then type your label (like "Signature:") in the cell above or to the left. The cell itself becomes the line where someone writes.
To insert a table, go to the Insert tab and click Table. Choose how many rows and columns you need. A straightforward signature block needs two columns: one narrow column for the label and one wider column for the line. Type the label in the left cell, then leave the right cell empty or add a bottom border to create the line.
Tables keep lines and text aligned even when the document is printed or shared with others. This is why most official forms use tables instead of loose lines — they are predictable and do not shift when someone opens the file on a different computer.
Removing lines you no longer need
If you created a line with three hyphens and want to delete it, you cannot straightforward backspace once. You must select the entire line — click at the beginning of the hyphen row and drag to the end, or triple-click to select the whole paragraph — then press Delete. This removes the hyphens and the line disappears.
For lines created with Shapes, click the line once to select it (you will see small handles at each end), then press Delete. The line vanishes when ready.
To remove a border from a paragraph, select the paragraph, open the Borders dropdown again, and choose No Border. The line disappears but the text stays in place.
When lines break across pages
A line created with three hyphens stays on one page. If you have a long document and the line falls near the bottom of a page, Word keeps the entire line together and moves it to the next page if necessary, rather than splitting it.
Custom lines drawn with Shapes can break across pages if they are very long or angled. If this happens and you do not want it, delete the line and use the three-hyphen method instead, which is designed to stay on one page.
Paragraph borders always stay with their paragraph, so they move to the next page if the text moves. This is one reason borders are more reliable for documents that change frequently.
Frequently Asked Questions
Why does Word turn my three hyphens into a line automatically?
Word has built-in formatting rules that convert certain character combinations into symbols or lines. Three hyphens in a row is one of these shortcuts — Word recognizes the pattern and replaces it with a formatted line. You can undo this by pressing Ctrl+Z (or Cmd+Z on Mac) when ready after if you did not want the line.
Can I make a line a different color?
Lines created with the three-hyphen method are black and cannot be recolored without deleting and redrawing them. Lines created with Shapes can be any color — right-click the line, choose Format Shape or Line Color, and pick a new color. Borders can also be colored by selecting the paragraph, opening the Borders dropdown, and choosing Borders and Shading to set a color.
How do I make a line shorter than the page width?
The three-hyphen method always spans the full width. To make a shorter line, use Shapes instead — go to Insert, Shapes, Line, and draw it to the length you want. Alternatively, place the line inside a table cell, which constrains it to the cell width.
What if my line disappears when I print the document?
Lines created with Shapes sometimes do not print if they are set to a very light color or thin weight. Right-click the line, check its color and thickness settings, and make sure they are dark and visible enough. Lines created with hyphens or borders almost always print correctly because they are part of the document formatting, not floating objects.
Can I add a line in the middle of a sentence?
Not with the three-hyphen method — that always creates a full paragraph. To add a line in the middle of text, use Shapes to draw a short line, or use a table with the line in one cell and text in another. Borders only work on entire paragraphs, not on parts of a sentence.