How to Make a Straight Line in Photoshop: A Complete Guide

This site is reader-supported. We use affiliate links to support our expenses. Learn more

(Last updated on February 8th, 2023)

Drawing a straight line can be challenging if you don’t have a steady hand. The good news for Photoshop users is that you don’t need to be skilled with a pen to make your lines straight. We’ll review making straight lines in Photoshop and the many methods to pull it off.

architecture drawn by pen
caption: Draw lines as straight as an architect in Photoshop with its many tools.
credit: Pixabay.

Line Tool Method

The Line Tool is one of Photoshop’s simplest ways to make a straight line. It makes a straight line with a few effortless mouse clicks and is easy to edit after you’ve created it. Here’s a step-by-step guide for using the line tool.

  1. Start by selecting the Line Tool from your Photoshop toolbar on the left-hand side of the interface. You should see it in the Shape Tool by clicking and holding on to it to bring up the submenu.
Photoshop line tool
caption: Here is the Line Tool in Photoshop. credit: Mark McPherson.
  1. With the Line Tool selected, you should see more options for creating a line at the top of the interface. Look for the dropdown box. There are three modes to consider when making your line.
    • Shape: The shape style lines are created similarly to the other shapes. This means you can edit it the same way you would different shapes after the fact. Choose this method if you want to make changes to size and thickness after creating the line.
    • Path: The path method creates a line similar to the shape method but with fewer options.
    • Pixel: Unlike the Shape or Path modes, Pixel mode creates a rasterized line made of pixels instead of vectors. You won’t be able to edit these lines after they’re created, similar to how you can’t make changes to drawing with a felt tip pen. The additional options for this mode include opacity and blending options.
Photoshop line tool shape mode
Here is where to select the different modes for the Line Tool. credit: Mark McPherson.
  1. You can start drawing a line on the canvas with your line properties finalized. Hold the Shift button before you click and drag. Whether you drag vertically or horizontally, the line will be straight.
Photoshop line tool created line
Here is a line created using the Line Tool with edit points that we can use to make edits after drawing. credit: Mark McPherson

The Line Tool works well for creating straight lines as either vectors or pixels with detail and articulation. This method also gives you the most options, allowing you to change everything from the line’s stroke (it can be made dotted) to its thickness. With so many customization choices, it’s best to try this method before the others.

Brush Tool Method

If you’re confident maneuvering a mouse or a stylus, you may try drawing with the brush tool. Thankfully, your hand doesn’t have to be perfectly steady when using this method. You can create lines using the brush tool with this tutorial.

  1. Select the Brush Tool from the toolbar. It should look like a paintbrush.
Photoshop brush tool
Here is where to find the Brush Tool in Photoshop. credit: Mark McPherson
  1. Edit the properties of the brush with the options at the top of the interface.
  2. With your brush ready, hold down Shift, click, and drag across the canvas to create your line. It will automatically draw straight depending on the direction.
Photoshop brush tool line
The brush has been used to draw a green line with reduced hardness and a circular brush shape. credit: Mark McPherson.

The Brush Tool is handy if you’re trying to create more artistic lines with different styles. The many brush types you can select from can make for lines that look more like brushstrokes than simplistic lines. Using the brush, you can also edit more aspects of opacity, blend modes, colors, textures, and pressure.

The other handy aspect of the brush is how it can recognize patterns of your straight lines. For example, if you painted one straight line but want to make it long, all you have to do is hold down the shift and click on the following point you wish to extend the line towards.

Pen Tool Method

The Pen Tool is very similar to the Line Tool but works more by creating a line point by point. The tool is used mainly for creating specific shapes but works just as well for making simple straight lines. Here’s a guide on how to use the pen tool.

  1. Select the Pen Tool from the toolbar. It should look like an inkwell pen. You can also press P on the keyboard as a shortcut.
Photoshop pen tool 1
Here is the Pen Tool in Photoshop. credit: Mark McPherson.
  1. Click once on the canvas to create an anchor point.
  2. Hold Shift and click on another point on the canvas to create the second anchor point. A straight line should now be drawn between the two points. You can keep adding more points after this as well.
  3. When you want to finish the line, press Enter to finish the line. You should now have a completed straight line in a vector format.
Photoshop pen tool line 1
Here is what a line drawn with the Pen Tool should look like. credit: Mark McPherson.

The Pen Tool is ideal for creating more elaborate lines to move its points around. You can edit the line the same way you would with the Line Tool but add curves if you wish. Use this method if you want to create straight lines first but have the chance to make them curved later.

Pencil Tool Method

Like the Brush Tool, the Pencil Tool uses a square shape to draw its raster-based lines. It’s the best choice if you want to create lines as simple as the Line Tool but still have all the blending options of the Brush Tool. Here’s how easy it is to use the Pencil Tool for creating lines.

  1. Select the Pencil Tool from the toolbar. It should look like a pencil, and it’s located in the submenu for the Brush Tool.
Photoshop pencil tool
Here is the Pencil Tool in Photoshop. credit: Mark McPherson.
  1. Choose the style you want for your pencil. If it’s not already set to a square, change its shape to a square.
  2. Hold down Shift and start drawing a line. It will automatically go straight as you drag.
Photoshop pencil tool line
Here is what a pencil-drawn line looks like in Photoshop. credit: Mark McPherson.

The Pencil Tool can be thought of as a simpler brush. It has many of the same options as the brush for customization, but it can draw smaller and simpler lines. The square can make your brush seem more uniform and reflect the sharpness of the Line Tool.

The Marquee Tool

Lines can be created through a combination of both the marquee tool and the fill bucket. You can use this technique ideally if you want thicker lines. To perform this function, follow the tutorial below.

  1. Select the Rectangle Marquee Tool from your toolbar. It should look like a rectangle with a dotted line. You can also press the hotkey of M.
Photoshop Marquee tool
Here is the marquee tool in Photoshop. credit: Mark McPherson.
  1. Make sure your Marquee Tool has a Feather set to 0px in your properties.
  2. Now draw a line of whatever thickness you wish.
Photoshop Marquee tool drawn
This is the line you should draw with your marquee tool. credit: Mark McPherson.
  1. After creating this marquee line, press Alt + Delete (Win) or Option + Delete (Mac) to add a fill to your marquee. This will automatically fill your marquee with whatever color you currently have selected.
  2. Your line should now be created.
Photoshop Marquee tool drawn filled
With the fill applied, our marquee now looks like a line. credit: Mark McPherson.

Tips & Tricks

  • Don’t Rule Out Rulers: It can sometimes be helpful to place some guides and rulers on your Photoshop canvas to create more precise lines. They can be ideal if you’re trying to make a specific shape with the exact dimensions required for a print or publishing project. Don’t be afraid to turn on guides and rulers, as they can aid in creating lines where accuracy is key.
  • Always Use Shift: The Shift key is helpful for more than just keeping your lines straight. It can also maintain uniformity when resizing images or creating shapes. Always keep the Shift key in mind when making uniform lines, shapes, images, and more within Photoshop.
  • Raster or Vector: When choosing a line method, deciding whether you want to create raster or vector-based graphics is essential. The Line Tool and Pen Tool make vector-based lines, while the Brush Tool and Pencil Tool make raster-based lines. Raster graphics are better suited for creating JPGs and PNGs, while vector graphics are better for print and bringing into Illustrator. Choose wisely when thinking about the right tool for making lines.

Frequently Asked Questions

Which tool is used to draw a straight line in Photoshop?

There are several tools used for drawing a straight line in Photoshop. The most common tools for the job are the Line Tool, Pen Tool, Pencil Tool, and Brush Tool. Hold down shift when drawing with any of these tools to make straight lines.

Which key is used for a straight line?

The Shift key is the keystroke you hold down on your keyboard to make your lines straight in Photoshop.

How can I make my line straight in Photoshop?

When drawing with one of the many tools, hold down the Shift key, and your lines should appear straight as you draw.

Which tool makes a straight-line selection?

Like most of the tools in Photoshop, straight and uniform selections can be made by holding down the Shift key.

What is the line tool in Photoshop?

Photoshop’s line tool can draw vector lines and shapes on your canvas. It works differently than the brush or pencil tools by creating a line that can be edited and altered after being created.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top