A 24-membered ring macrolide compound, macrolactin A has potential applications in pharmaceuticals for its anti-infectious and antiviral activity. In this study, macrolactin A was produced by a marine bacterium, which was identified as Bacillus subtilis by 16S ribosomal RNA (rRNA) sequence analysis. Electrospray ionization mass spectrometry (ESI/MS) and nuclear magnetic resonance (NMR) spectroscopy analyses were used to characterize this compound. To improve the production, response surface methodology (RSM) involving Box-Behnken design (BBD) was employed. Faeces bombycis, the main by-product in sericulture, was used as a nitrogen source in fermentation. The interactions between three significant factors, F. bombycis, soluble starch, and (NH 4 ) 2 SO 4 were investigated. A quadratic model was constructed to fit the production and the factors. Optimum medium composition was obtained by analysis of the model. When cultivated in the optimum medium, the production of macrolactin A was increased to 851 mg/L, 2.7 times as compared to the original. This study is also useful to find another way in utilizing F. bombycis.