What a clipping mask does and when to use it
A clipping mask in Illustrator lets you use one shape to cut off the parts of another object you don't want to see. The shape on top becomes the mask — only the artwork underneath that fits inside that shape stays visible. Everything outside the mask boundary disappears from view, but isn't deleted.
You'll use clipping masks when you want to fit an image or complex artwork into a specific shape without actually cropping the original file. For example, you might mask a photograph to fit inside a circle, or hide parts of a gradient so only a certain area shows through a letter or logo.
The key difference from cropping: a clipping mask is non-destructive and reversible. You can release the mask later and the hidden artwork comes back unchanged. You can also edit the mask shape itself without touching the artwork underneath.
Key Takeaways
- The top object becomes the mask shape, and only artwork underneath that fits inside it stays visible.
- You need at least two objects — a mask shape on top and the artwork to be masked below it — selected in the correct order.
- Select the mask shape first, then hold Shift and click the artwork below to add it to the selection.
- Go to Object > Clipping Mask > Make to create the mask, and Object > Clipping Mask > Release to undo it.
- After masking, both objects become a single group that you can move together, but you can still edit the mask shape or the artwork inside it.
Arrange your objects in the correct stacking order
Before you create a mask, your artwork needs to be stacked the right way. The shape you want to use as the mask must be on top, and the artwork you want to mask must be below it. If they're in the wrong order, the mask won't work the way you expect.
Open your Layers panel (Window > Layers) to see the stacking order clearly. Look at the list — objects higher in the list sit on top of objects lower down. If your mask shape is below your artwork, click and drag it above in the Layers panel, or use Object > Arrange > Bring to Front to move it to the top.
The mask shape itself can be any path: a circle, rectangle, polygon, text, or even a complex shape you've drawn with the pen tool. It doesn't matter what color or stroke it has — those properties disappear once the mask is created.
Select both objects in the right order
Selection order matters. You must select the mask shape first, then add the artwork to the selection. If you select them in the wrong order, Illustrator will use the wrong object as the mask.
Click the mask shape (the one on top) to select it. Then hold Shift and click the artwork below to add it to the selection. You should now see both objects highlighted. In the Layers panel, both should show a blue highlight.
If you accidentally selected them in the wrong order, click an empty area of the canvas to deselect everything, then start over. It's faster than trying to fix the selection after the mask is made.
Create the mask using the Object menu
With both objects selected in the correct order, go to the top menu and click Object. A dropdown menu appears. Move your cursor down to Clipping Mask — another submenu opens. Click Make.
Illustrator instantly converts the top object into a mask. The artwork underneath now shows only where it overlaps with the mask shape. The two objects become a single group in your Layers panel, and the mask shape itself is no longer visible as a separate object.
If nothing changed or the wrong part got masked, undo (Ctrl+Z or Cmd+Z) and check your stacking order and selection order. The most common mistake is selecting the artwork first instead of the mask shape.
Edit the mask shape after it's created
You can change the mask shape without affecting the artwork underneath. In the Layers panel, expand the clipping mask group by clicking the arrow next to it. You'll see two items: the mask path at the top (marked with a dotted outline icon) and the masked artwork below.
Click the mask path in the Layers panel to select it. Now you can edit it with the selection tool, direct selection tool, or any other editing tool. Move it, resize it, or use the pen tool to add or remove anchor points. The artwork inside updates instantly as you change the mask shape.
To edit the artwork instead of the mask, click the artwork item in the Layers panel. You can then move it, change its color, or apply effects — all without affecting the mask shape itself.
Release or remove the clipping mask
If you want to undo the mask and separate the objects again, select the clipping mask group and go to Object > Clipping Mask > Release. The mask shape and the artwork become two independent objects again, stacked in their original order. The artwork that was hidden reappears unchanged.
You can also delete just the mask shape while keeping the artwork. In the Layers panel, click the mask path (the one with the dotted outline icon) and press Delete. The artwork stays visible and unmasked, but the mask shape is gone.
Common issues and how to fix them
If the mask didn't work, the most likely cause is selection order. Undo, make sure the mask shape is on top in the Layers panel, select it first, then Shift-click the artwork, and try again.
If you see the mask shape itself (a colored outline) instead of just the masked artwork, the mask didn't take. This usually means you selected the artwork first. Undo and reverse the selection order.
If the masked artwork is hard to see or edit, click it in the Layers panel to select it, then use Object > Clipping Mask > Edit Clipping Path to temporarily see the mask outline while you work. Click the artwork again to go back to normal editing mode.
If you need to move the mask and the artwork together, click the group in the Layers panel and drag both with the selection tool. If you want to move only the artwork inside the mask, click the artwork item in the Layers panel first.
Frequently Asked Questions
Can I use text as a clipping mask?
Yes. Type your text, select it, then hold Shift and click the artwork below. Go to Object > Clipping Mask > Make. The text becomes the mask shape, and only the artwork inside the letters stays visible. You can't edit the text itself after masking — if you need to change the words, release the mask first.
What's the difference between a clipping mask and a layer mask?
A clipping mask uses a vector shape to cut off artwork. A layer mask (in Photoshop or similar tools) uses a grayscale image where black hides and white shows. Illustrator doesn't have layer masks — clipping masks are the main masking tool. They work with vector shapes, not grayscale images.
Can I mask multiple objects at once?
Yes. Select the mask shape first, then hold Shift and click each artwork object you want to mask. When you create the mask, all of them become masked by the same shape. They'll all be grouped together in the Layers panel.
Does the mask shape have to be a closed path?
Yes. Open paths won't work as masks. If you're using a path you drew, make sure it's closed — the start and end points should connect. If you're using text or a shape tool, it's already closed and ready to use.
Can I move the artwork inside the mask without moving the mask itself?
Yes. In the Layers panel, click the artwork item (not the mask). Then use the selection tool to move it around inside the mask. The mask shape stays in place while the artwork slides around inside it.