The coagulation treatment was applied to the synthetic peat water using Sesbania grandiflora seed. One of the factors to enhance coagulation is rapid and slow mixing. Rapid mixing is crucial to promote the interaction of coagulant with suspended particles and the formation of micro flocs. While slow mixing is crucial to promote aggregation between microflocs. In this study, rapid mixing was varied from 5 to 10 and 15 min during the coagulation process. Microscopic method analysis was used to obtain the data using a camera and computer. Flocs formed are captured by DinoCapture 2.0 software equipped with a Dino-Lite handheld digital microscope resulting in microscopic images of the flocs. Afterward, direct measurement of a magnified floc image is applied by using a calibrated scale on the floc image, so a large number of floc sizes can be obtained. Image analysis results from DinoCapture 2.0 showed that the longer duration of the rapid-mixing time, the larger size of floc formed, but in contrast, the number of flocs decreased. The optimum time for rapid mixing was 5 min and 30 min for slow mixing, according to the highest number of flocs formed, with the floc size spread evenly under 0.2 mm. Rapid-mixing time of 5/30 min was applied to the coagulation of peat water so that the floc could grow well and coagulation could be carried out optimally. This is because a mixing time that is too short can reduce floc formation, but a very long mixing time can cause floc breakage.