
More from the episode
The story in 5 beats
- A trail of rubble
Whole star systems have been smashed to pieces. At the end of the trail the Enterprise finds the USS Constellation, drifting and wrecked.
- Decker
Commodore Matt Decker is the only one left aboard, in shock. He beamed his crew down to a planet, then watched the machine eat it.
- The planet killer
A huge cone that fires antiproton beams turns on the Enterprise. Kirk is stranded on the Constellation.
- Command
Back aboard the Enterprise, Decker takes command and steers straight for the machine. Spock has to decide what to do about it.
Into its mouthSpoiler · tap to reveal
Kirk works out what Decker was trying to do, and how to do it properly.
Why it still matters
This is Moby-Dick in space, and its writer says so. Norman Spinrad told StarTrek.com he was "certainly conscious" of Melville when he wrote it. Commodore Matt Decker has lost his ship, the Constellation, and his entire crew to a vast machine that eats planets, and he will do anything to destroy it. William Windom plays him sweating and shaking, and SYFY later ranked him the series' fourth-best guest star.
It's one of the most purely exciting episodes the original series made. Both starships are crippled for most of it, Kirk is stuck on the wrong one, and Spock has to deal with a senior officer who outranks him and isn't thinking straight. Sol Kaplan wrote a full original score for it, and critics have pointed out how much it sounds like John Williams's Jaws music eight years early.
It was a bottle show by design, shot on the existing sets so it could be made quickly and cheaply, though you'd never guess it. It was nominated for a Hugo, and TV Guide's 30th-anniversary list put it fourth among the best Star Trek episodes ever.
One starship for one machine
Spock relieves Decker of command, but Decker slips away, steals a shuttlecraft and flies it into the machine's maw. He dies, but the shuttle does some damage. Kirk realizes a starship's engines would do much more. He sets the Constellation to explode, aims it into the machine's mouth and is beamed off with almost no time to spare.
The explosion kills the machine's power and leaves it a dead hulk. Kirk guesses it was an ancient doomsday weapon from some long-forgotten war. Nobody knows who built it, and Kirk and Spock wonder whether there are others still out there.
Behind the scenes
- Spinrad based the script on an unpublished novelette of his, "The Planet Eater," and pitched it after Roddenberry asked for a story that could be shot on standing sets. It was his first produced work, and he was 27.
- Roddenberry wanted Decker written for Robert Ryan, who turned out to be unavailable. Spinrad said Ryan would have made a stronger, angrier Ahab; William Windom got the part and some lines were changed for him.
- Spinrad said he wasn't conscious of Fred Saberhagen's Berserker stories, about ancient killing machines, when he wrote it.
- The wrecked Constellation was reportedly a store-bought AMT Enterprise model kit, scorched for battle damage. Its registry number, 1017, reverses the Enterprise's 1701.
- It was nominated for the 1968 Hugo Award for Best Dramatic Presentation, losing to "The City on the Edge of Forever."
The thread
The white whale, the doomsday bomb and the machines that outlive their makers.
Came before
Shares DNA with
Left its mark on
DNA strand
Atomic-Age Anxiety
The machine is the Cold War's worst fear made literal: a weapon of total destruction that kept working long after whatever war it was built for. The episode never shows its makers, which makes it worse. Decker's grief turns the story personal, but the thing he's chasing is pure 1960s nightmare.
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.
Read · Novel
Moby-Dick by Herman Melville (1851)
If Decker's obsession got under your skin, here's the captain he was modeled on, and a whale with the same patience as the machine.
Watch · Film
Dr. Strangelove (1964)
The same fear of a weapon nobody can call back, played as the blackest of comedies.
Watch · Star Trek S1
"Balance of Terror" (1966)
Another hour of two ships circling each other, with a commander on the other side who's every bit Kirk's equal.
Read · Short stories
Berserker by Fred Saberhagen (1967)
Planet-killing machines left over from a forgotten war, hunting the living across the galaxy. A whole book of what the Enterprise faced once.

