Smiling toddler in a blue jacket standing on a pebbly beach with a blurred background, demonstrating shallow depth of field
  • Creating a Shallow Depth Of Field in Photoshop

  • Aaron Nace
    by Aaron Nace
    August 3, 2012
  • Add to
    favorites

A wide-open aperture separates a subject from its background automatically, but that look can be rebuilt after the fact if you respect how the optics actually behave. Learn why cloning out the subject before blurring prevents an impossible color halo, how to place a graduated blur with Tilt-Shift or a hand-built Lens Blur channel, and why a Smudge pass along the edge beats feathering the mask.

Shallow Dof Before
Shallow Dof After
AfterBefore

Creating a Shallow Depth of Field in Photoshop

Shooting with a wide-open aperture naturally separates a subject from the background with a soft, out-of-focus blur, but not every photo gets shot that way. This technique simulates that same shallow depth-of-field look in Photoshop by cutting the subject out, carefully preventing color from bleeding around their edges, and applying a graduated blur that fades from sharp to soft exactly where a real lens would.

Getting Started: When This Effect Works Best

This effect works best on a relatively simple background, and it has real limits worth understanding before starting.

  1. Check Whether the Background Suits the Effect

    Confirm there is not something sitting immediately behind your subject’s head, like a wall a foot away. A background element needs some real distance from the subject for a natural depth-of-field blur to make visual sense.

Why Background Distance Matters

A shallow depth of field in a real photograph is not a simple left-to-right blur. It is based on distance from the plane of focus. Something a foot behind a subject would not naturally be very blurred at all, so applying a strong blur there would look obviously fake, while something ten feet back would plausibly be soft in real optics. Complex, layered scenes can still work with this technique, but they take longer since more careful masking is required.

Cutting Your Subject Out of the Background

The cutout does not have to be perfect everywhere, only where the blur will be strong enough to expose a bad edge.

  1. Select With the Magnetic Lasso Tool

    Click on an edge of your subject with the Magnetic Lasso tool and move your cursor along the outline. It will follow the edge automatically, though not perfectly, getting you roughly 80 to 90 percent of the way there.

  2. Close the Selection

    Double-click to close the selection once you have traced back around to your starting point.

Refining the Selection

A few passes with the regular Lasso clean up whatever the Magnetic Lasso got wrong.

  1. Add to the Selection With Shift

    Switch to the regular Lasso tool, hold Shift, and manually select any areas the Magnetic Lasso missed, like part of the hair.

  2. Subtract From the Selection With Alt/Option

    Hold Alt (Option on Mac) and select any areas that were incorrectly included, refining the edge as needed.

  3. Prioritize Accuracy Where It Matters

    Focus your refinement effort on edges near where the blur will actually be strong, and do not worry as much about areas, like feet close to the focal plane, that will not be blurred much anyway.

  4. Copy the Subject to a New Layer

    Press Ctrl + J (Cmd + J on Mac) to copy the selected subject onto its own layer.

Preventing Color Bleed Before Blurring

Blurring the background layer directly, with the subject still sitting on it, causes an obvious problem worth fixing first.

  1. Duplicate the Background Layer

    Duplicate the original background layer to preserve the untouched version.

  2. Clone Stamp Out the Subject’s Former Area

    Using the Clone Stamp tool, sample from the surrounding background and paint over the area where your subject used to be, working from the outside in.

Why Cloning Prevents a Color Halo

Blurring a background layer that still has the original subject sitting on it smears the subject’s own colors, like a blue jacket, into the surrounding blur. That would never happen with a real optical depth of field, since the subject in front is a separate physical plane from what is behind them. The Clone Stamp job does not need to be perfect, since most of it will end up hidden behind the subject layer placed back on top afterward. It only needs to cover whatever small edges might peek out once the blur is applied.

Blurring the Background With Tilt-Shift

The Tilt-Shift filter builds the graduated blur in a single step, with handles that control exactly where focus falls off.

  1. Apply the Tilt-Shift Blur Filter

    On the cleaned-up background layer, go to Filter > Blur > Tilt-Shift (Filter > Blur Gallery > Tilt-Shift in later versions).

  2. Position the Focus Plane

    Drag the in-focus band to align with the part of your subject that should stay sharp, such as their feet if they are standing on the same plane throughout the shot.

  3. Adjust the Blur Falloff

    Drag the falloff handles to control how gradually the blur increases moving away from the focus plane, aiming for something that looks believable rather than pushed to an extreme.

Before and after comparison of a toddler on a beach, showing the background blurred for a shallow depth of field

An Alternative Blur Method Using Lens Blur

The same graduated result can be built by hand with a gradient and the Lens Blur filter, which is the way to do it in Photoshop CS4 or CS5, since Tilt-Shift is a CS6 filter.

  1. Create a Gradient on a New Layer

    On a new layer, use the Gradient tool set to Foreground to Transparent and Linear, and drag a gradient from top to bottom over the image.

  2. Turn the Gradient Into a New Channel

    Hold Ctrl (Cmd on Mac) and click the gradient layer’s thumbnail to load it as a selection, then create a new channel in the Channels panel and invert it with Ctrl/Cmd + I so it matches the gradient.

  3. Apply Lens Blur Using That Channel

    Go to Filter > Blur > Lens Blur, set the Source to your new alpha channel, and adjust the Radius until the blur fades gradually just like the Tilt-Shift result.

Softening the Edge With the Smudge Tool

A final pass with the Smudge tool blends the hard-edged cutout of the subject into the newly blurred background for a more believable transition.

  1. Create a New Layer for Smudging

    Create a new layer above everything and zoom in close to the subject’s edge.

  2. Enable Sample All Layers and Lower Strength

    Select the Smudge tool, check Sample All Layers in the options bar, and set Strength to around 10 to 15%.

  3. Smudge Along the Edge

    Click and drag back and forth along the subject’s edge to mix background and subject pixels together at the boundary.

How This Differs From Refine Edge

An edge-softening tool works by feathering or softening the mask itself, which changes opacity along the boundary but does not actually mix pixel colors together. The Smudge tool physically blends the color information from both layers at the edge, which produces a more realistic transition, especially appropriate here, since a real shallow depth-of-field photo would naturally have a soft, blended edge around an in-focus subject rather than a crisp cutout line.

Common Mistakes to Avoid

Blurring the background without first cloning out the area behind the subject is the most common mistake, and it leaves an obvious color halo bleeding into the blur that would never happen optically. Choosing a subject with something distracting directly behind their head, with no real depth to the scene, also undermines the whole effect before it starts. And leaving the cutout edge completely hard, without a Smudge pass to blend it, makes the composite look pasted rather than photographed with a genuinely shallow depth of field.

Why This Approach Works

What makes this simulated depth of field convincing rather than obviously fake comes down to respecting how real optical blur actually behaves. Cloning out the subject’s former position before blurring is what prevents an impossible color bleed. In a real photo, a subject’s colors never smear into a background that is optically behind them, so skipping this step is one of the fastest ways to break the illusion. Positioning the focus plane and controlling the falloff, whether with Tilt-Shift or a hand-built gradient channel and Lens Blur, mimics how real depth of field increases gradually with distance rather than snapping instantly from sharp to soft. And finishing with a Smudge pass, rather than leaving a crisp cutout edge, accounts for the fact that a genuinely shallow depth of field naturally produces a soft transition at the boundary of an in-focus subject, a detail easy to overlook but one that separates a believable result from one that reads as an obvious composite.

Final Thoughts

Faking a shallow depth of field is one of those effects that rewards attention to the small details a real lens produces automatically: distance-based falloff, no color bleed between subject and background, and a soft rather than hard transition at the edges. Whether you reach for the Tilt-Shift filter or build the same result manually with a gradient and Lens Blur, the underlying principle is the same. Simulate what the optics would actually do, rather than applying a uniform blur and calling it finished.

Quick Reference: Keys, Menus and Settings

  • Select the subjectMagnetic Lasso, then Lasso: Shift adds, Alt/Option subtracts
  • Copy to a layerCmd/Ctrl + J
  • Stop color bleedDuplicate the background, Clone Stamp the subject out from the outside in
  • Blur (CS6)Filter > Blur > Tilt-Shift: sharp band at the feet, falloff into the background
  • Blur (CS4, CS5)Gradient to a new channel, Cmd/Ctrl + I; Filter > Blur > Lens Blur, Source: Alpha 1
  • Soften the edgeSmudge tool on a new layer, Sample All Layers, Strength 10 to 15%

No AI, no generative credits.

Fake Shallow Depth of Field: Common Questions

Can I add a shallow depth of field to a photo after shooting?

Yes. Cut the subject out, clone them out of a copy of the background, and blur that copy so it goes from sharp at the subject’s feet to soft behind them, much like shooting at f/1.4.

What photos does this effect work on?

Ones with a fairly simple background and some distance behind the subject. A tree ten feet back can be blurred believably; a wall one foot behind the head wouldn’t be out of focus in a real photo.

How do I cut out the subject quickly?

Click once on an edge with the Magnetic Lasso and move the cursor around the subject; it follows the edge and gets you 80 to 90 percent there. Double-click to close, then fix the rest with the regular Lasso.

How do I add to or remove from a Lasso selection?

Hold Shift to add to the selection and Alt/Option to subtract from it. Then press Cmd/Ctrl + J to copy the subject to its own layer.

Does the selection need to be perfect?

Only where the background will be strongly blurred. Near the feet, which stay in focus, a rough edge is fine and extra time there is wasted.

Why is there a colored halo around my subject after blurring?

The blur pulled in the subject’s own colors, like the blue of the jacket. Duplicate the background and use the Clone Stamp tool from the outside in to remove the subject before blurring; it doesn’t need to be neat, since the subject layer covers most of it.

How do I use Tilt-Shift to blur the background?

In CS6, go to Filter > Blur > Tilt-Shift on the cleaned-up background copy. Move the sharp band down to the subject’s feet and drag the falloff up into the background, keeping it believable rather than cranked.

What if my Photoshop doesn’t have Tilt-Shift?

Draw a Foreground to Transparent linear gradient from top to bottom on a new layer, Cmd/Ctrl-click it to load a selection, make a new channel and invert it with Cmd/Ctrl + I. Then use Filter > Blur > Lens Blur with Source set to Alpha 1 and raise the Radius.

How do I soften the hard edge of the cutout?

On a new layer, use the Smudge tool with Sample All Layers on and Strength at about 10 to 15%, and drag back and forth along the edge. Unlike Refine Edge, it mixes the colors of subject and background.

Master Photoshop, Lightroom and Photography

Join PHLEARN PRO for $12.99 a month, or $99.99 a year (save 36%). Cancel anytime, with a 100% money-back guarantee.

As featured in
  • 500px
  • Adobe
  • Fstoppers
  • HuffPost
  • Inc.
  • PetaPixel