Space
Star Trek IV at 40: How the whale movie saved the series
Leonard Nimoy traded phasers for 1980s comedy to create a hit that brought the franchise back to its lighthearted roots.

It is officially four decades since the crew of the Enterprise traded the final frontier for 1986 San Francisco. To many viewers, the fourth film in the franchise is affectionately known as the one with the whales, a massive creative pivot that arrived during a season of darkness for the series. Following the destruction of their ship and the grim battle with Khan, the creators felt it was time for something lighter.
Director Leonard Nimoy, who also played Spock, intentionally steered the project away from the traditional sci-fi formula. According to Space.com, Nimoy wanted a story with no shooting or stereotypical villains. He aimed for a movie that would appeal to people who usually avoided the genre, centering the plot on an environmental message rather than photon torpedoes. The result was a fish-out-of-water comedy that remains one of the most accessible entries in the canon.
The whale effect
While the movie looks like a typical space adventure at the start, it quickly shifts into a time-travel romp. The crew uses a cloaked Klingon ship to hide in Golden Gate Park while they search for humpback whales, the only creatures capable of communicating with a mysterious alien probe threatening Earth. Interestingly, the whales seen on screen were not real animals. Industrial Light & Magic created animatronic models so convincing that they were later displayed in museums as examples of technical artistry.
There were several versions of the story that never made it to the screen. Early discussions included a subplot regarding a pregnancy for Lieutenant Saavik and a potential guest role for Eddie Murphy. Most notably, the Bird-of-Prey nearly decloaked above the Super Bowl. Instead, the production focused on street-level interactions, like Spock using a Vulcan neck pinch on a noisy bus passenger, which remains a fan-favorite moment.
A legacy of scale
The gamble on comedy paid off at the box office, becoming the highest-grossing film in the series until the 2009 reboot. Its success proved that the franchise could survive without constant warfare, eventually helping clear the path for the development of the next television series. By the time Kirk was demoted back to Captain and handed the keys to the new Enterprise-A, the series had found its heart again.
The film concludes with a mystery that has never been officially solved. When the whales finally reach the future to speak with the probe, their conversation is heard but never translated. Nimoy reportedly overruled suggestions to include subtitles, leaving the content of the whale song to the reader's imagination.
Related stories

Space
Star Trek streaming deal offers access to entire franchise
A limited time offer brings 60 years of Starfleet history to new subscribers for less than three dollars.

Space
Star Trek history book charts 60 years of the final frontier
A new visual archive explores how a three-season show about the USS Enterprise sparked a real-world fascination with space.

Space
Patrick Stewart dies at 86 as the Star Trek family mourns
The actor who portrayed Captain Jean-Luc Picard and Professor Charles Xavier was 86 years old.