How to Put Lines on a Word Document: Every Method Explained
Adding lines to a Word document sounds simple — and often it is. But "lines" can mean several different things depending on what you're actually trying to do. A horizontal divider between sections, ruled lines for a printable form, a border around a page, or an underline on a blank field all require different approaches. Knowing which method applies to your situation saves a lot of frustration.
What Kind of Line Do You Actually Need?
Before jumping into steps, it helps to identify the line type you're after:
| Line Type | Common Use Case |
|---|---|
| Horizontal rule | Dividing sections of a document |
| Underline on text | Emphasizing words or phrases |
| Blank underline | Fill-in-the-blank forms and worksheets |
| Ruled lines | Handwriting practice sheets or lined paper |
| Page border | Formal documents, certificates |
| Table border | Structured data layouts |
Each of these is inserted differently in Microsoft Word, and the right method depends on your version of Word (desktop vs. web), your operating system, and the document's purpose.
Method 1: The AutoFormat Shortcut for Horizontal Lines
The fastest way to drop a horizontal line across the page is to use Word's AutoFormat feature. On a blank line, type three hyphens (---) and press Enter. Word automatically converts this into a full-width horizontal rule.
Other AutoFormat shortcuts:
- === + Enter → Double line
- *** + Enter → Dotted line
- ___ + Enter → Bold line
- ~~~ + Enter → Wavy line
- ### + Enter → Triple line with thick center
⚠️ This only works if AutoCorrect/AutoFormat As You Type is enabled. If nothing happens when you press Enter, check File → Options → Proofing → AutoCorrect Options → AutoFormat As You Type and make sure "Border lines" is checked.
These lines are actually paragraph borders applied to the line above — not standalone objects — which matters if you later try to delete or reposition them.
Method 2: Insert a Line Using the Shapes Tool
For more control over placement, length, and style, use Insert → Shapes → Line. Click and drag to draw the line anywhere on the page. Hold Shift while dragging to keep it perfectly horizontal or vertical.
Once drawn, you can:
- Change color, weight, and dash style from the Shape Format tab
- Set exact position and size by right-clicking → Format Shape
- Anchor it to text or the page, which affects how it moves when you edit content
This method is especially useful for headers, footers, or design elements where precise positioning matters. The trade-off is that floating shapes can behave unpredictably when text around them is edited.
Method 3: Paragraph Borders for In-Line Horizontal Rules
If you want a line that flows naturally with your text (rather than floating on top of it), a paragraph border is the cleaner solution.
- Click into the paragraph where you want the line to appear below
- Go to Home → Paragraph → Borders dropdown (the small arrow next to the border icon)
- Select Bottom Border
This places a line under that paragraph that stretches to the text margins — similar to the AutoFormat shortcut but with more style options. You can adjust the line's color, weight, and style via Borders and Shading in the same menu.
Method 4: Adding Underlines to Text or Blank Spaces
Underlining existing text is straightforward: select it and press Ctrl + U (Windows) or Cmd + U (Mac). You can also choose underline styles — single, double, dotted, wavy — from the Home → Font dialog.
For blank fill-in lines on a form, the approach differs. Simply pressing the underline key and hitting the spacebar doesn't create a reliable result across different printers and screen sizes. More stable options:
- Tab stops with underline leader: Set a right-aligned tab stop, then format that tab character with an underline
- Underscore characters: Type a series of underscores (_____) — quick but not always consistent
- Table with no visible borders except bottom: Insert a one-row, one-column table and remove all borders except the bottom one for a clean, stable line
🖊️ For professional forms intended for printing or digital distribution, the table method generally produces the most consistent results across devices.
Method 5: Ruled Lines Across a Full Page
If you're creating lined paper, a handwriting worksheet, or a notes template, you'll want repeating horizontal lines across the entire page. There's no single built-in tool for this in Word, but a common workaround is:
- Insert a table with one column and multiple rows, then remove all borders except the bottom of each cell
- Use the line spacing trick: Set a paragraph to a specific line height, add a bottom border, then repeat it with a macro or manual copy-paste
The table approach is more beginner-friendly. The spacing consistency and margin alignment will depend on how carefully you set up column width and row height.
Method 6: Page Borders
For a border that runs around the entire page, go to Design → Page Borders (in newer versions of Word) or Page Layout → Page Borders. This opens a dialog where you can choose box, shadow, or 3D border styles, apply them to the whole document or individual sections, and adjust spacing from the page edge.
Page borders apply to the document structure itself — not to individual paragraphs or objects — so they behave differently from drawn shapes or paragraph rules.
Variables That Change Which Method Works Best
Several factors affect which approach is most practical for your situation:
- Word version: The ribbon layout and available features differ between Word 2016, 2019, Microsoft 365, and Word for the Web. Some AutoFormat behaviors and border options vary across versions.
- Desktop vs. web: Word for the Web (browser-based) has a more limited feature set — some border and shape options found in the desktop app aren't available.
- Mac vs. Windows: Keyboard shortcuts differ, and some dialog box layouts look different on macOS.
- Document purpose: A printed form, a shared digital document, and a professional report each call for different line techniques. What looks clean on screen may not print as expected.
- Editing by others: Floating shapes can shift when someone else edits the document on a different screen size or Word version. Paragraph borders and table-based lines tend to be more stable in shared documents.
The "right" method isn't just about what inserts a line — it's about which line behaves the way you need it to, given how the document will be used and who else might open it.