The utility model discloses a quantitative gluing device for glue bag production, and relates to the technical field of glue bag production. An electric push rod is arranged in the material box, a baffle is fixed to the bottom of the electric push rod, a penetrating groove is formed in the position, corresponding to the lower wall of the material box, of the penetrating groove, an installation box is fixed to the position, corresponding to the lower wall of the material box, of the penetrating groove, an adjusting block is arranged on the front side of the installation box in a clearance fit mode, and a rotating roller is arranged below the adjusting block. The number of the rotating rollers is two. Heating plates are fixed to the left side and the right side of the lower wall in the material box, a fan is arranged on the right side of the material box, a fixing box is fixed to the upper end of the fan, and a heating wire is fixed to the lower wall in the fixing box. According to the gluing device, the adjusting block is operated to move along the mounting box according to the width of a glue bag needing gluing so as to adjust the glue discharging width of the discharging groove, glue is heated through the heating plate, and hot air flow acts on the surface of the glued glue bag through the fan so as to dry the surface of the glued glue bag.