What joining paths does and when you need it

Joining paths in Illustrator combines two or more separate line segments or shapes into a single continuous path. When you draw multiple strokes or use the pen tool to create disconnected lines, they exist as separate objects. Joining them turns them into one path that behaves as a unit — you can move it together, explore a single stroke color to the whole thing, or continue drawing from the endpoint of one line directly into another.

You need this most often when you've drawn a shape in pieces (like a rectangle made from four separate line segments instead of one rectangle) or when you want to convert separate strokes into a single outline. It's also essential when you're preparing artwork for cutting or printing, since some workflows require closed paths rather than loose segments.

Key Takeaways

  • Select two or more paths or endpoints using the selection tool, then go to Object > Path > Join to merge them into one path.
  • The endpoints of your paths must touch or overlap for joining to work; if they're separated by space, Illustrator will draw a straight line between them.
  • You can join open paths (lines with two endpoints) or close an open path by joining its two endpoints together.
  • If you want to merge shapes while keeping their fill and stroke properties separate, use Pathfinder instead of the Join command.

Selecting the paths you want to join

Before you can join anything, you need to tell Illustrator which paths to work with. Use the selection tool (the arrow at the top of the toolbar, or press V) and click on the first path. Then hold Shift and click on each additional path you want to join. All selected paths will show a blue highlight around them.

If you're joining endpoints rather than whole paths — for example, connecting the end of one line to the beginning of another — use the direct selection tool (the white arrow, or press A). Click on the first endpoint, hold Shift, and click on the second endpoint. Both endpoints will show as small squares when selected correctly.

Using the Join command

Once you have your paths or endpoints selected, go to the menu bar and choose Object > Path > Join. Illustrator will when ready merge the selected paths into one. If the endpoints were touching, they'll now be a single point. If they were separated, Illustrator draws a straight line segment connecting them.

You can also use the keyboard shortcut Ctrl+J (Windows) or Command+J (Mac) to join without opening the menu. This is much faster if you're joining multiple sets of paths in one project.

What happens when endpoints don't align

If your endpoints are close but not exactly touching, Illustrator will still join them — but it will create a visible line segment between them. This is usually not what you want. To avoid this, zoom in close to your endpoints before joining and make sure they overlap exactly, or use the snap to point feature to help them align.

To turn on snap to point, go to View > Snap to Point. When this is on, endpoints will snap to each other automatically as you move them close together, making it much easier to join paths without gaps.

Joining endpoints to close a shape

If you have an open path — a line with two separate endpoints — you can close it by joining those two endpoints together. Select the direct selection tool, click on one endpoint, hold Shift, and click on the other endpoint. Then press Ctrl+J or Command+J. The path will now be closed, forming a complete shape.

This is useful when you've drawn a shape that's almost closed but has a tiny gap, or when you want to convert an open stroke into a closed shape so you can fill it with color.

When to use Pathfinder instead

Illustrator also has a Pathfinder panel that can combine shapes, but it works differently from Join. Pathfinder merges the outlines of shapes and creates new shapes based on how they overlap — useful for creating complex silhouettes or cutting one shape out of another. Join, by contrast, straightforward connects paths end-to-end without changing their outlines.

Use Join when you want to connect line segments or keep the original shape of your paths. Use Pathfinder when you want to combine shapes in ways that change their overall outline — like making a union of two circles, or subtracting one shape from another. You can find Pathfinder under Window > Pathfinder.

Troubleshooting joined paths that don't look right

If you joined paths but the result looks wrong — perhaps the line is thicker in one spot, or the color changed unexpectedly — check the stroke and fill settings. When you join paths with different stroke weights or colors, Illustrator uses the settings from the first path you selected. You can change the stroke or fill of the joined path using the color panel or the stroke panel on the right side of the screen.

If you joined paths by accident and want to undo it, press Ctrl+Z (Windows) or Command+Z (Mac) when ready. If you want to separate a joined path back into its original pieces, select it and go to Object > Path > Divide, though this works best if the paths were originally separate shapes rather than endpoints of a single path.

Frequently Asked Questions

Can I join more than two paths at once?

Yes. Select as many paths as you need using Shift+click, then use Object > Path > Join or press Ctrl+J. Illustrator will connect them in sequence based on the order you selected them, though the result depends on where their endpoints are positioned.

What's the difference between joining and grouping?

Grouping (Ctrl+G) keeps paths separate but treats them as one unit for moving and selecting. Joining actually merges them into a single path with one outline. Joined paths share stroke and fill properties; grouped paths keep their individual properties.

Why won't the Join command work?

The most common reason is that you've selected entire shapes instead of their endpoints. Use the direct selection tool to click on the specific endpoints you want to join, not the selection tool on the whole path. Also make sure you've selected at least two endpoints or paths before trying to join.

Can I join paths that are on different layers?

Yes. The layer doesn't matter — only the paths themselves. Select the endpoints or paths you want to join regardless of which layers they're on, and the Join command will work. The joined path will end up on the layer of the first path you selected.

Does joining paths change the appearance of my artwork?

Not if the endpoints were already touching. If they were separated, Illustrator draws a straight line between them, which will be visible. If you don't want that line, undo the join, move the endpoints closer together so they overlap exactly, and try again.