Purpose: To explore the clinical effect of traditional Chinese medicine retention enema combined with penis massage in the treatment of chronic prostatitis complicated with sexual dysfunction. Materials and methods: 200 patients with chronic prostatitis complicated with sexual dysfunction were randomly divided into two groups, 100 cases in each group. The combined treatment group was treated with traditional Chinese medicine retention enema combined with penis massage, and the control group was treated with traditional Chinese medicine retention enema alone. National Institutes of Health Chronic Prostatitis Symptom Index (NIH-CPSI), Chronic Prostatitis Related Sexual Function Index (CPSFI), International Index of Erectile Function-5 (IIEF-5), Chinese Index of Sexual Function for Premature Ejaculation (CIPE), Hamilton Anxiety Scale (HAMA) and Hamilton Depression Rating Scale (HAMD) and Routine examination of prostatic secretions (EPS) were used to evaluate the clinical effect before and after treatment. Results: The effective rate of the combined treatment group was significantly higher than that of the simple traditional Chinese medicine enema group. The total effective rate was 90% in the combined treatment group and 67% in the control group. The combined treatment group was significantly higher than the control group, and the difference was statistically significant (P<0.05). The scores of NIH-CPSI, IIEF-5, CIPE-5, HAMA and HAMD in the observation group were significantly lower than those in the control group, and the differences were statistically significant (P<0.05). Conclusion: Traditional Chinese medicine retention enema combined with penile massage for chronic prostatitis combined with ED can significantly improve the symptoms associated with chronic prostatitis, and can also significantly improve the patient's sexual function.