The hydroxysteroid (17beta) dehydrogenase (HSD17B)12 gene belongs to the hydroxysteroid (17β) dehydrogenase superfamily, and it has been implicated in the conversion of estrone to estradiol as well as in the synthesis of arachidonic acid (AA). AA is a precursor of prostaglandins, which are involved in the regulation of female reproduction, prompting us to study the role of HSD17B12 enzyme in the ovarian function. We found a broad expression of HSD17B12 enzyme in both human and mouse ovaries. The enzyme was localized in the theca interna, corpus luteum, granulosa cells, oocytes, and surface epithelium. Interestingly, haploinsufficiency of the HSD17B12 gene in female mice resulted in subfertility, indicating an important role for HSD17B12 enzyme in the ovarian function. In line with significantly increased length of the diestrous phase, the HSD17B+/- females gave birth less frequently than wild-type females, and the litter size of HSD17B12+/- females was significantly reduced. Interestingly, we observed meiotic spindle formation in immature follicles, suggesting defective meiotic arrest in HSD17B12+/- ovaries. The finding was further supported by transcriptome analysis showing differential expression of several genes related to the meiosis. In addition, polyovular follicles and oocytes trapped inside the corpus luteum were observed, indicating a failure in the oogenesis and ovulation, respectively. Intraovarian concentrations of steroid hormones were normal in HSD17B12+/- females, whereas the levels of AA and its metabolites (6-keto prostaglandin F1alpha, prostaglandin D2, prostaglandin E2, prostaglandin F2α, and thromboxane B2) were decreased. In conclusion, our study demonstrates that HSD17B12 enzyme plays an important role in female fertility through its role in AA metabolism.