Photoshop Pencil Tool: How to Use It for Pixel Art
In this article
To use the Pencil tool in Photoshop, select it from the toolbar (often grouped with the Brush tool), choose your desired pixel size and color from the top options bar, and click or drag on your canvas to draw hard-edged lines. Unlike the Brush tool, which creates soft, anti-aliased edges, the Pencil tool creates aliased, hard-edged pixels, making it the primary choice for pixel art, technical diagrams, and precise 1-pixel modifications.
What You'll Need
- A computer with a licensed version of Adobe Photoshop installed.
- A mouse or a graphics tablet (stylus) for drawing.
- A digital canvas or an open image file.
Step-by-Step
- Create or Open a Document: Start by opening an existing image or creating a new one via File > New. For the best results with the Pencil tool, especially for pixel art, create a small canvas (e.g., 64x64 or 128x128 pixels) and ensure the resolution is set to 72 PPI.
- Locate the Pencil Tool: Look at the Tools panel on the left side of the screen. By default, the Brush tool is visible. Right-click (or long-press) on the Brush tool icon to reveal the hidden tools in that group. Select the Pencil tool from the fly-out menu. Note that menu labels and icons may vary slightly depending on your version of Photoshop or your workspace layout.
- Create a New Layer: To keep your work non-destructive, go to the Layers panel and click the Create a New Layer icon at the bottom. This allows you to erase or move your pencil strokes without affecting the background image.
- Set the Foreground Color: Click the Foreground Color square at the bottom of the Tools panel. A Color Picker window will appear. Select the exact hue and saturation you want for your lines and click OK.
- Configure the Tool Settings: Look at the Options bar at the top of the screen. Here you can adjust the size of the pencil. For pixel art, set the size to 1 px. If you need thicker lines, increase the pixel count. Ensure the Opacity and Flow are set to 100% to get a solid, opaque line.
- Draw on the Canvas: Click and drag your mouse or stylus across the canvas. You will see a hard-edged line appearing. Because the Pencil tool does not use anti-aliasing, there will be no blurring or semi-transparent pixels at the edges of your stroke.
- Refine Your Work: Use the Eraser tool to remove unwanted pixels. Since you are working on a separate layer, you can also use the Move tool (V) to reposition your drawing.
- Save Your Progress: Save your file as a PSD to keep the layers intact, or export it as a PNG if you want to maintain the hard edges when sharing the image.
Common Mistakes
One of the most frequent errors is using the Pencil tool on a very large canvas and wondering why the lines look too thin. If you are working on a 4000x4000 pixel image, a 1px pencil stroke is nearly invisible. Always match your tool size to the scale of your project.
Another common mistake is drawing directly on the Background layer. If you make a mistake and use the eraser, you might delete parts of your original image that cannot be easily recovered. Always utilize a dedicated layer for your pencil work.
Users often confuse the Pencil tool with the Brush tool. If your lines look "blurry" or have a soft glow around the edges, you are likely still using the Brush tool. The Pencil tool is specifically designed to avoid this effect, which is essential for the "crunchy" look of retro gaming art.
Lastly, forgetting to check the Opacity setting can lead to frustration. If your lines appear faint or translucent, check the Options bar at the top. If the Opacity is set to 50%, your pencil will leave a semi-transparent trail regardless of the color chosen.
Tips
To achieve a perfect pixel art style, change your zoom level to 800% or higher. This allows you to see the individual pixels you are placing, ensuring that your lines are clean and your shapes are precise. When zoomed out, the Pencil tool can feel imprecise; zooming in gives you total control over every single square.
Use the Shift key to draw perfectly straight lines. Click once to set a starting point, hold Shift, and click again at the destination. Photoshop will snap a perfectly straight, hard-edged line between those two points. This is invaluable for creating borders or architectural elements in a drawing.
Experiment with the "Hardness" of your brush if you switch back and forth. While the Pencil tool is always 100% hard, you can mimic its behavior with the Brush tool by setting Hardness to 100%, though the Brush will still apply anti-aliasing to the edges of the stroke, which the Pencil tool does not.
Combine the Pencil tool with the Grid. Go to View > Show > Grid. You can further customize the grid spacing in the Preferences menu (Edit > Preferences > Guides, Grid & Slices) to set a grid every 1 pixel. This turns your canvas into a piece of graph paper, making it much easier to maintain symmetry in your art.
Troubleshooting
If the Pencil tool is not drawing anything, first check that you have a color selected that is different from your background color. If you are drawing white on a white background, it will appear as though the tool is broken.
If the lines are appearing jagged or "broken" when you draw quickly, this is often a result of the mouse's polling rate or the way Photoshop handles fast strokes. Try drawing more slowly or use a graphics tablet for smoother input. If you are using a tablet and the lines are distorted, check your tablet driver settings to ensure Windows Ink is configured correctly for Photoshop.
If you cannot find the Pencil tool in the toolbar, it may be hidden. Right-click the Brush tool icon. If it is still missing, you may have a customized toolbar. Go to Edit > Toolbar and click "Restore Defaults" to bring back all standard tools, including the Pencil.
If your pencil strokes are appearing as large blocks instead of thin lines, check your brush size in the Options bar. You may have accidentally increased the size using the bracket keys ([ and ]). Reset it to 1px for the standard pencil effect.
Frequently Asked Questions
What is the difference between the Pencil and Brush tools?
The Brush tool uses anti-aliasing, which blends the edges of the stroke with the surrounding pixels to create a smooth look. The Pencil tool does not use anti-aliasing, resulting in hard, jagged edges that are perfect for pixel art.
Can I change the shape of the Pencil tool?
No, the Pencil tool is strictly limited to a square pixel shape. If you need a circular or custom shape with soft edges, you must use the Brush tool.
Why does my Pencil tool look blurry when I zoom out?
This is usually caused by the image interpolation settings. When you zoom out, Photoshop tries to smooth the image for display. To see the raw pixels, ensure you are using a high zoom level or check your image size settings.
Can I use the Pencil tool with a drawing tablet?
Yes, the Pencil tool works with tablets. However, unlike the Brush tool, the Pencil tool does not typically respond to pressure sensitivity for size or opacity; it remains a constant pixel width.
How do I make the Pencil tool draw a thicker line?
You can increase the thickness by changing the pixel size in the Options bar at the top of the screen. For example, changing the size from 1px to 5px will result in a thicker, blockier line.
Is the Pencil tool good for photo retouching?
Generally, no. Because it creates hard edges, it is too harsh for blending into photos. It is best used for adding a "digital" or "retro" effect to a photo or for creating graphics from scratch.