← All articles
PowerPoint Guides

PowerPoint draw straight line

Learn to add lines and connectors in PowerPoint, draw straight with the Ruler in Windows, align boxes, and adjust line styles with a three-box example.

Draw Editorial Team5 min read

When creating a straight line in PowerPoint, first decide what the line needs to do: do you need a standalone line to separate a heading, a connector between two boxes, or a mark drawn with a pen? This choice affects which tool you use and how you can edit the line later. The menu steps below are for PowerPoint for Windows desktop; check the location of the same tools in other interfaces.

Distinguish a line from a connector

A standalone line can be used as a divider or accent. A connector attaches to shapes’ connection points and stays connected when those shapes are moved. Microsoft’s guide to lines and connectors explains straight, elbow, and curved connectors. Don’t assume that every drawing type in the Shapes gallery is a connector; check the tool’s name before selecting it.

Add a line to a slide

  1. Open the slide you want to edit.
  2. Open the Shapes gallery on the Insert tab.
  3. Select the line type you need from the Lines section.
  4. Drag from the starting point to the endpoint, then release the mouse button.

To connect two shapes, select a connector, hover over the first shape, then drag from one of the connection points that appears to a connection point on the second shape. Then move one of the boxes to test the connection. If you move the end of the connector separately, that end may become detached from the shape; reconnect it to a connection point if needed.

Use the Ruler to draw a straight line with a pen

In supported Windows versions of PowerPoint, the Ruler on the Draw tab helps you draw straight lines with ink and align objects. If the Draw tab isn’t visible, check the Draw box under File > Options > Customize Ribbon. This is a separate workflow from adding a regular line shape.

According to PowerPoint’s official Ruler guide, select the slide, open Draw > Ruler, and set the ruler to the angle you want. You can drag to move it and use the mouse wheel to change its angle. Then select a pen or highlighter and draw along the ruler’s edge. Rotating with the wheel requires a mouse with a scroll wheel; this method does not work the same way with a laptop trackpad.

Read the angle indicator on the ruler to position it for your horizontal or vertical target. When you’re done, press the Ruler button again to hide it. If the tool isn’t visible, check whether your version supports it; don’t assume that a screen from another Microsoft application belongs to PowerPoint.

Align the boxes first

Sometimes a line looks crooked because the boxes are at different heights. The PowerPoint guide to aligning objects explains how to select multiple objects with Ctrl and use Shape Format > Align. Align Selected Objects positions objects relative to one another; Align to Slide positions them relative to the slide boundaries. For a horizontal row, consider the Align Top or Align Middle options.

Alignment and distributing objects with equal spacing are different operations. Even if the boxes are at the same level, check the gaps between them separately. If you choose the wrong reference, you may inadvertently move a small group of objects to the edge of the slide. So check which objects are selected before applying the command.

Adjust the line’s appearance

After selecting the line, you can change its color through Shape Format > Shape Outline. The Weight and Dashes options adjust its appearance. These steps are explained in Microsoft’s guide to formatting lines. If the Shape Format tab isn’t visible, first confirm that the line is selected.

There is no single value that works for everyone for color or thickness. Evaluate the line at slide size: does it cover text that needs to be read, disappear into the background, or draw unnecessary attention? For important connections, also use position and labels in addition to color, and check that the meaning remains clear.

Worked example: a three-box process

Imagine a process slide with three boxes titled “Request,” “Review,” and “Completed.” The goal is for viewers to read the process from left to right. First finalize the text and order of the boxes, then align them at the same horizontal level. If the text inside the boxes varies in length, don’t try to correct the visual balance using only the length of the lines.

Use a connector between the first two boxes and another between the last two. Move one box slightly and see whether the connection is preserved. Then restore the layout and check that the lines don’t touch the text. This test helps you distinguish a diagram that is actually connected from two objects that merely touch on screen.

If you also need a divider beneath the heading, treat it separately from the process connections. For a more complex hierarchy, you can consider the guide to creating a hierarchy with PowerPoint SmartArt. If the presentation also includes spoken audio, see the article on PowerPoint caption options for audio content to plan accessibility separately.

Final check and frequently asked questions

  • Is the correct slide and line selected?
  • Did you choose a standalone line or a connector according to your goal?
  • Do the connections stay in place when the boxes are moved?
  • Is the alignment reference the selected objects or the slide?
  • Are the lines visible without covering text?
  • If you’re using the Ruler, have you checked the angle indicator and version support?

Why doesn’t the line move with the box?

You may have selected a regular line or detached the end of a connector from a connection point. Check the drawing type and the connection at both ends again.

Do I need to use the Ruler for every line?

No. You can use the Shapes gallery for an editable line or connector. In supported versions, the Ruler is a separate option when you need to draw with a pen or align along an edge.

← Back to blog