Indications of extracorporeal cardiopulmonary resuscitation (ECPR) are still debatable, particularly in patients with cancer. Prediction of the prognosis of in-hospital cardiac arrest (IHCA) in patients with cancer receiving ECPR is important given the increasing prevalence and survival rate of cancer. We compared the neurologic outcomes and survival rates of IHCA patients with and without cancer receiving ECPR. Data from the extracorporeal membrane oxygenation registry between 2015 and 2019 were used in a retrospective manner. The primary outcome was 6-month good neurologic outcome, defined as a Cerebral performance category score of 1 or 2. The secondary outcomes were 1- and 3-month good neurologic outcome, and 6-month survival. Among 247 IHCA patients with ECPR, 43 had active cancer. The 6-month good neurologic outcome rate was 27.9% and 32.4% in patients with and without active cancer, respectively (P > 0.05). Good neurologic outcomes at 1-month (30.2% vs. 20.6%) and 3-month (30.2% vs. 28.4%), and the survival rate at 6-month (39.5% vs. 36.5%) were not significantly different (all P > 0.05) Active cancer was not associated with 6-month good neurologic outcome by logistic regression analyses. Therefore, patients with IHCA should not be excluded from ECPR solely for the presence of cancer itself.