"Future Imperfect" is the 82nd episode of the American science fiction television series Star Trek: The Next Generation. It is the eighth episode of the fourth season. Set in the 24th century, the series follows the adventures of the Starfleet crew of the Federation starship Enterprise-D. In this episode, during an away mission, Riker falls unconscious and awakens to discover that sixteen years have passed, and he is now captain of the Enterprise. Having no memory whatsoever of the time that has passed, he begins to suspect that the future he finds himself in may not be real.