Pre-production "The Beginning" was the first episode of the series to be filmed in Los Angeles, California. The move was instigated by
David Duchovny, who portrayed Mulder, in order to increase his opportunity to find movie work as well as to give him a chance to be nearer to his wife,
Téa Leoni. Series creator
Chris Carter opposed the move; others, like series director
Kim Manners and
Gillian Anderson supported the move but were less vocal than Duchovny. Fox network officials eventually made the decision to film in California. According to Andy Meisler, "The very first shot of the season a long look directly into a bright sun shining on a barren desert was designed to boldly announce the show's arrival in Southern California."
Writing and filming Spotnitz said that the hardest part about writing "The Beginning" was the task of not only segueing from a movie but also tying the story into the
previous season finale. To accomplish this delicate task, the writers brought back characters like Gibson Praise, Diana Fowley and Jeffrey Spender (none of whom were in the film), as well as those that had been introduced in the film, like the
alien. Carter claims to have thought of the episode's rough plot almost two years prior, when he was developing the plot of
The X-Files movie. The character Sandy, who is killed in the teaser sequence, was played by the show's casting director Rick Millikan at the request of Carter. Millikan later joked that he spent most of the shoot on the phone casting others for future
X-Files episodes. One of the nuclear power plant workers is named Homer, a reference to
Homer Simpson, one of the main characters from the animated Fox
television series The Simpsons. The scenes in an Arizona suburb were filmed in
Valencia, California, because the producers wanted "something really
Edward Scissorhands." The scenes set in the nuclear power plant were filmed in a
Long Beach, California-based building owned by the electricity supply company
Southern California Edison. Due to a heat wave, many of the scenes were filmed "in temperatures well above one hundred degrees", and some lines had to be re-recorded in the studio due to excessive background noise. The scenes of the alien molting in the power plant's spent fuel pool were filmed in a tank of water located in
Marina del Rey, California that was frequently used by the producers of the show
Baywatch. Filming the plant scenes proved to be troublesome, and many shots needed to be filmed multiple times due to prop and set issues. These problems persisted into
post-production, and some scenes were not finalized until the end of October—nearly two months after principal filming ended. ==Broadcast and reception==