The Twilight Zone, hosted by Rod Serling, celebrated the fantastical. It ran from 1959 to 1964 and consisted of short, unconnected stories, each one dealing with something horrific, supernatural, or just plain weird.
Us was inspired by an episode from the first season, titled "Mirror Image," in which a woman encounters her doppelganger at a bus depot and becomes convinced that it is trying to replace her.
“It’s terrifying, beautiful, really elegant storytelling,” Peele said in an interview with Rolling Stone. "And it opens up a world. It opens up your imagination.”
Inspired by this source material, Peele took approximately a year to develop the Us script: six months conceiving and working it out mentally, and another six months to actually get it down on paper.