In all, triheptanoin diet appeared to prevent a type-II diabetes profile in Mecp2 KO mice. Here, MECP2 is linked to type 2 diabetes mellitus.