The invention discloses a full-automatic intelligent production line for PVC pipes. The production line comprises a feeding machine, an extruder, an extrusion die, a sizing sleeve, a spraying vacuum shaping box, a traction machine, a cutting device, a side turning device, an infrared scanning detector, a code spraying machine, a pipe stacking frame and an industrial personal computer, wherein a spraying device and a waste water recycling device are arranged in the spraying vacuum shaping box, and the cutting device is composed of a cutting machine frame, bearings, a screw, a first motor, a nutseat, a fixing rod, a second motor and a cutting knife; a pressing device is arranged on the cutting machine frame; and the side turning device is composed of a side turning machine frame, a connecting shaft, a side turning plate and a third air cylinder, a U-shaped groove is formed in the side turning plate, a weight sensor is arranged in the U-shaped groove, and the infrared scanning detector and the code spraying machine are arranged on the side turning machine frame. The full-automatic intelligent production line has the beneficial effects of being simple in structure and high in practicability.