The invention discloses a production line for automatically coating a profile steel and a coating method thereof, wherein a suspension conveying line (2) runs through the central axis of a coating chamber (4). A loading mechanism (3) is installed on the front end of the coating chamber (4); and the suspension conveying line (2) on the back end of the coating chamber (4) is provided with a drying channel (5). A back output end of the drying channel (5) is connected with a cooling area (7); and an unloading mechanism (8) is installed behind the cooling area (7). By utilizing the head-to-tail closed loop suspension conveying line and the tandem type hanging manner of hanging multiple workpieces on one hanger, procedures such as loading, finishing coat spraying, priming paint spraying, drying, cooling, unloading and storing are all finished automatically, accordingly achieving the automatic spraying of the profile steel having a long length, and optimizing the conventional profile steel coating technology. By utilizing electrostatic spraying in association with the position and the angle of the spraying gun, the coating problem of coating dead angle at inside corners of the profile steel is solved better, accordingly improving the coating quality of the entire profile steel.