The aim of this study was to provide a reference for promoting ecological restoration of farmland and the green development of agriculture in the alluvial plain of the lower Yellow River by determining the effects of different rotation fallow patterns on the bacterial community of the fluvo-aquic soil. Farmland soil subject to a long-term rotation fallow experiment since 2018 was studied using Illumina MiSeq high-throughput sequencing technology, and the 'Tax4Fun' bacterial function prediction tool was used to analyze differences in soil bacterial community structure and function under the following four rotation fallow regimes:long fallow(LF), winter wheat and summer fallow(WF), winter fallow and summer maize(FM), and annual rotation of winter wheat and summer maize(WM). The environmental factors affecting changes in the soil bacterial community structure and function were also analyzed. In total, 44 phyla, 146 classes, 338 orders, 530 families, 965 genera, and 2073 species of bacteria were detected in the soil samples from the different rotation fallow regimes, and the dominant bacterial groups were Actinobacteria, Proteobacteria, Acidobacteria, and Chloroflexi in 0-20 cm and 20-40 cm soil layers. However, the relative abundances of the dominant bacteria groups were varied between the rotation fallow regimes. In the 0-20 cm layer of the seasonal fallow soils(WF and FM), bacteria were more abundant and community diversity was higher than that of the WM and LF soils. In 20-40 cm soil layer, the WF soil was more abundant in bacterial and the community was more diverse. Based on the prediction function of the 'Tax4Fun' tool, six primary metabolic pathways, 40 secondary metabolic pathways(18 types with relative abundance greater than 1%), and 264 tertiary metabolic pathways were identified in the soil bacteria of the different rotation fallow regimes. Seasonal fallow(WF and FM) was found to increase the relative abundance of beneficial bacterial metabolic pathways involved in metabolism, environmental information processing, and genetic information processing. According to RDA analysis, the soil bacterial community in the 0-20 cm soil layer was significantly affected by soil moisture, total phosphorus, available phosphorus, available potassium, pH, and C/N ratio(P<0.05), and the soil bacterial community in 20-40 cm soil layer was significantly affected by soil total phosphorus and available phosphorus(P<0.05). Therefore, different fallow patterns were linked to variation in the structure, diversity, and metabolic functions of soil bacterial communities. Based on these results, seasonal fallow practices could promote the health and stability of farmland soil ecosystems.