"The Cage" is the first pilot episode of the American television series Star Trek. It was completed on January 22, 1965 (with a copyright date of 1964). The episode was written by Gene Roddenberry and directed by Robert Butler. It was rejected by NBC in February 1965, and the network ordered another pilot episode, which became "Where No Man Has Gone Before". Much of the original footage from "The Cage" was later incorporated into the season 1 two-part episode "The Menagerie" (1966); however, "The Cage" was first released to the public on VHS in 1986, with a special introduction by Gene Roddenberry, as a hybrid of the color footage that was used in "The Menagerie" and black and white footage which was not used in "The Menagerie". It was not broadcast on television in its complete all-color form until 1988. The black and white version and all-color version were also released in various standard-definition media including LaserDisc, VHS, and DVD formats.
 The story concerns a starship crew's investigation of a far-off planet which was the site of a shipwreck eighteen years earlier and their encounter with telepathic aliens who seek a human male specimen for their menagerie. The pilot introduced Mr. Spock, played by Leonard Nimoy, who was the only cast member to be retained for the series in his original role.
 "The Cage" has many of the features of the eventual series, but there are numerous differences. The captain of the starship USS Enterprise is not James T. Kirk, but Christopher Pike. Spock is present, but not as first officer. That role is taken by a character known only as Number One, played by Majel Barrett. Spock's character differs somewhat from that seen in the rest of Star Trek; he displays a youthful eagerness that contrasts with the later more reserved and logical Spock. He also delivers the first line in all of Star Trek: "Check the circuit!" followed by, "Can't be the screen then." The weaponry used in the pilot also differs from that seen in the series proper, identified as lasers rather than phasers, and different props are used for the communicator and handheld weapons.  
 NBC reportedly called the pilot "too cerebral", "too intellectual", and "too slow" with "not enough action". Rather than rejecting the series outright, though, the network commissioned a second pilot, "Where No Man Has Gone Before", which led to an order for the series for fall 1966.
 During the first season, the need for new episodes to be delivered to the network to meet airdates became urgent, and a framing story with the series regulars was written around most of the original footage from "The Cage" resulting in the two-part episode "The Menagerie".
 The process of editing the pilot into "The Menagerie" disassembled the original camera negative of "The Cage", and thus, for many years it was considered partly lost. Roddenberry's black-and-white 16mm print made for reference purposes was the only existing print of the show, and was frequently shown at conventions. Early video releases of "The Cage" used Roddenberry's 16mm print, intercut with the color scenes from "The Cage" that were used in "The Menagerie". It was only in 1987 that a film archivist found an unmarked (mute) 35mm reel in a Hollywood film laboratory with the negative trims of the unused scenes. Upon realizing what he had found, he arranged for the return of the footage to Roddenberry's company.
 According to "The Menagerie", the events of "The Cage" take place thirteen years before the first season of Star Trek, in 2254. No stardate was given.
 The U.S.S. Enterprise, under the command of Captain Christopher Pike, receives a distress call from the fourth planet in the Talos star group. A landing party is assembled with Pike in command and beams down to investigate. Tracking the distress signal to its source, the landing party discovers a camp of survivors from a scientific expedition that has been missing for eighteen years. Amongst the survivors is a beautiful young woman named Vina.
 Captivated by her beauty, Pike is caught off guard and falls into a trap set by the native Talosians, a race of humanoids with bulbous heads who live beneath the planet's surface. It is revealed that both the distress call and the crash survivors (except for Vina) are just telepathic illusions created by the Talosians to lure the Enterprise to the planet. While imprisoned, Pike uncovers the Talosians' plans to repopulate their ravaged planet using him and Vina as breeding stock for a race of human slaves.
 The Talosians use their powers to tempt Pike into mating with Vina; first they present her as a Rigellian princess, then a loving compassionate farm girl from Earth, and finally transform her into a seductive, green-skinned Orion dancing girl. Pike refuses her each time. His abduction is reported to Number One, the Enterprise's first officer, who takes command of a rescue party only to be captured along with Pike's yeoman and imprisoned in his cell to tempt him further. By then, however, Pike has discovered that primitive human emotions can block the Talosians' ability to read his mind, and he and the other captives are able to escape to the surface.
 The Talosians attempt to recapture the escaping humans before they can reach the Enterprise. Seeing that Pike is unable to negotiate their freedom, Number One deliberately sets her weapon to overload and kill them in an energy burst. Pike and Vina move closer to her, indicating that they would sooner die then be forced into slavery. After all, as Vina explains, if the Talosians have even one human being, they might try again. This demonstration of fatal resolve confirms what the Talosians have learned after managing to access records from the Enterprise's computers: The human race despises captivity far too much to be useful.
 Despite having lost their last hope to save the planet, the Talosians are not vengeful and allow the humans to leave. Number One and the yeoman beam up immediately, but Pike remains behind with Vina, urging her to leave with him. Vina explains that she cannot leave. An expedition had indeed crash-landed on Talos IV; Vina was the sole survivor but was badly injured. The Talosians healed her, but due to their unfamiliarity with human anatomy, she was left permanently disfigured. Only with the help of the Talosians and their illusions is she able to maintain her beauty and health.
 Pike accepts this and agrees to leave her with the Talosians. In an act of goodwill, the aliens reveal that they have created an illusion of Pike so that Vina will have a companion. Pike then beams up after the Keeper's closing words: "She has an illusion and you have reality. May you find your way as pleasant."
 Jeffrey Hunter had a six-month exclusive option for the role of Captain Pike. Although he was required to continue if the series was picked up by the network in that time, he was not required to film the second pilot that NBC requested. Deciding to concentrate on motion pictures instead, he declined the role. Gene Roddenberry wrote to him on April 5, 1965:
 I am told you have decided not to go ahead with Star Trek. This has to be your own decision, of course, and I must respect it. You may be certain I hold no grudge or ill feelings and expect to continue to reflect publicly and privately the high regard I learned for you during the production of our pilot. Two weeks after the option expired on June 1, 1965, Hunter formally gave his letter requesting separation from the project. He died on May 27, 1969, one week before the original series ended its run. Roddenberry later suggested that he was the one who—unhappy with interference by Hunter's then-wife Dusty Bartlett—had decided not to rehire Hunter; however, executive producer Herbert F. Solow, who was present when Bartlett, acting as manager, refused the role on behalf of her husband, later said in his memoir, Inside Star Trek, that it was the other way around.
 "The Cage" was filmed at Desilu Productions' studio (now known as Culver Studios) in Culver City, California, from November 27 to mid-December 1964. Post-production work (pick-up shots, editing, scoring, special photographic and sound effects) continued to January 18, 1965.
 Gene Roddenberry paid a lot of attention to what The Outer Limits team was doing at the time, and he was often present in their studios.[citation needed] He hired several Outer Limits alumni, among them Robert Justman and Wah Chang, for the production of Star Trek. One of the creatures in the cages was reused from the episode "The Duplicate Man" of The Outer Limits, where it was called a megasoid. The prop head from The Outer Limits episode "Fun and Games" was used to make a Talosian appear as a vicious creature. The process used to make pointed ears for David McCallum in "The Sixth Finger" was reused in Star Trek as well. The "ion storm" seen in "The Mutant" (a projector beam shining through a container holding glitter in liquid suspension) became the transporter effect.
 The Talosians were designed with an androgynous look and were portrayed by females with male actors providing dubbing audio. This was done to give the impression that the Talosians had focused their efforts on mental development to the detriment of their physical strength and size, while also making them suitably alien to viewers. However, the deep voice of Malachi Throne as the Keeper in "The Cage" was electronically processed to sound higher-pitched for "The Menagerie", as Throne also portrayed Commodore Mendez in the latter. The Keeper's voice from "The Menagerie" was kept for both the remastered and new "original" versions of "The Cage" which would be released later. Throne's unaltered voice work as The Keeper only survives as a brief sample that can be heard in the preview trailer for "The Menagerie" (Part II).
 "The Cage" was first released on VHS in 1986, with a special introduction by Roddenberry, and was aired for the first time in its entirety, and in full color, in late 1988 as part of The Star Trek Saga: From One Generation to the Next, a two-hour retrospective special hosted by Patrick Stewart. 
 Although most of this episode was edited into the original series episode "The Menagerie" (aired November 1966), no stand-alone version of "The Cage" pilot was available until a 1986 VHS release. Gene Roddenberry had in his possession a black-white film workprint version on 16 mm film, while the original 35 mm print was literally cut up in editing for "The Menagerie"; this left Roddenberry's copy as the only known surviving version when the VHS version was made. Thus, the original VHS release has a mix of full-color from existing footage with black-and-white from the 16 mm copy.
 In 1987 the excised film sections were discovered by archivist Bob Furmanek in an abandoned and unlabeled film canister at a storage facility in Los Angeles. He arranged to return the footage to Gene Roddenberry, thus making it possible to complete a full-color version. The restored color version was broadcast in October 1988, which was the first television airing of "The Cage". It was broadcast as part of a television special hosted by Patrick Stewart called The Star Trek Saga: From One Generation to the Next. It contained interviews with Gene Roddenberry, Maurice Hurley, Rick Berman, Mel Harris, cast members from Star Trek and Star Trek: The Next Generation, clips from both series and the Star Trek films I through IV with a small preview of Star Trek V. It was later rebroadcast on UPN in 1996 with a behind the scenes look at Star Trek: First Contact.
 "The Cage" was released on LaserDisc in the United States; this version mixed B&W and color footage as well as 9 minutes of introduction and closing with Roddenberry, bringing the total runtime to 73 minutes. On October 10, 1990 a Collector's Edition of "The Cage" with a runtime of 64 minutes featuring all-color footage, minus the Roddenberry introduction and closing, was released on LaserDisc in the US.
 "The Cage" was first broadcast in the United Kingdom on BBC2 on 19 August 1992. On 19 August 1996, "The Cage" was broadcast on BBC2 on the first day of a season of programmes on the 30th anniversary of Star Trek.
 Two VHS versions were released in the United Kingdom with one being the restored color version.
 "The Cage" was released on PAL-format LaserDisc in the United Kingdom as part of The Pilots collection, in April 1996. This included the color version of "The Cage", "Where No Man Has Gone Before", "Encounter at Farpoint", "Emissary", and "Caretaker" with a total runtime of 379 minutes.
 Both versions of "The Cage" were included on the original series Season 3 DVD box set, along with the introduction by Roddenberry.
 The B&W/color version of "The Cage" was originally listed as episode 1 when first released to VHS and DVD. When the all-color version was found and released later, it was given the designation “episode 99”. When the entire series was remastered in 2006, the designations were reversed, with the all-color version becoming “episode 1” and the hybrid as “episode 99”.
 In 1996, in a review of the episode in The Times, Elizabeth Cowley said it was "unintentionally hilarious", but Star Trek fans would enjoy watching it.
 In 2010, SciFiNow ranked this the third best episode of the original series.
 In 2016, SyFy ranked "The Cage" as the fifth best out of six Star Trek TV show pilots, with Star Trek: Deep Space Nine's "Emissary" in first place.
 In 2017, Inverse recommended "The Cage" as "essential watching" for Star Trek: Discovery. 
 In 2023, Den of Geek ranked "The Cage" as the best pilot episode for any series in the franchise.
 In 2019, the Star Trek: Discovery episode "If Memory Serves" saw Pike and Spock (now portrayed by Anson Mount and Ethan Peck, respectively) return to Talos IV; the recap at the beginning of the episode used scenes from "The Cage".
 CBS All Access officially ordered Star Trek: Strange New Worlds to series in May 2020 featuring the characters of Captain Pike, Number One, and Spock. At 55 years between The Cage and the announcement of Strange New Worlds, co-showrunner and executive producer Henry Alonso Myers calls this the longest pilot to series pick up in television history.