The diabetes-associated K&lt;sup&gt;+&lt;/sup&gt; channel TALK-2 controls human beta cell endoplasmic reticulum Ca&lt;sup&gt;2+&lt;/sup&gt; handling, which promotes basal insulin release and limits glucose-stimulated insulin secretion. This evidence concerns the gene KCNK17 and diabetes mellitus.