The quickest ways to add lines in Word
You can add lines to a Word document in three main ways: by inserting a shape, by using the borders feature on a paragraph, or by typing characters that Word converts automatically. The method you choose depends on what you need the line for — a decorative line across the page, a line under text, or a line to write on.
Each approach takes less than a minute and requires no special skills. The shapes method gives you the most control over placement and appearance. The borders method works best when you want a line attached to specific text. The character method is fastest for simple underlines.
Key Takeaways
- Insert a line as a shape by going to Insert > Shapes, choosing a line, and drawing it where you want it on the page.
- Add a line under text by selecting the text, opening the Borders menu under the Home tab, and choosing the bottom border option.
- Create a full-page line by typing three hyphens or equal signs in a row and pressing Enter, which Word converts automatically.
- Adjust line color, thickness, and style after inserting by right-clicking the line and selecting format options.
- Use lines to separate sections, create fill-in blanks on forms, or add visual breaks between paragraphs.
Adding a line using shapes
The shapes method gives you the most flexibility. Open your Word document and click the Insert tab at the top. In the ribbon, find and click Shapes. A dropdown menu appears with shape categories. Look for Lines at the top of the menu and click it to see line options.
Select the line style you want — a straight line is the most common choice. Your cursor changes to a crosshair. Click and drag on your document where you want the line to appear. Release the mouse when the line reaches the length you want. The line appears on the page, and a Drawing Tools tab opens automatically in the ribbon, letting you change the color, thickness, and style.
To move the line after you've drawn it, click it once to select it, then drag it to a new position. To delete it, click it and press Delete. To make it longer or shorter, click it and drag one of the small squares at either end.
Adding a line under text using borders
If you want a line directly under specific text — like a heading or a signature line — use the borders feature. Select the text or paragraph you want the line under by clicking and dragging across it. If you want a line with no text above it, just click where you want the line to start.
Go to the Home tab in the ribbon. Look for the Borders button — it looks like a small square with lines around it. Click the small arrow next to it to open a dropdown menu. Choose Borders and Shading at the bottom of the menu. A dialog box opens.
In the dialog, look for the Presets section. Click Bottom Border to add a line only under your text. You can also choose the line style and color from the options in this dialog before clicking OK. The line appears under your text and stays attached to it if you edit or move the text later.
Creating automatic lines with keyboard shortcuts
Word can convert certain keyboard characters into full-page lines automatically. Type three hyphens in a row (---) on a blank line and press Enter. Word converts this into a thin horizontal line that stretches across the page. Type three equal signs (===) instead to create a thicker line. Type three underscores (___) for a different style.
This method is the fastest for simple dividers between sections. The line is treated as a paragraph, so you can click it and delete it like any other text if you change your mind. You cannot easily resize or reposition it the way you can with shapes, but you can change its appearance by selecting it and using the Borders menu.
Changing line color, thickness, and style
After you insert a line using shapes, right-click it to see formatting options. Click Format Shape or Format Line depending on your Word version. A panel opens on the right side of the screen with options for line color, width, and dash style.
Under Line, you can click the color box to choose a new color from the palette. Use the Width slider to make the line thicker or thinner. Under Dash type, you can change from a solid line to dashed, dotted, or other patterns. These changes apply immediately, so you can see how they look as you adjust them.
For lines created with borders, select the text again, open the Borders menu, and choose Borders and Shading. In the dialog, you can change the line style from the Style list, pick a color from the Color dropdown, and adjust the width under Width. Click OK to apply the changes.
Using lines for forms and fill-in blanks
Lines are useful when you're creating a form or document that others will print and write on. To create a signature line, type the text "Signature: " and then add a line next to it using the shapes method or the borders method. Make the line long enough for someone to write on — usually two to three inches.
For multiple fill-in blanks, type your label (like "Name: "), then insert a line, press Enter, and repeat. You can also create a table with one column and multiple rows, then add a bottom border to each cell to create evenly spaced lines. This approach keeps the lines aligned and makes the form look more professional.
If you're creating a form that people will fill out on screen rather than print, consider using text boxes or form fields instead of lines. These let people type directly into the document without needing to print it first.
Troubleshooting common line problems
If a line you drew with shapes is hard to see, it may be too thin or too light in color. Right-click it and open Format Shape to increase the width and choose a darker color. If a line created with hyphens or equal signs didn't convert automatically, make sure you typed exactly three characters on a blank line with nothing else, then pressed Enter.
If a line moves when you edit text above or below it, it's likely a border attached to a paragraph rather than a shape. Borders move with their text. If you want a line that stays in one place, use the shapes method instead. If a line appears in the wrong position after you move text around, click it and drag it to the correct spot, or delete it and insert a new one.
Frequently Asked Questions
Can I make a line diagonal or curved?
Yes, but only with the shapes method. When you click Shapes, look for options beyond straight lines — you'll see curved lines and connectors. Select the curve or connector, then draw it on your page. Diagonal lines are straight lines drawn at an angle. The borders method only creates horizontal lines under text.
How do I add a line to every page of my document?
Use the header or footer area. Go to Insert > Header and Footer, then choose Header or Footer. Draw your line in that area using shapes. It will appear on every page automatically. Alternatively, add the line to the first page, copy it, then paste it on each subsequent page.
What's the difference between a shape line and a border line?
Shape lines are independent objects you can move and resize freely. Border lines are attached to text or paragraphs and move with them. Use shapes for decorative lines or lines in specific positions. Use borders when you want a line to stay connected to text, like under a heading or signature line.
Can I make a line thicker than the maximum width shown?
The width options in Word have practical limits, but you can work around this by inserting a rectangle shape instead and making it very thin and tall. Right-click the rectangle, choose Format Shape, and adjust the height and width to create a thick line effect.
Why did my automatic line disappear when I added text above it?
Automatic lines created with hyphens or equal signs are treated as paragraphs. If you click above the line and start typing, your text pushes the line down. Click directly on the line itself to position your cursor there, or press the up arrow key to move back to the line before typing.