
The story in 5 beats
- First dreams
Data finally dreams, and gets nightmares: a rotary phone ringing where no phone should be, workmen taking him apart.
- The cake
Counselor Troi turns up as a giant cake, and the workmen want Data to cut a slice.
- A stubborn engine
The Enterprise's new warp drive won't engage, and Picard has an admirals' dinner to dodge.
The turboliftSpoiler · tap to reveal
Data starts seeing small mouths on his crewmates, and stabs Troi in the shoulder.
The fixSpoiler · tap to reveal
Invisible creatures came aboard with the engine. Data's dreams were pointing at the cure all along: an interphasic pulse.
Why it still matters
Data has spent years trying to be more human, and here he gets something people take for granted: dreams. They are not pleasant. A rotary phone rings where no phone should be. Workmen take him apart. Counselor Troi turns up as a giant cake, and the workmen want him to cut a slice.
It's one of the funniest episodes the show ever made, but Brannon Braga's script plays fair. Data's subconscious has picked up on something the rest of the crew can't see, and the nightmares are his mind trying to warn him. Fans still argue about whether the cake scene is brilliant or ridiculous. It's both.
Watch a scene
YouTube · Official clip · Star Trek1:12Worf gets cat-sitting duty.
What's really going on
The Enterprise has just had a new warp drive installed, and it won't engage. At the same time, Data starts seeing small mouths on his crewmates, and in a turbolift he stabs Troi in the shoulder because he thinks he sees one there. Dr. Crusher finds the truth: invisible interphasic creatures are feeding on the crew, and they came aboard with the new engine. Data's dreams were pointing at the fix all along, an interphasic pulse that wipes them out.
Little things worth noticing
- Patrick Stewart directed the episode, which means Captain Picard's running gag, desperately avoiding an admirals' dinner, was directed by Picard himself. He gets out of it again.
- Data takes his dreams to a holodeck Sigmund Freud, played by Bernard Kates.
- Worf, of all people, is the one who identifies the dream cake as a "cellular peptide cake with mint frosting."
- When Data confines himself to quarters, he leaves his cat Spot with Worf, who seems to be allergic.
- The last scene flips the joke: Troi has baked a cake shaped like Data. "Turnabout is fair play."
The thread
What fed into this episode, what it shares DNA with, and where it's remembered.
Came before
Shares DNA with
Remembered in
DNA strand
Do Machines Dream?
Asking whether a machine can dream is a way of asking whether it has an inner life. Philip K. Dick put that question in a book title. Star Trek answered it with Data, whose dreams are messy, scary and a little silly, the way real dreams are. Stories in this strand use a dream to show us a mind we assumed was just a program.
Every great sci-fi story is built from a handful of strands like this one. Each strand page explains how it works and traces it across shows, books and films.
If this one stayed with you
Where to go next, and why.
Watch · TNG S6
"Birthright, Part I" (1993)
The episode where Data first discovers he can dream. Watch it first and "Phantasms" feels like the next chapter.
Read · Novel
Do Androids Dream of Electric Sheep? — Philip K. Dick
The book behind Blade Runner, asking the same question about artificial minds with far less cake.
Watch · TNG S4
"Night Terrors" (1991)
The opposite problem. Here the crew can't dream at all and slowly falls apart, and Data is the only one unaffected.
Watch · TNG S6
"Frame of Mind" (1993)
Another Braga script where reality keeps cracking open, this time around Riker. If you liked not knowing what was real, start here.