Background: Bacteriocins are antimicrobial proteins or peptides secreted in the culture medium during the growth of bacteria. Bacteriocin production is influenced by various physical parameters such as pH, temperature, NaCl concentration, and carbon source. Objectives: The current study aimed at optimizing the culture conditions for higher growth and production of bacteriocins by the soil isolates, Pediococcus pentosaceus LB44, and Weissella confusa LM85. Methods: Growth of LB44 and LM85 isolates was measured spectrophotometrically at OD600 and bacteriocin production was determined in terms of growth inhibition zone using agar well diffusion assay (AWDA) at different pH (3.0 to 10.0), temperatures (30 to 50°C), NaCl concentrations (2% to 10%), and different concentrations (10 to 40 g/L) of carbon sources, glucose, and lactose. Results: Pediococcus pentosaceus LB44 could demonstrate similar growth and activity at pH 5.0 to 8.0; whereas Weissella confusa LM85 could grow and show activity at pH 5.0 to 10.0, but higher growth was recorded at pH 6.0 to 9.0. The growth and activity of P.