How To Change a Background In Photoshop [For Beginners!]
Your choices stick across every tutorial on this device.
The easiest way to change a background in Photoshop is to select the subject with AI, mask out the old background, and restore the original shadow using the Multiply blending mode. It works beautifully on product shots against a white background, and the whole thing takes about three minutes.
The shadow is the secret. Most background swaps look fake because the product floats on the new surface. This technique keeps the photo’s real shadow, so the composite keeps its weight.
After the core technique, this guide also covers what to do when the new background does not match: light direction, brightness, perspective, and depth of field.
Key Takeaways
- Select Subject does the heavy lifting: Photoshop’s AI analyzes the image and selects the product for you.
- The real shadow survives the swap: duplicate the layer, invert the mask, and set the copy to Multiply so the white disappears and the shadow stays.
- A clipped Levels adjustment turns the shadow’s strength into one slider.
- A believable composite matches four things: light direction, brightness, perspective, and depth of field. Each has a quick fix.
- You can open the practice files directly in Photoshop via the Discover panel’s hands-on tutorial, or grab the download at the end.
Table of contents
What You’ll Learn
- How to select a product with Select Subject and clean up what the AI misses
- The duplicate-invert-Multiply trick that keeps the photo’s original shadow
- How to control the shadow’s strength with one clipped Levels slider
- How to match light, brightness, perspective, and depth of field when you drop in a new scene
- Which of my background tutorials fits which job
What You Need
Before you start
- Any recent version of Photoshop
- A product shot on a white or light background, or the practice files from the download at the end of this tutorial
- Or open the files inside Photoshop: press Ctrl F (macOS: Command F) to open the Discover panel, go to Hands-on Tutorials, and search for “Replace a product shot background”
Keyboard Shortcuts for This Technique
| Action | Windows | macOS |
|---|---|---|
| Open the Discover panel | Ctrl F | Command F |
| Subtract from a selection | Hold Alt and drag | Hold Option and drag |
| Invert the layer mask | Ctrl I | Command I |
| Free Transform | Ctrl T | Command T |
| Create a clipping mask | Ctrl Alt G | Command Option G |
| Show the rulers | Ctrl R | Command R |
Change a Background in Photoshop, Step by Step
We are working with a pair of headphones shot on white, and the goal is to sit them on a wooden table with their own shadow intact.
Step 1: Select the Subject
Go to the Select menu and choose Subject. Photoshop analyzes the image with AI and selects the headphones for you.

Step 2: Refine the Selection
Select Subject usually does an excellent job, but it is not perfect. Here it grabbed the white gap in the middle of the headband.
Choose the Quick Selection Tool, nested under the Object Selection Tool. Then hold Alt (macOS: Option) and drag over the white area to subtract it from the selection. You can also click the Subtract icon in the Options bar, but the key is faster.

Step 3: Add a Layer Mask
With the selection active, click the Add Layer Mask icon at the bottom of the Layers panel. The mask hides the white background, leaving the headphones cut out and ready for whatever scene you place underneath.
Step 4: Duplicate the Layer
Now for the part that sells the composite: the original shadow. To keep it, duplicate the masked layer by going to Layer > New > Layer Via Copy.

Step 5: Invert the Layer Mask
Click the Layer Mask thumbnail on the original headphones layer. The white outline around the thumbnail shows the mask is active.
Invert it by pressing Ctrl I on Windows or Command I on macOS, or go to Image > Adjustments > Invert. Now that layer shows only the old white background, with the headphones hidden.

Step 6: Set the Blending Mode to Multiply
Open the Blending Mode drop-down and choose Multiply. Multiply hides white pixels and keeps darker ones, so the white background vanishes and the headphones’ real shadow lands on your new surface.

Step 7: Create a Levels Adjustment and Clip It
Click the New Adjustment Layer icon and choose Levels.

In the Properties panel, click the Clipping Mask icon. The down-pointing arrow means the adjustment affects only the shadow layer directly below it, not the whole composite.

Step 8: Control the Shadow Intensity
In the Properties panel, drag the Gamma slider, the one in the center. Around 0.65 darkens the shadow enough to read clearly on the wooden table. Your surface may want a different value, and the slider stays live forever.

Make the New Background Believable
The steps above handle the swap. Whether anyone believes it depends on how well the new background agrees with the subject. No two composites need the same fixes, but these four checks cover almost every giveaway.
Match the Light Direction
The light in the background has to point the same way as the light on your subject. If it does not, flip one of them: press Ctrl T (macOS: Command T) on the background layer, right-click, and choose Flip Horizontal.
Match the Brightness and Color
Two photos shot at different times rarely agree on exposure. Add a Levels adjustment layer, clip it to the subject with Ctrl Alt G (macOS: Command Option G), and brighten or darken until the subject sits in the scene.
For color, use the channel drop-down in the same Levels adjustment. The Red channel adds red or pushes toward cyan, Green adds green or pushes toward magenta, and Blue adds blue or pushes toward yellow. Nudge whichever pair moves the subject toward the background’s palette.
Match the Perspective
Perspective is the mismatch viewers feel without being able to name. You can nail the light, color, and extraction, and a wrong horizon still makes the image feel off.
Find the horizon line of the original photo, the camera’s eye level. Either imagine the scene stripped to ground and sky and mark where they would meet, or trace the converging lines with the Line Tool until they cross at the vanishing point. Then position the new background so its horizon sits at the same height.
Three tips that make this easier: hold Shift and click a layer mask thumbnail to temporarily disable the mask; press Ctrl R (macOS: Command R) to show the rulers and drag a guide onto the horizon; and if repositioning leaves transparent gaps, select them with the Rectangular Marquee Tool and run Edit > Content-Aware Fill. If Content-Aware Fill is grayed out, the background is a Smart Object, so right-click it and choose Rasterize Layer first.
Match the Depth of Field
If the original photo has a shallow depth of field, a tack-sharp background gives the swap away instantly. With the background layer selected, go to Filter > Blur Gallery > Tilt-Shift. Everything between the two solid lines stays sharp, and the blur builds gradually out to the dashed lines. Put the sharp band where your subject stands and let the distance melt.
For a deeper look at realistic background blur, read my guide to blurring backgrounds in Photoshop.
Tie It Together with a Global Grade
Finish with one adjustment that touches everything, so the pieces feel like one photo. Click the New Adjustment Layer icon and choose Color Lookup, then pick a look from the 3DLUT File drop-down. Tap the down arrow key to audition the LUTs, and lower the layer’s opacity if the winner is too strong. A touch of shared noise or a subtle vignette works the same unifying magic.
Which Background Tutorial Do You Need?
| You want to | Use |
|---|---|
| Swap the background behind a product on white and keep its real shadow | This tutorial |
| Cut any subject out of any background | How To Remove a Background In Photoshop |
| Keep the background but change its color | How to Change Background Colors in Photoshop |
| Replace a white background with full editing flexibility | Replace White Backgrounds in Photoshop |
Frequently Asked Questions
Select the product with Select > Subject, clean up the selection, add a layer mask, and place the new background underneath. Then duplicate the layer, invert the duplicate’s mask, and set it to Multiply so the original shadow lands on the new surface.
Duplicate the masked layer, invert the mask on the copy so it shows the old white background, and set that layer’s blending mode to Multiply. The white disappears, and the real shadow stays.
Multiply hides white pixels and keeps darker ones. A shadow photographed on white is exactly that: dark values on a white field, so Multiply carries the shadow over and drops everything else.
Clip a Levels adjustment to the shadow layer and drag the center Gamma slider. Around 0.65 darkens the shadow so it reads on a wooden surface; your background may want more or less.
The shadow trick needs a white or very light original background, because Multiply keys off the white. On busier backgrounds, cut the subject out and rebuild the shadow by hand instead.
Check four things: the light direction, the brightness and color, the horizon line, and the depth of field. Each has a quick fix covered in the second half of this tutorial, and together they determine whether the composite reads as a single photo.
Use the Tutorial Download section at the end of this page, or open the files inside Photoshop: press Ctrl F (Windows) or Command F (macOS) for the Discover panel, open Hands-on Tutorials, and search for the replace-a-product-shot-background tutorial.
Change a Background in Photoshop Like It Was Shot There
Select the subject, mask the white, and let Multiply carry the real shadow onto the new surface. Then check the lighting, brightness, perspective, and depth of field, and the swap will stop looking like a swap.
Watch the video above to see every step in real time, and if you post your result, tag #PTCvids so I can see it.
Selections and Masking Mastery
Complete course includes 2.5 hours of step-by-step lessons, 6 structured modules, downloadable practice files, and custom Photoshop brushes. Everything you need to master selections and masks in one place.
Keep going
Compositing lives and dies by selections and masks. My Selections and Masking Mastery course builds that skill from the ground up.
And if you are new here, subscribe on YouTube for a new Photoshop tutorial every week.
Tutorial Download
Practice Files
Download the files used in this tutorial and follow along step by step.
Related Links
Final Image
Drag the slider to see before and after
![After: How To Change a Background In Photoshop [For Beginners!]](https://photoshoptrainingchannel.com/wp-content/uploads/2022/01/How-To-Change-a-Background-In-Photoshop-after.jpg)
![Before: How To Change a Background In Photoshop [For Beginners!]](https://photoshoptrainingchannel.com/wp-content/uploads/2022/01/How-To-Change-a-Background-In-Photoshop-before.jpg)







