Primary dysmenorrhea is a common gynecological disease garnering increasing attention and research. To investigate the clinical therapeutic effects of Jingqian Zhitong Fang (JQF) and the differences in serum sex hormone levels during the treatment of primary dysmenorrhea, we selected 30 healthy volunteers and 60 individuals with primary dysmenorrhea. On the third day of the menstrual cycle, we used ELISA to determine the levels of serum prolactin (PRL), follicle‐stimulating hormone (FSH), luteinizing hormone (LH), testosterone (TEST), progesterone (PROG), and estradiol (E2) compared with normal levels and levels in the JQF group, the Western medicine group receiving continuous treatment during the first and third menstrual cycles, and the group followed up after the drug was stopped. We observed that after JQF treatment, the levels of the following hormones changed significantly: PRL, LH, TEST, and E2 levels decreased significantly and the PROG level increased significantly after treatment. After treatment with Western medicine, the serum levels of FSH, LH, PROG, and E2 showed no significant change. We conclude that the long‐term effect of JQF treatment was better than that of Western medicine. JQF treatment of primary dysmenorrhea is related to adjustment of PRL, LH, TEST, and E2 hormone levels in the human body.