The invention discloses a four-footed robot, which is characterized by mainly comprising a rack, a dust shield and four mechanical legs with identical structures; the rack is internally provided with twelve servo motors, which comprise four lifting motors, four propelling motors and four swinging motors and are used for driving the four mechanical legs, and every three motors control one mechanical leg to realize rising, lowering, advancing, retreating and side swinging movements of the mechanical leg; the rack comprises connecting plates, a square mounting plate and a rod; the connecting plates are located on two sides of the square mounting plate and are used for fixing the square mounting plate, and all the components are mutually fixedly connected by screws; the dust shield and the rack are mutually fixedly connected by screws; each leg part structure mainly comprises one swinging motor, one lifting motor, one propelling motor, a support plate, a lifting rod, a tail end rod, a long propelling rod, a short propelling rod, a No. 1 short shaft, a No. 2 short shaft and a support shaft; all mechanisms of each leg part are divided into a lifting system, a propelling system and a swinging system according to the functions in the moving process.