The mushroom substrate bagging, inoculation rod insertion and bag opening sealing can be completed at the same time. This machine has high efficiency, precision and consistency, which can greatly improve the production efficiency and quality of mushroom cultivation.