The invention relates to the field of electronic component production. A material overturning device for female headers, including a frame and a fixed base installed on the frame, a horizontal cylinder, a trough block, a swing rod, an unlocking cylinder, a rotating material seat, a pressing block, a rotating shaft, a feeding track, Compression components, end stoppers, optical fiber sensors and positioning nails; a trough-shaped block is installed on the telescopic end of the horizontal cylinder, and the upper end of the trough-shaped block is provided with a vertical groove, and the swing rod is fixed on the rotating shaft. Hinged on the fixed base, the end of the swing rod is provided with a ball, which cooperates with the groove block to form a groove pair; the rotating material seat is installed on the overhanging end of the swing rod, and the tight block is hinged on the rotating material seat through the pin shaft; One end of the pressing block is provided with a flute, which cooperates with the lug of the rotating material seat to clamp the workpiece. The posture of the female row can be changed in the present invention, the damage to the female row is small, the structure of the device is small and exquisite, and the moment of inertia is small.