The invention provides an automatic trimming machine for flower type lawn trimming. The automatic trimming machine comprises a vehicle body, crawler wheels, a crawler belt, a first servo hydraulic cylinder, a second servo hydraulic cylinder, a machine base, a first servo motor, a motor base A, a second servo motor, a motor base B, a bearing seat, a lead screw, a rectangular guide rail, a crank, a sliding sleeve, a rotating shaft, a nut sliding base, a connecting rod, a direct-current motor, a motor base C, a cutter rod and cutter blades. The cutter rod and the cutter blades can be controlled to perform circular motions by controlling the first servo motor to rotate, the cutter rod and the cutter blades can be controlled to perform continuous different-diameter circular motions when the second servo motor is started to control the nut sliding base to move, vertical motions of the cutter rod and the cutter blades can be controlled by controlling the first servo hydraulic cylinder and the second servo hydraulic cylinder, and accordingly spatial accurate motions of the cutter rod and the cutter blades are achieved. The automatic trimming machine has the advantages of smoothly walking on a lawn, conducting various flower types accurate trimming on the lawn, saving energy and labor and effectively improving the appearance of the trimmed lawn.