These results suggest that maternal diet could predispose individuals to type 2 diabetes and non-alcoholic fatty liver disease in later life through changes in taurine levels and HNF4A methylation. Here, HNF4A is linked to type 2 diabetes mellitus.