Abstract:[Background] Astragalus membranaceus var. mongholicus is a genuine medicinal herb in Longxi County, mostly grown in arid and infertile soil. The growth environment determines that the endogenous nitrogen-fixing bacteria of A. membranaceus var. mongholicus have strong stress resistance. [Objective] To explore the endophytic nitrogen-fixing bacterial resources of the new lines of A. membranaceus var. mongholicus, screen strains for efficient joint nitrogen fixation with wheat, mitigate the effects of continuous cropping obstacles on wheat, and reduce the application of chemical fertilizers. [Methods] The seedlings of two A. membranaceus var. mongholicus lines ("Mengqi 07-22-1" and "Mengqi 07-22-2") bred in Longxi, Gansu were used for the isolation of endophytic bacteria by tissue milling and plate streaking. The Ashby solid medium was used for screening of nitrogen-fixing bacteria with full colonies. Strain identification was performed by colony morphology observation combined with 16S rRNA gene sequence analysis. Multifunctional identification media were used to determine the nitrogen-fixing, phosphorus-solubilizing, potassium-solubilizing, indole-3-acetic acid (IAA)- producing, and siderophore-synthesizing abilities of nitrogen-fixing bacteria. Finally, the ability of nitrogen-fixing bacteria to promote the growth of wheat in continuous cropping was tested by pot experiments with and without the application of organic fertilizers. [Results] Two and three excellent strains of nitrogen-fixing bacteria were obtained from "Mengqi 07-22-1" and "Mengqi 07-22-2", respectively. Strains G2B58, G2B59, G2B65, G1B66, and G1B89 were identified as Shinella kummerowiae, Agrobacterium radiobacter, Rhizobium sphaerophysae, Bosea vestrisii, and Mycobacterium frederiksbergens, respectively. Five strains of endophytic nitrogen-fixing bacteria were screened out for their functions of nitrogen fixation, phosphorus solubilization, potassium solubilization, IAA production, and siderophore production. Pot experiments with wheat seedlings in continuous cropping showed that the inoculation with G2B58, G2B59, and mixed strains promoted wheat growth. The plant height, stem diameter, fresh weight per plant, and dry weight per plant were significantly increased by 11.65%, 9.61%, 13.24%, and 18.92%, respectively, in the G2B58 treatment under fertilization. [Conclusion] All the five strains of endophytic nitrogen-fixing bacteria demonstrate good plant growth-promoting properties, providing high-quality strain resources for the development of microbial agents. Inoculation with G2B58 has the best plant growth-promoting effect and significantly improves the growth indexes of wheat seedlings in continuous cropping. In the case of applying microbial agents in the soil with continuous cropping, moderate application of organic fertilizer can enhance the plant growth-promoting effects of the endophytes of A. membranaceus var. mongholicus.