The fastest way to add a vertical line in Word

You can add a vertical line in Word in three ways: insert a table with one column, draw a line using the drawing tools, or use a special character. The table method is fastest if you need the line to stay in a fixed position. The drawing tool gives you the most control over placement and thickness. The special character method works if you only need a short line within text.

Which method you choose depends on what you're doing with the line. If you're dividing a page into sections or creating a two-column layout, a table works best. If you're adding a decorative line or marking a specific spot on the page, the drawing tool is simpler. If you're adding a line within a paragraph or as a bullet point, the special character is quickest.

Key Takeaways

  • A single-column table is the easiest way to create a vertical line that stays in place and spans multiple lines of text.
  • The drawing tool (Insert > Shapes > Line) lets you draw a vertical line anywhere on the page and adjust its thickness and color.
  • You can insert a vertical line character directly into text using Insert > Special Character and searching for "vertical line" or "pipe".
  • Table borders can be hidden on all sides except the middle, creating a clean vertical divider between two sections of content.

Creating a vertical line with a table

This method works best when you want a line that runs down the page and stays aligned with your text. Open your document and place your cursor where you want the line to start. Go to the Insert tab at the top, then click Table. Select a table with 3 columns and as many rows as you need (you can add more rows later). Click to insert it.

Now you'll hide the borders on the left and right columns, leaving only the middle column visible as a line. Click inside the table to select it. Go to Design (the tab that appears when a table is selected), then click Borders. Choose Borders and Shading. In the dialog box, set the border style to None to remove all borders first. Then go back to Borders and choose Borders and Shading again. This time, under Presets, choose Custom. Click only the middle vertical lines to add borders there. Click OK.

You now have a vertical line in the middle column. Type your left-side content in the left column and right-side content in the right column. The middle column stays empty and acts as your divider. If you want to adjust the line thickness, go back to Borders and Shading, change the Width setting under Style, and reapply it to the middle borders.

Drawing a vertical line with the drawing tool

The drawing tool gives you freedom to place a line anywhere on your page without affecting your text layout. Go to the Insert tab and click Shapes. Scroll down and select Line (the straight line option, not an arrow). Your cursor will change to a crosshair.

Click at the point where you want the line to start, then hold Shift and click where you want it to end. Holding Shift makes the line perfectly vertical. If you don't hold Shift, the line may angle slightly. Once the line is drawn, you can click it to select it and adjust its properties. Right-click the line and choose Format Shape. Here you can change the color, thickness (called Width), and style (solid, dashed, dotted).

To move the line after you've drawn it, click it and drag it to a new position. To delete it, click it and press Delete. If you want the line to stay behind your text rather than on top of it, right-click it, choose Wrap Text, and select Behind Text.

Inserting a vertical line character

If you need a short vertical line within a sentence or as part of a list, you can insert a special character. Place your cursor where you want the line to appear. Go to the Insert tab and click Special Character (in some versions of Word, this is under Insert > Symbol). A dialog box will open.

In the search box, type "vertical line" or "pipe". The pipe character (|) will appear in the results. Click it and then click Insert. The character will appear in your document at the cursor position. You can adjust its size by selecting it and changing the font size, or change its color by selecting it and using the font color tool. This method works well for creating separators between items in a list or dividing information in a table cell.

Adjusting line appearance and position

Once your line is in place, you may want to change how it looks. For lines created with the drawing tool, right-click the line and choose Format Shape. Under Line, you can change the color by clicking the color dropdown. You can make the line thicker by increasing the Width value. You can also change the line style to dashed, dotted, or other patterns.

For lines created with a table, the appearance is controlled through Borders and Shading. Click inside the table, go to Design, then Borders > Borders and Shading. Change the Color and Width settings, then reapply the border to the middle column. For special characters, select the character and use the font color and font size tools in the toolbar to adjust it.

If your line needs to move or resize, the method depends on how you created it. Drawing tool lines can be dragged and resized by clicking and dragging the handles at the ends. Table lines move with the table itself — you can move the entire table by clicking its edge and dragging. Special characters move with the text around them, so they'll shift if you add or delete text before them.

Troubleshooting common line problems

If your line is not showing up, check that it's not hidden behind text. For drawn lines, right-click it and go to Wrap Text. Make sure it's set to In Front of Text or Behind Text — not Through. If the line is very faint, it may be set to a light color or very thin width. Right-click it and check the color and width settings.

If a table line is not visible, make sure you applied the border correctly. Go back to Borders and Shading and verify that the middle column has a border applied. If the border is there but still faint, increase the width. If your special character line looks wrong, it may be in a font that doesn't display it clearly. Select it and try changing the font to Arial or Calibri.

If your line is in the way of your text or making the document hard to read, consider using a lighter color or thinner width. You can also move it to the side of the page or use it only in specific sections rather than throughout the entire document. Remember that lines created with tables will affect how text flows, so test your layout before finalizing it.

Frequently Asked Questions

Can I make a vertical line span only part of the page?

Yes. If you use the drawing tool, draw the line only as long as you need it. If you use a table, you can set the number of rows to match the length you want. For a special character, it will only appear where you insert it, so it naturally spans just that one line of text.

How do I make a vertical line that goes through multiple pages?

A table is your best option. Create a table with enough rows to cover the pages you need, and Word will automatically continue it across page breaks. A drawn line will not cross page breaks, so it will only appear on the page where you drew it.

Can I change the color of a vertical line after I create it?

Yes. For drawn lines, right-click the line and choose Format Shape, then change the color under Line. For table borders, go to Borders and Shading and change the color setting. For special characters, select the character and use the font color tool in the toolbar.

What's the difference between a vertical line and a page border?

A page border runs around the entire edge of the page. A vertical line is a single line that you place where you need it. If you want a border on just one side of the page, use the drawing tool or a table instead of the page border feature.

Why does my drawn line look crooked?

You probably didn't hold Shift while drawing it. When you draw a line in Word, holding Shift constrains it to be perfectly vertical or horizontal. If you draw without Shift, the line may angle slightly. Delete the line and draw it again, this time holding Shift from start to finish.