Part 1 of the RUBY trial (NCT03981796) evaluated dostarlimab plus carboplatin-paclitaxel compared with placebo plus carboplatin-paclitaxel in patients with primary advanced or recurrent endometrial cancer (EC). At the first interim analysis, the trial met one of its dual primary endpoints with statistically significant progression-free survival benefits in the mismatch repair-deficient/microsatellite instability-high (dMMR/MSI-H) and overall populations. Overall survival (OS) results are reported from the second interim analysis. RUBY is a phase III, global, double-blind, randomized, placebo-controlled trial. Part 1 of RUBY enrolled eligible patients with primary advanced stage III or IV or first recurrent EC who were randomly assigned (1 : 1) to receive either dostarlimab (500 mg) or placebo, plus carboplatin-paclitaxel every 3 weeks for 6 cycles followed by dostarlimab (1000 mg) or placebo every 6 weeks for up to 3 years. OS was a dual primary endpoint. A total of 494 patients were randomized (245 in the dostarlimab arm; 249 in the placebo arm). In the overall population, with 51% maturity, RUBY met the dual primary endpoint for OS at this second interim analysis, with a statistically significant reduction in the risk of death [hazard ratio (HR)= 0.69, 95% confidence interval (CI) 0.54-0.89, P= 0.0020] in patients treated with dostarlimab plus carboplatin-paclitaxel versus carboplatin-paclitaxel alone. The risk of death was lower in the dMMR/MSI-H population (HR= 0.32, 95% CI 0.17-0.63, nominal P= 0.0002) and a trend in favor of dostarlimab was seen in the mismatch repair-proficient/microsatellite stable population (HR= 0.79, 95% CI 0.60-1.04, nominal P= 0.0493). The safety profile for dostarlimab plus carboplatin-paclitaxel was consistent with the first interim analysis. Dostarlimab in combination with carboplatin-paclitaxel demonstrated a statistically significant and clinically meaningful OS benefit in the overall population of patients with primary advanced or recurrent EC while demonstrating an acceptable safety profile.