These findings provide an in vivo strategy to study combinatorial gene regulation and reveal how Hnf1α and Hnf4α control a common islet-cell regulatory program that is defective in human monogenic diabetes. Here, HNF4A is linked to diabetes mellitus.