Home » Tutorials » Inkscape » Drawing Tools » How to Use the Pencil Tool in Inkscape (Freehand Drawing & Smoothing Guide)

How to Use the Pencil Tool in Inkscape (Freehand Drawing & Smoothing Guide)

Introduction

The Pencil Tool in Inkscape is designed for drawing freehand lines and shapes directly on the canvas. It works like a real pencil on paper. Simply left-click, hold, and drag on the canvas, and Inkscape converts that movement into a vector path.

You can access the Pencil Tool by pressing P or F6, or by clicking the pencil icon in the toolbar.

The Pencil Tool is ideal for quick sketches and artistic drawing. As it creates vector paths, every line remains fully editable. You can later modify their shape, color, thickness, and nodes.

How to Draw Using the Pencil Tool

Drawing with the Pencil Tool is simple. First, select the Pencil Tool from the toolbar, click and hold on the canvas, and drag the cursor to draw your line. Release the mouse to finish the vector path.

While drawing, a line follows your cursor. When you release the mouse button, the line becomes a vector stroke.

Default Stroke Settings

By default, Inkscape creates a stroke with black color and 1px stroke width.

You can change these settings later using the Fill and Stroke Panel.

pencil-tool-drawing

Continuing an Existing Path

Every path created with the Pencil Tool has nodes at both ends.

To extend a path, move the cursor over an end node, and click and drag to continue drawing. This connects the new line to the existing path instead of creating a separate one.

pencil-tool-extending-drawing

Canceling a Drawing

If you make a mistake while drawing, press Esc to cancel the path immediately. Or press Ctrl + Z to undo after releasing the mouse.

Drawing Closed Paths and Straight Lines

Creating Closed Shapes

You can also create closed paths with the Pencil Tool. Start drawing from a point and finish the drawing at the starting node. Inkscape will automatically close the path and apply a fill color.

You can change the fill using the Fill and Stroke Panel.

pencil-tool-closed-shape

Drawing Straight Lines

To create a straight line, click once without dragging. This sets the starting point of the path. Then click somewhere else to create a straight segment between the two points.

pencil-tool-straight-line

Simplifying Pencil Paths

Freehand drawing often creates too many nodes, especially in complex drawings. Too many nodes can make editing difficult.

To reduce nodes, select the path, go to Path → Simplify, or press Ctrl + L. This reduces the number of nodes while keeping the overall shape similar and makes the editing easier. Applying Simplify multiple times makes the path smoother and simpler.

pencil-tool-simplify

Pencil Tool Control Bar

pencil-tool-control-bar-figure

Drawing Modes

There are three drawing modes:

Regular Bezier Path

  • The default and most commonly used mode.
  • Used to draw regular bezier paths.
  • It specifies that the resulting path is very close to the path that you draw with the mouse cursor on the canvas.

Spiro Path

  • Creates very smooth curves and spirals.
  • Not commonly used with the Pencil tool, but it is very useful with the Pen Tool.
  • With the pencil tool, this mode is not good with a low smoothing value. A high smoothing value gives a finer result as per your requirement.

BSpline Path

  • Transforms sharp corners into rounded curves.
  • You can also edit them and adjust their roundness using the Node Tool.
  • This mode makes it easier to draw smooth curves with the help of the Node Tool.

Flatten Spiro and BSpline LPE

Next to the drawing modes, there is a button (button 1 in the toolbar) called Flatten Spiro and BSpline LPE.

LPE stands for Live Path Effect. Live Path Effects are special Inkscape features that allow paths to be modified non-destructively, meaning the original path remains unchanged while the effect is applied dynamically.

When you draw using the Spiro or BSpline mode, Inkscape automatically applies the respective Live Path Effect to the path. You can adjust the path effect easily afterward. This button removes the Spiro or BSpline path effect and converts the live effect into a permanent path, and turns the path into a normal editable path.

Using a Graphics Tablet with the Pencil Tool

The Pencil Tool works very well with drawing tablets. When pressure sensitivity is enabled (button 2 in the toolbar), pressure change will make changes in stroke width.

In this tutorial, we’ve used the XP-Pen G430 Graphics Tablet. It has a small, portable design with pressure sensitivity and a battery-free pen, making it convenient for smooth and natural drawing.

When Pen Pressure is enabled in the Pencil Tool, three additional settings appear in the control bar: Min, Max, and Caps.

pencil-tool-control-bar-pen-tablet

Min and Max

These settings control how the pressure affects the stroke width. This feature only works when using a pressure-sensitive drawing tablet. If you draw with a mouse, the pressure value stays constant, so these settings have no effect.

Minimum (Min):

Min defines the thinnest possible stroke width. When you draw with very light pressure, the stroke thickness will not go below this value.

Let’s say the Min value is 1. If you press lightly on the tablet, the line will be 1 px thick. But even if you reduce pressure further, it will not become thinner than 1 px

Maximum (Max):

Max defines the thickest possible stroke width. When you press hard on the tablet, the stroke thickness will not exceed this value.

Let’s say you set the Max value to 10. If you apply strong pressure while drawing, the stroke will become 10 px thick. But pressing harder will not increase the thickness further.

Caps

Caps define the shape of the ends of an open stroke. The available cap styles are:

Butt

Flat end that stops exactly at the endpoint.

Square

Flat end that extends slightly beyond the endpoint.

Round

Creates a rounded semicircle at the end of the stroke.

Peak

Creates a sharp tapered tip.

Zero Width

Gradually tapers the stroke to zero thickness, producing a natural brush-like effect.

Smoothing

When you draw with the Pencil Tool, it specifies that the resulting path is very close to the path that you draw with the mouse cursor on the canvas. However, you can make it smoother and finer to make it more elegant using smoothing.

The Smoothing value helps you to refine your drawing lines into smooth lines. Its value ranges from 1 to 100.

Low smoothing value keeps more details, has more nodes and rougher lines, while high smoothing value results in fewer nodes, smoother curves, and less detailed lines.

pencil-tool-smoothing

LPE-Based Interactive Simplify

Next to the Smoothing slider is LPE-Based Interactive Simplify (button 3 in the toolbar). When this option is enabled, Inkscape automatically applies the Simplify Live Path Effect to the path.

Normally, smoothing is applied only while you draw the path, and if the smoothing value is too high or too low, it cannot be adjusted afterward.

However, when LPE-based Interactive Simplify is enabled, the original path is preserved, and a Simplify Live Path Effect is applied on top of it. This allows you to adjust the smoothing even after the path has been drawn.

So, if you draw a line and later decide that it should be smoother or rougher, you can simply adjust the sliders in Simplify Path Effects, and the path will update in real time. This provides much more flexibility during editing.

When LPE-based Interactive Simplify is enabled in the Pencil Tool, one additional option appears in the control bar: LPE Simplify Flatten.

pencil-tool-control-bar-lpe-simplify-flatten

LPE Simplify Flatten

LPE Simplify Flatten converts the live effect into a permanent path. When applied, the Live Path Effect is removed, and the current simplified result becomes the final path. As a result, the smoothing can no longer be adjusted using the sliders, and the path behaves like a standard vector path.

Flattening is useful when you are satisfied with the smoothing and want to lock in the result.

Shape and Scale

The Shape option allows you to customize the start and end shapes of a path using the Pattern Along Path effect.

The Scale value controls the width of the shape. Lower values make it thinner, and higher values make it wider. This width can also be adjusted using the Node Tool, where a pink control node appears for editing the shape.

Available shapes include:

None

Standard straight stroke.

Triangle In

Stroke starts thick and ends thin.

Triangle Out

Stroke starts thin and ends thick

Ellipse

Creates a smooth brush-like stroke with thin ends and a wider middle.

From Clipboard

Uses any copied shape to use as a custom brush. Copy shape, select “From clipboard” in shape, and draw to see your custom-shaped brush

Bend from Clipboard

Create deformed copies of curves. Draw a curve, copy it, select “Bend from Clipboard,” and see each line transform.

Last Applied

Reapply the last shape used.

Editing Pencil Tool Paths

After drawing, you can edit paths using the Node Tool (N). You can move nodes, adjust handles, fix curves, and add or delete nodes. Even if nodes are not placed perfectly, they can always be corrected later.

Drawing Dots

The Pencil Tool can also draw clean dots.

  • Ctrl + Click creates dots of the same size.
  • Ctrl + Shift + Click doubles the size of the dot.
  • Ctrl + Alt + Click random-sized dots.

FAQs

The Pencil Tool is used to draw freehand lines and shapes. It converts your hand-drawn strokes into editable vector paths.

Select the Pencil Tool, click and drag on the canvas to draw, and release the mouse to finish the path.

You can increase the smoothing value from the pencil tool control bar before drawing or use Path → Simplify (Ctrl + L) to reduce nodes and smooth the path after drawing.

The Pencil Tool is used for freehand drawing, while the Pen Tool is used for precise straight and curved paths.

Simplify (Ctrl + L) reduces the number of nodes in a path while keeping its overall shape similar, making it easier to edit.

Select the path and use the Node Tool to move, adjust, or delete nodes and refine the shape.

Tools Used

Final Thoughts

The Pencil Tool is a simple yet powerful tool for creating freehand drawings in Inkscape. It allows you to quickly sketch ideas and turn them into editable vector paths. With features like smoothing, simplifying, and different drawing modes, you can easily refine rough sketches into clean and smooth designs. With a bit of practice, it becomes a very useful tool for both quick sketches and detailed artwork.

More Tutorials