Astragalus membranaceus (A. membranaceus), a well-known traditional herbal medicine, has been widely used in ailments for more than 2000 years. The main bioactive compounds including flavonoids, triterpene saponins and polysaccharides obtained from A. membranaceus have shown a wide range of biological activities and pharmacological effects. These bioactive compounds have a significant role in protecting the liver, immunomodulation, anticancer, antidiabetic, antiviral, antiinflammatory, antioxidant and anti-cardiovascular activities. The flavonoids are initially synthesized through the phenylpropanoid pathway, followed by catalysis with corresponding enzymes, while the triterpenoid saponins, especially astragalosides, are synthesized through the universal upstream pathways of mevalonate (MVA) and methylerythritol phosphate (MEP), and the downstream pathway of triterpenoid skeleton formation and modification. Moreover, the Astragalus polysaccharide (APS) possesses multiple pharmacological activities. In this review, we comprehensively discussed the biosynthesis pathway of flavonoids and triterpenoid saponins, and the structural features of polysaccharides in A. membranaceus. We further systematically summarized the pharmacological effects of bioactive ingredients in A. membranaceus, which laid the foundation for the development of clinical candidate agents. Finally, we proposed potential strategies of heterologous biosynthesis to improve the industrialized production and sustainable supply of natural products with pharmacological activities from A. membranaceus, thereby providing an important guide for their future development trend.