How to do a Head Swap using Photoshop

How to do a Head Swap using Photoshop


When looking through your pictures, have you ever had that sinking feeling of seeing everyone in a single image perfectly happy and smiling except for one person who was sneezing, sniffling, or looking at a squirrel? I can recall several times when I have returned from photo shoots being all optimistic about the experience, but realized as I combed through my images, that while I had several good shots where most people were perfectly posed, I didn’t have any shots where everyone looked just right.

It can be intensely frustrating, especially if you know you did everything in your power to get just the right shot. Fortunately Photoshop can help. With a few simple steps, you can learn how to load up a couple of images and perform a face or head-swapping maneuver with surgical precision, that would make Nicolas Cage blush (as in from the movie: Face Off). If it’s done correctly, no one will ever be able to tell that the final image has been altered.

Face-swapping can be incredibly useful when dealing with squirmy kids. This impromptu photo at a birthday party is actually a composite of three separate pictures.

Heade-swapping can be incredibly useful when dealing with squirmy kids. This impromptu photo at a birthday party is actually a composite of three separate pictures.

When going through my pictures, I always start with Lightroom to cull the images down to the best ones, and do initial edits, such as exposure and color adjustments. If I come across a situation where I need to take a face from one photo, and put it in another, I open both pictures in Photoshop (which is a simple matter of right-clicking and choosing: Open as Layers in Photoshop). For example, the following picture turned out fine except for the boy who was distracted by something off to the side.

This family picture I took on July 4 is fine, but the boy's expression is not the greatest.

This family picture I took on July 4th is fine, but the boy’s expression is not the greatest.

Fortunately I had another picture that looked great, but in this one the mother was blinking. No worries though – Photoshop was there to save the day!

He has a much better expression in this photo, but his mother was blinking.

The little guy has a much better expression in this photo, but his mother was blinking. Photoshop to the rescue!

When working with edits like this it’s a good idea to use as high-resolution of pictures as possible, so you have the maximum amount of data to work with. Do not export your images from Lightroom as low-res JPG files, and then import them into Photoshop. Instead use full-size originals, though I do like to make sure the exposures are as closely matched in each picture first. Edit your white balance, color adjustments, and other parameters such that both images are as close as possible before going into Photoshop, or your composite will look painfully obvious. (Some photographers take the exact opposite approach and do all the Photoshop work first, and then do color adjustments and cropping in Lightroom. Either way works, but I prefer the former method.)

If you’re unfamiliar with Photoshop, and it seems a bit overwhelming at first, don’t think about all the buttons, menus and options available to you just yet. This face compositing really only requires two sections: the Layers panel in the bottom right corner, and the Brush tool on the left side.


Open both images as layers in Photoshop

Select both images in Lightroom and right click, then choose: Open as Layers in Photoshop. Once your images are open in Photoshop, rename one or both so you can tell which is the one to use most people, and which is to copy the new head from.



You now have two layers in one image: the background (in this case, the one where everyone but the mother is smiling) and the layer you just copied over (in this case, the one where only the mother is smiling).


Make a layer with just the new head to be added

From here there’s a couple different ways to go about combining them, but when doing a simple head swap the method I prefer is to get rid of everything in the second layer except the face I want to put into the first image. To do this, use the Lasso tool to draw an active selection around the face, and create a new layer which consists of just the face itself. I like to use New Layer via Copy just in case I want to go back to the original for something, but it’s up to you. Make sure to leave plenty of padding around the face so you have enough room to blend it in as you make your adjustments.


You now have three layers in the side panel: the original background, the new one you copied over, and the face itself. Since you only need the face, you can click the eye icon just to the left of the layer you copied over, which leaves it intact but invisible (hidden layer).


Compositing or blending them together

Now comes the fun part – compositing the face! I like this step because I get to be a little creative, and play around with exactly how I want the final image to look. The first thing you’ll notice is the face you are working with is probably going to be out of place, unless your camera was on a tripod, and everyone was perfectly still.


To get the face into the proper position, select it in the Layers panel and change its opacity to about 50%. That way you can see both faces at the same time, which will help you as you start lining them up. (Note: alternatively you can change the face layer’s blend mode to Difference. That will show it sort of inverted (negative) and it makes it easy to position them or align the layers. Then just change it back to normal when done.)


With the face layer still selected, choose “Transform” from the “Edit” menu, or press command-T on a Mac (control-T on Windows). Use your mouse to drag the face into the proper position, and press the arrow keys on your computer to fine-tune your movements on a per-pixel basis. You can also use the Transform command to rotate the face in case the person has turned his or head slightly. To do this, put your mouse cursor just outside the border near one of the corners, where it will change to a rounded arrow which means you can now click and drag to rotate.


Once you that have the second face lined up properly over the first one, press the [Enter] key to lock it in place, then bring the layer opacity of the face back up to 100%. Don’t worry if you didn’t get things just right: you can always made additional Transformations later by selecting the layer and choosing “Transform” just like before.

At this point things are looking pretty good, but right away you will notice a harsh border around the face where your selection box was. This needs to be eliminated so you only have the facial features you want, and not the person’s hair or any background elements that might have changed between the shots.


At this point you might be thinking “No problem! I’ll just use the eraser tool to get rid of the parts I don’t need,” but that’s a rookie mistake you will soon regret. The eraser tool is permanent, so instead we’ll use what’s called a layer mask to get rid of any parts we don’t want. It works similar to the eraser tool, but is fully adjustable and even altogether reversible (it’s called non-destructive editing) so that any edits you make can easily be undone at any point. With the face layer selected, click the “Add Layer Mask” button at the bottom of the Layers panel.


Now you can use the brush tool to paint out (using black) any areas of the face layer you do not want, or paint them back (paint with white) in if you do decide to keep them. This layer mask method is far more flexible than using the eraser tool, and it allows you to use varying levels of opacity as well. You can partially erase something, while retaining just enough to allow for a smooth transition, instead of a harsh line. Select the brush tool and choose a brush with soft edges. Play around with your flow rate and opacity settings too. I don’t like to go all the way to 100% opacity right away, so I usually start with 50%-70% to leave some wiggle room. Remember, you can always change your adjustments later.


Now you can start blurring the line between the background photo and the face you are compositing onto it. Use the brush tool to gradually erase around the edges of the face, and if you find yourself wanting to brush anything back in just press the X key to reverse the process (X switches your foreground and background colors, in this case black and white) as you apply the brush. Notice that you’re not actually painting on the image of the face, but on a mask that has been applied to the layer. You are basically telling Photoshop which parts of the face layer you want to see, and which parts you want to erase (hide) or mask out. In the Layers panel you will see this mask show up to the right of the original layer as a mostly white box with some dark spots that indicate where you have painted with the brush.


Using brushes on the layer mask is the most part of this whole process as I get to see my edits in realtime, and get as detailed as I want with brushing in the smiling face.


The final image

You can use this technique to composite as much as you want, including background elements, multiple faces, or even individual features such as eyes or teeth. Learning this simple head swapping technique is not only handy for creating the perfect group portrait, but can also be your gateway into a much broader world of Photoshop editing in general.

What are your favorite tips for doing simple edits in Photoshop? Do you have any other techniques that have worked for you over the years? Leave your thoughts in the comments below.

Read more from our Post Production category

Simon Ringsmuth is an educational technology specialist at Oklahoma State University and enjoys sharing his enthusiasm for photography on his website and podcast at Weekly Fifty. He and his brother host a monthly podcast called Camera Dads where they discuss photography and fatherhood, and Simon also posts regularly to Instagram where you can follow him as @sringsmuth.

  • Blake Lewis

    What an incredibly complex alternative to ‘use burst mode to take several shots at once so you cover your bases.’

  • Thanks for the great tips! I am learning photoshop slowly and this is really helpful!
    Defiantly going to try this sometime,

  • Cynthia Chalmers Davis

    OMG, I love this! Just took pix of my granddaughter, her fiancé and his 15-month-old daughter, and one of them was almost ALWAYS doing something odd. Blake, burst mode won’t always help with a determined 15MO who doesn’t know you and really doesn’t want to be there. Had this been a commercial shoot, I would basically be left with the results of a mini-session after 3 hours of hard work. Now I can go back and fix a couple that just weren’t useable and make my “clients” happy.

  • Cynthia Chalmers Davis

    Oh, and BTW, so sorry for the tragedy at the OSU Homecoming Parade in Stillwater. Those of us here in Lubbock are mourning with you.

  • Thank you so much Cynthia. It has been a rough weekend but we are all learning to deal with it and support from people like you across the country really means a lot.

  • Blake, you’re right that in general it’s best to get things right in camera and burst mode certainly helps with that. But if you just don’t get the shot, as often happens when kids are involved, learning to do a simple face swap can be a lifesaver.

  • Charles G. Haacker

    I use burst in a situation like this in order to insure that I have at least one really good expression per person. If I’m lucky I have that one great shot, but experience teaches that more often (and the more people in the picture the worse it gets) there will almost always be one like Simon’s example. When I was working a million years ago there was no good way to do this; now there is a perfectly seamless way to do it, so why not? But you still need enough frames. I often swap just the face rather than the whole head, but of course the head position has to be the same in both shots. It’s a wonderful technique, not easy to learn, but worth it!

  • You make a good point, Charles. If I have a lot people in the frame the chances that I will get one perfect shot with everyone looking just how I want them is close to zero. But, I will almost certainly get several shots where most of the people look great. After that it’s only a few minutes of face-swapping in Photoshop to get the image I want 🙂

  • My Uncle Evan got a new yellow Chevrolet Camaro Z28 only from working parttime off a macbook air.original site on my` prof1Ie`


  • Blake, in my experience that is actually counter productive. My sister got married in 2003 and I was in the wedding party so could not shoot it. The photographer was a friend of mine and gave us all the files. They shot the wedding party (8 adults and 2 kids) the way you describe. I got over 30 images of just one group shot and not a single image had all of our eyes opened with good expressions.

    In my experience shooting when you see people make good expressions is the better way to go, and actually you get LESS blinks that way. But there are just some people that either blink a lot, or you have a toddler that won’t sit still and you can’t get it in one shot.

    I’ve been doing portraits for over 27 years, trust me on this.

  • see my comment above – my experience with burst is the opposite. Put the camera down on a tripod and engage with people. Get them to look at YOU not the lens. You will get WAY less blinks then.

    Back in the days of film this was not an option, and it cost like 2 bucks every time you clicked the shutter so burst wasn’t either. But I got way less blinks in those days. Try it.

  • Charles G. Haacker

    Oh, I do not disagree, Darlene. I was a full time working pro, 16 years with my own studio. Camera on tripod and engaging with people was the only way. But even so, there were always those drive-you-bazingas situations, such as a 4-generation family group of 18 counting the dogs. We were working in the old stilted-formal days when people expected to look (frankly) UNnatural. So everyone is miserable in unaccustomed tight clothes, all the kids are restless, the 8-year-old boy is in his face-making phase, the baby is inconsolable, the adults are paying more attention to the kids than me, my long suffering wife (the Lady in the Spangled Tights) is waving two hand puppets trying to get everyone looking the same way… In those days we’d have killed for the ability to swap faces, heads, or whole bodies around! =D That situation wasn’t that uncommon, especially during weddings. We just had to almost literally “spray ‘n’ pray” (in medium format yet!) and hang the cost because we only needed one. I don’t shoot professionally now, but sometimes I do a little PR stuff as a volunteer, and those I shoot entirely hand-held. It pays to make 4 or 5 frames because someone almost always blinks or sticks the tongue out or whatever. Photoshop is (so far as I am concerned) a pearl beyond price. 🙂

  • like Russell replied I’m stunned that a mom can profit $8748 in a few weeks on the internet. pop over to this website on `my` `prof1Ie`


  • Agreed!

  • Kathy Riddiough

    I can’t wait to try this method. I have tried to figure it out on my own without much success. I always had so much to mask out, the Lasso tool will make it so much easier. Thank you for sharing.

  • Glad to hear it, Kathy. For me the big revelation in learning to do this procedure was the masking aspect. I used to erase portions of my images, only to get frustrated when I could not just recover them later on down the line. Learning how to use masking to get the same effect was a game-changer.

Join Our Email Newsletter

Thanks for subscribing!

DPS offers a free weekly newsletter with: 
1. new photography tutorials and tips
2. latest photography assignments
3. photo competitions and prizes

Enter your email below to subscribe.
Get DAILY free tips, news and reviews via our RSS feed