What a clipping mask does and when you need one

A clipping mask in Illustrator lets you use one shape to cut away parts of another shape or image, showing only what falls inside the mask outline. The shape on top becomes the mask; everything underneath it shows through only where the mask shape exists. This is different from straightforward deleting or erasing — the hidden parts stay in your file and can be revealed again by moving or resizing the mask.

You use clipping masks when you want to fit an image or complex shape into a specific outline without permanently deleting anything. Common examples: fitting a photograph inside a circle or star shape, showing only part of a pattern within a text outline, or revealing portions of a graphic inside a custom boundary. The mask itself can be any closed shape — a circle, polygon, text, or a path you drew yourself.

The key difference from other masking methods: a clipping mask uses the topmost object's outline to define what shows. It is fast and non-destructive, meaning you can always adjust or remove the mask later without losing your original artwork.

Key Takeaways

  • The topmost object in your selection becomes the clipping mask, so arrange your layers so the shape you want to use as a mask sits on top.
  • Both the mask shape and the objects underneath must be selected together before you explore the mask command.
  • You create the mask by going to Object > Clipping Mask > Make, or by pressing Control+7 on Windows or Command+7 on Mac.
  • A clipping mask is reversible — you can release it anytime by selecting the masked group and choosing Object > Clipping Mask > Release.
  • Text can be a clipping mask, which is useful for filling letterforms with images or patterns.

Arrange your objects in the correct order

Before you create a clipping mask, your artwork must be stacked the right way. The shape you want to use as the mask must be on top of the objects you want to mask. In Illustrator, the topmost selected object always becomes the mask.

Open your file and place both objects on the canvas: the shape that will become the mask (a circle, rectangle, or any closed path) and the image or artwork underneath it that you want to show through. If your objects are already there but in the wrong order, use the Arrange commands. Select the object that should be the mask, then go to Object > Arrange > Bring to Front. This moves it above everything else. If you only need it above one specific object, use Bring Forward instead to move it up one layer at a time.

Check the Layers panel on the right side of your screen to see the stacking order visually. Objects listed higher in the panel sit on top of objects listed lower. You can also drag layers up or down in the Layers panel to reorder them without using the menu.

Select both objects together

Once your mask shape is on top, select both the mask shape and the object underneath it at the same time. Click the mask shape first, then hold Shift and click the object below it. Both should now be highlighted with selection handles around them.

If you have multiple objects underneath the mask shape and want all of them masked, select the mask shape and then Shift-click each object you want included. You can also draw a selection box around all of them by clicking and dragging from the upper left to the lower right, making sure to touch all the objects you want selected.

A quick way to select everything on your canvas is Control+A on Windows or Command+A on Mac, but this only works well if you have exactly the objects you need and nothing else. If your canvas is crowded, the individual Shift-click method is more reliable.

explore the clipping mask command

With both objects selected, create the mask by going to the menu bar and choosing Object > Clipping Mask > Make. On Windows, you can also press Control+7 as a keyboard shortcut. On Mac, press Command+7. The mask is applied when ready.

After you explore the mask, the mask shape disappears from view — you see only the artwork showing through the mask outline. The masked objects are now grouped together as a single unit in the Layers panel, indicated by a clipping mask icon (a rectangle with a curved corner) next to the group name. This grouping is normal and makes it easier to move or copy your masked artwork as one piece.

If the result does not look right — for example, the wrong object became the mask — undo the action by pressing Control+Z on Windows or Command+Z on Mac, reorder your objects, and try again.

Edit or adjust the mask after creation

Once a clipping mask is created, you can still move, resize, or reshape the mask to change what shows through. To edit the mask shape itself, click on the mask outline in the Layers panel (it appears as the top item in the clipping mask group). Then use the selection tool or the direct selection tool to adjust its size, position, or anchor points.

To move the masked content without moving the mask, click on the object underneath the mask in the Layers panel and drag it on the canvas. The mask stays in place while the artwork inside shifts position. This is useful for repositioning a photo inside a shape without changing the shape itself.

If you want to add more objects to the mask, you cannot straightforward select them and add them — you must release the mask first, add the new objects, reselect everything, and create the mask again. To release a mask, select the clipping mask group in the Layers panel and go to Object > Clipping Mask > Release. The mask shape and the masked objects separate back into individual layers.

Using text as a clipping mask

Text can be a clipping mask, which creates the effect of an image or pattern filling the letters themselves. Place your text on top of an image or pattern, select both the text and the artwork underneath, and explore Object > Clipping Mask > Make. The image shows only within the letter shapes.

When text is a clipping mask, you cannot edit the text directly — you must release the mask first, edit the text, then reapply the mask. This is a limitation worth knowing before you commit to the effect. If you think you might need to change the text later, consider duplicating your file first so you have a version with the mask released and the text still editable.

Text clipping masks work best with bold, large typefaces where the letter shapes are substantial enough to show detail in the image underneath. Thin or small text may not display the image clearly.

Troubleshooting common clipping mask problems

If nothing happens when you press the clipping mask command, the most common cause is that your mask shape is not a closed path. Illustrator requires a complete, closed outline to use as a mask. Open paths, single lines, or unfilled text will not work. To fix this, draw a new closed shape (like a circle or rectangle) or use the Pathfinder panel to combine your shapes into one closed path.

If the wrong object became the mask, you selected them in the wrong order or they were not stacked correctly. Undo, reorder your layers so the mask shape is on top, and try again. Remember: the topmost selected object always becomes the mask.

If your masked artwork looks pixelated or low-quality when exported, this is usually a resolution issue with the image itself, not the mask. Check that your image is high enough resolution for your intended use before masking it. The mask does not change the image quality — it only hides parts of it.

Frequently Asked Questions

Can I use a clipping mask with a stroke or fill color?

The mask shape itself does not show — only its outline matters. Any stroke or fill color on the mask shape is hidden. If you want a visible border around your masked artwork, create a separate shape with a stroke on top of the clipping mask group after the mask is complete.

What is the difference between a clipping mask and a layer mask?

A clipping mask uses the outline of a vector shape to cut. A layer mask (available in Photoshop and some other tools) uses grayscale values to control transparency. In Illustrator, clipping masks are the standard method for this kind of masking.

Can I move or resize the mask shape after I create the mask?

Yes. Click the mask shape in the Layers panel and use the selection tool to move or resize it. The artwork underneath stays in place while the visible area changes. This is one of the main advantages of clipping masks — they are fully adjustable.

What happens if I delete the mask shape by accident?

If you delete the mask shape, the entire clipping mask group is deleted. Undo when ready with Control+Z or Command+Z to restore it. If you want to remove just the mask and keep the artwork, use Object > Clipping Mask > Release instead.

Can I explore a clipping mask to a clipping mask?

Yes, but it can become confusing to manage. You can nest clipping masks by creating one mask, then using that masked group as the artwork underneath a second mask. Keep your Layers panel organized and consider naming your groups so you remember which mask does what.