Before-and-after split close-up of a weathered man's face with ash-covered skin, a gray beard, and a gold and red religious forehead marking, showing a blurred background before and a sharper one after, illustrating shallow depth of field.
  • Create a Shallow Depth of Field in Photoshop

  • Aaron Nace
    by Aaron Nace
    May 13, 2013
  • Add to
    favorites

Shot at f/8, everything stays sharp front to back. This free Photoshop tutorial fakes the shallow look of a wide aperture by hand-building a depth map: stacked Lasso selections filled with white at partial opacity, closest to farthest, merged into an alpha channel and softened, then handed to the Lens Blur filter as its depth source, with iris shape and monochromatic noise keeping it from reading as a filter.

Create Shallow Dop

How to Create a Shallow Depth of Field in Photoshop

A photo shot at a smaller aperture like f/8 or f/11 keeps everything sharp front to back, but sometimes the look you actually want is the shallow, blurred-background feel of shooting at f/2.8 or wider. This technique fakes that look after the fact using a hand-built depth map and Photoshop’s Lens Blur filter, working best on an intimate portrait where the exact edges of the blur don’t need to be perfectly precise.

Why Fake Depth of Field Is Best Used When Camera Isn’t an Option

This is always going to look better done in camera with an actually wide aperture, and it isn’t a substitute for shooting it correctly in the first place. It’s a technique worth reaching for after the fact, on an image where a sharp, evenly-focused look isn’t quite what the photo needed — a subject cut out cleanly against a background, or a portrait where a slightly softer falloff would feel more intimate.

Building a Depth Map With the Lasso Tool

The foundation of this whole technique is a depth map — a black-and-white representation where lighter areas mark what’s closest to the camera and darker areas mark what’s farthest away. Professional depth maps often come from 3D modeling software, but a rough one built entirely with the Lasso tool works well too.

  1. Select the Closest Elements First

    Create a new layer and use the regular Lasso tool to loosely select whatever is closest to the camera — eyebrows, the tip of a nose, cheekbones. Hold Shift to add more areas to the selection, and hold Option/Alt to remove any area you selected by mistake. This selection doesn’t need to be precise, since a blur gets applied to smooth it out later.

Why Lighter Areas Represent Things Closer to the Camera

The whole point of a depth map is giving the Lens Blur filter a grayscale guide to work from later: it reads brightness as distance, treating white as nearest and black as farthest. Building the map with that convention in mind from the very first selection keeps every later step consistent.

Layering Selections From Closest to Farthest

Each new selection sits a little farther back and covers a little more of the frame than the one before it.

  1. Fill the First Selection With White

    Press Shift + Delete and fill the selection with white, then deselect with Cmd/Ctrl + D.

  2. Build Progressively Larger Selections Behind It

    On a new layer, make a second selection that’s a bit farther back and noticeably larger than the first — fully including everything the first selection covered, plus more. Fill it with white the same way, and repeat this a few more times, each new selection growing to include everything closer than it, working outward toward the farthest elements like shoulders and the top of the head.

Filling and Stacking Layers to Build Contrast

Opacity is what turns a set of flat white shapes into a gradient.

  1. Lower Each Layer’s Opacity

    Press V for the Move tool, then press a number key from 1 to 9 to set that layer’s opacity (or adjust it manually in the Layers panel) — around 50% works well as a starting point for each of the stacked white layers.

Because each layer is only partially opaque and layers stack on top of each other, areas covered by more of the white layers become progressively brighter, building a smooth gradient from white at the closest point down to black at the farthest, purely through the stacking effect.

Merging the Depth Map and Converting It Into a Channel

Lens Blur can only read a depth map that lives in the Channels panel, so the stack has to be converted.

  1. Merge the Depth Map Layers Together

    Shift-click all of the stacked white layers and press Cmd/Ctrl + E to merge them into a single layer.

  2. Turn the Layer Into a New Channel

    Hold Cmd/Ctrl and click the merged layer’s thumbnail to load it as a selection, switch to the Channels panel, and click the New Channel icon to create a channel from that selection.

Why Invert the New Channel

A brand-new channel starts out entirely black with nothing visible, so the selected area needs to be inverted — press Cmd/Ctrl + I — to put light back where the depth map information actually belongs. Once inverted and deselected, the channel should look essentially identical to the merged depth map layer you started with.

Softening the Depth Map With Gaussian Blur

Blocky lasso edges would produce blocky blur, so the map gets softened before it is used.

  1. Blur the Channel

    With the new channel selected, go to Filter > Blur > Gaussian Blur and apply enough blur that the sharp, blocky selection edges soften into a smoother gradient that starts to resemble the actual shape of the subject.

Applying Lens Blur Using the Depth Map as the Source

With the map ready, Lens Blur does the actual work.

  1. Duplicate the Background Layer

    Go back to the Layers panel, select the original background layer, and press Cmd/Ctrl + J to duplicate it. Make sure nothing is selected on the canvas before continuing.

  2. Open the Lens Blur Filter

    Go to Filter > Blur > Lens Blur. Keep Preview checked, and choose the more accurate rendering option over the faster one.

  3. Set the Depth Map Source to Your New Channel

    Under the Depth Map section, set the source to the alpha channel you just created — this is what tells Lens Blur exactly where and how strongly to blur.

Why Invert the Lens Blur Source

Applied directly, the blur will initially look backwards — sharp where it should be blurry and vice versa. Checking the Invert box inside the Lens Blur dialog flips the relationship between the channel’s brightness and where the blur applies, correctly matching the lighter, closer areas to less blur and the darker, farther areas to more.

Fine-Tuning Blur Radius, Iris Shape, and Noise

Three settings separate a convincing optical blur from an obvious filter.

  1. Set the Blur Radius

    Adjust the Radius slider to control the overall strength of the blur — keeping it under roughly 20 is a reliable way to avoid the effect looking obviously artificial.

  2. Adjust the Iris Shape

    Experiment with the Iris settings, which imitate an actual camera aperture, changing the blade shape between options like hexagon and octagon to influence how out-of-focus highlights render.

  3. Add Monochromatic Noise

    Check Gaussian and Monochromatic under the Noise options, and raise the amount slightly — enough to match the grain already present in the photo — so the blurred areas don’t look unnaturally smooth compared to the rest of the image.

Avoiding a Common Mistake: Redo the Blur, Don’t Lower Opacity

If the overall blur effect ends up too strong once applied, the instinct might be to just lower the layer’s opacity to soften it.

  1. Redo the Filter Instead of Lowering Opacity

    If the blur is too strong, undo it and reapply the Lens Blur filter with a lower radius rather than lowering the layer’s opacity afterward. Lowering opacity blends the blurred layer with the original sharp layer underneath, producing a strange, partially-doubled look rather than a clean, evenly reduced blur.

  2. Add a Very Slight Overall Gaussian Blur if the Edges Look Too Sharp

    If certain edges, like the outline of the subject, still look a touch too crisp compared to the surrounding blur, apply a very small additional Gaussian Blur over the top to smooth the transition further.

Why This Approach Works

Lens Blur is a fundamentally different kind of blur from something like a simple Gaussian Blur, because it can accept a separate grayscale image as an instruction set for how much to blur each individual pixel, rather than applying one uniform amount everywhere. Building that grayscale depth map by hand, stacking increasingly large selections at partial opacity from closest to farthest, is a simple way to approximate real-world distance using nothing more than the Lasso tool and layer opacity. Converting that stacked result into an actual channel, rather than leaving it as a layer, is what makes it available as a source option inside the Lens Blur dialog. From there, the Invert option corrects the natural relationship between brightness and blur amount, and the Iris and Noise settings are what keep the final result from looking like an obvious filter effect rather than a real lens’s optical characteristics.

Final Thoughts

This is a genuinely involved technique with a fair number of steps, but each one builds directly on the last: a rough hand-painted depth map becomes a blurred channel, that channel becomes the guide for Lens Blur, and a bit of noise and iris tuning keeps the result from looking synthetic. It won’t replace shooting with an actually wide aperture, but for a photo that’s already been captured at a smaller one, it’s a reliable way to add a convincing, photographically-grounded sense of depth after the fact.

Quick Reference: Keys, Menus and Settings

  • Select near areasLasso; Shift to add, Alt/Option to subtract
  • Fill and deselectShift + Delete > White, then Cmd/Ctrl + D
  • Set 50% opacityV, then 5
  • Make the channelCmd/Ctrl + E to merge, Cmd/Ctrl-click the thumbnail, Channels > New Channel, Cmd/Ctrl + I
  • Soften the mapFilter > Blur > Gaussian Blur on the channel
  • Apply the blurCmd/Ctrl + J, Filter > Blur > Lens Blur: More Accurate, Source Alpha 1, Invert, Radius about 13
  • Match the grainNoise: Gaussian, Monochromatic, Amount 2

Fake Depth of Field: Common Questions

Is fake depth of field as good as shooting wide open?

No. It is always better done in camera. This technique makes a photo shot at f/8 or f/11 look closer to f/2.8 when reshooting isn’t an option.

What is a depth map?

A grayscale image where lighter areas are closer to the camera and darker areas are farther away. Lens Blur reads it to decide how much to blur each part of the photo.

How do I build a depth map by hand?

On a new layer, use the Lasso to select the closest areas, like eyebrows, nose and cheekbones. Hold Shift to add and Alt/Option to subtract, fill with white using Shift + Delete, then deselect with Cmd/Ctrl + D.

How many layers does the depth map need?

About four in the video. Each new white layer is larger and includes everything closer than it, and each sits at about 50% opacity (press V, then 5) so the closest areas stack up brightest.

Why turn the depth map into a channel?

Lens Blur picks its depth map source from the channels. Merge the layers with Cmd/Ctrl + E, Cmd/Ctrl-click the thumbnail, click New Channel in the Channels panel, press Cmd/Ctrl + I and deselect.

Why blur the depth map first?

The lasso shapes have hard edges. A Gaussian Blur on the channel smooths them so the focus falls off gradually.

Why is my face blurry and the background sharp?

The depth map is being read the wrong way around. Check Invert next to the Source in the Lens Blur dialog.

What Lens Blur settings look natural?

Keep the Radius under about 20; the video uses 13. Try Iris shapes like hexagon or octagon, and add Gaussian, Monochromatic noise (2 in the video) to match the photo’s grain.

The blur is too strong. Can I lower the layer opacity?

No, that mixes sharp and blurred pixels and looks fuzzy. Undo and run Lens Blur again with a smaller radius. A very slight Gaussian Blur on top can soften edges that still look crisp.

Master Photoshop, Lightroom and Photography

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

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