How to

How to change the background of a headshot

Cutting yourself out is the easy half. Making the result look photographed rather than pasted is the half that gets skipped, and it comes down to two small additions.

Replacing the background is the single highest-value change you can make to a snapshot you want to use as a profile photo. It removes the clutter, it fixes the separation problem, and it instantly reads as deliberate.

It is also the thing most commonly done badly, and the failure is always the same: the person looks stuck on rather than standing in front of something.

The two halves

Half one: separate yourself from the background. Software does this well now. A model decides, for every pixel, how much of it is you, and produces a coverage map with soft values at the edges so hair can be partly transparent. We went into the mechanics separately.

Half two: make the composite believable. This is the half people skip, and it is where the tell-tale “sticker” look comes from.

What makes a composite look real

Two things, both cheap.

A contact shadow. In the real world you block some light from reaching the surface behind you, so there is a soft darkening behind and slightly to one side of you, on the opposite side from the light. Without it your head appears to be floating in front of a flat colour with nothing connecting the two.

A rim light. A thin brighter edge along the side of you that faces the light. Every real object lit from one side catches a little light along its edge. Without it, the boundary between you and the new background is a hard cut, and a hard cut is what your eye reads as “pasted”.

Add those two and a flat colour turns into a lit surface with a person in front of it. Skip them and no amount of choosing the right colour will save it.

The third thing: the light has to agree

If your face is lit from the left and the new background has a bright area on the right, something is wrong and viewers feel it without diagnosing it.

So either pick a background whose brightest area is on the same side as the light on your face, or relight your face to match the background you chose. The second is what a studio does: the backdrop and the key light are set up together.

This is why background replacement and relighting belong in the same step rather than being done separately. A background swapped in isolation frequently disagrees with the face in front of it.

Choosing the background itself

Covered fully in headshot background colours, but the short version:

  • Mid grey if you want it to work everywhere and say nothing.
  • Corporate blue for something slightly more considered.
  • White if the photo will sit on a white page.
  • Not a photograph of somewhere you were not, which reads as odd the moment anyone looks properly.

Whatever you pick, it needs to differ in brightness from your hair and your top, or you will lose your outline at small sizes.

Doing it by hand

If you are working in an editor:

  1. Select the subject with whatever automatic selection the tool offers, then refine the edge, paying attention to hair.
  2. Put the subject on its own layer.
  3. Add a new layer underneath with your background. A subtle radial gradient, brighter behind the head, beats a flat fill.
  4. Add a soft shadow layer between them, offset away from your light source, blurred heavily, at low opacity.
  5. On the subject layer, paint a light rim along the lit edge at low opacity, or duplicate the subject, shift it a few pixels toward the light, and use it as a mask for a brightening layer.
  6. Check the hair edge at 100 per cent. Look for halos, both dark and light.

Step six is the one that separates a good result from an obvious one.

Doing it in one pass

If you would rather not do six steps, this site does all of them: matte, studio background with a falloff behind the head, contact shadow offset from the key light, rim light on the lit side, and a relight of your face that agrees with the background it just put behind you. Then it crops on the eye line and sharpens.

About four seconds, in your browser, with the photo never leaving the tab. There are six background options and switching between them re-renders, so you can compare rather than commit.

Checking your result

Three checks, in order:

Shrink it to avatar size. If you and the background merge, change the background.

Zoom to 100 per cent on the hair. Halos, chopped strands or leftover fringe from the old background all show here first.

Look at where your shoulders meet the background. This is where a missing contact shadow is most obvious, because in life that is where the shadow would be densest.

Frequently asked questions

How do I change the background of a photo?

Separate the subject from the background, place a new background behind it, then add a contact shadow and a rim light so the result looks lit rather than pasted.

Why does my cut-out look fake?

Almost always a missing shadow and a missing rim light. The cut itself is usually fine; what is absent is the evidence that you and the background are in the same space.

What background should I use for a professional headshot?

Mid grey is the safest default. Corporate blue reads slightly more formal. White is right when the photo sits on a white page.

Should the new background be blurred?

A plain background with a gentle gradient generally beats a blurred photograph, because a blurred room still has recognisable shapes competing with your face.

Can I do this on a phone?

Yes. Browser-based tools run on phones, and several phone editors have automatic subject selection. The shadow and rim light are what to check for, whichever you use.

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