Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Add a Dotted Line in Word (Any Version)

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To add a dotted line in a Word document, the quickest way is to type three asterisks (***) and press Enter — Word instantly converts them into a dotted horizontal line. If you need a dotted line that you can position anywhere (not just at the left margin), use the Shape tool or the Borders feature. This guide covers all three methods, plus how to remove or customize them.

What You'll Need

  • A computer with Microsoft Word installed (any recent version: 2016, 2019, 2021, or Microsoft 365).
  • A document open where you want the dotted line.

Step-by-Step

Method 1: AutoFormat (Fastest for a Horizontal Line)

  1. Place your cursor on a new line where you want the dotted line to appear.
  2. Type three asterisks (***) with no spaces between them.
  3. Press Enter immediately. Word replaces the asterisks with a dotted line that spans the width of the page.
  4. If the line doesn't appear, go to File > Options > Proofing > AutoCorrect Options, and ensure the “Border lines” checkbox is ticked under “Apply as you type.” (Labels may vary slightly by version.)

Method 2: Using the Shape Tool (Dotted Line Anywhere)

  1. Go to the Insert tab on the ribbon.
  2. Click Shapes (in the Illustrations group).
  3. Select the first line shape (a straight line) from the “Lines” section.
  4. Click and drag on your document to draw the line where you want it. Hold Shift while dragging to keep it perfectly horizontal.
  5. With the line selected, go to the Shape Format tab (appears when the line is selected).
  6. Click Shape Outline > Dashes and choose a dotted style (e.g., “Round Dot” or “Square Dot”).
  7. Adjust the line’s length and position by dragging its endpoints or the whole line.

Method 3: Using Borders (Customizable Horizontal Line)

  1. Place your cursor on the line where you want the dotted line to appear (it will be the bottom border of that paragraph).
  2. Go to the Home tab.
  3. In the Paragraph group, click the Borders button (it looks like a square with a line at the bottom).
  4. Choose Borders and Shading at the bottom of the dropdown.
  5. In the dialog box, select the Borders tab.
  6. Choose a line style from the list (e.g., dotted), set the color and width if desired.
  7. In the preview area on the right, click the bottom border button (or the diagram’s bottom edge) to apply the line.
  8. Click OK. The dotted line appears below the current paragraph.

Common Mistakes

  • Typing asterisks with spaces (like * * *) — Word won’t convert that. Use exactly three asterisks with no spaces.
  • Pressing Enter too late — the AutoFormat only triggers if you press Enter right after typing the asterisks.
  • Drawing a line that is slanted — hold Shift while dragging to keep it horizontal.
  • Forgetting to select the line before looking for the Dashes option — the Shape Format tab only appears when the line is selected.
  • Applying a border to the wrong paragraph — the border appears at the bottom of the paragraph where your cursor is, so make sure you’re on the correct line.

Tips

  • To change the dotted line’s color or thickness, select it (if a shape) or use the Borders dialog (if a border).
  • If you need a vertical dotted line, use the Shape tool and draw a vertical line, then apply the dash style.
  • To remove an AutoFormat line, place your cursor just above it and press Backspace, or select the line and press Delete.
  • For a dotted line that spans only part of the page, use the Shape tool and resize it manually.
  • If you want a dotted line that doesn’t move with the text, consider using a Shape and setting its text wrapping to “In Front of Text” (right-click the line > Wrap Text > In Front of Text).

Troubleshooting

AutoFormat doesn’t work

Make sure the AutoFormat feature is enabled: go to File > Options > Proofing > AutoCorrect Options, then under the “Apply as you type” tab, check “Border lines.” If it’s already checked, try restarting Word. Alternatively, use the Shape or Borders method.

The line isn’t dotted

If you used the Shape tool, the default is a solid line. Select the line, go to Shape Format > Shape Outline > Dashes and pick a dotted style. If you used Borders, make sure you selected a dotted style in the dialog before applying.

The line is too thick or too thin

For a shape, select the line, go to Shape Outline > Weight and choose a different thickness. For a border, open the Borders dialog and change the width setting.

The line moves when I type

If you used a border, it will move with the paragraph. To keep it fixed, use a Shape and set its text wrapping to “In Front of Text” or “Behind Text” so it stays in place.

I can’t delete the line

For an AutoFormat line, click directly on the line (it’s a bottom border) and go to Home > Borders > No Border. For a shape, click on the line and press Delete.

Frequently Asked Questions

Can I make a dotted line that is not horizontal?

Yes, use the Shape tool and draw a vertical or diagonal line, then apply the dash style.

How do I make a dotted line with spaces between the dots?

Word’s built-in dash styles offer different dot patterns. Choose “Square Dot” or “Round Dot” from the Dashes menu. If you need a custom pattern, you can create a line using repeated periods (e.g., type “. . . . .” and press Enter), but that’s not a true line and may not stay aligned.

Can I save a dotted line as a reusable element?

Yes, you can save a shape as a Quick Part: select the line, go to Insert > Quick Parts > Save Selection to Quick Part Gallery. Then you can insert it from the Quick Parts menu in any document.

Does the AutoFormat trick work in Word for Mac?

Yes, typing three asterisks and pressing Enter works in Word for Mac as well. The menu path for settings is slightly different: Word > Preferences > AutoCorrect.

Why does my dotted line disappear when I print?

If you used a shape, it might be set to “Behind Text” and hidden behind other elements. Check the line’s wrap text setting. Also, ensure the line’s color is not white or too light.

Can I make a dotted line in the header or footer?

Yes, you can use any of the methods in the header or footer area. Just double-click the header/footer to edit it, then add the line.