Star Trek II: The Wrath of Khan: screenplay analysis
An aging admiral who has never faced a no-win situation is hunted by a genetically engineered exile he marooned fifteen years earlier.
Written by Nicholas Meyer, Harve Bennett & Jack B. Sowards · Directed by Nicholas Meyer · 1982 · Science fiction, naval adventure
What the script is doing
The Wrath of Khan works because it is about getting old. Kirk opens the film on his birthday, needing reading glasses and missing the command chair, and the script ties every set piece to that feeling. The villain is a figure from Kirk's past, the son he never knew arrives as an adult, and the theme is stated in the first scene through a training test designed to have no winning outcome.
Structurally it is a submarine film in space. Two damaged ships stalk each other, the captains never share a room, and the duel is fought through tactics, codes and bluffs. Khan is driven by revenge borrowed from Moby-Dick, Kirk by duty and pride, and the Genesis device raises the stakes from personal grudge to the power to create or destroy a world. The ending pays off the opening test in the most painful way available.
Structure
Setup
Saavik fails the Kobayashi Maru simulation and Kirk, now a restless admiral, admits he dislikes growing old. On the Reliant, Chekov stumbles onto Ceti Alpha V and Khan's survivors.
First duel
Khan seizes the Reliant and ambushes the Enterprise. Kirk survives only by using the Reliant's prefix code to drop its shields.
Middle
At the Regula station and the Genesis cave, Kirk meets Carol Marcus and their son David, reveals he once cheated the no-win test, and turns Khan's trap into a bluff.
Climax
In the Mutara Nebula, Kirk exploits Khan's two-dimensional thinking. Khan triggers Genesis, and Spock gives his life in the radiation chamber to restore warp power.
Characters
- Kirk wants to feel young and in command again; he needs to face a loss he cannot talk his way out of. Spock's death is that loss, and the ending lets him say he feels young after grieving.
- Khan wants revenge for his marooning and his wife's death. His intelligence is real, but his obsession blinds him, which is how the script lets a smarter man lose.
- Spock is written as a teacher and friend whose logic about the many and the few is planted early so his sacrifice feels chosen, not convenient.
Key scenes
The Kobayashi Maru
the opening simulation states the theme, introduces the bridge, and fools the audience for a moment into thinking the crew has died.
The prefix code
Kirk stalls Khan with talk while Spock looks up a number, a tight lesson in how a smart solution needs a setup and a clock.
Khan's cry over the radio
Kirk's yelling of his enemy's name, after a carefully staged trick, marks the moment the hunter becomes the hunted.
The glass wall
Kirk and Spock separated by the engine room barrier, a staging choice that keeps the friends physically apart for their final exchange.
What writers can learn
- State your theme as a test in the first scene, then make the climax the real version of that test.
- When rivals are never in the same room, let them duel through information: codes, bluffs and what each knows about the other.
- Give the antagonist a literary model for his obsession so his flaw is clear and his defeat is earned.
- Plant a sacrificial character's philosophy early so the death plays as a choice he has been preparing for.
Read the screenplay
We haven't found a copy of the Star Trek II: The Wrath of Khan screenplay published by its rights holder, so this page links to none. We don't host screenplays that are under copyright.
Questions
We haven't found an official copy online. Studios sometimes publish scripts during awards season, and published screenplay books are another legal route.
Star Trek II: The Wrath of Khan (1982) was written by Nicholas Meyer, Harve Bennett & Jack B. Sowards and directed by Nicholas Meyer.
Read the structure and key scenes with the film or the published script beside you, then try the lessons on your own pages. Our screenplay format guides cover the page itself.
Write your own screenplay, formatted as you type.
Start free. Credits never expire, and you pay only for what you generate













