"In Theory" is the 25th episode of the fourth season of the American science fiction television series Star Trek: The Next Generation, originally aired on June 3, 1991, in broadcast syndication. The episode was written by Joe Menosky and Ronald D. Moore and was the directorial debut of cast member Patrick Stewart.