ObjectiveWe aimed to determine if machine learning can predict acute brain injury and to identify modifiable risk factors for acute brain injury in patients receiving venoarterial extracorporeal membrane oxygenation. MethodsWe included adults (age ≥18 years) receiving venoarterial extracorporeal membrane oxygenation or extracorporeal cardiopulmonary resuscitation in the Extracorporeal Life Support Organization Registry (2009-2021). Our primary outcome was acute brain injury: central nervous system ischemia, intracranial hemorrhage, brain death, and seizures. We used Random Forest, CatBoost, LightGBM, and XGBoost machine learning algorithms (10-fold leave-1-out cross-validation) to predict and identify features most important for acute brain injury. We extracted 65 total features: demographics, pre-extracorporeal membrane oxygenation/on-extracorporeal membrane oxygenation laboratory values, and pre-extracorporeal membrane oxygenation/on-extracorporeal membrane oxygenation settings. ResultsOf 35,855 patients receiving venoarterial extracorporeal membrane oxygenation (nonextracorporeal cardiopulmonary resuscitation) (median age of 57.8 years, 66% were male), 7.7% (n = 2769) experienced acute brain injury. In venoarterial extracorporeal membrane oxygenation (nonextracorporeal cardiopulmonary resuscitation), the area under the receiver operator characteristic curves to predict acute brain injury, central nervous system ischemia, and intracranial hemorrhage were 0.67, 0.67, and 0.62, respectively. The true-positive, true-negative, false-positive, false-negative, positive, and negative predictive values were 33%, 88%, 12%, 67%, 18%, and 94%, respectively, for acute brain injury. Longer extracorporeal membrane oxygenation duration, higher 24-hour extracorporeal membrane oxygenation pump flow, and higher on-extracorporeal membrane oxygenation partial pressure of oxygen were associated with acute brain injury. Of 10,775 patients receiving extracorporeal cardiopulmonary resuscitation (median age of 57.1 years, 68% were male), 16.5% (n = 1787) experienced acute brain injury. The area under the receiver operator characteristic curves for acute brain injury, central nervous system ischemia, and intracranial hemorrhage were 0.72, 0.73, and 0.69, respectively. Longer extracorporeal membrane oxygenation duration, older age, and higher 24-hour extracorporeal membrane oxygenation pump flow were associated with acute brain injury. ConclusionsIn the largest study predicting neurological complications with machine learning in extracorporeal membrane oxygenation, longer extracorporeal membrane oxygenation duration and higher 24-hour pump flow were associated with acute brain injury in nonextracorporeal cardiopulmonary resuscitation and extracorporeal cardiopulmonary resuscitation venoarterial extracorporeal membrane oxygenation.