Background: Primary dysmenorrhea is a prevalent condition characterized by menstrual pain in the absence of pelvic pathology, which can affect quality of life (QOL). Objectives: This study aimed to assess the QOL in medical students with dysmenorrhea in Iran. Methods: This cross-sectional study included 298 female students between December 2021 and August 2022. The EQ-5D-3L questionnaire was used to assess the QOL of subjects. Also, age, weight, height, sleep hours per day, and exercise hours per week were evaluated. Statistical analysis was performed using the Statistical Package for the Social Sciences (SPSS) version 22. The chi-squared test and Fisher’s exact test were used for data analysis. Results: The mean age of students was 20.32 ± 3.19 years, and the prevalence of dysmenorrhea was 83.6% (n = 249). There was a significant difference in daily activity (P < 0.05) and exercise hours per week (P < 0.05) between the two groups. Pain and discomfort were remarkably higher in group with dysmenorrhea (P < 0.01). In addition, personal care was significantly reduced among subjects with dysmenorrhea (P < 0.05). Sleep hours per day, body mass index (BMI), age, mobility, and anxiety were similar between the two groups. Conclusions: According to our results, dysmenorrhea was significantly related to impaired QOL, considering some aspects such as daily activity.