Although fengycin exhibits broad-spectrum antifungal properties, its application is hindered due to its low biosynthesis level and the co-existence of iturin A and surfactin in Bacillus amyloliquefaciens HM618, a probiotic strain. In this study, transcriptome analysis and gene editing were used to explore the potential mechanisms regulating fengycin production in B. amyloliquefaciens. The fengycin level of B. amyloliquefacien HM-3 (∆itu-ΔsrfAA) was 88.41mg/L after simultaneously inhibiting the biosyntheses of iturin A and surfactin. The knockout of gene eps associated with biofilm formation significantly increased the fengycin level of the strain HM618, whereas the fengycin level decreased 32.05% after knocking out sinI, a regulator of biofilm formation. Transcriptome analysis revealed that the differentially expressed genes, involved in pathways of amino acid and fatty acid syntheses, were significantly down-regulated in the recombinant strains, which is likely associated with a decrease of fengycin production. The knockout of gene comQXPA and subsequent transcriptome analysis revealed that the ComQXPA quorum sensing system played a positiveregulatory role in fengycin production. Through targeted genetic modifications and fermentation optimization, the fengycin production of the engineered strain HM-12 (∆itu-ΔsrfAA-ΔyvbJ) in a 5-L fermenter reached 1.172g/L, a 12.26-fold increase compared to the fengycin level in the strain HM-3 (∆itu-ΔsrfAA) in the Erlenmeyer flask. Taken together, these results reveal the underlying metabolic mechanisms associated with fengycin synthesis and provide a potential strategy for improving fengycin production in B. amyloliquefaciens.