How To Change a Background In Photoshop [For Beginners!]

88K views 2,946 likes 95 comments

Jump to a step in the video (10)

Click a time to play the video from there.

  1. 0:00 Introduction
  2. 0:04 In-App Tutorial
  3. 0:44 Step 1: Select the Object
  4. 1:00 Step 2: Refine The Selection
  5. 1:36 Step 3: Create a Layer Mask from The Selection
  6. 1:50 Step 4: Duplicate The Layer
  7. 1:56 Step 5: Invert the Layer Mask
  8. 2:26 Step 6: Set The Blending Mode to Multiply
  9. 2:48 Step 7: Use a Levels Adjustment to Control the Shadow Intensity
  10. 3:42 Final Thoughts
Show Shortcuts for
Text size
Appearance

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.

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

ActionWindowsmacOS
Open the Discover panelCtrl FCommand F
Subtract from a selectionHold Alt and dragHold Option and drag
Invert the layer maskCtrl ICommand I
Free TransformCtrl TCommand T
Create a clipping maskCtrl Alt GCommand Option G
Show the rulersCtrl RCommand 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.

Choosing Subject from the Select menu in Photoshop to auto select the headphones

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.

Holding Alt or Option with the Quick Selection Tool to subtract leftover white areas from the selection

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.

Duplicating the headphones layer with Layer then New then Layer Via Copy to keep the original shadow

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.

Inverting the active layer mask with Ctrl I so the headphones hide and the background shows

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.

Setting the Blending Mode to Multiply to change a background in Photoshop and keep only the real shadow

Step 7: Create a Levels Adjustment and Clip It

Click the New Adjustment Layer icon and choose Levels.

Adding a Levels adjustment layer from the New Adjustment Layer icon to control shadow intensity

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.

Clicking the Clipping Mask icon in the Properties panel so the adjustment affects only the layer below

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.

Dragging the Levels Gamma slider to about 0.65 to darken the shadow on the wooden table

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 toUse
Swap the background behind a product on white and keep its real shadowThis tutorial
Cut any subject out of any backgroundHow To Remove a Background In Photoshop
Keep the background but change its colorHow to Change Background Colors in Photoshop
Replace a white background with full editing flexibilityReplace White Backgrounds in Photoshop

Frequently Asked Questions

How do I change a background in Photoshop for a product shot?

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.

How do I keep the original shadow when I change the background?

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.

Why does the Multiply blending mode work for this?

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.

How do I make the shadow stronger or weaker?

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.

Does this work if my background is not white?

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.

Why does my new background still look fake?

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.

Where do I get the practice files?

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.

Pro Training

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.

View the Course

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.

Final Image

Drag the slider to see before and after

After: How To Change a Background In Photoshop [For Beginners!]
Before: How To Change a Background In Photoshop [For Beginners!]
Jesús Ramirez

About the author

Jesús Ramirez

Jesús Ramirez is a graphic designer and the founder of the Photoshop Training Channel, which he started in 2012 and has grown past two million YouTube subscribers. He has taught at Adobe MAX, Adobe Summit, and Photoshop World, teaches courses for CreativeLive and Pluralsight, and was one of five artists chosen for Adobe Stock's Make a Masterpiece campaign. His Photoshop templates shipped inside Photoshop CC 2018.

More about Jesús Ramirez

Similar Posts