The two ways to join paths in Illustrator

You connect paths in Illustrator by selecting two or more endpoints and using either the Join command or the Merge Paths command. The Join command (Ctrl+J on Windows, Cmd+J on Mac) connects the endpoints with a line segment and is the most common choice. The Merge Paths command (found under Object > Compound Paths > Make) combines multiple paths into a single object without necessarily connecting them visually — useful when you want paths to behave as one unit for effects or masking.

The difference matters because Join creates a visible connection between two endpoints, while Merge Paths groups them logically without adding a line. Most of the time, when you want to "connect" paths, you want Join.

Before you can join anything, you need to select the two endpoints you want to connect. This is where most people get stuck, because selecting endpoints requires the Direct Selection tool, not the regular Selection tool.

Key Takeaways

  • Use the Direct Selection tool (the white arrow) to select individual endpoints on your paths, not the regular Selection tool.
  • The Join command (Ctrl+J or Cmd+J) connects two selected endpoints with a line segment and is what you use most often.
  • You can join endpoints that are already touching (to convert a corner to a smooth point) or endpoints that are far apart (to draw a line between them).
  • If the endpoints are not exactly on top of each other, Join will draw a straight line connecting them; if they are on top of each other, Join will just smooth the corner.

Selecting endpoints with the Direct Selection tool

Open the Tools panel and click the Direct Selection tool — it looks like a white arrow and sits directly below the regular Selection tool (the black arrow). You can also press A on your keyboard to switch to it.

Click on the endpoint you want to select. An endpoint is a small square at the end of a path or where two line segments meet. When selected, it turns blue or white depending on your view settings. If you want to select a second endpoint on a different path, hold Shift and click the second endpoint. Both endpoints should now be highlighted.

If you accidentally select the whole path instead of just the endpoint, you clicked on the path line itself rather than the endpoint. Try clicking directly on the small square at the end or corner of the path.

Using the Join command to connect endpoints

Once you have two endpoints selected, press Ctrl+J (Windows) or Cmd+J (Mac). Illustrator will when ready connect them. If the endpoints were touching or overlapping, Illustrator will smooth the corner and merge them into a single point. If they were apart, Illustrator will draw a straight line segment between them.

You can join more than two endpoints at once. Select three, four, or more endpoints across different paths, then press Ctrl+J or Cmd+J. Illustrator will connect them in sequence, creating a continuous path.

If the result is not what you expected — for example, if Illustrator connected the wrong endpoints — press Ctrl+Z or Cmd+Z to undo and try again with a clearer selection.

Joining endpoints that are already touching

When two paths have endpoints that are already on top of each other, joining them does two things: it merges the two endpoints into a single point, and it converts the corner into a smooth curve if you want. Select both endpoints and press Ctrl+J or Cmd+J. The paths are now one continuous path instead of two separate ones.

This is useful when you have drawn two separate line segments that meet at a corner but are not actually connected. Joining them makes them a single path, which means you can explore a stroke or fill to the whole thing at once, or move them together without accidentally separating them.

Joining endpoints that are far apart

If your two selected endpoints are not touching, Join will draw a straight line segment between them. This is how you fill gaps in a path or connect separate shapes. Select the two endpoints — one from each path — and press Ctrl+J or Cmd+J. A new line segment appears, connecting them.

The new segment will be a straight line by default. If you want it to curve instead, use the Convert Anchor Point tool (hold Shift and press C) to click on the new endpoint and drag out a handle, or use the Pen tool to redraw that segment with curves.

When to use Merge Paths instead

Merge Paths (Object > Compound Paths > Make) combines multiple paths into a single object without connecting them visually. Use this when you want separate shapes to behave as one unit — for example, when you are explore a stroke to multiple paths at once, or when you want to create a clipping mask that affects all of them together.

Merge Paths does not draw lines between the paths. It just groups them logically so Illustrator treats them as one object. If you actually want to see a line connecting them, use Join instead.

Troubleshooting common connection problems

If Join does not seem to work, make sure you have the Direct Selection tool active and that you have selected exactly two endpoints (or more, if you want to join multiple at once). If you selected the whole path instead of just the endpoints, Join will not do anything visible.

If the line connecting your endpoints is not where you expected it, undo and check that you selected the correct endpoints. It helps to zoom in so you can see the small endpoint squares clearly. If the endpoints are very close but not exactly on top of each other, Join will draw a visible line segment between them, which might look like a tiny stray line if the gap is small.

If you want to delete that connecting line after joining, you cannot — once paths are joined, they are one path. Instead, undo the join, move one endpoint away, and try again.

Frequently Asked Questions

What is the difference between Join and Merge Paths?

Join connects two endpoints with a line segment and creates a single continuous path. Merge Paths groups multiple paths into one object without connecting them visually. Use Join when you want to see a line between the paths; use Merge Paths when you want them to behave as one unit for effects or masking.

Can I join endpoints on the same path?

Yes. If you have a path with two separate endpoints (like an open line), you can select both endpoints and press Ctrl+J or Cmd+J to close the path. This is useful for turning an open shape into a closed one so you can fill it.

Why does Join draw a line between my endpoints when I do not want one?

Join always connects the two selected endpoints with a line segment. If the endpoints are not touching, that line will be visible. If you do not want the line, undo the join, move one endpoint closer to the other, and try again. Or use Merge Paths instead if you want to group the paths without connecting them.

Can I join endpoints that are very far apart?

Yes, but the line connecting them will be very long and visible. Join works the same way whether the endpoints are touching or across the canvas. If the long line is not what you wanted, undo and reconsider whether you selected the right endpoints.

How do I make the connecting line curved instead of straight?

After joining, use the Convert Anchor Point tool (Shift+C) to click on one of the endpoints and drag out a handle, creating a curve. Or delete the straight segment and redraw it with the Pen tool to add curves where you want them.