This study investigates the hydrogen (H2) production performance and bacterial communities in mesophilic (37 °C) and thermophilic (50 °C) H2-producing consortia derived from different inoculum sources and utilizing food waste as a substrate. This study found notable variations in H2 production characteristics among these consortia. Among the mesophilic consortia (MC), the W-MC obtained with wetland (W) as the inoculum source exhibited the highest hydrogen production (3900 mL·L−1 and 117 mL·L−1·h−1), while among the thermophilic consortia (TC), the FP-TC obtained with forest puddle sediment (FP) as the inoculum source showed the highest performance (2112 mL·L−1 and 127 mL·L−1·h−1). This study reveals that the choice of inoculum source plays a crucial role in determining hydrogen production efficiency. Furthermore, the bacterial community analysis demonstrated varying microbial diversity and richness in different inoculum sources. Clostridium, a well-known H2-producing bacterium, was found in both mesophilic and thermophilic consortia and showed a positive correlation with H2 production. Other bacteria, such as Sporanaerobacter, Caproiciproducens, and Caldibacillus, also exhibited significant correlations with H2 production, suggesting their potential roles in the process. The study highlights the complex interactions between bacterial communities and hydrogen production performance, shedding light on the critical factors influencing this renewable energy source. Overall, this study contributes to our understanding of the microbial ecology and the factors affecting hydrogen production in different temperature conditions, which can have practical implications for optimizing biohydrogen production processes using organic waste substrates.