16-year-old Sarah Williams recites from a book titled "The Labyrinth" in the park with her dog Merlin but is unable to remember the last line while being watched by a barn owl. Realizing she is late to babysit her baby half-brother Toby, she rushes home and is confronted by her stepmother Irene, who then leaves for dinner with Sarah's father Robert. Sarah finds Toby in possession of her treasured childhood teddy bear, Lancelot. Frustrated by this and his constant crying, Sarah rashly wishes Toby be taken away by the goblins from the book. She is shocked when Toby disappears and Jareth, the Goblin King, appears. He offers Sarah her dreams in exchange for the baby, but she refuses, having instantly regretted her wish. Jareth reluctantly gives Sarah 13 hours to solve his labyrinth and find Toby before he is turned into a goblin forever. Sarah meets a dwarfish man named Hoggle, who aids her in entering the labyrinth. She has trouble finding her way at first, but meets a talking worm who inadvertently sends her in the wrong direction.