After becoming the guardian of her newly orphaned niece, Cady, brilliant toy-company roboticist Gemma turns to her latest invention for help. M3GAN is a life-like AI doll designed to be a loyal companion and form a deep emotional bond with a child. At first, she seems like the perfect support for Cady, but as her programming goes too far, M3GAN becomes dangerously overprotective.