This genome-wide CRISPR screen in a human beta cell line provides cellular evidence for 580 genes as regulators of beta cell function, supports a disease-relevant and likely causal role of 20 genes at T2D loci and identifies the autophagy receptor CALCOCO2 as a regulator of human beta cell function. Here, CALCOCO2 is linked to type 2 diabetes mellitus.