Despite documented evidence that ovarian cancer cells express immune-checkpoint molecules, such as PD-1 and PD-L1, and of a positive correlation between the presence of tumour-infiltrating lymphocytes and favourable overall survival outcomes in patients with this tumour type, the results of trials testing immune-checkpoint inhibitors (ICIs) in these patients thus far have been disappointing. The lack of response to ICIs can be attributed to tumour heterogeneity as well as inherent or acquired resistance associated with the tumour microenvironment (TME). Understanding tumour immunobiology, discovering biomarkers for patient selection and establishing optimal treatment combinations remains the hope but also a key challenge for the future application of immunotherapy in ovarian cancer. In this Review, we summarize results from trials testing ICIs in patients with ovarian cancer. We propose the implementation of a systematic CD8