The invention relates to a glue dispensing device for making hard disk data lines, including a workbench, a transportation mechanism and a glue dispensing mechanism. The mechanism includes a right-angle plate, a motor one, a gear one, a small cylinder, a gear two, an arc-shaped long plate, a sprocket, a toothed chain belt and a fixed frame. The dispensing mechanism includes an inverted L-shaped plate, an electric cylinder one, a support plate, Plastic box, flow hose, glue outlet, electric cylinder 2, push piece frame and long material guide plate, the invention fixes the head of the data line to be processed through the transportation mechanism, and controls it to perform intermittent movement at the same time. The glue mechanism pours glue to the head of the data line, and at the same time pushes the metal shell to the head of the data line after the glue filling is completed, so as to improve the efficiency of data line dispensing.