Ablation of MANF in mouse embryos, both overall and in the pancreas, leads to early onset and severe diabetes mellitus. Here, MANF is linked to diabetes mellitus.