Sign up and get 15% off the four courses and Lifetime.

Photoshop, the basics

Lesson

Layers and masks, without destroying anything

Lesson 2 of 8 in Photoshop, the basics.

Checked against the makers' documentation on 9 October 2026.

Lesson

A layer is one transparent sheet in a stack. Each sheet holds one part of the picture, and you can change, hide or move it without touching the rest. What you see on screen is the whole stack, looked at from above.

Working in layers means the original photo never changes. A fix that turns out wrong next week can be switched off or deleted, and the photo underneath is exactly as it was shot.

A sneaker reseller has a phone photo of a white trainer on a grey bedsheet, and that is the job here. The reseller wants the bedsheet gone, the shoe's own shadow kept and the shoe a little brighter.

Put each fix on a layer of its own

A phone photo opens as a single locked Background layer. Never paint on it. Add a new empty layer above it and do the work there. The Remove tool has a Create new layer option in its Contextual Task Bar that does the same for removals.

Kind of layerWhat it holds
Image layerPixels
Type layerLive text you can retype
Shape layerVector shapes that stay sharp at any size
Adjustment layerA change of light or colour, applied to everything below it
Smart ObjectA picture you can scale and filter without damaging the pixels inside
Fill layerA flat colour, a gradient or a pattern

Because an adjustment layer changes everything beneath it, a strange result is often a layer sitting one place too high or too low. Read the Layers panel from the bottom up before you change anything.

Hide the background with a mask

A layer mask decides how much of a layer shows. White reveals, black conceals, and grey makes the layer partly see-through. Click the Layer masks icon at the bottom of the Layers panel to add a mask that shows everything, or hold Alt (Option on a Mac) as you click to add one that hides everything. If a selection is active when you click, the mask shows the selection and hides the rest.

Paint on the mask with a soft brush. Press D to set your colours to black and white, and X to swap between them. For the trainer, paint black over the bedsheet and leave the soft shadow under the sole white or light grey. Before you paint, click the mask thumbnail and check there is a border around it, because a border around the picture thumbnail means you are about to change pixels.

The Eraser can give the same look on screen, but it deletes pixels, while a mask only hides them. When the reseller asks for more of the shadow back, you paint white on the mask and it returns, exactly as shot. To reuse the same shape on another layer, Alt-drag or Option-drag the mask thumbnail onto that layer, which copies it.

Aim a change with a clipping mask

A clipping mask makes a layer borrow the shape of the layer below it. The bottom layer is the base, and the layers clipped to it show only where the base has content. Hold Alt or Option and click the line between two layers in the Layers panel, or choose Layer > Create Clipping Mask.

Say the trainer now sits on a pale grey fill layer as its new background. A brightening adjustment placed above the photo would brighten the grey as well. Clip it to the photo's layer and it touches only what the mask shows, the shoe and its shadow.

Name the layers and keep them live

Name layers by what they do, such as "bedsheet mask" or "shoe brighter". Layer Cleanup, an icon in the Layers panel, deletes empty layers and renames the rest from what they contain. Read the names it gives. It can see that a layer holds a shoe, and it has no way of knowing which version the reseller approved.

Keep every layer and mask live until delivery, and merge only what you know you will never change again. Save the layered work as a PSD and export a copy to send, since a JPEG flattens every layer and mask into one picture.

The next lesson covers selections and cutouts that still look clean on a new background.