Convection is critical to precipitation, heat and moisture transport, cloud amount and distribution, as well as to the global energy budget (Arakawa, 2004;Arakawa & Schubert, 1974). Properly representing convection is critical to successful numerical weather prediction (NWP) and climate simulations by general circulation models (GCMs). However, because current coarse-resolution models cannot explicitly resolve convection, it must be represented with convective parameterizations. Deficiencies in these parameterizations Abstract Deficiencies in convection trigger functions, used in deep convection parameterizations in General Circulation Models (GCMs), have critical impacts on climate simulations. A novel convection trigger function is developed using the machine learning (ML) classification model XGBoost. The large-scale environmental information associated with convective events is obtained from the longterm constrained variational analysis forcing data from the Atmospheric Radiation Measurement (ARM) program at its Southern Great Plains (SGP) and Manaus (MAO) sites representing, respectively, continental mid-latitude and tropical convection. The ML trigger is separately trained and evaluated per site, and jointly trained and evaluated at both sites as a unified trigger. The performance of the ML trigger is compared with four convective trigger functions commonly used in GCMs: dilute convective available potential energy (CAPE), undilute CAPE, dilute dynamic CAPE (dCAPE), and undilute dCAPE. The ML trigger substantially outperforms the four CAPE-based triggers in terms of the F1 score metric, widely used to estimate the performance of ML methods. The site-specific ML trigger functions can achieve, respectively, 91% and 93% F1 scores at SGP and MAO. The unified trigger also has a 91% F1 score, with virtually no degradation from the site-specific training, suggesting the potential of a global ML trigger function. The ML trigger alleviates a GCM deficiency regarding the overprediction of convection occurrence, offering a promising improvement to the simulation of the diurnal cycle of precipitation. Furthermore, to overcome the black box issue of the ML methods, insights derived from the ML model are discussed, which may be leveraged to improve traditional CAPE-based triggers.Plain Language Summary Deficiencies in convection trigger function, a set of conditions used to determine whether the convection will be activated at a given time in General Circulation Models (GCMs), have critical impacts on model simulated climate. This work presents a novel convection trigger function using a machine learning (ML) model. Environmental information on convective events are obtained from long-term data from the Atmospheric Radiation Measurement (ARM) program at its Southern Great Plains (SGP) and Manaus (MAO) sites, which represent two distinct convective regimes. The ML trigger is separately trained and evaluated per site, and jointly trained and evaluated at both sites as a unified trigger. The ML trigger substantially outperf...