How to Add a Line in Google Docs

To make a horizontal divider, click the spot for your divider in Google Docs and choose Insert > Horizontal line on a computer. For a line you can resize, recolor, or turn vertically, use Insert > Drawing > New instead.

A blank text line, an underline, and a divider are different objects. Choose the kind of line you need before typing a row of underscores that moves whenever the text changes.

Insert a horizontal divider between paragraphs

On a computer, open the document in Docs and click the spot for your divider. Put the cursor between the two sections you want to separate, then open Insert and choose Horizontal line.

The divider appears across the document's text area. Adding text earlier in the document can move the divider farther down the page. It doesn't stay fixed to one spot on the paper.

Drawing of Google Docs with the Insert menu's Horizontal line command selected

Use this route for a simple separator between topics, an address and a letter, or two parts of a worksheet. You won't have to keep adjusting a typed row of dashes as the document changes.

Check the paragraphs on either side. If the divider landed in the wrong place, use Undo, reposition the cursor, and insert it again. That saves you from moving the surrounding text just to put the divider in the right place.

The built-in divider follows the text area's width. If the page itself is too narrow or wide, check the Google Docs margins instead of trying to adjust the divider with leading spaces.

Choose a drawing when a signature line needs a particular length or appearance. The simple Horizontal line command doesn't offer the same editing controls as a selected drawing line.

Draw a line when length, color, or direction matters

On a computer, choose Insert > Drawing > New. A separate drawing window appears over your document. Google's drawing instructions describe straight lines and other line types.

  1. Open Select line in the drawing toolbar.
  2. Choose Line for a plain straight segment.
  3. Click where the line should begin and drag to its other end.
  4. Click Select when you've finished drawing.
  5. Select the line and use the toolbar's line color, thickness, or style controls as needed.
  6. Choose Save and Close to place the drawing in the document.
Drawing of the Google Docs Drawing window with Select line and Save and Close marked

Drag sideways for a horizontal line or vertically for a vertical line. The drawing window gives you more control over a short signature line or custom divider than the full-width built-in separator.

Pick the plain Line option carefully. Connector and curve tools have different behaviors, so they can add bends or points you didn't intend. If you chose the wrong tool, undo the object and select Line before dragging again.

I'd use a built-in horizontal divider for ordinary section breaks and a drawing only when its extra controls matter. A document with many individually sized drawings takes more work to keep consistent.

Edit the drawing without creating another copy

Click the inserted drawing and use its Edit control to reopen the drawing window. Select the existing line, change its appearance or position, then save the edited drawing back into the document.

A second visit to Insert > Drawing > New creates another drawing. Reopening the existing one lets you change the drawing that's already on the page.

Resize the inserted drawing with its handles if the whole object is too large. Reopen it to change the line inside it. Those are different edits, especially if the drawing also contains a label or other shapes.

For a line and typed label in one object, add the label inside that drawing. The Google Docs text box method explains the text tools without relying on spaces in the main document to hold objects together.

A drawing from Google Drive can stay linked to its original. After changing the original, select the inserted drawing and use Update when offered. Choose Unlink to make this document's copy independent.

Add a rule attached to a paragraph

A paragraph border is useful when the rule should belong to a heading or paragraph. Select that paragraph, then open Format > Paragraph styles > Borders and shading in the desktop editor.

Choose the border position you need, such as the bottom edge, and set its width, style, and color. Use paragraph padding to adjust the space between the text and the rule, then choose Apply.

The border belongs to the paragraph. A drawing is a separate object, while a horizontal divider has its own place in the text. Choose the one that keeps the right parts together when you add more text.

To remove paragraph border formatting, return to Borders and shading, choose Reset, then apply the change. Pressing Backspace repeatedly can remove text or join paragraphs without removing the border.

Use the keyboard for a new text line or an underline

Press Enter to begin another paragraph. Shift+Enter breaks the line while keeping the existing paragraph, useful for the next line of an address with the same paragraph formatting.

Neither action creates a visible divider. If you just want to type on the next line, you don't need a drawing or horizontal rule.

For an underline under existing words, select the words and click Underline. The underline stays with the selected text. A long run of underscores is typed text, which can wrap or change length with font and size changes.

Use a computer for Drawing; the Docs phone app has a different toolbar. Check the result on the phone afterward if that's where readers will view it, especially when the drawing contains small labels.

For a view-only file, ask its owner to allow edits for your account before adding objects. If you still can't add the line, open Help > Help on the computer and explain which line method isn't working.

The Short Version

Use Insert > Horizontal line for a simple divider. Use Drawing for a custom line, paragraph borders for a rule attached to text, and Enter or Shift+Enter for another text line. Pick the method before adjusting the layout.

Checked December 2, 2026.

If you have any business, I can build it online

Hi, I’m Hamza. I’ve been building websites and online shops for business owners since 2019, and I also built this site you’re reading.

Tell me what business you have or what you’re working on. I’ll look into how much it can grow online, and then we talk. You don’t have to buy anything or hire me first.

Chat with me on my site and I’ll show you proof of businesses I’ve helped and how they’ve grown.

Written by Isaac Smith

Isaac Smith is the founder and editor of PC Glance, a website that covers computers, laptops, and technology. He is a tech enthusiast and a computer geek who loves to share his insights and help his readers make smart choices when buying tech gadgets or laptops. He is always curious and updated about the latest tech trends.

More from Isaac Smith

Leave a Comment