A cloth laying machine comprises a bedplate and a main engine, the main engine is movably arranged on the bedplate, the main engine comprises a rack and a cradle, the cradle is arranged on the rack in a left-right moving mode, an upper conveying device is arranged on the cradle, a lower conveying device and an edge aligning device are arranged on the rack, the edge aligning device comprises a controller, a cradle motor, a first sensor, a second sensor and an edge detecting sensor used for detecting the edge position of cloth, the first sensor is arranged at the middle between the upper conveying device and the lower conveying device, the second sensor is arranged on the rack and used for detecting the other end of a roller frame, and the second sensor can be triggered when the roller frame is rotated to enable a third roller shaft to press a second roller shaft. According to the cloth laying machine, the upper conveying device and the lower conveying device can pull open the cloth in the left-right direction while the cloth is conveyed so that the cloth is smooth, the detection of the edge detecting sensor is improved, the laid cloth is neat and good in effect, and the misoperation of the cradle is limited. The installation of the edge detecting sensor is convenient, the precision is high, and a cloth pressing device is low in cloth pressing noise.