Both biological sulfate reduction process and sulfur reduction process are attractive technologies for metal-laden wastewater treatment. However, the acidity stress of metal-laden wastewater could affect the sulfidogenic performance and the microbial community, weaken the stability, efficiency and cost-effectiveness of the biological sulfidogenic processes (BSP). In this study, long-term lab-scale trials were conducted with a sulfate-reducing bioreactor and a sulfur-reducing bioreactor to evaluate the effects of acidity on sulfidogenic activities and the microbial community of the BSP. In the 300-day trial, the sulfate-reducing bacteria (SRB)-driven BSP was stable in terms of sulfidogenic performance and microbial community with the decline of pH, while the sulfur-reducing bacteria (S0RB)-driven BSP achieved high-rate and low-cost sulfide production under neutral conditions but unstable under acidic conditions. With the decline of pH, the sulfide production rate (SPR) of the SRB-driven BSP stably increased from 30 to 83 mg S/L-h; while it decreased from 56 to 37 mg S/L-h in the S0RB-driven BSP with high fluctuation. The results of estimation were consistent with the thermodynamical calculations, in which the sulfur reduction process showed a better performance at pH 5–7, while the sulfate reduction process might gain more energy when pH<5. The stable sulfidogenic performance and microbial community diversity of the SRB-driven BSP could be attributed to the alkalinity produced in sulfate reduction to buffer the acidic stress. In comparison, the microbial community in the S0RB-driven BSP was significantly re-shaped by acidity stress, and the predominant sulfidogenic bacterium changed from Desulfovibrio at neutral condition, to Desulfurella at pH≤5.4. The stability of the microbial community significantly affected the SPR and the operational cost. Nevertheless, the organic consumption for sulfide production of the S0RB-driven BSP was still less than the SRB-driven BSP even in acidic conditions. Collectively, the S0RB-driven BSP was recommended under neutral or mild acid conditions, while the SRB-driven BSP was more suitable under fluctuating pH conditions, especially at low pH. Overall, this study presented the long-term performance of SRB- and S0RB-driven BSP under varying pH conditions, and provided guidance to determine the suitable BSP and operational cost for different metal-laden wastewater.