ELI5: How do deepfakes work

4 views Mar 12, 2026 2 min read

Deepfakes are like swapping faces in a photo, but done with a computer that learns to do it really well.

Imagine you have a bunch of pictures and videos of your mom and your dad. A deepfake uses those pictures to learn what your mom's face looks like from different angles and with different expressions. It does the same thing for your dad's face.

  • Think of it like this: the computer is learning to draw two very detailed face masks, one for each person.
Now, let's say you have a video of your dad giving a speech. The deepfake can take that video and, using its "face masks," replace your dad's face with your mom's face. It makes it look like your mom is giving the speech instead!
  • It does this by carefully covering up your dad's face in each frame of the video.
  • Then, it uses the "mom face mask" to paint a new face that matches the lighting, angle, and expressions of your dad's original face.
  • It even tries to make the voice sound a little bit like your mom's voice!
The computer uses something called artificial intelligence (AI), specifically a type of AI called machine learning, to learn how to do this really well. The more pictures and videos it has to learn from, the better the deepfake looks.

It’s like teaching a robot to paint. The more practice it gets, the better it becomes at making the painting look real. That's why some deepfakes look very convincing, while others look a bit funny or fake. It all depends on how much the computer has learned. So, basically, it's a digital face swap, but the computer is really, really good at it.

Follow-Up Questions

Still curious? Ask a follow-up!

Test Your Understanding

Take a quick quiz and challenge your friends!

Want to learn more?

Ask another question and get a simple explanation!

Ask a New Question