The three ways to add a line in Google Docs

You can add a line in Google Docs by using the drawing tool, inserting a horizontal line through the menu, or typing a keyboard shortcut. The fastest method depends on what kind of line you need and where it needs to go on the page. Most people use the menu insertion method because it takes two clicks and gives you control over the line's thickness and color without learning keyboard combinations.

Google Docs stores all your changes in the cloud, so any line you add syncs automatically to other devices where you have the document open. This also means the line becomes part of your document history — you can undo it by pressing Ctrl+Z (or Cmd+Z on Mac) if you change your mind.

Key Takeaways

  • The Insert menu method is the most straightforward: click Insert, then Horizontal line, and the line appears on its own paragraph.
  • You can customize line thickness and color after inserting it by right-clicking the line and selecting Line color or Line weight.
  • The keyboard shortcut Ctrl+Alt+Minus (on Windows) or Cmd+Option+Minus (on Mac) creates a line when ready without opening any menus.
  • Lines inserted through the menu sit on their own line in the document, while lines drawn with the drawing tool can be placed anywhere on the page.

Using the Insert menu to add a horizontal line

Open your Google Docs document and click anywhere in the document where you want the line to appear. The line will be inserted at that location on its own paragraph. Click the Insert menu at the top of the page, then scroll down and click Horizontal line. A thin gray line appears when ready.

If you want to change how the line looks, right-click directly on the line. A small menu appears with options for Line color and Line weight. Line weight controls thickness — you can make it thinner or thicker depending on what your document needs. The line stays in place even if you add or delete text above or below it, though it moves down if you add text on the same paragraph.

Using the keyboard shortcut for a faster line

If you add lines frequently, the keyboard shortcut is faster than navigating the menu. On Windows, press Ctrl+Alt+Minus (the minus key on your keyboard, not the hyphen). On Mac, press Cmd+Option+Minus. The line appears when ready at your cursor location.

This shortcut creates the same line as the Insert menu method — you can still right-click it to change the color or weight. The shortcut works the same way whether you are using Google Docs in a browser or the offline version, as long as you have the keyboard set to English.

Drawing a custom line with the drawing tool

For more control over where a line sits on the page, use the drawing tool. Click Insert, then Drawing, then New. A blank canvas opens where you can draw. Click the Line tool (it looks like a diagonal line in the toolbar), then click and drag on the canvas to draw your line at any angle or length you want.

After you finish drawing, click Save and close. The line appears in your document as an image. You can move it around by clicking and dragging, or resize it by dragging the corners. This method takes longer than the Insert menu, but it lets you place lines anywhere — not just on their own paragraph — and draw them at angles if you need a diagonal line.

Changing line color and thickness after insertion

Right-click any line you have inserted through the menu (not through the drawing tool) to see formatting options. Click Line color to choose from a palette of colors, or pick a custom color by clicking the plus sign. Click Line weight to choose from preset thicknesses, ranging from thin to very thick.

If you drew the line using the drawing tool, you cannot change it the same way. Instead, double-click the line to open the drawing editor again, then use the color and thickness tools in the drawing toolbar to make changes. Click Save and close when you are done.

Removing a line from your document

Click the line once to select it, then press the Delete key. The line disappears and the paragraph it occupied closes up. If you delete a line by accident, press Ctrl+Z (or Cmd+Z on Mac) to undo the deletion when ready.

If you have a line drawn with the drawing tool, clicking it once selects the entire drawing object. Press Delete to remove it, or double-click to edit it instead. Lines inserted through the menu are easier to delete because they sit on their own line — you just click once and press Delete.

When to use each method

Use the Insert menu when you want a straightforward horizontal line that divides sections of your document. This is the most common use case and takes the least time. Use the keyboard shortcut if you are adding multiple lines and want to work faster. Use the drawing tool when you need a line at an angle, or when you need to place it in a specific spot on the page that is not at the start of a paragraph.

For most documents — reports, letters, outlines — the Insert menu method is the right choice. The drawing tool is useful for flyers, diagrams, or documents where you need precise control over line placement. The keyboard shortcut is purely a speed preference once you memorize it.

Frequently Asked Questions

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

Lines inserted through the Insert menu always span the full width of the page. If you need a shorter line, use the drawing tool instead — you can draw a line as short or as long as you want, and place it anywhere on the page.

What if the keyboard shortcut does not work?

The shortcut may not work if your keyboard is set to a language other than English, or if your browser has a conflicting shortcut. Try using the Insert menu instead. If you are on a Chromebook, the shortcut is the same but may require you to hold the Search key instead of Ctrl.

Can I add a vertical line in Google Docs?

The Insert menu only creates horizontal lines. To add a vertical line, use the drawing tool — click Insert, Drawing, New, select the Line tool, and draw the line at a 90-degree angle. You can also draw diagonal lines this way.

Do lines I add show up the same way when someone else opens the document?

Yes. Lines are part of the document itself, so anyone with access to the document sees them exactly as you created them, regardless of what device or browser they use. If you change a line's color or thickness, those changes sync to everyone viewing the document.

Can I copy and paste a line to use it multiple times?

Yes. Click the line to select it, press Ctrl+C (or Cmd+C on Mac) to copy, then click where you want the copy and press Ctrl+V (or Cmd+V). This works for lines inserted through the menu. For lines drawn with the drawing tool, copy the entire drawing object the same way.