"William" is the sixteenth episode of the ninth season of the American science fiction television series The X-Files, which originally aired on the Fox network on April 28, 2002. The teleplay of the episode was written by series creator Chris Carter, from a story by former series star David Duchovny, Carter, and executive producer Frank Spotnitz; the entry was directed by Duchovny. "William" helps to explore the series' overarching mythology. The episode received a Nielsen household rating of 5.8, being watched by 6.1 million households and 9.3 million viewers upon its initial broadcast. It received mixed reviews from television critics, many of whom were unhappy with the episode's conclusion.
Fox Mulder appears as a reflection in Dana Scully's eye. This scene marked the first appearance of David Duchovny since his departure at the end of season eight.