"Datalore" is the thirteenth episode of the first season of the American science fiction television series Star Trek: The Next Generation, originally aired on January 18, 1988, in broadcast syndication. The story was created by Robert Lewin and Maurice Hurley, and turned into a script by Lewin and the creator of the show, Gene Roddenberry. It was Roddenberry's final script credit on a Star Trek series.