Bile acid synthesis is the major pathway for catabolism of cholesterol. Cholesterol 7α-hydroxylase (CYP7A1) is the rate-limiting enzyme in the bile acid biosynthetic pathway in the liver and plays an important role in regulating lipid, glucose and energy metabolism. Transgenic mice overexpressing CYP7A1 (CYP7A1-tg mice) were resistant to high-fat diet (HFD)-induced obesity, fatty liver, and diabetes. However the mechanism of resistance to HFD-induced obesity of CYP7A1-tg mice has not been determined. In this study, metabolomic and lipidomic profiles of CYP7A1-tg mice were analyzed to explore the metabolic alterations in CYP7A1-tg mice that govern the protection against obesity and insulin resistance by using ultra-performance liquid chromatography-coupled with electrospray ionization quadrupole time-of-flight mass spectrometry combined with multivariate analyses. Lipidomics analysis identified seven lipid markers including lysophosphatidylcholines, phosphatidylcholines, sphingomyelins and ceramides that were significantly decreased in serum of HFD-fed CYP7A1-tg mice. Metabolomics analysis identified 13 metabolites in bile acid synthesis including taurochenodeoxycholic acid, taurodeoxycholic acid, tauroursodeoxycholic acid, taurocholic acid, and tauro-β-muricholic acid (T-β-MCA) that differed between CYP7A1-tg and wild-type mice. Notably, T-β-MCA, an antagonist of the farnesoid X receptor (FXR) was significantly increased in intestine of CYP7A1-tg mice. This study suggests that reducing 12α-hydroxylated bile acids and increasing intestinal T-β-MCA may reduce high fat diet-induced increase of phospholipids, sphingomyelins and ceramides, and ameliorate diabetes and obesity.