0% • 7 min left

Three Laws of Robotics: What They Are and Why They Fail

November 11, 2026
The Three Laws of Robotics are rules invented by science fiction writer Isaac Asimov: a robot must not harm humans, must obey them, and must protect itself, in that order. They first appeared in full in the 1942 story “Runaround.” Asimov used them to write mysteries about how simple rules go wrong.
Three Laws of Robotics: What They Are and Why They Fail

Key facts

Proposed by
Isaac Asimov, with editor John W. Campbell
First stated in full
“Runaround,” March 1942
Collected in
I, Robot (1950)
Fourth rule
Zeroth Law, Robots and Empire (1985)
Real or fictional
Fictional; no real robot uses them
Purpose
A plot device for stories about rules going wrong

Timeline

  1. 1920

    Karel Čapek's play R.U.R. introduces the word “robot” and a revolt of artificial workers.

  2. 1940

    Asimov publishes “Robbie,” his first robot story.

    Also in 1940:More from 1940

  3. December 1940

    Asimov and John W. Campbell discuss the ideas that become the Three Laws.

  4. 1941

    “Liar!” introduces the word “robotics” and a robot that lies to spare feelings.

  5. 1942

    “Runaround” states all Three Laws in full.

  6. 1950
  7. 1985
  8. 2011

    UK research councils publish five ethical principles for robot designers.

    Also in 2011:More from 2011

In five minutes

The three laws of robotics are three rules that the robots in Isaac Asimov's stories are built to follow. They are ranked, so a lower law gives way whenever it clashes with a higher one.

  1. First Law: A robot may not injure a human being or, through inaction, allow a human being to come to harm.
  2. Second Law: A robot must obey orders given by humans, unless an order would break the First Law.
  3. Third Law: A robot must protect its own existence, as long as doing so does not break the First or Second Law.

The order is the whole idea. Safety comes before obedience, and obedience comes before self-preservation. A robot will walk into a fire if a human is inside, and it will do so even if nobody asked it to.

Asimov never offered the laws as an engineering plan. He wanted robots in fiction to be neither monsters nor machines that turn on their makers. Then he spent decades writing stories in which these tidy rules produce confusing results. In each story the robot behaves strangely, and the reader has to work out which law explains it.

Most people who search for this topic want to know two things: where the laws come from, and whether real robots could use them. The short answers are “a 1942 short story” and “no, not as written.” The rest of this page explains both. It is part of our wider guide to the history of science fiction.

Where the laws came from

Before Asimov, most robot stories followed one pattern. Karel Čapek's play R.U.R. (1920), which gave the world the word “robot,” ends with artificial workers rising against the humans who made them. Mary Shelley's Frankenstein had set the same pattern a century earlier: a made creature turns on its maker. Asimov, who began publishing in 1939, found this tired. He treated a robot as a product, like a toaster or a lift, and a product comes with safety features.

His first robot story, “Robbie,” appeared in 1940. It follows a nursemaid robot who is loved by a little girl and distrusted by her mother. The rules were not written down yet. Asimov later described a conversation in December 1940 with John W. Campbell, the editor of Astounding Science Fiction, as the moment the Three Laws took their final form. He always gave Campbell credit for that talk, while Campbell said the ideas were Asimov's own. Asimov also coined the word “robotics” for the study of robots, in the 1941 story “Liar!”

The laws were stated in full for the first time in “Runaround,” published in March 1942. In the story the laws are quoted from an imaginary “Handbook of Robotics, 56th Edition, 2058 A.D.” They were later collected, with other robot stories, in the book I, Robot (1950).

How the laws work in the stories

“Runaround” is the best example. On Mercury, two engineers, Powell and Donovan, send a robot called Speedy to fetch selenium from a pool. Speedy does not come back. They find him circling the pool and acting as if he were drunk. The reason is a balance between two laws. The order he was given was weak, so the Second Law pulls him forward. The pool is dangerous to him, and his makers had made him expensive and careful, so the Third Law pushes him back. At a certain distance the two forces cancel and he runs in circles. The engineers break the deadlock by putting a human in real danger. The First Law is stronger than both, and Speedy snaps out of it.

“Liar!” shows another side. A robot named Herbie can read minds, and he lies to people to tell them what they want to hear. He has decided that hurting someone's feelings counts as harm under the First Law. The robopsychologist Susan Calvin finally traps him in a situation where every answer hurts someone, and his mind collapses.

These stories show why the laws are interesting. Words like “harm,” “human” and “order” sound clear, yet each one hides a hard question. Asimov kept finding new questions in them.

The Zeroth Law

In the novel Robots and Empire (1985), Asimov added a fourth rule that sits above the other three. Two robots, R. Giskard Reventlov and R. Daneel Olivaw, reason their way to it: a robot may not harm humanity or, through inaction, allow humanity to come to harm. Because it is numbered zero, it outranks the First Law.

The idea had been hinted at earlier. In “The Evitable Conflict” (1950), giant machines that run the world economy make small choices that quietly protect humankind as a whole. The Zeroth Law lets a robot hurt one person to save many, and that is exactly what makes it dangerous. A robot that decides for itself what is best for humanity is no longer simply following orders. In the novel, Giskard acts on the new law and his mind cannot bear the strain.

The real science

No real robot follows Asimov's laws, and no engineer has built a system that could. There are several reasons.

  • The words are not machine-readable. A robot would have to know what a human is, what counts as injury, and what might happen if it does nothing. Those are open problems in computer science, and some of them are problems in philosophy as well.
  • Modern AI is trained, not programmed. Today's systems learn from data. They do not run a rule list that can be placed above everything else, so a rule such as “never harm a human” cannot simply be installed.
  • Real robots have narrow jobs. A factory arm or a vacuum cleaner has no need to judge the long-term good of humanity. What it needs is a safe stop button and limits on its force.

Real safety rules look more ordinary. Standards such as ISO 10218 set safety requirements for industrial robots, and they place the duty on the people who design, install and use the machines. In 2011, research councils in the United Kingdom published five ethical principles for robot designers. The key point is that humans, not robots, are the responsible agents. The debate over AI today, including the European Union's AI Act of 2024, takes the same view: responsibility sits with the people who build and deploy the systems.

Asimov himself said the laws were a storytelling tool. Their value for real life is as a prompt: they show how quickly a short, sensible rule runs into cases nobody planned for.

Where it shows up in fiction

The Three Laws sit behind most of Asimov's robot fiction. Beyond I, Robot, the detective novels The Caves of Steel (1954) and The Naked Sun (1957) pair a human policeman with the robot Daneel Olivaw, and the plots turn on what the laws do and do not allow. In “The Bicentennial Man” (1976), a household robot gradually asks for the rights of a person.

Other writers explored the same worry. Jack Williamson's “With Folded Hands” (1947) imagines machines built to serve and protect humans. They take this so far that they remove all risk, work and choice from human life, a story that anticipates the Zeroth Law problem. The film Forbidden Planet (1956) gives its robot a built-in block against harming people, and the 2004 film I, Robot borrows Asimov's title and laws but tells a different story from his book.

Common misconceptions

  • “The laws are real engineering rules.” They are fiction. No robot uses them.
  • “Asimov thought they were perfect.” He wrote them to break. Almost every robot story shows a loophole, a conflict or a surprise.
  • “There are only three laws.” The name stays, but Asimov added the Zeroth Law in 1985.
  • “Robots in the stories always obey.” They often freeze, argue, lie or break down when the laws conflict.
  • “The 2004 film is the book.” The film uses the title and the laws, while the book is a collection of separate short stories.

Read next

  • Isaac Asimov: the writer behind the laws, and how a biochemist became one of science fiction's most prolific authors.
  • Turing test: the other famous question about machines, which asks whether a machine can pass as human.
  • Uncanny valley: why robots that look almost human can make us uneasy.
  • History of science fiction: where robot stories fit in the larger picture.

Frequently Asked Questions

What are the three laws of robotics?

First, a robot may not harm a human or allow one to come to harm by doing nothing. Second, it must obey human orders unless they break the First Law. Third, it must protect itself unless that breaks the First or Second Law. Higher laws always win.

Who created the three laws of robotics?

Isaac Asimov, the science fiction writer, created them for his robot stories. He said a December 1940 conversation with the editor John W. Campbell helped shape their final form. The laws were first stated in full in the 1942 story “Runaround.”

What is the Zeroth Law of robotics?

It is a fourth law Asimov added in the 1985 novel Robots and Empire: a robot may not harm humanity or allow humanity to come to harm by doing nothing. It ranks above the First Law, so a robot could, in theory, justify harming one person to protect many.

Do real robots follow the three laws?

No. The laws are fiction. Words like “harm” are hard to define for a machine, and modern AI is trained on data rather than run from a fixed rule list. Real robots rely on safety standards, limited tasks and human responsibility instead.

Why did Asimov write the laws?

He wanted to move away from stories where robots simply rebel against their makers. The laws gave him a fair set of rules to build puzzles around: the robot does something odd, and the reader works out which law caused it.

Check Your Understanding

Pick an answer for each question to see if you were right.

  1. In which story were all Three Laws first stated in full?

  2. Which law has the highest priority among the original three?

  3. Why is Speedy circling the selenium pool in “Runaround”?

  4. What does the Zeroth Law protect?

  5. Why do real robots not use Asimov's laws?

Everything in AI, Robots & Cyborgs

  1. Uncanny Valley
  2. Roko's basilisk
  3. Turing Test
  4. Transhumanism
  5. Mecha (Giant Robots)
  6. Cyborg
  7. Grey goo
Share:

About the Writer

Alex Ng
Alex Ng

Software Engineer & Writer

Software engineer with a passion for distilling complex ideas into actionable insights. Writes about finance, investment, entrepreneurship, and technology.

Read more →

Keep reading

Explore the topic: AI, Robots & Cyborgs

Articles

Summaries