Background Poor oocyte quality remains one of the major challenges for polycystic ovary syndrome (PCOS) patients during in vitro fertilization (IVF) treatment. Granulosa cells (GCs) in PCOS display altered functions and could cause an unfavorable microenvironment for oocyte growth and maturation. Ferroptosis is a new form of programmed cell death, but its role in PCOS has been largely unclarified.Methods Ferroptosis-related differentially expressed genes (DEGs) in PCOS GCs were identified by bioinformatic analyses of GSE155489 and GSE168404 datasets. Functional enrichment analyses were conducted using Gene Ontology and Kyoto Encyclopedia of Genes and Genomes. Core ferroptosis-related genes were further screened by random forest, and evaluated for diagnostic value by receiver operating characteristic curve analyses. Gene expression was validated by real-time quantitative polymerase chain reaction of collected GC samples, and analyzed for association with oocyte quality. In addition, gene regulatory network was constructed based on predicted RNA interactions and transcription factors, while potential therapeutic compounds were screened through molecular docking with crystallographic protein structures.Results A total of 14 ferroptosis-related DEGs were identified. These DEGs were mainly enriched in reactive oxygen species metabolic process, mitochondrial outer membrane, antioxidant activity as well as ferroptosis and adipocytokine signaling pathways. Eight core ferroptosis-related genes (ATF3, BNIP3, DDIT4, LPIN1, NOS2, NQO1, SLC2A1 and SLC2A6) were further selected in random forest model, which showed high diagnostic performance for PCOS. Seven of them were validated in GC samples, and five were found to significantly and positively correlated with one or more oocyte quality parameters in PCOS patients, including oocyte retrieval rate, mature oocyte rate, normal fertilization rate, and good-quality embryo rate. Gene regulatory network revealed JUN and HMGA1 as two important transcription factors, while dicoumarol and flavin adenine dinucleotide were predicted as small molecules with therapeutic potential.Conclusions This is the first comprehensive report to study the differential expression of ferroptosis-related genes in GCs of PCOS and their clinical relevance with oocyte quality. Our findings could provide novel insights on the potential role of GC ferroptosis in PCOS pathogenesis, diagnosis, and targeted treatment.