Third Law of Robotics
One of the Three Laws of Robotics, requiring a robot to protect its own existence, as long as this does not conflict with the First Law (which forbids a robot to harm a human) or the Second Law (which requires robots to obey humans).
Third Law: robot self-preservation within ethical bounds
The Third Law of Robotics is a foundational principle in robotics ethics and safety design, stating that a robot must protect its own existence provided this does not violate the First Law (prohibiting harm to humans) or the Second Law (requiring obedience to human commands). In practical terms, this means a robot is permitted to take actions to preserve itself, maintain operational status, or avoid damage, but only when those actions do not create human risk or undermine legitimate human instruction. The law establishes a hierarchy: human safety and human authority always take precedence over machine self-interest.
The Third Law emerged from Isaac Asimov's science fiction framework published in the 1940s and has become a conceptual reference point in real robotics development, particularly in autonomous systems design and safety architecture. While Asimov's formulation was fictional, roboticists and engineers have adopted the hierarchical logic as a useful model for resolving conflicts in robotic decision-making. The principle appears in safety specifications for industrial robots, collaborative cobots, and autonomous vehicles, where self-protective behaviors (such as stopping motion to prevent joint strain) are programmed within guardrails that prevent interference with human welfare.
Application in Practice
In industrial settings, the Third Law translates into built-in limitations on robot behavior. A manufacturing robot may reduce its operating speed or request maintenance when sensor data indicates mechanical stress, but it will immediately halt if a human operator enters its work envelope, regardless of task completion. In mobile robotics and autonomous systems, self-preservation logic might prevent a robot from entering a dangerously charged electrical zone, but this protection is overridden if a human orders the robot into that zone for rescue or critical operation. The law also governs energy management: a robot will seek charging if battery voltage drops below operational threshold, but not by traveling through a pedestrian area without proper safety protocols.
Practical complications arise when self-preservation and human commands genuinely conflict. A delivery robot may be instructed to cross a busy intersection immediately, which serves human convenience but increases mechanical risk from collision. Real-world robotics resolves this through layered constraint systems rather than simple rule application: hard safety limits prevent certain robot actions entirely, soft constraints allow weighted trade-offs, and human override mechanisms remain available for emergency situations. The Third Law is not implemented as a literal algorithm but rather as a design philosophy that acknowledges robots have legitimate operational continuity interests within a human-centered ethical framework.
The term itself is rarely used outside robotics circles and AI ethics discussions. Engineers more often refer to specific protective mechanisms: failsafe operations, maintenance triggers, energy thresholds, or collision avoidance protocols. However, the Third Law remains useful shorthand when discussing the overall safety architecture of autonomous systems, particularly when balancing machine durability against human control and safety margins. Understanding this hierarchy helps clarify why a robot might reject an instruction not because it disobeys, but because the primary laws prohibit compliance.