Here, we show that Stx2 acts to assist this precise tuning of insulin secretion in β-cells, including in diabetes. Here, STX2 is linked to diabetes mellitus.