The invention discloses a program-controlled quantitative sealing machine for microbial detection, which includes a casing, a driving roller, a passive roller, a heat preservation cover, a temperature sensor, a temperature safety switch, an induction switch, a main control circuit board, a motor, a pulley, a synchronous belt, Slip rings, carbon brush holders, outlets, inlets, uprights and bottom plates, and the driving roller, driven roller, main control circuit board, pulleys, synchronous belts, slip rings and carbon brush holders are all arranged inside. The device has simple structure, simple and convenient operation, and is convenient for batch processing and production. It does not need manual intervention and adjustment. It has automatic sensing and sealing. After sealing, it will automatically stop and enter the standby state, saving energy and reducing power consumption. The device has cleaning windows and counting functions. , convenient for cleaning and counting; the device adopts modular design, low production cost and failure rate, easy to install, maintain and replace, with different rubber gaskets, it can be used for sealing various types of quantitative detection discs, and has a wide range of applications.