This study aimed to ascertain the delayed effects of various exposure temperatures on infectious diarrhea. We performed a Bayesian random-effects network meta-analysis to calculate relative risks (RR) with 95 % confidence intervals (95 % CI). The heterogeneity was analyzed by subgroup analysis. There were 25 cross-sectional studies totaling 6858735 patients included in this analysis, with 12 articles each investigating the effects of both hyperthermia and hypothermia. Results revealed that both high temperature (RRsingle = 1.22, 95%CI:1.04–1.44, RRcum = 2.96, 95%CI:1.60–5.48, P < 0.05) and low temperature (RRsingle = 1.17, 95%CI:1.02–1.37, RRcum = 2.19, 95%CI:1.33–3.64, P < 0.05) significantly increased the risk of infectious diarrhea, while high temperature caused greater. As-sociations with strengthening in bacillary dysentery were found for high temperatures (RRcum = 2.03, 95%CI:1.41–3.01, P < 0.05; RRsingle = 1.17, 95%CI:0.90–1.62, P > 0.05), while the statistical significance of low temperatures in lowering bacterial dysentery had vanished. This investigation examined that high temperature and low temperature were the conditions that posed the greatest risk for infectious diarrhea. This research offers fresh perspectives on preventing infectious diarrhea and will hopefully enlighten future studies on the impact of temperature management on infectious diarrhea.