Normal temperature gathering and transportation has significant advantages in reducing energy consumption and cost. Due to the high wax content of crude oil in carbonate reservoirs, obvious wax deposition will occur in the process of gathering and transportation at room temperature. In this paper, according to the component analysis results of crude oil on site, the HEATANALOGY wax deposition model was used to calculate the wax deposition of different gathering pipelines. The main influencing factors of wax deposition were analyzed by grey correlation method. Finally, according to the pigging mechanical balance model, the safe pigging period is derived, and the relationship diagram of different pipe diameters, throughput and ground temperature is drawn. The results show that the wellhead temperature has the greatest influence on the initial wax deposition position and the peak wax deposition position of the pipe section. The flow rate has the greatest influence on the maximum wax deposition thickness of the tube wall. According to the relationship between the working conditions and the pigging cycle, it can be found that with the increase of the throughput, the pigging cycle decreases first and then increases. With the increase of ground temperature, the pigging cycle increases.