Anoikis plays a critical role in variable cancer types. However, studies that focus on the prognostic values of anoikis-related genes (ANRGs) in OV are scarce. Cohorts with transcriptome data and corresponding clinicopathologic data of OV patients were collected and consolidated from public databases. Multiple bioinformatics approaches were used to screen key genes from 446 anoikis-related genes, including Cox regression analysis, random survival forest analysis, and Kaplan-Meier analysis of best combinations. A fivegene signature was constructed in the discovery cohort (TCGA) and validated in four validation cohorts (GEO). Risk score of the signature stratified patients into high-risk (HRisk) and low-risk (LRisk) subgroups. Patients in the HRisk group were associated with worse OS than those in the LRisk group in both the TCGA cohort (p<0.0001, HR=2.718, 95%CI:1.872-3.947) and the four GEO cohorts (p<0.05). Multivariate Cox regression analyses confirmed that the risk score served as an independent prognostic factor in both cohorts. The signature's predictive capacity was further demonstrated by the nomogram analysis. Pathway enrichment analysis revealed that immunosuppressive and malignant progression-related pathways were enriched in the HRisk group, including TGF-β, WNT and ECM pathways. The LRisk group was characterized by immune-active signaling pathways (interferon-gamma, T cell activation, etc.) and higher proportions of anti-tumor immune cells (NK, M1, etc.) while HRisk patients were associated with higher stromal scores and less TCR richness. In conclusion, the signature reveals a close relationship between the anoikis and prognosis and may provide a potential therapeutic target for OV patients.