The invention relates to an automatic coating technology of large-scale steel pipe anticorrosion coating and a production line thereof. The coating technology adopts the steps that steel pipes enter into a dehumidification cleaner, an automatic shot blasting machine, a preheating drying chamber, a spray chamber, a paint film solidifying chamber and a cooling chamber under the conveying of a steel pipe conveying mechanism, and after decontamination, dehumidification, surface treatment and preheating, the steel pipes enter into paint spraying, paint film solidifying and cooling processes; the production line comprises a steel pipe conveying mechanism, a dehumidification cleaner, an automatic shot blasting machine and a preheating drying chamber, wherein, the automatic shot blasting machine is arranged between the dehumidification cleaner and the preheating drying chamber; the automatic coating technology and the production line are characterized in that a paint spraying and solidifying unit is also arranged at the rear part of the preheating drying chamber; the paint spraying and solidifying unit comprises a spray chamber, a paint film solidifying chamber and a cooling chamber which are arranged in a line from the front part to the rear part in sequence, wherein, a coating machine for coating anticorrosion coat to the surfaces of the steel pipes is arranged in the spray chamber, and a hot air circulating system is arranged in the paint film solidifying chamber. The invention has the advantages that continuous and automated operation can be performed on a production line, the production efficiency is high, the coating quality is good, and environmental pollution is avoided.