"Encounter at Farpoint" is the pilot episode and series premiere of the American science fiction television series Star Trek: The Next Generation, which premiered in syndication on September 28, 1987. It was written by D. C. Fontana and Gene Roddenberry and directed by Corey Allen. Roddenberry was the creator of Star Trek, and Fontana was a writer on the original series. It was originally aired as a two-hour (with commercials) TV movie, and subsequent reruns typically split the episode into two parts.
Set in the 24th century (2360s to 2370s), the series follows the adventures of the Starfleet crew of the Federation starship Enterprise-D.