Skip to content
ContentLora

    Tip: press / anywhere to search.

    Explainer

    How legged and humanoid robots walk

    Legged robots either walk in statically stable gaits, keeping their centre of gravity over their feet, or balance dynamically by moving their feet and body all the time.[1][2] Controllers use the zero-moment point, model predictive control or reinforcement learning;[1][3] since 2019, controllers trained by reinforcement learning in simulation have let quadrupeds run, recover from falls and cross rough ground, and humanoids walk outdoors.[4][5][6]

    Editor reviewedUpdated Explainer14 claims · 71% primaryRobotics and embodied AI
    Reading level: 3 passages differ; the rest is the same for everyone.

    Companies such as Boston Dynamics and Unitree build legged and humanoid robots,[7][8] and research robots such as ANYmal can run and recover from falls.[4] This page explains the ideas behind that, from balance control to learned controllers.

    Static and dynamic balance

    There are two ways to stay upright on legs. In a static gait, the robot keeps its weight over the feet on the ground and moves at a moderate pace.[1][2] A six-legged robot can use a tripod gait, in which groups of three legs take turns supporting the body and swinging forward.[9] In a dynamic gait, the robot keeps its balance by moving its feet or body all the time.[2]

    Static gaits are commonly controlled with kinetostatics-based methods that project the centre of gravity and compute the zero-moment point (ZMP). A 2024 review notes these methods do not suit trotting and galloping, because the torso must accelerate and decelerate at every stride.[1] For gait dynamics, the review names the spring-loaded inverted pendulum (SLIP) model, with two related models, among the most influential frameworks; SLIP is used to study bipedal, quadrupedal and multi-legged locomotion.[10]

    Classical controllers

    One widely used approach, model predictive control (MPC), works out the best way to manage the robot’s state and motor inputs over a limited window of time ahead (a finite horizon).[3]

    The 2024 review compares virtual model control, MPC and model-free reinforcement learning, and says MPC and numerical trajectory optimisation are used extensively across nearly all forms of legged locomotion.[3] It also argues that legged robots must handle large, high-bandwidth forces while staying light, and points to proprioceptive actuators as needed for future work.[11]

    Learned walking

    Researchers now also train walking controllers by trial and error in simulation. A 2019 study trained a neural network in simulation and moved it onto ANYmal, a dog-sized four-legged robot. The study reports that ANYmal then followed speed commands precisely, ran faster than before and got back up after falls.[4] A 2020 controller trained the same way walked over mud, snow and rubble.[5] See sim-to-real transfer for why training in simulation works.

    The 2019 ANYmal authors argued that real-robot training is complicated and expensive, particularly for dynamically balancing systems, which is why simulation is used.[4] The method has since been applied to humanoids: a 2023 study trained a transformer-based walking policy in randomised simulation and deployed it outdoors on a real humanoid without fine-tuning.[6] For the wider picture of robot learning, see how robots learn.

    Humanoids and electric actuators

    In April 2024 Boston Dynamics retired its hydraulic Atlas and unveiled an all-electric version, which it said would be stronger and have a broader range of motion than earlier generations, with Hyundai as its first testing partner.[7] The company said it would design Atlas to move in whatever way completes a task most efficiently, rather than being limited to a human range of motion.[12]

    What is still hard

    The 2024 review notes that even state-of-the-art legged robots still struggle with varied terrain, slippery surfaces, obstacles, distributing payload and recovering from stumbles.[13] Legged robots also depend on perception: they navigate with stereo vision and inertial data, and inaccurate 3D maps and sensor calibration remain difficulties.[14] See how robots sense the world.

    Next in the crash course

    How robot hands and grippers work

    How robot grippers and hands hold things: rigid and underactuated grippers, soft and jamming grippers, multi-fingered hands, and how they are tested.

    More in Robotics and embodied AI

    Developing in AI & Computing

    Go deeper

    Questions readers ask

    How do humanoid robots keep their balance?

    Slow, statically stable walking keeps the centre of gravity over the feet, often controlled with the zero-moment point. Faster gaits balance dynamically by moving the feet and torso continually, and many robots now use controllers based on model predictive control or reinforcement learning.[1][2][3]

    What is the zero-moment point?

    A point used in static-gait control, found together with the projection of the centre of gravity. A 2024 review says the approach does not suit fast trotting or galloping gaits.[1]

    How do robots learn to walk?

    Researchers train a neural-network controller by trial and error in simulation, then transfer it to the real robot. A 2019 study did this for the ANYmal quadruped, which then ran faster than before and recovered from falls.[4]

    Why are legged robots still hard to deploy?

    A 2024 review says even advanced legged robots struggle with varied terrain, slippery surfaces, obstacles, carrying loads and recovering from stumbles.[13]

    Sources

    · 14 claims from 6 publishers

    Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.

    1. [1]

      The review says static gaits are often controlled by projecting the centre of gravity and computing the zero-moment point (ZMP), but that this approach does not suit fast galloping and trotting gaits, where the torso must speed up and slow down at every step. confirmedas of 2024-11-01

    2. [2]

      The review contrasts static gaits, with moderate motion and small dynamic effects, with dynamic gaits, in which a robot keeps its balance by continually moving its feet or torso. confirmedas of 2024-11-01

    3. [3]

      A 2024 review of legged-robot control compares three families of methods, virtual model control, model predictive control (MPC) and model-free reinforcement learning, and says MPC and numerical trajectory optimisation are used extensively across nearly all forms of legged locomotion; it describes MPC as optimally managing states and regulating inputs over a finite horizon. confirmedas of 2024-11-01

    4. [4]

      A 2019 study by Hwangbo and colleagues trained a neural-network policy in simulation and transferred it to ANYmal, a medium-dog-sized quadruped, which then followed velocity commands precisely and energy-efficiently, ran faster than before and recovered from falls; the authors said training on real robots is complicated and expensive. reportedas of 2019-01-24

    5. [5]

      A 2020 Science Robotics study trained a quadruped (ANYmal) locomotion controller by reinforcement learning in simulation and reported zero-shot transfer to natural terrain such as mud, snow and rubble. reportedas of 2020-10-21

    6. [6]

      A 2023 study trained a transformer-based humanoid walking controller with reinforcement learning in randomized simulated environments and deployed it on a real humanoid outdoors without further fine-tuning. reportedas of 2023-12-14

    7. [7]

      In April 2024 Boston Dynamics retired its hydraulic Atlas humanoid and unveiled a fully electric Atlas, which it said would be stronger and have a broader range of motion than earlier versions, with Hyundai as the first testing partner. confirmedas of 2024-04-17

    8. [8]

      About 15,000 humanoid robots were shipped worldwide in 2025; Unitree and AGIBOT each shipped more than 5,000, while Tesla and Figure each shipped a few hundred or fewer. reportedas of 2026-07-29

    9. [9]

      The review explains that a six-legged robot can walk with a tripod gait, in which groups of three legs alternate between supporting the body and swinging forward. confirmedas of 2024-11-01

    10. [10]

      The review names the spring-loaded inverted pendulum (SLIP) model, alongside two related models, as among the most influential frameworks for studying gait dynamics, and says SLIP is used to study bipedal, quadrupedal and multi-legged locomotion. confirmedas of 2024-11-01

    11. [11]

      The 2024 review says legged robots need to handle large, fast-changing forces while staying light, and points to proprioceptive actuators as a technology needed for future work. confirmedas of 2024-11-01

    12. [12]

      Boston Dynamics said it was designing the electric Atlas to move in the most efficient way for a task rather than being limited to a human range of motion. confirmedas of 2024-04-17

    13. [13]

      The 2024 review notes that even advanced legged robots still struggle with varying terrain, slippery surfaces, obstacles, payload distribution and recovering from stumbles. confirmedas of 2024-11-01

    14. [14]

      A 2024 review of legged-robot control says advanced legged robots navigate unfamiliar terrain using stereo vision and inertial measurement data, and lists inaccurate 3D maps and sensor calibration among the difficulties for their controllers. confirmedas of 2024-11-01

    Revision history (1)
    1. Page created.

    Created Nov 21, 2026. Last reviewed by an editor on Nov 22, 2026. Next scheduled review: Aug 30, 2027.

    Cite this page

    "How legged and humanoid robots walk." ContentLora, updated Nov 21, 2026. https://contentlora.com/explain/how-legged-robots-walk

    Spotted an error? Suggest a correction or emailcorrections@contentlora.com.