To close an open path in Inkscape, select its two endpoints with the Node tool, then join them by merging the nodes or adding a connecting segment. This Mac desktop guide shows how to choose the right operation and build one closed outline from separate pieces.
Which joining operation does your shape need?
Start by deciding what should happen at each gap. Inkscape documents two different operations: merging selected nodes into one node, and joining endpoints with a new segment. The first makes a shared junction; the second supplies a missing edge. See the official Node Tool Options.
| Intended result | Operation to use | What to inspect afterward |
|---|---|---|
| Two endpoints should become one junction | Join selected nodes |
The junction’s position and adjacent curves |
| Two distinct endpoints need an edge between them | Join selected end nodes with a new segment |
The new edge and its direction |
| Separate path objects need to be edited together | Path → Combine, followed by endpoint joining |
Every remaining gap |
A path object can contain several independent subpaths. The manual says Combine keeps the parts in one object, while Break Apart separates independent subpaths into objects. Consequently, combining your pieces is a preparation step: it does not establish the missing connections. Boolean Operations
For example, imagine two open zigzags arranged as the upper and lower edges of an abstract tile. Their left endpoints are separated vertically, as are their right endpoints. Both gaps need connecting edges. Merging each pair would collapse the intended side of the tile into a single point. This is a construction choice based on your intended outline.
Prepare the paths while preserving useful editability
Save a separate working copy before changing the construction. Keep an earlier version if you may need the original separate pieces or shape controls again.
If your artwork already consists of paths drawn with the Pen tool, proceed to joining. If it consists of an ellipse, rectangle, star, or another geometrical shape, select it and choose Path → Object to Path when node-level editing is needed. This conversion removes its original shape-specific controls; editing the resulting path does not restore those controls. Editing Nodes on a Geometrical Shape
Converting a closed rectangle into a path does not create open endpoints. A closed path already loops back on itself. If your intended construction genuinely requires an opening, the Node toolbar provides a segment-deletion operation that leaves a gap. Make that structural change deliberately on your working copy. Editing Paths with the Node Tool, Node Tool Options
Keep a visible stroke during construction. Open Object → Fill and Stroke; in Fill, choose the cross for no paint, and in Stroke paint, choose a solid color. This makes the actual edges easier to inspect. Those controls change appearance without supplying missing connections. The Fill and Stroke Dialog
The instructions below use menu commands and toolbar buttons. On a Mac, you can click the tools directly; the documented letter keys S for Selector and N for Node are also convenient. The Selector Tool, Editing Paths with the Node Tool
Close a single open path
For an existing open outline, use this sequence:
- Select the path and activate the Node tool.
- Locate its two free ends. Drag a small node-selection rectangle around exactly those two endpoints, excluding intermediate nodes.
- Hover over the toolbar buttons to identify the intended command.
- Click
Join selected end nodes with a new segmentto supply the missing edge, orJoin selected nodesto merge the ends. - Inspect the junction before making further edits.
The official Node Tool Options explains the two joining operations.
Choose the pair explicitly. The manual notes that selecting all nodes across many interruptions can make the segment-joining operation choose the closest endpoints. Working on one gap at a time lets you determine the outline’s route. Node Tool Options
Build one closed abstract tile from two open paths
This worked construction uses two angular paths and two connecting edges. The positions are illustrative: no exact measurements are required. Arrange the paths so the upper one stays above the lower one and the finished outline will not cross itself.
Draw and combine the two pieces
Select the Pen tool. Use its regular Bézier mode and set Shape to None for a plain path. Click three points to create a shallow upward zigzag: a left point, a higher middle point, and a right point. Finish with a secondary click—the right-click action on your mouse or trackpad. Clicking successive points creates straight segments, as described in The Pen Tool.
Draw a second three-point path below the first. Put its middle point slightly lower than its ends. Leave visible space between the two left endpoints and between the two right endpoints. You now have two separate open pieces surrounding an empty central area.
Activate Selector. Click one piece, then hold Shift and click the other. Choose Path → Combine. The manual documents this object-selection method and the combination command. The Selector Tool, Boolean Operations
Connect both sides
Activate Node. Select only the two left endpoints and apply the new-segment joining command. Then select only the two right endpoints and apply it again. The first connection creates one longer open route; the second completes the loop.
Use this endpoint count as a construction check. It follows from the manual’s distinction between open paths with two ends and closed paths whose ends are connected. Editing Paths with the Node Tool
| Construction stage | Free endpoints expected |
|---|---|
| Two separate open zigzags | Four |
| Combined object, before joining | Four |
| Left side connected | Two |
| Right side connected | Zero |
This explains a common stopping point: after the first successful join, the artwork is connected but still open. Trace the route mentally from either remaining endpoint. If you reach the other endpoint without returning to your start, one closure is still missing.
Verify closure, then refine the shape
Do not use a visible fill as proof that the outline is closed. SVG fills open subpaths as though a closing edge existed for painting purposes. The fill can therefore cover the center even while the actual stroked path has a gap. SVG 2: Painting—Fill Properties
Keep the fill off during inspection and examine both joins closely. For the tile example, confirm that each side has a real connecting segment. If two ends were merely placed on top of one another, their matching positions alone would not establish the connected loop described by the manual. Editing Paths with the Node Tool
Once the outline is complete, decide which junctions should remain angular. Select those nodes and use the corner-node control. For a flowing junction, use the smooth-node control and adjust its handles. Corner-node handles move independently; smooth-node handles stay aligned. These choices affect the contour, so inspect the neighboring segments after changing them. About Node Types
You can now restore a solid fill and choose the final stroke appearance in Object → Fill and Stroke. Stroke width, corner joins, and end caps are appearance settings in Stroke style; they should be adjusted after the path connections are settled. The Fill and Stroke Dialog, Strokes
What should you check when joining gives the wrong result?
The outline pinches inward. Reconsider the construction choice. A side with two deliberately separated corners needs a connecting segment. A merged junction represents a different geometry.
The pieces move together but gaps remain. You may have completed only Combine. Inspect each intended junction and finish the endpoint connections. Combining retains the constituent parts within one object. Boolean Operations
You are trying to attach a third segment to an existing junction. A path node can connect to at most two other nodes. For this tile task, keep the perimeter as one loop and make any additional decorative line a separate path. The documented path model does not support a three-way node. Editing Paths with the Node Tool
You want to merge overlapping filled shapes instead. That is a different construction task. The manual describes Union as retaining the common outline of the selected paths. Use it when that combined area is your intended result; use endpoint joining when assembling a particular route from open pieces. Boolean Operations
Finish when the perimeter follows your intended route, both joins are connected, and the corners or curves have the shape you want. Save that closed, node-editable version alongside the earlier construction copy so you can continue refining the contour or return to the original pieces.
Sources
- Node Tool Options — Inkscape Beginners’ Guide.
- Editing Paths with the Node Tool — Inkscape Beginners’ Guide.
- Editing Nodes on a Geometrical Shape — Inkscape Beginners’ Guide.
- Boolean Operations — Inkscape Beginners’ Guide.
- The Selector Tool — Inkscape Beginners’ Guide.
- The Pen Tool — Inkscape Beginners’ Guide.
- About Node Types — Inkscape Beginners’ Guide.
- The Fill and Stroke Dialog — Inkscape Beginners’ Guide.
- Strokes — Inkscape Beginners’ Guide.
- Painting: Filling, Stroking and Marker Symbols — World Wide Web Consortium (W3C).