AbstractObjectiveAt present, there is still a lack of reliable biomarkers for ovarian cancer (OC) to guide prognosis prediction and accurately evaluate the dominant population of immunotherapy. In recent years, the relationship between peripheral blood markers and tumor‐infiltrating immune cells (TICs) with cancer has attracted much attention. However, the relationship between the survival of OC patients and intratumoral‐ or extratumoral‐associated immune cells remains controversial.MethodsIn this study, four machine‐learning algorithms were used to predict overall survival in OC patients based on peripheral blood indicators. To further screen out immune‐related gene and molecular targets, we systematically explored the correlation between TICs and OC patient survival based on The Cancer Genome Atlas database. Using the TICs score method, patients were divided into a low immune infiltrating cell group and a high immune infiltrating cell group.ResultsThe results showed that there was a significant statistical significance between the peripheral blood indicators and the survival prognosis of OC patients. Survival analysis showed that TICs play a crucial role in the survival of OC patients. Four core genes, CXCL9, CD79A, MS4A1, and MZB1, were identified by cross‐PPI and COX regression analysis. Further analysis found that these genes were significantly associated with both TICs and survival in OC patients.ConclusionsThese results suggest that both peripheral blood markers and TICs can be used as prognostic predictors in patients with OC, and CXCL9, CD79A, MS4A1, and MZB1 may be potential therapeutic targets for OC immunotherapy.