The experiment aimed to explore the effects of a Bacillus subtilis compound preparation on the production performance and intestinal microbiota of laying hens.Thirty 500-day-old hens with similar body weights were randomly divided into two groups,with three replicates per group,and each replicate consisted of five hens.The CK group(control group)was fed a corn-soybean meal basic diet,while the T group was supplemented with 1 g/kg Bacillus subtilis compound preparation in the basic diet.The trial lasted for 70 days.The results showed that compared with the CK group,the feed-to-egg ratio in the T group was significantly reduced(P<0.05).At the phylum level,the relative abundance of the Firmicutes in the duodenum was extremely increased(P<0.01),the relative abundance of the Actinobacteria in the ileum was significantly increased(P<0.05),and the relative abundance of the Proteobacteria in the cecum was extremely decreased(P<0.01).At the genus level,the relative abundance of Lactobacillus in the duodenum was extremely increased(P<0.01),the abundance of Corynebacterium was extremely decreased(P<0.01),and the relative abundance of Enterococcus and Aeriscardovia in the ileum was significantly or extremely significantly increased(P<0.05 or P<0.01),and the relative abundance of the Ruminococcaceae in the cecum was significantly increased(P<0.05).β-diversity analysis showed that the microbial community structures of the duodenum and ileum had certain similarities and were different from the cecal microbial community structure.The study suggests that the addition of Bacillus subtilis compound preparation can promote the growth of lactic acid bacteria and Aeriscardovia,playing a role in optimizing the intestinal microbiota and improving feed utilization.