A 1954 ScienceFiction[=/=]CrimeFiction novel by Creator/IsaacAsimov, and the first novel in his "Robot trilogy".

''Caves of Steel'' takes place in a future UsefulNotes/NewYorkCity. On the overpopulated future Earth, cities are [[MegaCity gigantic metropolises]] [[DomedHometown encased under steel domes]] where people live in cramped conditions and subsist on processed food, never seeing the sky. In contrast, the Spacer worlds--human-colonized planets which severed political ties with Earth long ago--are utopian locales of low population, plentiful resources, massive military power, and economies based on the widescale use of robots for manual labor.

It is in this New York that a murder is committed: the victim is a Spacer, one of the residents of Spacetown, the Spacer enclave in New York. It is suspected that one of the motives was anti-robot sentiments; the victim was a roboticist who was working on the large-scale introduction of robot labor into Earth's economy, a desire opposed by most of the populace -- sometimes to the point of terrorist aggression. If the murderer is not found -- fast -- a major diplomatic incident looms.

The investigator is Elijah "Lije" Baley, whose Spacer-assigned partner will be an android, R. Daneel Olivaw, a new type of robot (designed by the murder victim no less) which is externally indistinguishable from a human. The opposition between Lije's impulsiveness and unorthodox methods, and Daneel's pure logical thinking and adherence to the law and procedure, is a theme throughout much of the book. Another theme is the nature of the society of Earth's Cities and how stable it is in the long run.

''The Caves Of Steel'' was followed by two sequel novels, ''Literature/TheNakedSun'' and ''Literature/TheRobotsOfDawn'' (and a short story, "Mirror Image", set between the two). After the resolution of the first case, Baley's reputation leads to him traveling to the Spacers' homeworlds to work with Daneel in solving other murder cases with wider political implications.

The series reached a finale of sorts in ''Literature/RobotsAndEmpire'', set two centuries after ''Literature/TheRobotsOfDawn''; the story mainly served to merge Daneel's story into the MythArc of Asimov's "Galactic Empire" and ''Literature/{{Foundation}}'' stories.

This story was adapted for a VCR game by [[Creator/EastmanKodak Kodak]] in 1988 (with elements of ''Literature/TheRobotsOfDawn'' added in and a character sharing a name - only the name - with one from ''Literature/RobotsAndEmpire''). You can watch the movie itself on Website/YouTube starting [[https://www.youtube.com/watch?v=By53fLlxrjE here]] (the cards required for the game can be found [[https://archive.org/details/20081021195902robotsMed here]]), as well as a review/riff by [[WebVideo/TheSpoonyExperiment The Spoony One]] [[https://www.youtube.com/watch?v=qGEuFaGkG1A here.]]

!!The novel provides examples of:
* AlwaysSomeoneBetter: Lije is a C-5 Plainclothesman (Detective) with a long history in the department and the respect of his peers, but Daneel is stronger than Lije, smarter than Lije, and never needs to rest or eat. Lije has to worry about the robot solving the case before him, and every aspect of the robot's superiority is seen as a threat to his job.
* AndroidsAndDetectives: As the UrExample, it established many of the conventions of this trope despite the lack of many traditional CyberPunk elements.
* ArtificialHuman: Daneel, who is a revolutionary (and controversial) first generation "humaniform" robot. He is designed to pass for human and can even eat (although he does not actually digest the food, just stores it in a sack for later disposal). His personality could use some work though, since the fact that he is TheSpock can be a giveaway that he is not really a human.
* AsTheGoodBookSays: An ongoing theme is that Earthmen are familiar with the Bible but Spacers are not.
** Elijah and his wife Jezebel have {{meaningful name}}s. The biblical story is referenced when she is introduced, and Jezebel's character is an important part of her personality.
** Lije tells the story of Jesus and the woman taken in adultery to Daneel about the subtleties of the word "justice". At the end, Daneel uses the exact words "GoAndSinNoMore".
** Lije remarks that Dr. Sarton created R. Daneel to his own image. Then he remarks that Daneel doesn't get the reference because the Bible is not a popular book among Spacers.
* AsYouKnow: Characters spend a lot of time explaining the ThreeLawsOfRobotics to each other.
* AuthorAppeal: The crowded underground cities of Earth would be hellish to a claustrophobe, but Asimov was a claustro''phile''. Spending their lives in these Cities has made this condition much more common in the population, and fear of wide open spaces has become the societal norm on Earth.
* BatmanGambit: The Spacers (or at least Sarton and Fastolfe's faction) were deliberately trying to destabilize Earth's economy by "encouraging" the use of robots. They wanted to create a large population of unrooted, dissatisfied people who would be willing to become the foundation of a new wave of colonists, avoiding the flaws of both Earth and Spacer societies.
* BigApplesauce: New York, where the story takes place, has turned into one of a handful of mostly-underground metropolises that now house the entirety of Earth's population.
* BornInTheWrongCentury: There are plenty of "medievalists" in the future who long for better days of the Medieval Era, which by this time refers to the Late Twentieth/Early Twenty-First centuries. Most of the people of Earth are medievalists in one fashion or another, usually manifesting itself in some minor personal foible. Elijah himself likes to read a lot about the old days, and Enderby, Lije's boss, uses such bizarrely anachronistic things as windows and eyeglasses. There are rumors of more serious subversive organizations that want to dismantle the Cities and return to the earlier ways of life, but Lije does not take them very seriously. [[spoiler:The subversive medievalists really do exist, and in fact were planing some sort of popular uprising in the near future if they could not get their way through political pressure]].
* CantBatheWithoutAWeapon: Police regulations require Elijah to keep his blaster with him at all times, even in the shower (in a waterproof holster). He claims he can still draw and fire it in under five seconds.
* ChekhovsGun: At the very beginning of the book, Lije notices that [[spoiler: Enderby is wearing new glasses, as he broke his old pair]]. At the end of the novel, this seemingly random bit of information ends up becoming the piece that puts the whole case together for Lije.
* ChekhovsGunman: [[spoiler: R. Sammy]].
* ConceptsAreCheap: Played with. When told that Daneel is programmed with a "justice circuit," Elijah claims this is impossible because justice is too abstract a concept and hard to define. However, Daneel has a much simpler definition of justice, "That which exists when all laws are enforced." [[spoiler:He does develop a more nuanced view by the end of the novel.]]
* CoversAlwaysLie: The depiction of New York City on at least some editions of the novel give the impression of it basically being lots of skyscrapers, with plenty of large open spaces hundreds of feet high and wide, only with an (unseen) roof. That is at odds with the actual description in the novel, where even the areas 'outside' buildings have walls and tunnels and coverings. Even ''windows'' are a rarity.
* CranialProcessingUnit: Inherent to all robots.
* CyberPunk: The City [[UnbuiltTrope anticipates]] the dystopian urban landscape of CyberPunk, almost 30 years before ''Film/BladeRunner'' and Creator/WilliamGibson, but it was not necessarily intended to be dystopian. The idea of a vast, totally enclosed city did not bother Asimov at all, [[AuthorAppeal who would have liked the enclosed spaces]].
* DomedHometown: All the cities of Earth (and what is, in our time, known as the "greater metropolitan area" thereof) are enclosed under massive domes.
* DroppedGlasses: Critical to the case.
* EarlyInstallmentCharacterDesignDifference: In this first book, Daneel's eyes are brown; in ''Literature/TheNakedSun'', his eyes are blue.
* EatingMachine: Daneel, thanks to a compartment hidden within his stomach, all to better impersonate a human. He does not derive any actual nutrition from the food, and needs to regularly empty his stomach sack to prevent the food from spoiling and emitting an unpleasant odor. Daneel promises that the food is still edible when Lije misses a meal, but Baley refuses the offer.
* ElvesVersusDwarves: While both are human beings, the Spacers and Earthmen share many stereotypes of elves and dwarves, respectively. The Spacers are [[OurElvesAreBetter proud, elegant, long-lived people with superior technology]] while the Earthmen are [[OurDwarvesAreAllTheSame conservative cave-dwellers]]. The main conflict of the story is between these two factions.
* EurekaMoment: Elijah figures out the answer to the mystery when Daneel casually brings up [[spoiler:Enderby's glasses]]. Daneel has a different one when he begins to grasp the distinction between 'legal' and 'ethical'.
* FairplayWhodunnit: Largely written to prove a ScienceFiction FairplayWhodunnit was possible, in defiance of one of the rules of Fairplay Whodunnits about technology.
* FantasticRacism:
** Robots are addressed as "boy," lack permission to travel in the high-class means of transportation and are treated with general contempt by Earth's inhabitants. One of the major bones of contention is that they have come to Earth and are taking jobs away from the local humans. Significantly, R. Sammy may have been named [[MeaningfulName for a racial slur once used to describe people from India.]]
** Spacers view humans as primitive, disease-ridden savages, and in turn humans resent the Spacers for their long lives, wealth and luxury.
* FlyingDutchman: The legend of the Wandering Londoner is apparently a well-known myth of the era in the style of the Wandering Jew version of the myth: A criminal who tried to find a hiding spot where he planned to wait out the manhunt got lost in the tunnels beneath London, and is still to this day wandering in search of his sanctuary.
* GenreBusting: Sci-fi robot detective stories.
* GoAndSinNoMore: Said word-for-word by Daneel to [[spoiler:Commissioner Enderby.]]
* IronicName: Elijah and Jezebel are Biblical figures that were vicious enemies, whereas the Elijah and Jezebel (Jessie) of this story are a HappilyMarried couple.
* KryptoniteFactor: Robots have a singular physical weakness: gamma radiation, which will destroy a positronic brain at doses well below what humans can tolerate. It is not common knowledge on Earth, but Daneel informs Baley since, being partners, it is important that Baley know his weaknesses.
* LieDetector: "Cerebroanalysis" is a technique that the Spacers use to gauge mental status and general personality. [[LivingLieDetector As a self-contained unit]], Daneel is able to determine, simply by being in the same room, that Commissioner Enderby does not have the capacity to commit premeditated murder, thus eliminating him as a suspect. [[spoiler: [[DeconstructedTrope Since Enderby had not intended to kill Dr. Sarton, and had actually meant to shoot Daneel, his analysis is both correct in its read of Enderby but wrong in the results]].]]
* LivingLieDetector: Daneel is one, though he is not technically living. He can perform "cerebroanalysis" with people in close proximity, a technological gauge of mental status.
* MaleRestroomEtiquette: There is a strict taboo that no one speaks to each other in the Men's Personals, nor look at them or acknowledge each other in any way. Elijah has to make a deliberate effort to force himself to speak while still in the antechamber, and he recalls a time as a child when he was beaten by his uncle after he had stubbed his toe and accidentally cursed aloud. Women's Personals are quite the opposite though, and are seen as a social meet-up place.
* ManicPixieDreamGirl: Jessie was when she and Elijah met, but she has mellowed by the time of the novel itself.
--> "Oh, goodness," (Jessie) said, "what if you do look like an awful lemon? I know you're not really, and I guess if you were always grinning away like I do, we'd just explode when we got together. You stay the way you are, Lije, and keep me from floating away."\\
And she kept Lije Baley from sinking down.
* MegaCity: Where the population of Earth lives. On average, 11.2 million in each city. The governments of three large cities (New York, Philadelphia and Washington) are considering merging into one single ''Mega'' Mega City, but the logistics of maintaining and governing such a large conglomerate have so far prevented any action on the plan.
* ModernStasis: Really, once you get past the idea of underground cities and robots, the ''culture'' of Earth does not seem very different from the mid-20th Century. For example, Elijah observes that men are studiously non-conversational in the restroom, whereas women love to gossip in there. Gender roles in particular are very much the same as during the time when the book was written. The society simply seems less prosperous, rather than genuinely different, than real world America at that time. Only the Spacers have culture and technology that seem genuinely different, and even then there is a lot of {{Zeerust}}.
* MoreThanMindControl: During his first visit to Spacetown, Fastolfe discusses his project to encourage Earthlings to begin colonizing again. Baley keeps thinking about the topic through the rest of the book. [[spoiler:When Daneel announces that the Spacers are cancelling the investigation, he mentions that Fastolfe had dosed with him a drug to make him more "receptive" to the sales pitch. Although the initial hope was to turn him into a zealot, the drug could not make Baley believe anything "foreign to the basis of his thought", and his practicality prevented any strong results. At least right away; Baley eventually converts to Fastolfe and Sarton's cause of his own free will.]]
* MurderByMistake: [[spoiler: Dr. Sarton was killed by a shot intended for R. Daneel (who was built to resemble his creator).]]
* NeverAcceptedInHisHometown: Robots were created, developed and mass produced right on Earth almost three thousand years before the beginning of the novel. They were integral in the technological revolution that lead to space-travel, food for the whole planet and world peace, but they were never accepted into Earth society and were completely banned from the planet soon after their creation. It is only through the direct intervention of the Spacers, who have completely integrated robots into their way of life, that they are even beginning to merge with the Earthlings.
* NotWithTheSafetyOnYouWont: Elijah is understandably disturbed when the ostensibly ThreeLawsCompliant Daneel resolves the potential riot at the shoe store by threatening to use a lethal weapon. Daneel explains to his partner that the weapon was not loaded, had never ''been'' loaded, and was not even fully assembled. If it had been otherwise, it would have been possible for him to ''accidentally'' injure a human being, something Daneel finds unthinkable. He even points out that he only has the dummy weapon in the first place because ''not'' carrying one would be an obvious indication that he is not the human Police Officer he is pretending to be.
* OnlyElectricSheepAreCheap: Natural (non-processed) food is a luxury good, to such an extent that when Baley eats a real apple, he finds it disconcerting even ''before'' he bites right into the core and gets a mouthful of seeds. Apple, in his view, comes in the form of a sauce or paste, not some weird orb that was probably dangling off a tree a few days ago.
* OutgrownSuchSillySuperstitions: The Spacers have abandoned religion long ago. Lije, meanwhile, can quote Scripture from memory, but exactly how religious he actually is isn't clear. Both are probably something of an AuthorAvatar, since Asimov was an atheist, but raised Jewish and was very well read on the Bible (among many other topics).
* OutOfCharacterAlert: Baley is told that Jessie is associating with unsavory people. He knows it isn't true because she supposedly provided her full name as "Jezebel", a name that Jessie avoids using.
* PickYourHumanHalf: Daneel has humanlike appearance and robotic psyche.
* PokeThePoodle: Elijah's defense of the Biblical Jezebel destroyed his wife Jessie's self-image as a naughty girl. So to prove herself, she [[spoiler:joins the revolutionary Medievalists... or at least a society they operate for bored housewives that meets for snacks and the occasional revolutionary speaker.]]
* PopulationControl:
** Earth's enormous population is only barely managed, and the quality of life, while not terrible, isn't very appealing. It is shown that producing enough food to feed the population is an ongoing challenge where even small missteps can result in starvation.
** The Spacers have the opposite problem, with a population that is small, affluent, but completely stagnant. Dr. Fastolfe's plan to encourage Earth to settle the galaxy is a solution to both Earth's overpopulation and the Spacers' inability to expand.
* PovertyFood: A double case. The lowest classes on Earth have to substitute on some bland yeast mush. However, even for the rest, due to Earth being poor and overcrowded compared to the rich and spoiled Spacers, natural food is always eaten processed, and only in Spacer cuisine does one encounter things like whole apples, eggs with visible yolk, etc.
* ReallySevenHundredYearsOld: The Spacers have a very long life expectancy, much to the surprise of Earthlings who think them younger than they are.
* ReassignedToAntarctica: Declassification. If you are deemed unfit for your job, or your field itself is rendered obsolete, you lose your rating (A combined social/economic scale that determines housing, income, food, etc.) and are given menial busy work to justify the subsistence-level rations and housing the government gives you. Elijah still vividly remembers when this happened to his father, and how his family was destroyed in the aftermath. The fear of going through this is a constant threat throughout the case.
* RobotMe: Daneel was made to be identical to his creator. This becomes the basis of one wrong theory on the part of Lije [[spoiler:and is the critical component in solving the murder -- the murderer was after Daneel and accidentally shot his creator instead.]]
* SocietyMarchesOn: The book does a pretty good job of portraying future Earth's culture realistically, but there are some hints that give away its age. Most obvious is Elijah's son, whose speech is so stereotypical of TheFifties that it may sound closer to parody to modern readers.
* SuperPoweredRobotMeterMaids: Averted; at one point Jessie worries that Daneel is listening in on their conversation. Elijah says that any unusual abilities would hamper Daneel's ability to pass as human, but internally he admits that this is mainly conjecture on his part.
* TerrifiedOfGerms: The Spacers are paranoid about being infected with human microbes. On their utopian planets they have no disease and their immune systems have decayed as a result.
* TheyFightCrime: One's a police detective with a terror of open spaces, and the other's a prototype colonist android. And they fight crime.
* TitleDrop: "Caves of Steel" is a nickname for Earth's enclosed, mostly underground metropolises, in which the entire population lives.
* ToBeLawfulOrGood: Understanding that the conflict even ''exists'', much less wrestling with it, is a big part of R. Daneel's CharacterDevelopment. See ConceptsAreCheap, above, with respect to his views on "justice". Early on, Daneel considers the phrase "an unjust law" to be an oxymoron -- justice is the enforcement of the Law, therefore a law cannot possibly be unjust.
* TheUnSmile
-->''R. Daneel smiled. The gesture was sudden and surprising. His lips curled back and the skin about either end folded. Only the mouth smiled, however. The rest of the robot's face was untouched.\\
Baley shook his head. "Don't bother, R. Daneel. It doesn't do a thing for you."''
* UncannyValley: In-universe, one of the reasons why robots -- at least the current generation -- are so unpopular on Earth; they are clunky mechanical units with disturbing facsimiles of permanently-smiling human faces on their "heads." Daneel is an attempt by his creator to avert this.
* UndergroundCity: Of the artificial kind. While the Cities extend well above ground, they are sealed underneath domes and designed with a minimal amount of open space in their interiors (hence the name "The Caves of Steel"). Most Earth humans are severely agoraphobic and cannot tolerate even brief exposure to the outdoors without having a panic attack.
* WeAreAsMayflies: Played with. [[spoiler: The Spacers who want to renew mankind's expansion see the short lives of Earthmen as ideal for the task - the young are more ambitious and willing to step outside social convention, and with "only" fifty years of future lifespan at risk, are more tolerant of danger than those who can confidently expect to pass three hundred years of age.]]
* WeWillHavePerfectHealthInTheFuture: Most notable in the friction between Spacers and Earthmen. Earthers have lifespans comparable to 20th century Americans, while the eugenically-perfected Spacers tend not to experience "middle age" until turning 250 or so. They enforce this with careful control of the microbes introduced to their worlds from Earthers, and look down on the filthy, disgusting, shortlived Earthmen. The Spacers' weakened immune systems mean that when an Earthman visits, the visitor has to be thoroughly sterilized and most of the Spacers wear gloves and nose-plugs and keep their distance.
* WeWillUseManualLaborInTheFuture: A major source of contention between Earthlings and the Spacers is the refusal of Earth to ''stop'' using manual labor. Robots could do all the work better, faster and safer for only a fraction of the cost, and are one of the key reasons for the Utopian societies of the Spacers, but their introduction to Earth society is being resisted (sometimes violently) because they will displace so much of the human workforce.
* WhenTheClockStrikesTwelve: Near the end of the book, [[spoiler:Daneel notifies Lije that, since he's gathered the information Fastolfe wanted about Earther society, the investigation is being ended that day. Desperately worried about the consequences failure would have for his career, and with a brand-new EurekaMoment running through his mind, Baley convinces his robot partner that the wording of the order can be construed as meaning they're still on the case until the day actually ends at midnight. Sure enough, they manage to extract a confession from the murderer right at the stroke of 12.]]