How to Draw a Vertical Line in Word | 5 Methods That Work

The quickest way to add a vertical line in Microsoft Word is to use Insert > Shapes > Line while holding Shift to keep it straight.

A vertical line can split a page, mark a margin, or separate ideas without breaking the reading flow. How to draw a vertical line in Word depends on what you need it for — a floating line anywhere on the page, a border attached to text, or a slim divider between columns. The five methods below work in current versions of Word for Windows and Mac.

Drawing a Vertical Line in Word — The Fastest Method

Inserting a Line shape while holding the Shift key is the most direct way to draw a vertical line anywhere in your document. Word gives you full control over length, thickness, and color after placement.

Go to Insert > Shapes and select the Line option. Click anywhere on the page, then drag in the direction you want the line to go. Hold the Shift key while dragging — this locks the line to perfectly vertical, horizontal, or 45-degree angles. Release the mouse button first, then the Shift key.

Click the line to select it, then use the Shape Format tab to adjust color, weight (thickness), and dash style. Microsoft’s support guidance for drawing vertical lines confirms this is the most direct method available.

What you’ll see: A straight vertical line appears where you drew it, with selection handles at both ends. If the line is angled, delete it and draw again while keeping Shift held for the entire drag.

Adding a Vertical Border to a Paragraph

If you want a vertical line that sits next to your text and moves with it, a paragraph border is the cleanest option. The line attaches to the left or right edge of a selected paragraph and reflows automatically when you edit the text.

Select the paragraph or text block. Go to Home > Borders (the square icon in the Paragraph group) and choose Left Border or Right Border. The line appears instantly.

For a thicker or colored border, open Borders and Shading from the same dropdown and adjust the width and color settings.

What you’ll see: A vertical line along the left or right side of the selected text. The line grows or shrinks as you add or remove text, keeping the same edge alignment.

How to Insert a Vertical Line Between Columns

When your document uses multiple columns, Word can add a vertical rule between them in one checkbox. This is the standard approach for newsletters, brochures, and multi-column reports.

Select the text that is in columns — or the section you want to format. Go to Layout > Columns > More Columns. Choose the number of columns, then check the box labeled Line between. Click OK.

What you’ll see: A vertical line appears between each pair of columns in the selected section, extending the full height of the column area.

A quick comparison of the main methods and what each is best for.

Method Best For Key Limitation
Insert > Shapes > Line + Shift Long vertical lines anywhere on the page Requires manual positioning; doesn’t move with text
Home > Borders > Left/Right Border Lines attached to paragraph edges Only works at the left or right edge of selected text
Layout > Columns > Line between Dividers between text columns Only appears when columns are active
Table with one side border Lines aligned precisely with table content Extra setup; easy to leave other borders on
Bar Tab Short inline dividers in tabbed text Only as tall as the text line; requires tab stops
Pipe character (|) Quick text-level separator Very short; not a drawable line
Text box with left/right border Positioned line that contains text More steps than other methods for a simple line

The Table Method for Precise Placement

A table with only one visible border gives you a vertical line that aligns exactly with your content. This works when you need the line to match the height of a specific text block or when other methods don’t give you the exact positioning you want.

Go to Insert > Table and insert a single cell or a simple table. Select the whole table, go to Table Design > Borders, and choose No Border to remove all borders. Then select the cell or column where you want the vertical line and add Left Border or Right Border from the same Borders menu.

What you’ll see: Only the side border you chose is visible — the rest of the table grid disappears, leaving a single vertical line that matches the cell height.

Using a Bar Tab for Inline Vertical Separators

The Bar tab inserts a short vertical line at a specific position on the ruler, useful for inline dividers in lists or tabbed text. It is less commonly used than the other methods but fast once you know where to find it.

Select the text where you want the vertical line. Open the Paragraph dialog launcher — the small arrow in the bottom-right corner of the Home > Paragraph group. Click Tabs at the bottom of the dialog. Under Alignment, select Bar. Set a tab stop position (the ruler measurement where the line should appear), click Set, then OK. Press the Tab key — a vertical bar appears at that position.

What you’ll see: A short vertical line at the tab stop position each time you press Tab. The line is as tall as the text line it sits in.

The Pipe Character for Quick Inline Dividers

On a standard U.S. keyboard, the pipe character | serves as a fast inline separator. It is not a drawn line — just a text symbol — so it works only for short, text-level dividers.

Type Shift + Backslash (the key above Enter on U.S. keyboards) to insert the | symbol. For non-U.S. keyboards, use Insert > Symbol or the Character Viewer to find the vertical bar.

What you’ll see: A single vertical bar character at the cursor position. It stays with the text and behaves like any other character when you edit the line.

Even with simple methods, a few missteps can produce the wrong result. Here is what to watch for.

Mistake Why It Happens The Fix
Line is at an angle Shift key was not held during the drag Delete the line and draw again, holding Shift for the entire drag
Full page border instead of paragraph line Design > Page Borders was used instead of Home > Borders Use Home > Borders > Left/Right Border on the selected paragraph
Table shows a full grid instead of one line Extra borders were not turned off first Remove all borders, then add only the side border you need
Line moves or disappears when text reflows A shape line was not anchored to the page Right-click the line, choose Wrap Text, and select a fixed option like “In Front of Text”
Columns line is missing “Line between” was not checked in the Columns dialog Reopen Layout > Columns > More Columns and check the box
Bar tab line appears in the wrong spot Tab stop position was not set correctly Open Tabs again, adjust the position, and press Tab at the right place
Pipe character shows as a different symbol Non-U.S. keyboard layout maps the key differently Use Insert > Symbol or copy the | character from another document

Which Method Should You Use?

Choose the best method by what you need the line to do.

  • Long free-floating line: Insert > Shapes > Line with Shift held — the most flexible option.
  • Line that stays glued to your text: Home > Borders > Left or Right Border — reflows automatically.
  • Divider between columns: Layout > Columns > Line between — one checkbox.
  • Line aligned with table content: Table with one side border — precise height matching.
  • Short inline separator: Bar tab or pipe character — fast and unobtrusive.

References & Sources