Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Prompted by John's question about leaving paths unclosed.

Drawing with the pencil tool (or the paintbrush tool) in Illustrator leaves the paths it makes open. Unlike the pen tool, there isn't an obvious or intuitive way to close paths when you've finished drawing them.

What's the easiest way to close paths drawn with the pencil tool?

share|improve this question
up vote 2 down vote accepted

Closing paths as you draw them with the pencil (or paintbrush) tool

Hold down alt. Make sure you start holding it down after you start drawing (else it turns the pencil tool into the path smoothing tool) and that you've got it held down when you finish drawing the path.

It joins the start point and end point with a straight line, so you'll probably want to get the end point as close as possible to the start point - unless you want a sharp straight line

Closing paths that have already been drawn

In theory, drawing round a path with the Knife tool closes it (never works for me though).

There's a very useful simple script from to close points. For each selected object, if it's an open path, the script closes it.

It's a very short script, here it is in case that link goes down (all credit, rights etc to Umezawa and

//  ClosePts.js
//  Umezawa

if (documents.length > 0 && activeDocument.pathItems.length > 0){

    myObj = activeDocument.pathItems;
    myNum = activeDocument.pathItems.length;

    for ( i = 0; i < myNum; i++ ){

        if( myObj[ i ].selected && ! myObj[ i ].closed ){

            myObj[ i ].closed = true;

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.