The invention provides an earthworm-bionic robot capable of flexible steering. The robot includes a robot body, the robot body includes a head, a first trunk part, a middle part, a second trunk part and a tail, the head is connected with the first trunk part through a first telescopic part, and the first trunk part is connected with the middle part through a second telescopic part. According to the robot, a steering engine drives a motion part to rotate, meanwhile, a motion wheel itself also conducts autorotation, combined with tractive force of the steering engine and rotational force of themotion wheel, the head is pushed to move forwards, a first electric push rod cooperatively conducts extension and contraction to pull the middle part, a second electric push rod synchronously conductsextension and contraction to pull the second trunk part and the tail, and therefore the robot conducts lumbricoid wriggle on the ground. The flexibility is good, the robot can smoothly move under complex and harsh terrain environments such as caves, pipelines, tile ruins and hill stones, and meanwhile conduct life detection and other activities.