The invention discloses a vertical injection molding machine for production of electronic accessories. The vertical injection molding machine comprises a driving box, an injection motor, a support, aninjection barrel, a screw rod, a discharging groove, a conical post, a conveying pipe, a hopper, an air purifier, a smoke removal hole, a heating barrel, a heating coil, a stirring shaft, a stirringrack, a connecting block, a conveying port, a stirring motor, a bottom plate, a top plate, an injection molding pipe, an upper mold seat, a first fixing plate, a dropping hole, an injection molding cavity, a mounting positioning hole, an electric telescopic rod, a lower mold seat, a second fixing plate, a discharging frame, a positioning pin, an accessory mold, a hydraulic rod, an operation table,a hydraulic station, a case, a support plate and an electric control box, wherein the electronic control box is mounted on one side of the case through bolts, the hydraulic station is mounted in thecase through bolts, and the operation table is mounted at the top of the case through bolts. The vertical injection molding machine can perform injection molding conveniently through upper and lower molds and has material ejection and air purification functions, and the convenience in use is greatly improved.