A composition for preventing and/or treating women's dysmenorrhea. The composition contains cannabidiol and/or cannabidivarin, a transdermal enhancer, and a carrier. The mass ratio of the cannabidiol and/or cannabidivarin to the transdermal enhancer is 1 : 0.1-0.8. The composition can relieve women's dysmenorrhea, and can be used for preparing feminine hygiene supplies for preventing and/or treating women's dysmenorrhea.