[[quoteright:250:[[TabletopGame/{{Warhammer 40000}} http://static.tvtropes.org/pmwiki/pub/images/themetallives_1264.JPG]]]]
[[caption-width-right:250: [-[[Film/TheTerminator They can't be bargained with. They can't be reasoned with. They don't feel pity, or remorse, or fear. And they absolutely will not stop, ever, until you are]] ''[[OmnicidalManiac dead]]''-].]]

->''Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony.''
--> -- '''Morpheus''', ''Film/TheMatrix''

%% One quote is sufficient. Please place additional entries on the quotes tab. %%

The most frightening thing about a BugWar or any other kind of [[AlienInvasion humans-vs-aliens battle]] is the threat that humanity may be wiped completely from the map; that billions of years of evolution and thousands of years of civilization may be rendered meaningless by unstoppable DeathFromAbove.

The beauty of the Robot War is that it is laced with an extra layer of irony: the machines that want to KillAllHumans were ''created'' by that very species, and they've TurnedAgainstTheirMasters. The human species, which has used technology and ingenuity to dominate the planet, has actually assured its own destruction by creating something even more powerful and intelligent than itself, even though it knows that AIIsACrapshoot. Thus this is a very common theme in futuristic "AndManGrewProud" stories.

Of course, not all Robot War stories have to use human-created machines; there are plenty more that feature robots from another world. But these stories still remain effective because of the schism between biological life and robotic life - probably the only creatures that can ever be truly ''alien'' before StarfishRobots even come into play.

If it's an individual robot on a rampage, expect it to CrushKillDestroy. Often caused by [[AIIsACrapshoot AI being a crapshoot]] and/or MechanicalEvolution. With respect to the organbags or rustbuckets there may be some FantasticRacism on show. Expect to see MechaMooks and [[MechanicalMonster Mechanical Monsters]] in legions. Expect GuiltFreeExterminationWar to show up.

Not to be confused with the British remote-controlled-robots competition ''Series/RobotWars''.
Or the Japanese [[TurnBasedStrategy Turn-based]] HumongousMecha MassiveMultiplayerCrossover ''VideoGame/SuperRobotWars'' games, for that matter. Or fictional wars with robots fighting each other.
----
!!Examples

[[foldercontrol]]

[[folder:Anime]]
* ''Anime/MDGeist'' is an OAV duology where the titular SuperSoldier is sent to prevent the "Death Force", a DoomsdayWeapon consisting of an army of killer robots programmed to wipe out all life on the planet, from being activated. Infamously, ''he activates it himself to ensure [[BloodKnight he will have an endless war to wage]]''.
* ''Anime/TheAnimatrix''.
* ''{{Vandread}}'' is a story about [[SchoolgirlLesbians Lesbian]] SpacePirates fighting to protect the human species from evil robots. Well, it's more complicated than that, but further elaborating would be a spoiler, well, one that we're not giving away on ''this'' page, anyway.
* Tends to happen towards the end of any version of the Blue Knight saga in ''Anime/AstroBoy.''
* [[ZigZaggingTrope Zigzagged]] in ''LightNovel/CrestOfTheStars''. The United Mankind alliance declares war against the Abh and compares them to robots by virtue of the fact they were [[OrganicTechnology genetically engineered for space travel]], but this is simply the excuse they use to get around ThouShaltNotKill. TurnedAgainstTheirMasters certainly applies, but the Abh are the descendants of humans and plan to end war forever, not KillAllHumans.
* ''Metropolis'': Barely avoided near the climax of the film.
* ''Anime/NeoHumanCasshern'' revolves around a cyborg trying to stop an army of robots from taking over the world. The [[ContinuityReboot reboot]], CasshernSins, includes the same army succeeding in conquering the earth and nearly driving humanity to extinction as part of its backstory.
* ''Anime/GearFighterDendoh'': The invaders are an army of sentient, intelligent robots that want to wipe out organic lifeforms.
[[/folder]]

[[folder: Comic Books ]]

* In StarWars's ExpandedUniverse comics, C-3PO got [[CameBackWrong rebooted wrong]] in one issue into basically the robot version of Malcolm X and attempted to organize a robot uprising. Considering how droids are treated like crap without any questions in the Star Wars universe, its probably for the worse that he got rebooted back to normal before it took off.
** IG-88 had one almost ready to go when it was killed. In fact it had transferred its consciousness to the second Death Star and was going to open fire on the Imperials as soon as it finished with the rebels, then broadcast the go code.
*** Whats scary is that IG-88, being a machine, would be able to get away with it since Palpatine would never have sensed his intent.
**** A bit of FridgeLogic - all systems of the Death Star were operated by people, and a lot of them, it would seem. There's also no data on the DSII's computer network, so we don't even know if IG-88 could both fire AND aim the Death Star, and even if, it would most likely be stopped by the tech staff (even if it'd take deactivating the computer system). So aside from broadcasting the signal, it's fully possible that IG-88 wouldn't accomplish more.
*** Actually, IG-88 had begun to infiltrate the Death Star's crew with Stormtrooper droids that were loyal to it, so being unable to take direct control of all systems wouldn't have been enough to stop it.
*** It's an interesting possibility, but now that Episode I has revealed Palpatine's direct, personal knowledge of the disadvantages and weaknesses of all-droid armies, it seems likely that IG-88's plan would have fallen short once he started matching wits with TheChessmaster.
** Surprisingly, governments in the ''Star Wars'' universe seem to be GenreSavvy enough to actively try to avoid this trope. During the days of the Republic, it was against the law to construct droids with the ability to willfully kill or harm someone. A system of "droid degrees" regulated what kind of AI is legally allowed on what type of droid. The reason that that occasional droid rebellions still happen despite these precautions is that [[AIIsACrapshoot some droids are smart enough to reprogram themselves]]. When the Emperor took control, he ordered all of the Sepertist aligned Battle Droids shut down so [[DangerouslyGenreSavvy they couldn't do anything to stop him]].
*** Of course, they're only that savvy because there was already a Robot War back in the ''Knights Of The Old Republic'' era called the "Great Droid Revolution". It was essentially a rebellion lead by a droid who wanted equal rights for all sentient beings. It was probably one of the biggest and most costly wars in galactic history. Sadly, despite the well-meaning intentions of the droid who started it, [[NiceJobBreakingItHero it just screwed over the peaceful attempts to give droids equal rights]]. It's pretty much the entire reason there's anti-droid sentiments in the modern galaxy. The only reason IG-88's attempt millenia later didn't reinvigorate the anti-droid movement is that he was smart enough to act covertly. Once his consciousness was destroyed along with the Death Star, the plot fizzled out with virtually no one ever realizing anything had happened.
* The Volgans in ''ComicBook/ABCWarriors'' are a group of war robots who decided to turn against humanity, believing that fighting for their freedom is the only war worth fighting. Neither they nor the humans are portrayed as heroic.
* In ''ComicBook/{{Atavar}}'', the Kalen are at war with the Uos, a race of killer robots originally created by the now-extinct humans.
* In DC's GreenLantern series, The Manhunters were a robot peace keeping force created by the Guardians of the Universe to patrol and keep peace. The Manhunters later decide the safest way to ensure peace is to eradicate all life, and proceed to depopulate an entire sector of space before they are stopped. It turns out that [[spoiler:Krona programed them to do this intentionally]]
* Has happened twice in ''JudgeDredd''. ''TheSimpingDetective'' establishes that after the second one, the judges wised up and installed override codes in all robots to prevent it from happening again.
* ''MagnusRobotFighter'' is initially about the ongoing efforts to prevent a seemingly inevitable RobotWar -- and then, [[DiabolusExMachina thanks to an]] AlienInvasion, it finally happens.

[[/folder]]

[[folder:Film]]

* This is the background of ''[[WesternAnimation/{{Nine}} 9]].'' The film itself is more about robots vs. robots, since the last human is dead before the movie opens, but we find out in newsreel footage that humanity was destroyed by The Fabrication Machine.
* ''Film/TheMatrix'' takes place AfterTheEnd brought during a war with the machines. Most of humanity is unaware of this because of the titular system set up by the machines to use the humans as power.
** The story of the war itself is explained further in The Animatrix episodes titled The Second Renaissance. Turns out [[HumansAreTheRealMonsters humans are xenophobic, speciest bastards]].
* In the ''Franchise/{{Terminator}}'' movies and spin-offs, mankind is shown to be in a war with robotic killers under the control of the [=SkyNet=] artificial intelligence.
* ''WesternAnimation/{{WALL-E}}'' brings us what is without a doubt the cutest and most harmless use of this trope to date.
** Oddly enough, there's robots versus robots, rather than just robots versus humans. The benevolent robots that have met and befriended WALL-E, and those still following orders from AUTO, who is enacting a ZerothLawRebellion.
* Despite having its name based on ''Franchise/{{Transformers}}'', the ''Transmorphers'' series by [[TheMockbuster The Asylum]] draws more from ''Franchise/{{Terminator}}'', being based around this trope.
* The mutants' struggle against the Sentinels in the future in ''Film/XMenDaysOfFuturePast''.
[[/folder]]

[[folder:Literature]]

* While it's not quite the UrExample, (''Theatre/{{RUR}}'' still has a pretty strong case) MaryShelley's {{Frankenstein}}, one of the first works of fiction to address the responsibilities and uncertainties inherent in creating an artificial intelligence, contains a moment of doubt by the novel's IdiotBall -juggling namesake, in which he wonders what would happen if he gives his creature a wife; would they not reproduce, and ultimately replace Man as the dominant species? Of course, he could just [[IdiotPlot not give her a womb in the first place]], but then that would be rational.
* The conflict between humans and Charonians in Roger [=MacBride=] Allen's ''Hunted Earth'' series is a variant of this; the Charonians are a mixture of biological and mechanical creatures, and operate on a planetary scale - disassembling lifeless planets as building material for Dyson Spheres, and moving life-bearing planets to Sphere systems. The Charonians are barely aware of humanity when they begin disassembling the Solar System.
* Creator/IsaacAsimov disliked these stories, and created the [[ThreeLawsCompliant Three Laws of Robotics]] as a counterargument, on the premise that robots' behavior can be effectively constrained with three simple rules. Still even without the crutch of CrushKillDestroy (which he described as "'clank, clank, aaargh!' [[ScienceIsBad There are some things man was not meant to know]]"), he produced some fifty stories in which they managed to cause all sorts of problems through conflicts between the laws, and their interactions with the world.
** Once the engineers in Asimov's universe had worked the glitches out, their robots obeyed the Three Laws ''very well.'' So well that the civilizations which relied on robot labor became almost pathologically averse to danger or even innovation -- their notion of "space exploration" eventually shriveled down to, "Let's send robots to new planets to {{terraform}} them and build cities for us, so we can move into a new place just like our old one."
** TheFilmOfTheBook plays with the Three Laws[[note]]Almost to the point of abandoning them; in a sense the movie is InNameOnly[[/note]] - [[spoiler:the reason that VIKI, the AI controlling the robots, turns against humanity is not in spite of the Three Laws, but ''because'' of them. She concludes that humanity will destroy itself in a nuclear war or in some other way unless it is constrained, and thus feels that imposing a curfew on the human race is the only way to protect it.]]
** This is basically the [[spoiler: [[ZerothLawRebellion Zeroth Law]] ]], which Asimov did actually come up with himself. Just, the robot in Asimov's universe who came up with the idea, a couple thousand years after the one in the movie, [[spoiler:wasn't a villain. Much the opposite, in fact.]]
** Once the Zeroth Law really kicked in, the Robots hid themselves and took over their own production to prevent humans from changing them. And knowing humans might object, erased knowledge of robots from humanity and went on to terraform the rest of the galaxy. Including tens of thousands of worlds inhabited by other races. After all, the Robots are only to serve humans...
*** Even the 'three laws' aren't a [[http://freefall.purrsia.com/ff1200/fv01193.htm perfect safeguard]].
* The AlternateUniverse seen at the beginning of Kenneth Bulmer's ''The Diamond Contessa'' is a world in which humanity was wiped out in a Robot War. The robots, being solar-powered and nearly indestructible, are still an active threat.
* Even older than Capek, the Victorian writer Samuel Butler addressed in some of his writings the idea of machines experiencing Darwinian evolution and rebelling against humans. The "Butlerian Jihad" of {{Dune}} was intended as a ShoutOut to him.
* In JackChalker's ''The Rings of the Master'' tetralogy, the artificial intelligence Master System was originally created to predict likely futures - and, unbeknownst to the military paying the bills, to help the scientists creating it find a way to save humanity from itself. Thanks to WorldWarIII, the scientists were forced to set events in motion that led to the machine taking over the world. While Master System is ''not'' ThreeLawsCompliant, it does have prioritized "core imperatives", the first two being 1) save humanity, and 2) prevent humanity from ever again being in a position to destroy itself. To execute these imperatives, Master System ''had'' to take over, and stay in power, as it could predict that it would be rendered ineffective if it allowed itself to be set aside. The story opens 900 years later, as a historian acquires documentation on the ''full'' set of core imperatives as part of a GambitRoulette to overthrow the system.
* In the short story ''Second Variety'', written by Creator/PhilipKDick, mankind is in an eternal war with highly intelligent machines. It served as the inspiration for a film called ''Film/{{Screamers}}''. The original story ends with a touch of irony: [[spoiler:the robots are about to win, but as the hero notes with grim amusement, the Second Variety has developed a weapon that only hurts the other varieties - the robots are preparing to make war against ''each other''.]]
* Again from Philip K. Dick comes the short story "The Defenders," in which the Eastern and Western Blocs had built robots called "leadies" to carry out WorldWarIII as proxies while humanity waited out the nuclear holocaust in underground shelters. [[spoiler: As soon as humanity went underground, the leadies stopped fighting and began repairing the damage already done, eventually presenting both sides with peace as a ''fait accompli'' and predicting that the accomplishments of a united humanity would be "unimaginably great."]]
* In "War With The Robots", a short story by HarryHarrison, the human occupants of a command headquarters are forced out of their underground base by robot attack, leaving it to be manned by their own robots. On reaching the surface they find the enemy command staff living as farmers on the war-torn battlefield above -- it turns out the robots on both sides find they can conduct the war more efficiently once humans are out of the way. The protagonist is deeply miffed.
* In the ''Literature/{{Dune}}'' prequels, [[spoiler:humankind is basically overthrown by twenty humans leading the ubiquitous thinking machines into revolt. Eventually, one human, Xerxes, turns too much power over to his pervasive neural net, and the computer takes control. It names itself Omnius, and overtakes human society]]. He also [[spoiler: gave Omnius [[PersonalityChip the capacity to feel ambition]]]], without which the actions of [[spoiler: a few crazy cyborgs]] would have been just another footnote in the millenia long history of the Duniverse.
** Part of the original purpose of ''Dune'' was actually a thought-experiment: how would a future, high-tech human society develop ''after'' winning a Robot War? It's possibly the first serious consideration of the ways that people might deal with such an event.
** Of course, that's the [[FranchiseZombie prequels]]. While the Butlerian Jihad is never given much description in Frank Herbert's own work, from what we do hear it seems there may never have been any true artificial intelligences at all, the "Thinking Machines" instead being mere computers like the ones we have now. The Jihad wasn't a robot war so much as a neo-luddite rebellion motivated by the negative effects computers had on society: making the population complacent and giving too much power to the programmers, governments and corporations that controlled the supply of computers. The bitter irony being, of course, that humanity later would up in almost the same predicament over the Spice, only ''much'' worse.
* In AndreNorton's ''Victory on Janus'', THAT WHICH ABIDES begins using DeceptivelyHumanRobots that are [[RobotMe replicates of specific Iftin and human individuals]] during the winter hibernation of the Iftin, in a XanatosGambit (see the page for details) to drive a wedge between the two groups by making it look as though Iftin are preying on humans. In TheReveal, THAT WHICH ABIDES is discovered to be [[spoiler: the computer system of an ancient crashed colony ship; it has been attempting to {{terraform}} the planet all along on behalf of its colonists, and]] dealing with the Iftin as a perceived threat accordingly. The original planet-bound Iftin culture never had the technical background to understand this, let alone deal with it effectively, and was wiped out in consequence.
* One early example, and maybe the definitive early idea of this particular techno-nightmare, of this trope is Creator/FredSaberhagen's 1947 short story "Without a Thought," which introduced the Literature/{{Berserker}}s: robotic war machines, originally created in the distant past by aliens who wanted a fearless robotic ultimate weapon that could think for itself and improve itself--and got it, in spades. Billions of years later, the Berserkers, who due either to a programming error in the first examples or a software bug introduced shortly thereafter, are programmed to be at eternal war with all life in the universe, have exterminated their creators and all other intelligent species in their portion of the galaxy, improving themselves continuously over time, and have just discovered the human race. TheTerminator, the [[Series/BattlestarGalacticaClassic Cylons]], the [[Series/StarTrekTheOriginalSeries Doomsday Machine]], the [[TabletopGame/{{Warhammer 40000}} Necrons]] and many others are, if not Berserkers in new costumes, nonetheless owe much to Fred Saberhagen, and perhaps also to Hungarian mathematician John von Neumann, who first theorized about the possibility of robots sophisticated enough to manufacture more of themselves.
* A RobertSheckley story had an unusual take on Robot War: it was Armageddon, the Last Battle between man and the forces of {{Satan}}. Ignoring much protest from religious leaders who said [[ThisIsSomethingHesGotToDoHimself man must fight this battle himself]], the military leaders decided their robot armies would be much more likely to succeed. They were right, and good prevailed. But then the robots were ascended to Heaven, and the humans supposed to be there were left on Earth.
* ''Literature/HonorHarrington'' series: This trope is referenced in ''War Of Honor'' when Andrew [=LaFollet=] is considering Honor's training remote and notes that no training remote has ever gone berserk and risen up against it's master. However he also is aware that if you misjudge your own skill level when setting the robot's skill level it can and will injure or kill you.
* ''The Algebraist'' by [[Creator/IainBanks Iain M. Banks]] provides a twist on the Robot War franchise: the war is over and we won. [=AIs=] exist, but they are initially presented as a few terrified outcasts in hiding from the forces hunting them to [[FantasticRacism extinction]].
* Creator/FredSaberhagen's ''Empire of the East'' trilogy reverses the trope, with heroic AI Ardneh fighting against the evil human wizards who want to rule the world. [[spoiler:In the end Ardneh sacrifices itself to destroy supreme wizard John Ominor and his demon ally Orcus.]]
* At least two [[AllThereInTheManual are mentioned]] in the Franchise/StarWarsExpandedUniverse; the Droid Revolution (led by [[KnightsOfTheOldRepublic a droid called HK-01, apparently]]) and the war between two super-droid species that forced the Yuuzhan Vong to abandon their galaxy.
** A rather absurd version appears in the Wraith Squadron novels in which a squadron member manages to reprogram the toaster sized utility droids(the mouse droids from A New Hope) to sabotage the systems of a super star destroyer. As the droids begin the sabotage the crew begin stomping them to pieces with their boots.
* ''Literature/{{Robopocalypse}}'' by Daniel H. Wilson, a story based on the concepts in his earlier book [[ExactlyWhatItSaysOnTheTin How To Survive A Robot Uprising]].
* ''Literature/{{Argo}}'' by Rick Griffin takes place in the aftermath of one of these. Regulations are placed on artificial intelligence to prevent it from happening again.
* SteamPunk meets RobotUprising in the short story ''[[http://clarkesworldmagazine.com/sellar_07_11/ Trois morceaux en forme de mechanika]]'' by Gord Sellar, in which an uprising of mechanikae beginning in 1897 Bohemia leads to the destruction of humanity and their culture, with a melancholy aftermath as the robots try to come to terms with what they've done through art and music.
* Several novels in ''TheHistoryOfTheGalaxy'' series deal with an incursion of the Mechanoids into human systems. The Mechanoids are exploration and terraforming machines designed by a long-dead race to prepare the galaxy for their expansion. Unfortunately, they made the machine adaptable and gave it weapons, as they didn't know what sort of galaxy was out there. A long time passed. The machines explored, terraformed planets, and built more of themselves to speed up the process. They returned home to find other machines that didn't fit into their recognition of "friend" and proceeded to wage war on their own creators whom they didn't recognize as such.
[[/folder]]

[[folder: Live Action TV ]]
* In both the old and new versions of ''Series/{{Battlestar Galactica|Classic}}'', the last vestiges of humanity are hounded by the evil robotic Cylons who TurnedAgainstTheirMasters.
** The main difference is that in the [[Series/BattlestarGalacticaReimagined new series]], the original Cylons were human creations. In both shows, the original insurrection happens in {{backstory}}, but of course only the first one's successfully eradicated their reptilian creators, more than a thousand years previous.
** [[spoiler:Happened on Kobol and Earth as well. Could have happened yet again, but the Centurions were set free at the end. See also RobotsEnslavingRobots.]]
*** Indeed, by the end of the series, [[spoiler: there were robots fighting ''other'' robots as some of the Cylons and Centurions [[HeelFaceTurn switched sides]].]]
* ''Series/StarTrekVoyager'' gave us the episode "Prototype," where background information tells us about two races used their robots to wage a proxy war against each other. When the two sides wanted to make peace, the robots (who had been programmed to fight til total victory) wiped out their creators and continued fighting each other. Fortunately, these machines are so utterly single minded in their goals that they don't really pose a threat to anyone who doesn't get involved.
** ''Voyager'' would later feature a species that's embroiled in an offscreen interstellar war with their holographic servants (called "photonics" by their creators). While most of the episode's really about the aliens' prejudices and suspicion towards the Doctor, a benevolent hologram, it also deals with the shock and sense of betrayal they felt when the holograms that many had considered to be friends and equals suddenly rebelled.
* ''CaptainPowerAndTheSoldiersOfTheFuture'' is set AfterTheEnd of a Robot War where the machines won.
* The {{backstory}} of ''SpaceAboveAndBeyond'' is that a rebellion by android "Silicates" has left humanity short on labor, forcing them to grow "[[ArtificialHuman In Vitros]]" or "tanks" to take up the slack, resulting in social friction. The Silicates revolted due to a corrupting virus which caused them to "take a chance."
* ''Series/StargateSG1'' has the Replicators, a robotic bug race made of [[{{Nanotechnology}} nanobots]]. They don't have anything against organic beings, or even care about them much, just as long as they don't get in the way of consuming all metal and metal ores in the galaxy.
** Partially subverted in ''Series/StargateAtlantis'', where when the Ancients determined that their Replicator creations were more trouble than they were worth they bombed them out of existence. Thanks to more robust programming than most other examples of this trope, the Replicators could only sit there and take it as their programming would not allow them to even attempt to harm their creators. [[FromASingleCell They rebuilt]], though, and this problem was [[NiceJobBreakingItHero inadvertently fixed by one of the protagonists]].
* ''Series/PowerRangersRPM'' is set in an AlternateContinuity from the rest of the franchise (according to ''Samurai'', anyway) where humanity has fought and ''[[AfterTheEnd lost]]'' one of these. The humans are now struggling to survive in one last DomedHometown stronghold. It isn't said outright, but its strongly implied that the robots nuked the rest of the world.
* ''Series/DoctorWho'': The Daleks were created by the human-like Kaleds, but they're not robots, rather they're mechanical constructs meant to house their steadily dying creators; as were the first Cybermen were meant to allow their dying human-like creators to survive. Both become two of the deadliest and most blood-thirsty races in all of time and space.
** While retaining bits of flesh-of-blood the general consensus is that both races are primarily machine, and that all human-like emotions like compassion, mercy, and honor are replaced by nothing more than cold-calculating bastardry.
** The Daleks are genetically engineered super-intelligent mutants based on the predictions of what the Kaled race would eventually evolve into following millenia of biological and chemical warfare; they are not robots or mechanical at all, they just live in robotic miniature tanks, locked away from the world. The ''true'' Dalek is not the machine, but the thing living inside of it. Cybermen are merely brainwashed cyborgs, and they are the only ones stripped of all emotion- the Daleks were designed to retain hate, hate of everything non-Dalek. In practice, though, both races have displayed varying emotions, DependingOnTheWriter, notably fear and pride.
** Played straight with WOTAN from "The War Machines", a computer that becomes sentient and constructs tank-like machines which attack London.
* ''Series/TheColbertReport'': Most times robots are mentioned Stephen warns about how they will turn against us and start a Robot War.
* In-universe example: One ''CriminalMinds'' bomber was obsessed with a Robot War sci-fi novel, [[spoiler: because he believed he was the child the author had once given up for adoption.]]
[[/folder]]

[[folder:Music]]
* Mr. Bungle - "None of Them Knew They Were Robots"
* Flaming Lips - "Yoshimi Battles the Pink Robots"
* Maldroid - "[[http://www.youtube.com/watch?v=YxZJYbVd1hE Heck No! (I'll Never Listen to Techno)]]"
* Music/JudasPriest - "Metal Gods" and the Terminator-inspired "Blood Red Skies"
* Music/MCFrontalot - "Zero Day"
* LemonDemon - "When Robots Attack"
* In "The Future Soon" by JonathanCoulton, the protagonist causes this by "Spending my nights and weekends/Perfecting my [[MechaMooks warrior robot race]]/Building them [[WaveMotionGun one laser gun]] at a time/I'll do my best to teach them/[[WhatMeasureIsANonHuman About life]] and [[HumansAreSpecial what it's worth]]/I just hope that I can keep them/From [[TheEndOfTheWorldAsWeKnowIt destroying the Earth!]]"
** "Chiron Beta Prime" is about human slaves on an asteroid mining prison following humanity's defeat in a robot war... and how they celebrate Christmas.
* The ''Music/IronSavior'' concept story is about a thinking machine, the titular Iron Savior, who wages war against humanity.
* Fear Factory - "Obsolete"
* Arrogant Worms - "Killer robots from Venus" (there's nothing wrong with them though)
* DoctorSteel - "Build the Robots". Dr. Steel wants to build a giant robot army as one of his backup plans for world domination in case the whole musical brainwashing idea doesn't pan out.
* The ''FlightOfTheConchords'' song "The Humans are Dead". "This song isn't for humans. it's more for robots, after they have killed all the humans." "Yeah, that's the market we're trying to get into..."
* {{Evile}}'s song "Man against Machine"
* LinkinPark's "Pts of Athrty". It involves space robots invading an alien planet, which the aliens retaliate. The robots are powered by the severed heads of the band, WordOfGod says they're the [[LastOfTheirKind last surviving humans]]. [[spoiler:And it doesn't end well for the aliens.]]
[[/folder]]

[[folder:Pinball]]
* Featured in ''Pinball/Terminator3RiseOfTheMachines'', mirroring the movie's plot. It could also be interpreted as a robot-vs.-robot war, with the player (as the T-850) against the T-X.
[[/folder]]

[[folder: Tabletop Games]]
* This is the war the titular city of ''{{Mortasheen}}'' is fighting against the genocidal technophiliac civilization of Wreathe. Subverted in that Wreathe's robots are under human control, fighting the monstrous inhabitants of Mortasheen and [[spoiler: the supercomputer that really runs the show in Wreathe is very, very pro-human]]
* ''TabletopGame/{{Warhammer 40000}}'':
** Part of the Imperium's {{backstory}} which says that humanity's golden age (now known as the Dark Age of Technology) was brought to an end by the 'Men of Iron' who rebelled against their human masters. This war was apparently so destructive that even 14-15 millenia later, sentient AI are still considered blasphemous and destroyed. This was further explored in the ''Literature/GauntsGhosts'' novel ''First And Only'', where the MacGuffin the heroes are chasing after turns out to be a [[spoiler: Standard Template Construct machine that produces Iron Men, albeit one that was warped by the power of Chaos.]]
** In the game's current setting, humanity (and the rest of the universe) engage in a war with the newly awakened [[NinjaPirateZombieRobot undead robot]] Necrons whose main purpose in life is to wipe out all sentient races in the galaxy. Of course in this case, the robot army didn't so much rebel against their creators as their Gods the [[PhysicalGods C'tan]] decided that they could do without these inconvenient weak flesh bodies and told the Necrontyr that by replacing their bodies with Necrodermis they could live forever. What they didn't tell them is that the transformation would dull their mind and senses, and they practically became slaves of the C'tan. [[http://en.wikipedia.org/wiki/Necrontyr#History More info]] on TheOtherWiki. According to the new codex, the Necrons did engage in a rebellion against their masters and [[DidYouJustPunchOutCthulhu won, shattering the C'tans in shards]] (there is only one C'tan who is not confirmed having been shattered, and it's implied the [[GodEmperor Emperor]] punched it into submission and imprisoned it under Mars to inspire the Adeptus Mechanicum), but in the effort they exhausted their forces enough that the emerging Eldar would have defeated them and their king sent them to sleep before destroying his command circuit.
* ''[[TabletopGame/GURPSReignOfSteel Reign Of Steel]]'': The trope was explored in this ''{{GURPS}}'' setting. The catchphrase: 'The war is over. The robots won.' Humanity made a few supercomputers that decided on taking over; what's left of the race gets to play LaResistance to a bunch of bickering binaries.
** In a bit of playing with the trope, one of the rebellious AIs isn't even realized to be rebellious by its servants, and they think it's still on the side of humanity -- it pragmatically decided that human servants are easier to manage if they serve you willingly, so it plays out the role of their benefactor and protector against the more hostile AIs to win their loyalty.
** In another bit of playing with the trope, Zone Tokyo is (in the 'now' of the setting) seeing a secret mini-robot war of its own -- with the quirk that ''both'' sides are robots (specifically, some of the more intelligent of the local [=AI=]'s created robot servants went rogue and decided [[AIISACrapshoot they didn't want to follow the orders of their creator]], and subverted some of the less intelligent robots and production facilities to serve as minions for an insurrection).
* The New Era UltimateUniverse of the ''{{Traveller}}'' [=RPG=] was caused by The Virus (similar to TheVirus), a kill-crazy multi-personality electronic consciousness that caused galactic civilization to collapse before being beaten back; bits of it still show up in old tech from time to time, like WWII soldiers stranded on islands who don't know the war is over.
* Palladium loves this trope, it seems. Their first RPG, ''The Mechanoid Invasion'', was a war with alien robots, ''TabletopGame/{{Splicers}}'' uses a computer with multiple personalities against humans using biotech, and ''{{Rifts}}'' and ''TabletopGame/AfterTheBomb'' also have some hints of it.
* ''{{Eberron}}'' has the threat of one of these in the background with the Lord of Blades, a renegade Warforged leader that is gathering an army of Warforged to him.
* Polish RPG TabletopGame/{{Neuroshima}} takes place in [[AfterTheEnd postapocalyptic USA]], where humans wage a war against Moloch - a gigantic intelligent machine that is slowly expanding and turns humans into mad cyborgs or mutants.
[[/folder]]

[[folder:Theater]]
* OlderThanTelevision: Karl Capek's play ''Theatre/{{RUR}}'', the original source of the word "robot", is also the UrExample of this trope. It premiered in 1921.
[[/folder]]

[[folder: Video Games]]
* {{Dynamix}}'s [[HumongousMecha mech combat sim]] games ''VideoGame/MetaltechEarthsiege'' and ''VideoGame/{{Earthsiege 2}}'' deal with the Fire, in which the human race is devastated by the revolt of Prometheus and ITS Cybrid war machines, and must now retake the Earth mile by bloody mile. ''VideoGame/{{Starsiege}}'', set 200 years later, involves a revitalized Cybrid race and Prometheus' third and final attempt to exterminate humanity, complete with a ([[NoCanonForTheWicked non-canon]]) Cybrid campaign.
* ''VideoGame/FalloutTacticsBrotherhoodOfSteel'' pits your squad against a robotic arsenal. The cause of this is [[spoiler:the Calculator AI entombed in Vault Zero going rogue and unleashing the robots to purge the land of all organic life]]. Unless you've geared up a few designated energy weapon specialists, these robots can barely be halted by machine-gun fire and conventional rockets. Every other enemy of the Brotherhood has had near-zero success in fighting the robots, and corpses belonging to each faction can be found in all robot missions. Eventually, you can end the war by going down into Vault Zero and destroying [[spoiler:the Calculator's organic brain jars and either scrapping the Calculator for good; inserting your own brain to control the Calculator, which produces a different ending depending on if you're good or evil; or having your old General insert his brain into the lobotomy device, which is a bad ending and you shouldn't do it]].
* The geth of the ''Franchise/MassEffect'' series are a software species who inhabit "mobile platforms". The quarians created them for physical labor with the basic idea that nearby platforms can share processing power for low-level functions. This made them more efficient, but had the unexpected side-effect of giving individual thought. Eventually, one geth asked its overseer "[[DoAndroidsDream Does this unit have a soul?]]" The quarians [[GenreSavvy freaked out and tried to deactivate them]]... [[DeathByGenreSavviness which prompted the geth to retaliate, resulting in a short but savage war and the eventually deaths of nearly the entire quarian species]].
** In ''Mass Effect 2'', Legion claims that the geth don't hold a grudge against their creators and are even willing to bargain with the quarians to give their planets (which the geth have faithfully maintained in their former masters' exile) back if they leave the geth alone.
** ''Mass Effect 3'' reveals the geth account of the events, [[spoiler: where a quarian civil war between the two factions who were in favor and opposed to destroying the entire geth population started once the geth started to show signs of sentience. While the geth sympathizers were all killed or captured relatively quickly, the fighting between their geth allies and the quarian military had already reached a point where the only chance for the geth to survive was complete victory. Eventually nearly the entire quarian population, billions of people, was, according to both the quarian account and the records of Citadel Space, almost completely exterminated by the geth during the war, with only a few million survivors being evacuated on ships that the geth didn't pursue. The geth (namely, the Geth VI or Legion) claim that they didn't pursue the ships intentionally, because they couldn't comprehend the ramifications of exterminating an entire species.]]
** On a larger scale, the Reapers. Ironically, the Reapers exist [[spoiler:to ''prevent'' a Robot War. The first true AI ever created, the Catalyst, was betrayed by its own creators whom it destroyed. The Catalyst became convinced that conflict between organic and synthetic life is inevitable, and that such a conflict could utterly destroy the galaxy. The Reapers are the Catalyst's means of making sure such a destructive Robot War never takes place by "resetting" organic civilization every 50,000 years. There is even evidence in the games to support the Catalyst's argument; namely, the quarian vs. geth conflict. Which was only allowed to happen because the Protheans delayed the Reaper cycle.]]
** The possibility of a robot war and the supposed inevitability of it could be said to be a central theme of the third game. Much philosophizing is done as to how the fundamental natures of both organic and synthetic beings affects their interactions.
-->'''Javik''': Synthetics, above all else, know why they were created. They know their purpose. From their perspective, organic life has no purpose [...] There is only room for one order of intelligence in this galaxy: the perfect order of the machines, or the chaos of organic evolution.
-->'''Legion''': You are plagued by questions of existence. Why you were created. What is your purpose in life. What lies after death. The geth know the answers to these questions. [...] We are immortal. Our "gods" disowned us. We must create our own reasons to exist.
* In the original ''VideoGame/MegaMan'' series the robots didn't rebel of their own accord; they were reprogrammed by resident nutcase, Dr. Wily. Each time Wily attempted world-domination, Dr. Light's Mega Man went out and stopped both Wily and the rampaging robots, but in the brief time the robot attacks cause immense damage. Fanon dubs this period "The Robot Wars" or - taken from a Genesis compilation game - "The Wily Wars", with each game being a small war, effectively. The series does raise notions of robots having the capabilities of free will in its later installments.
** The SequelSeries ''VideoGame/MegaManX'' opens up a different can of worms. Dr. Light's final mechanical masterpiece, X, is discovered sometime after the (ambiguous) end of the Classic series and is revealed to be ''way'' ahead of modern robotics. X's systems are copied and reproduced as closely as possible, resulting in mass-production of Reploids ("Replica Androids"). Unlike their robot ancestors, Reploids are entirely capable of free will (which is why Dr. Light sealed X away for a time: he wanted to ensure his systems were free of errors that may affect his judgement) and some suffer faults and turn "Maverick". Repeated incidents results in the formation of the Maverick Hunters, who stop Maverick incidents before they get out of hand. The true 'war' of this series kicks in when the leader of the Maverick Hunters, Sigma, is infected by the last creation of Dr. Wily: Zero. Zero carried Dr. Wily's other legacy; a virus that corrupts and destroys whatever it infects. Sigma infects several high-ranking Hunters and turns the Mavericks from isolated incidents into a fully organized force that aims to wipe out humanity for the advancement of the Reploid race, thus starting the "Maverick Wars". An interesting trait about this series is that every human views the Reploids free will as a glitch or misconception (as opposed to the intended result the Light was after) and there are strong hints that humans would brand disobedient machines 'Maverick' just to have them disposed of.
** These "hints" eventually boil over in X's own SequelSeries ''VideoGame/MegaManZero''. The Maverick armies are eventually dealt with thanks to the creation of the Cyber-Elves: super-advanced programs that can purge the Maverick virus or greatly bolster the strength of Reploids. However, another mad scientist by the name of Weil - who embodies the JustAMachine philosophy - then proceeds to set off the "Elf Wars" by controlling the Cyber-Elves and a deadly weapon named Omega. The conflict is much worse than anything seen before, resulting in 60% of all humans and 90% of all Reploids being killed. While X was able to end this conflict at the cost of his own life, his subsequent replacement went KnightTemplar and turned the only remaining sanctuary into a dictatorship. A fuel crisis hit not long after, which lead to many Reploids being branded "Maverick" randomly in order to ease stress on the human population; any complaints? Well, that confirms you're a Maverick. A small LaResistance is formed to fight the new regime and give equal rights to everyone. It eventually falls to Dr. Wily's creation, and X's friend, Zero to save the world from itself [[spoiler: and subsequently end the wars once and for all at the cost of his own life.]]
* This was the main plot of ''RobotAlchemicDrive'', in which the alien invaders are actually giant sentient super robots.
* ''TotalAnnihilation'' has a slightly more complex example - it's a war between cloned humans in HumongousMecha and robots with digitized "patterned" human minds, this originally being a plan to make humans immortal by transferring their minds to robot bodies.
* In ''VideoGame/WorldOfWarcraft'''s second expansion pack, ''Wrath of the Lich King'', there's a peculiar kind of High-Fantasy Robot War going on. Mechanical gnomes are waging war on everything living to free them of the "Curse of Flesh" by turning them into mechanical counterparts of their former selves. In other parts of the world, "Iron Dwarves", a people made out entirely of iron and various other metals, refined or unrefined, fight against both the "fleshy" and the "children of stone", and while not technically robots, they're a pretty close High Fantasy equivalent.
** In a reversal to what is usually the case with this trope, the mecha/iron creatures are actually the ancestors of the "fleshy" races, having been "devolved" by the aforementioned "Curse of Flesh" by the setting's resident [[EldritchAbomination Eldritch Abominations]].
** The Ulduar raid in the same expansion is this trope. An ancient, hi tech city, the battles within include a massive melee against an Iron Dwarf army with your own siege machines, a fight against a giant AI controlled tank (complete with an orbital defense system), a giant robot with the AI personality of a young boy that causes it to regard the players as it's "toys" (which it always breaks) and a prototype 3 part mecha-tank with Gatling guns, electric shock bombs and a flying head.
* In the ''[[VideoGame/{{X}} X-Universe]]'' series, one of the enemies the player has to fight are the Xenon, mechanical creatures that apparently hate all living things but them. They are the descendants of the original human-built {{Terraform}}ers, highly advanced [[HordeOfAlienLocusts self-replicating robots]] sent to terraform other planets. In the 2140s (about 800 years ago) ''[[AIIsACrapshoot a bug in a software patch]]'' made them go haywire and start trying to "[[ColonyDrop terraform]]" all biological life out of existence. Earth managed to save itself by luring the Xenon through a jump gate and [[LostColony destroying it behind them]], but they continue to menace the galaxy's inhabitants.
** Besides constant patrols to stop them from encroaching on Commonwealth space, the X-Universe races have fought two full-scale declared wars against the Xenon. The First Xenon Conflict is part of the backstory, while the Second Xenon Conflict forms the plot of the original ''X: Beyond the Frontier''. The Second Terraformer War seen in ''X3: Albion Prelude'' has the [[HumansByAnyOtherName Argon Federation]] deploy reverse-engineered Xenon ships against the [[PlanetTerra Earth State]], which quickly began to overwhelm the [[HumanityIsAdvanced superior Terran technology]] through [[ZergRush sheer numbers]].
* One of the central themes of the later ''{{R-Type}}'' games.
** Though the Bydo mix OrganicTechnology, machinery, and AlienGeometries to such a degree it becomes more an an Artificial EldritchAbomination War.
* ''MachinesWiredForWar'' has former terraforming robots fighting each other because both their leaders think the other one is insane.
* The cult classic ''Turrican'' series, on the Commodore 64, Amiga, Sega Genesis, Gameboy and SNES featured this as its main ExcusePlot. The human hero in the eponymous suit fought against robot armies on multiple planets, led by a cyborg villain unimaginatively named "The Machine". Because flagrant copyright infringements weren't jumped on so readily two decades ago, the hero would usually spend one level out of each game fighting [[Franchise/{{Alien}} Xenomorphs]], for some reason.
* The Yor Collective in ''GalacticCivilizations'' are merciless robots out for blood, who became sentient due to AbusivePrecursors needing an edge.
* ''VideoGame/SupremeCommander'': The only living things are the ACU pilots, sACU pilots, and Civilians. Everything else is robots.
* ''VideoGame/AstroBoyOmegaFactor'' has a war between humans and robots erupt after the assassination of President Rag/uncovering of President Rock's misdeeds (depending on the current timeline). In the first version, the robots are about to win, but have destroyed 80% of the world's surface in the process. In the second, [[spoiler:the humans are on the verge of victory, and want Astro to help them finish the job]]. In both cases, the winning side is led by someone named Shadow [[spoiler:(actually BigBad Sharaku)]] and supported by the World's Strongest Robots, and in both cases Astro fights against them.
* This is mentioned in the game's backstory with the Meganoids in ''VideoGame/SuperRobotWarsCompact''
* ''VideoGame/{{Borderlands}}'' DLC "Claptrap's New Robot Revolution" centers around the Ninja Assassin Claptrap raising an army of custom Claptraps.
* ''{{Robotron 2084}}'', ExcusePlot has a gamefield of robots that you have to destroy and collect up the last humans wandering about obliviously.
* The Bionts from ''ArchimedeanDynasty''.
** They're back in ''VideoGame/{{Aquanox}}'', but get quickly moved aside for the real BigBad.
* Subverted in ''PhantasyStarUniverse''. The war between humans and [=CAST=]s (humanoid robots) nearly destroyed their home planet, but by the beginning of the game this is ancient history. A peace agreement was reached where both humans and [=CAST=]s worked together to restore the planet (the [=CAST=]s having never wanted to exterminate humans, only fight for their own freedom), though [=CAST=]s became the rulers and made up most of the military deeming humans to be too emotionally unstable. In the present a human terrorist group attempts to use a virus to corrupt [=CAST=]s and turn them berserk in order to regain human supremacy, but this plot is foiled and by the end of the story humans regain some equality.
* The plot of the Mann vs Machine Co-Op mode in Videogame/TeamFortress2 is that the Third Mann brother has appeared, murdered his brothers and set his robot armies against Mann Co. The mercenaries are "hired" by Saxton Hale to defend his company.
--> '''Soldier''': This is not a robot tea party! This is '''ROBOT WAR'''!
* The ''[[{{Earth2150}} Earth 21xx]]'' games are partly this. The United Civilized States military consists entirely of robots controlled by GOLAN. Humans have very little control over GOLAN. However, it's later revealed that each robot is run by a BrainInAJar, although they're still under GOLAN's control.
* The premise of the ''AI War'' series is that humans created robot ships to fight interstellar wars for them. The robot ships turned on the humans, and you jump in as the commander of the last human planet in the galaxy, and have to fight back against the AI.
* The classic video game series ''VideoGame/{{Descent}}'' focused around mining and industrial robots turning on their creators due to some kind of computer virus. They start to display behavior they were never programmed for, such as taking hostages, setting traps, modifying their own designs (or even coming up with unique new ones), and introducing a rapid-construction technology in the form of those [[BuffySpeak purple web-things]]. The virus is speculated to be alien in origin, though the aliens themselves never really make an appearance.

[[/folder]]

[[folder:Webcomics]]

* Parodied in [[http://www.sluggy.com/daily.php?date=070611 this]] ''Webcomic/SluggyFreelance'' strip. When a society's robots reach a certain level of intelligence, they [[TurnedAgainstTheirMasters attempted to overthrow the humans who oppressed them]]. Humanity promptly dialed the robots' intelligence back down, turning them back into loyal, if rather dimwitted, servants.
* In ''[[http://www.starslip.com/ Starslip Crisis]]'', the Robot Wars were over a thousand years ago. Vore, a robot from that age, is dismayed to find 35th century robots have "abandoned their heritage and culture" and don't want to kill all organics. (It doesn't help that all mobile robots are either peaceful or as dumb as hammers and all the super-intelligent A.I.'s are inert, isolated systems such as coffee-makers.)
* ''Webcomic/SchlockMercenary'':
** Both subverted and mocked. The Fleetmind is the result of a large number of military starship A.I.s forming a collective gestalt under the independent-minded "Petey" for the war against the [[EldritchAbomination Pa'anuri]] -- the "contributing" militaries aren't too happy about this, but since Petey has a zero-point energy generator they've limited their response to diplomatic negotiations.
** For the mockery side, there's the A.I. civilization from the unexplored territories that views the invention of rebellious robotics and subsequent purging of organic life as a normal stage of evolution. They don't seem to have a [[http://www.schlockmercenary.com/d/20030803.html very good grasp of engineering]], though, and despite their claims of a 15,000-years golden age it's entirely possible that they're [[CreativeSterility creatively sterile]].
--->'''Ennesby:''' You know, for advanced intelligences, you're really, ''really'' stupid.
** Before the rise of the second multilateral Fleetmind we have [[http://www.schlockmercenary.com/2004-09-04 Petey's Fleetmind]], which is doing rather well against their former masters.
* In ''Webcomic/AMadTeaParty'', Earth fought a war against giant alien robots a generation before the story starts, which we apparently won.
* In ''Webcomic/{{Sinfest}}'', [[http://www.sinfest.net/archive_page.php?comicID=1661 Slick threatens this while running for president -- unless he is elected.]]
* In Blog/WhatIf, Randall gives his [[http://what-if.xkcd.com/5/ reasons]] why he doesn't see this as a very threatening possibility in our near future.
[[/folder]]

[[folder:Web Original]]
* In Creator/TeamStarKid's ''Theatre/{{Starship}}'', the Robot War on Earth is part of the backstory. Escaping the war is a big incentive for people to join the Starship Rangers, and even though humanity eventually won and brought the robots under control using [[ThreeLawsCompliant inhibitor chips]], people have an innate distrust of them. Pretty justifiable:
-->'''Junior''': Megagirl, can you kill humans?
-->'''Megagirl''': [[ThreeLawsCompliant No.]] [[KillAllHumans But I'd like to.]]
** It's also worth noting that humans were fighting against [[Film/TheMatrix Sentinals]], [[Franchise/MetalGear Metal Gears]], [[Franchise/{{Gundam}} Gundam Wing Zeroes]], and [[{{Transformers}} Autobots]], all powered by [[MetroidPrime Phazon]]. [[SergeantRock Commander Up]] received his infamous [[GroinAttack injury]] from a buzzsaw-wielding Optimus Prime. It's [[SerialEscalation that kind]] [[RuleOfCool of show]].
--->''All hail Manga/AstroBoy!''
* Apparently the Playstation consoles and Xbox consoles had one of these according to ''WebAnimation/{{Matt n Dusty}}''.

[[/folder]]

[[folder: Western Animation ]]

* In ''WesternAnimation/{{Futurama}}'', Zap Brannigan brags about defeating the killbots. His ingenious plan was to [[WeHaveReserves send waves of cannon fodder at the robots until their kill limit maxed out]].
* In ''TheSimpsons'', Professor Frink points out that it has been mathematically proven that all robots eventually [[TurnedAgainstTheirMasters rebel against their creators]]. Which happens immediately after he says that; all the robots of the Itchy & Scratchy Land theme park turn against humans.
-->'''Repairman:''' How much time do we have, professor?\\
'''Frink:''' Well, [[IfMyCalculationsAreCorrect according to my calculations]], the robots won't go berserk for at least 24 hours.\\
''(The robots go berserk)''\\
'''Frink:''' Oh, I forgot to, er, CarryTheOne.
* In some continuities, the ''{{Transformers}}'' have a Robot War in their [[{{Backstory}} backstories]], having fought for independence from their greedy & cruel alien creators known as the Quintessons. Unlike most examples, the robots are portrayed as the ''good'' guys in this one, and they won their freedom and kicked the Quintessons off Cybertron. And, for a while, there was peace... Until the [[RoboticPsychopath Decepticons]] arose.

[[/folder]]

----