Co-digestion showed higher methane production and more suitable microenvironment. The dynamic changes of prokaryotic community during co-digestion was small. Functional modules were significantly affected by environmental factors. The connections of metabolic functions in co-digestion were better-organized.