An autonomous lawnmower, traveling and working in a working area, and comprising: a housing, comprising a front portion in a moving direction of the autonomous lawnmower; a traveling module, mounted in the housing, configured for driving the autonomous lawnmower to travel and steer, the traveling module comprising two drive wheels, each connected to an independent drive motor, whereby during steering, the drive motors drive the two drive wheels at different speeds or in different directions; a surface recognition module, mounted in the housing, configured for detecting a surface traveled by the autonomous lawnmower, a detection area of the surface recognition module comprising a surface in front of the traveling module, a surface in the working area being a working surface, a surface outside the working area being a non-working surface, a boundary of the working area being formed between the working surface and the non-working surface; an energy module, mounted in the housing, to supply energy to the autonomous lawnmower; and a control module, electrically connected to the traveling module and the surface recognition module, configured for determining a position relationship between the autonomous lawnmower and the boundary according to a signal sent by the surface recognition module, if a preset position relationship is met, enabling the traveling module to perform steering to travel into the working area; wherein a maximum distance required for steering is determined in the case when the two drive motors rotate at the same speed and in the same direction perpendicular to the boundary, and the distance between the detection area and the travelling module is greater than a first preset distance which is greater than or equal to the maximum distance; and if the moving direction forms an acute angle with the boundary in the clockwise direction, steering is clockwise, so that when steering is completed, the moving direction forms an acute angle with the boundary in the counterclockwise direction, and if the moving direction forms an obtuse angle with the boundary in the clockwise direction, steering is counterclockwise, so that when steering is completed, the moving direction forms an obtuse angle with the boundary in the counterclockwise direction. a housing, comprising a front portion in a moving direction of the autonomous lawnmower; a traveling module, mounted in the housing, configured for driving the autonomous lawnmower to travel and steer, the traveling module comprising two drive wheels, each connected to an independent drive motor, whereby during steering, the drive motors drive the two drive wheels at different speeds or in different directions; a surface recognition module, mounted in the housing, configured for detecting a surface traveled by the autonomous lawnmower, a detection area of the surface recognition module comprising a surface in front of the traveling module, a surface in the working area being a working surface, a surface outside the working area being a non-working surface, a boundary of the working area being formed between the working surface and the non-working surface; an energy module, mounted in the housing, to supply energy to the autonomous lawnmower; and a control module, electrically connected to the traveling module and the surface recognition module, configured for determining a position relationship between the autonomous lawnmower and the boundary according to a signal sent by the surface recognition module, if a preset position relationship is met, enabling the traveling module to perform steering to travel into the working area; wherein a maximum distance required for steering is determined in the case when the two drive motors rotate at the same speed and in the same direction perpendicular to the boundary, and the distance between the detection area and the travelling module is greater than a first preset distance which is greater than or equal to the maximum distance; and if the moving direction forms an acute angle with the boundary in the clockwise direction, steering is clockwise, so that when steering is completed, the moving direction forms an acute angle with the boundary in the counterclockwise direction, and if the moving direction forms an obtuse angle with the boundary in the clockwise direction, steering is counterclockwise, so that when steering is completed, the moving direction forms an obtuse angle with the boundary in the counterclockwise direction.