"The Way to Eden" is the twentieth episode of the third season of the American science fiction television series Star Trek. The episode was written by Arthur Heinemann, based on a story by Heinemann and D. C. Fontana (using the pen name "Michael Richards"). It was directed by David Alexander, and first broadcast on February 21, 1969. In the episode, the Enterprise is hijacked by a hippie-like group obsessed with finding a mythical paradise.