Purpose: Methylnaltrexone inhibits opioid-induced constipation (OIC) by binding to peripheral µ-opioid receptors without impacting central opioid receptor mediated analgesia. This analysis compared methylnaltrexone efficacy and safety among advanced illness patients with and without active cancer and OIC. Patients and Methods: This post hoc analysis included two multicenter, randomized, doubleblind, placebo-controlled studies in adults with advanced illness and OIC who received subcutaneous methylnaltrexone. Efficacy endpoints included the proportion of patients achieving rescue-free laxation (RFL), time to RFL, weekly laxations within 24 hours after dosing, rescue laxative use, and pain scores. Adverse events were monitored for safety. Results: After pooling, 178 patients received methylnaltrexone (n = 116 with cancer) and 185 received placebo (n = 114 with cancer). Median baseline daily opioid morphine equivalents (mg/ d) were higher in cancer (methylnaltrexone: 180; placebo: 188) versus noncancer patients (methylnaltrexone: 120; placebo: 80). The proportions of patients achieving RFL within 4 hours after ≥2 of the first 4 doses were significantly greater with methylnaltrexone (cancer: 56.9%; noncancer: 58.1%) versus placebo (cancer: 5.3%; noncancer: 11.3%; P < 0.0001). The median time to laxation within 24 hours after the first methylnaltrexone dose was significantly shorter in cancer and noncancer patients versus placebo (cancer: 0.96 vs 22.53 hours, P < 0.0001; noncancer: 1.25 vs >24 hours, P = 0.0002). The mean number of weekly laxations within 24 hours after dosing by week 2 was significantly higher in methylnaltrexone-vs placebo-treated cancer and noncancer patients (cancer: 7.9 vs 4.9, P < 0.0001; noncancer: 8.4 vs 5.0, P < 0.0001). Methylnaltrexone reduced rescue laxative use without impacting pain scores. Consistent with previous data, methylnaltrexone was well tolerated in cancer and noncancer patients, and the AE profile did not suggest symptoms of opioid withdrawal. Conclusion: Methylnaltrexone reduced RFL time in advanced-illness patients with and without active cancer, while maintaining pain control with opioid treatment despite higher baseline opioid use among cancer patients.