Primary dysmenorrhea is the most common gynecological complaint with painful menstrual cramps in pelvis without any pathology. It affects about half of menstruating women, and it causes significant disruption in quality of life. We investigated the association between IL6 gene promoter and ESR1 gene XbaI and PvuII polymorphisms and primary dysmenorrhea. In this case-control study, 152 unrelated young women with primary dysmenorrhea and 150 unrelated healthy age-matched controls participated. Genomic DNA was isolated and IL6 and ESR1 gene polymorphisms were genotyped using PCR-based RFLP assay. The distribution of genotype and allele frequencies of IL6 gene promoter and ESR1 gene XbaI polymorphisms were not statistically different between patients and controls (p > 0.05). However, the genotype and allele frequencies of ESR1 gene PvuII polymorphism showed statistically significant differences between primary dysmenorrhea patients and controls (p = 0.009 and p = 0.021, respectively). Statistically significant associations were also observed between age and married status of primary dysmenorrhea patients and ESR1 gene PvuII polymorphism (p = 0.044 and p = 0.023, respectively). In combined genotype analyses, AG at ESR1 XbaI and TC at ESR1 PvuII loci encoded a p-value of 0.027. Thus, individuals who are heterozygote at both loci have a lower risk of developing primary dysmenorrhea. Our study suggests no strong association between IL6 gene promoter and ESR1 gene XbaI polymorphisms and primary dysmenorrhea in Turkish women. However, ESR1 gene PvuII polymorphism showed statistically significant differences between primary dysmenorrhea patients and controls. The potential association between ESR1 gene PvuII polymorphism and age and married status of dysmenorrhea patients deserves further consideration.