Intent on returning home to Earth to face consequences for their actions in the previous film, the crew of the USS Enterprise finds the planet in grave danger from an alien probe attempting to contact now-extinct humpback whales.
Meyer and Bennett divided the story between them and wrote different parts of the script, requiring approval from Nimoy, lead actor William Shatner, and executives at Paramount.
Receiving Starfleet's warning, Spock determines that the probe's signal matches the song of extinct humpback whales and that the object will continue to wreak havoc until its call is answered.
[12][13] John Schuck appears as a Klingon ambassador, Robert Ellenstein as the Federation President, Michael Berryman as an alien display officer at Starfleet Command, and Brock Peters as Fleet Admiral Cartwright.
[15]: 43 In contrast to the drama-heavy and operatic events of the three previous Star Trek features, Nimoy and producer Harve Bennett wanted a lighter movie that did not have a clear-cut villain.
[16] Despite Shatner's doubts,[9] Nimoy and Bennett selected a time travel story in which the Enterprise crew encounters a problem that could only be fixed by something only available in the present day (the Star Trek characters' past).
"But the depiction of thousands of sick and dying people seemed rather gruesome for our light-hearted film, and the thought of our crew taking a 600-year round trip just to bring back a snail darter wasn't all that thrilling," explained Nimoy.
[17] Nimoy approached Beverly Hills Cop writer Daniel Petrie Jr. to write the screenplay when a concept that executive producer Jeffrey Katzenberg described as "either the best or worst idea in the world" arose—Star Trek fan Eddie Murphy wanted a starring role.
Steve Meerson and Peter Krikes were hired to write a script with Murphy as a college professor who believes in aliens and likes to play whale songs.
[5] Paramount was dissatisfied with the script, so its head of production Dawn Steel asked Nicholas Meyer, the writer and director of Star Trek II: The Wrath of Khan, to help rewrite it.
Meyer and Bennett cut out Krikes's and Meerson's idea of having the Klingon Bird-of-Prey appear over the Super Bowl halftime show and the hint that Saavik remained on Vulcan because she was pregnant with Spock's child.
Although they wanted to avoid post-production effects work, the opticals team had to recolor the antenna ball in a blue hue, as the original orange looked too much like a spinning basketball.
The Earth Spacedock interiors and control booth sets were reused from The Search for Spock, although the computer monitors in these scenes featured new graphics—the old reels had deteriorated in storage.
[22] The use of extensive location shooting caused logistical problems, such as a scene in which Kirk is nearly run over by an irate cab driver requiring 12–15 cars to be repositioned if the shot was incorrect, taking a half-hour to reshoot.
Part of the inspiration for the scene came from Nimoy's personal experiences with a similar character on the streets of New York: "[I was struck] by the arrogance of it, the aggressiveness of it, and I thought if I was Spock I'd pinch his brains out!
Credited as "punk on bus", Thatcher (along with sound designer Mark Mangini) also wrote and recorded "I Hate You", the song in the scene, and it was his idea to have the punk—rendered unconscious by the pinch—hit the stereo and turn it off with his face.
Among the resulting set's features was a large central desk with video monitors that the production team nicknamed "the pool table"; the prop later became a fixture in USS Enterprise-D's engine room on the television series Star Trek: The Next Generation.
The task of establishing the location and atmosphere at Starfleet Headquarters fell to the matte department, who had to make it feel like a bustling futuristic version of San Francisco.
[21]: 9 The scenes of the Bird-of-Prey on Vulcan were combinations of live-action footage—actors on a set in the Paramount parking lot that was covered with clay and used backdrops—and matte paintings for the ship itself and harsh background terrain.
The finished models were put in the swimming pool of Serra High School in San Mateo, California, for two weeks of shooting; the operation of the whales required four handlers and divers with video cameras to help set up the shots.
[26][27]: 119 Rosenman wrote an arrangement of Alexander Courage's Star Trek television theme as the title music for The Voyage Home, but Nimoy requested an original composition.
Nimoy intended the crew's introduction to the streets of San Francisco to be accompanied by something reminiscent of George Gershwin, but Rosenman changed the director's mind,[27]: 131 and the scene was scored with a contemporary jazz fusion piece by Yellowjackets.
[15]: 46 The Voyage Home was the first Star Trek film shown in the Soviet Union, screened by the World Wildlife Fund on June 26, 1987, in Moscow to celebrate a ban on whaling.
[41] Much of the credit for Paramount's success was given to chairman Frank Mancuso Sr., who moved The Voyage Home's release from Christmas to Thanksgiving after research showed that the film might draw filmgoers away from The Golden Child.
[43] The movie was a "loose, jovial, immensely pleasurable Christmas entertainment"[44] for The Washington Post's Paul Attanasio, and a retrospective BBC review called the film "one of the series' strongest episodes and proof that the franchise could weather the absence of space-bound action and the iconic USS Enterprise, and still be highly enjoyable".
[48] A more negative review was offered by Liam Lacey of The Globe and Mail, who wrote that under Nimoy's "choppy" direction there was a lack of comic timing paired with feeble humor.
[49] American film critic Pauline Kael commented, "The crewmates are supposed to be technical wizards of the 23rd century, but they deliver their lines as if they were ancient tortoises who had to get their heads out and up before they could say anything.
It's a relief to hear two San Francisco garbagemen talk, because there's some energy in their voices, and when Madge Sinclair turns up for a minute, as the captain of the S. S. Saratoga, her crisp, urgent tone is like a handclap.
[20]: 233 Maslin wrote that Nimoy's technical direction left "much to be desired" (pointing out a special effects scene where the Bird-of-Prey does not cast a shadow on the whaling ship as a mistake), but his "unmistakable" sincerity made up for these issues.
[61][62] On July 7, 2021, it was announced that a 4K Ultra HD Blu-ray box set containing the first four Star Trek films would be released on September 7 of that year to commemorate the franchise's 55th anniversary.