The quickest way to add a line
Open Microsoft Word and go to the Insert tab at the top of the screen. Click Shapes, then select the straight line tool — it looks like a diagonal line and is usually near the top left of the shapes menu. Click and drag on your document where you want the line to appear.
This method works in Word for Windows, Word for Mac, and Word Online. The line appears as an object you can move, resize, or delete by clicking it and pressing Delete. You can change its color, thickness, and style by right-clicking the line and selecting Format Shape.
Key Takeaways
- The Insert tab contains a Shapes menu with a straight line tool that you can click and drag onto your document.
- Horizontal lines are often used to separate sections, create forms, or add visual breaks between paragraphs.
- You can adjust line color, thickness, and style by right-clicking the line and opening Format Shape.
- A line inserted as a shape is an object that sits on top of your text, so you may need to adjust text wrapping if it overlaps words.
When to use lines instead of other dividers
A line works better than a paragraph break or extra space when you want a visible, professional-looking separator. Lines are common in forms, invoices, resumes, and documents where you need to guide the reader's eye or create distinct sections.
If you only need to separate paragraphs visually, a blank line or a paragraph border may be simpler — borders are part of the paragraph formatting and move with your text. Lines inserted as shapes stay in a fixed position on the page, which is useful when you are designing a form or template that will not change.
Adjusting line appearance and position
After you insert a line, click it once to select it. Small squares appear at the ends and middle of the line. Drag these squares to resize or rotate the line. Drag the line itself to move it to a different location on the page.
To change how the line looks, right-click it and select Format Shape. A panel opens on the right side of the screen. Under Line, you can change the color by clicking the color box, adjust thickness using the width slider, and choose a style — solid, dashed, dotted, or other patterns. Some styles have names like "Dash" or "Long Dash Dot".
Handling text that overlaps your line
When you insert a line as a shape, it floats on top of your text by default. If the line covers words, you need to adjust how text wraps around it. Right-click the line and select Wrap Text, then choose an option. Square makes text flow around the line's rectangular boundary. Through lets text flow behind the line. Top and Bottom pushes text above and below the line.
For most documents, Top and Bottom is the cleanest choice — it keeps the line separate from your text and prevents overlap. If you want the line to sit between paragraphs without affecting text flow, you can also press Enter to add space above the line, moving it down the page.
Using a horizontal line for a page break effect
A full-width horizontal line can visually separate sections of a document without creating an actual page break. Insert the line, then drag it to span the full width of your text area. Make it thin — usually 1 to 2 points thick — so it does not dominate the page.
This technique is common in newsletters, reports, and multi-section documents where you want readers to see a visual pause but keep reading on the same page. You can copy the line by selecting it, pressing Ctrl+C (or Cmd+C on Mac), then pasting it multiple times throughout your document.
Creating a form with lines for writing
If you are building a form or template where people write answers on lines, insert short horizontal lines and position them where you want responses. Make them slightly thicker than a decorative line — 2 to 3 points — so they are visible when printed or filled in by hand.
Space the lines evenly by inserting one, copying it, and pasting it multiple times. Adjust the position of each copy by dragging it down. You can also add a label above each line using a text box, then align the text box and line together. Select both by holding Shift and clicking each one, then right-click and choose Align to line them up.
Frequently Asked Questions
Can I make a vertical line instead of horizontal?
Yes. Insert the line the same way, then drag one of the corner squares to rotate it. You can also hold Shift while dragging to constrain the line to 15-degree angles, making it easier to create perfectly vertical or horizontal lines.
Why does my line disappear when I print?
The line color may be set to white or very light gray. Right-click the line, select Format Shape, and under Line, choose a darker color like black or dark blue. Check the preview before printing to make sure it shows up.
Can I insert a line without using the Insert menu?
In Word Online, the Insert menu is your main option. In Word for Windows and Mac, you can also use the drawing tools — look for a pen or pencil icon in the toolbar — but the Shapes menu is faster for a straight line.
How do I delete a line I no longer want?
Click the line once to select it, then press Delete. If the line does not select, make sure you are clicking directly on it — sometimes text or other objects can be in the way. Click and drag to select the line if a single click does not work.
Can I group a line with text so they move together?
Yes. Select the line, then hold Shift and click the text box or shape you want to group it with. Right-click and select Group. Now the line and text move as one object. To ungroup later, right-click and select Ungroup.