 "Sleepless" featured what would become the recurring character of Alex Krycek, portrayed by Nicholas Lea. Krycek would progress from Mulder's partner to one of his enemies. Howard Gordon, the episode's writer, was inspired by various cases of insomnia. During the first season, Chris Carter had written a similar themed episode, but stopped working on it when he became "unhappy" with the result.
