Bacteriocins produced by Bacillus subtilis have gained recognition for their safe use in humans. In this study, we aimed to assess the inhibitory activity of an antimicrobial peptide synthesized by the wild-type strain of B. subtilis against the notorious pathogen Pseudomonas aeruginosa. Our investigation employed the broth microdilution method to evaluate the inhibitory potential of this peptide. Among the four different pathogen strains tested, P. aeruginosa exhibited the highest susceptibility, with an inhibition rate of 29.62%. In parallel, we explored the cultivation conditions of B. subtilis, recognizing the potential of this versatile bacterium for applications beyond antimicrobial production. The highest inhibitory activity was achieved at pH 8, with an inhibition rate of 20.18%, indicating the potential for optimizing pH conditions for enhanced antimicrobial peptide production. For the kinetics of peptide production, the study explored different incubation periods and agitation levels. Remarkably, the highest activity of B. subtilis was observed at 24 h of incubation, with an inhibition rate of 44.93%. Finally, the study focused on the isolation of the antimicrobial peptide from the cell-free supernatant of B. subtilis using ammonium sulfate precipitation at various concentrations. The highest recorded activity was an impressive 89.72% achieved at an 80% concentration.