How to

How to blur the background of a photo you already took

Real background blur comes from the lens and cannot be added later. What software does instead is a convincing imitation, and knowing the difference tells you when it will look wrong.

Blurring the background is the quickest way to make a snapshot look deliberate. It separates you from the room, it hides clutter, and it is what people mean when they say a photo looks “professional” without being able to say why.

It is also the effect most often faked badly, and it is worth understanding why so you can tell when it is about to go wrong.

Where real blur comes from

In an actual camera, background blur is a side effect of physics. A lens can only focus at one distance at a time. Everything nearer or further is rendered as a small disc rather than a point, and the further from the focus distance it is, the bigger the disc. That is blur.

How much you get depends on three things: how wide the aperture is, how long the lens is, and, above all, how far the background is from your subject.

That last one is the one you control for free. Standing a person two metres in front of a wall instead of against it produces more background separation than any setting on the camera. This is why the advice to step away from the wall keeps appearing in every headshot guide, including ours.

Phone cameras have tiny sensors and very short lenses, which is exactly the combination that produces almost no natural blur. That is why phones fake it.

What “portrait mode” actually does

It estimates a depth map, decides which pixels are the subject and which are the background, and blurs the background progressively. It is a good imitation and it gets better every year.

It fails in predictable places, and they are all the same place: the boundary.

Hair is the classic one. Individual strands are thinner than the estimate can resolve, so they either get blurred along with the wall or preserved as a slightly rubbery clump. Glasses arms disappear. The gap between an arm and a torso stays sharp when it should be soft. Anything held out toward the camera gets treated as background.

Knowing this tells you when to trust it. A person against a plain, distant background: portrait mode will look great. A person with flyaway hair in front of a bookshelf: it will show its workings.

Doing it to a photo you already have

If the photo exists and was not shot in portrait mode, you have two honest options.

Blur the background as a single layer. Cut the subject out, blur everything else, put the subject back on top. This is what most editors and most web tools do, and it is a perfectly good look.

It is not, however, what a lens does. A lens blurs progressively: the wall two metres behind you is slightly soft, the window ten metres behind is very soft. A single uniform blur applies the same amount to everything, which reads as a flat backdrop rather than a room. That is fine, and for a headshot it is often what you want anyway.

Replace the background entirely. Since you are cutting yourself out regardless, you might as well put something behind you that was designed to be there: a studio gradient, a plain colour, a soft falloff. This usually looks better than blurring a cluttered room, because a blurred bookshelf is still recognisably a bookshelf and still pulls attention.

The bit that makes composites look real

Whichever you choose, a subject dropped onto a background looks pasted on unless two things are added.

A contact shadow. Real objects darken what is behind them, offset to the side away from the light. Without one, you float.

A rim light. A thin brighter edge along the side of you facing the light. Without it, the cut-out edge reads as a cut-out edge, because in the real world an edge lit from one side always catches a little light.

Both take seconds to add and they do most of the work of making an assembled image look photographed. If you are compositing by hand, do not skip them.

Making it look right

A few things that separate a convincing result from an obvious one.

Match the blur to the distance. If your background was close behind you, a small amount of blur is more believable than a lot. Heavy blur on something that was clearly a metre away looks wrong even to people who cannot say why.

Keep some grain and colour. A perfectly smooth background next to a slightly noisy subject is a giveaway. Real out-of-focus areas still carry the image’s noise and colour cast.

Watch the edge around hair. This is where every fake blur fails. If the tool has left a halo, a hard outline or a clump, that is the first thing anyone will notice.

Do not over-crop afterwards. Cutting in tighter magnifies every edge artefact you were hoping nobody would see.

The quickest route for a work photo

If the goal is a profile picture rather than an artistic portrait, replacing the background usually beats blurring it, and doing both at once beats either.

This site does the whole sequence in one pass: it cuts you out, puts you on a clean studio ground, adds the contact shadow and the rim light, relights your face, evens out the skin and crops to a proper headshot. It runs in your browser, takes about four seconds, and the photo never leaves the tab.

And if you have not taken the photo yet, the free version of this effect is still the best one: stand two or three metres in front of the wall and let the lens do it properly.

Frequently asked questions

Can you blur the background of a photo after taking it?

Yes, by separating the subject from the background and blurring the background layer. It is an imitation of what a lens does rather than the same thing, but for a profile photo it is usually indistinguishable.

Why does the blur look wrong around hair?

Because fine strands are partly transparent and thinner than the subject estimate can resolve, so the boundary has to be guessed. Distance between you and the background at capture time helps more than any software setting.

Is portrait mode better than editing afterwards?

Usually, because it has depth information the editor does not. But it fails on the same boundaries, and it cannot be applied to a photo that was already taken.

Should I blur the background or replace it?

For a work photo, replace it. A blurred cluttered room is still a cluttered room, and a clean ground reads more deliberate.

How do I stop a cut-out looking pasted on?

Add a contact shadow offset away from the light, and a thin rim light on the lit side. Those two together do most of the work.

backgroundhow todepth of fieldediting
Free Headshots

Written by the people who build Free Headshots. We test what we write about on our own photos, and we say so when we cannot verify something. About the site.

Make a headshot now. Free, in your browser.
Make a headshot