The invention relates to a pharmaceutical composition with an anti-aging effect. The pharmaceutical composition is prepared from the following monomer compounds in parts by weight: 12-18 parts of 7,2'-dyhydroxy-3',4'-dimethoxyisofiavanone, 9-14 parts of (6aR, 11aR)-9,10-dimethoxy pterocarpan-3-oxo-beta-D-glucoside, 6-10 parts of formononetin, 7-11 parts of formononetin-7-oxo-beta-D-glucoside, 20-30 parts of calycosin and 20-30 parts of calycosin-7-oxo-beta-D-glucoside. Compared with the prior art, the pharmaceutical composition disclosed by the invention has the effects of significantly prolonging life, can be used for preventing and treating aging-related diseases such as senile dementia, cardiovascular diseases and diabetes, and can be applied to the field of health foods.