Writer Glen Morgan said of the episode, "Duchovny challenged us to do a "Beyond the Sea" for him. The show had been so dark and bleak, and Jim and I feel that there is a side to the paranormal that's very hopeful. We wanted to do that side of it. I thought it would be a great opportunity for Duchovny, but then the situation came up with Gillian's pregnancy. We needed to get her off her feet anyway." Consequently, Gillian Anderson, who had just given birth to her daughter Piper days before this episode spent the majority of the episode in a hospital bed.