BackgroundCold regions have long autumn and winter seasons and low ambient temperatures. When pigs are unable to adjust to the cold, oxidative damage and inflammation may develop. However, the differences between cold and non-cold adaptation regarding glucose and lipid metabolism, gut microbiota and colonic mucosal immunological features in pigs are unknown. This study revealed the glucose and lipid metabolic responses and the dual role of gut microbiota in pigs during cold and non-cold adaptation. Moreover, the regulatory effects of dietary glucose supplements on glucose and lipid metabolism and the colonic mucosal barrier were evaluated in cold-exposed pigs.ResultsCold and non-cold-adapted models were established by Min and Yorkshire pigs. Our results exhibited that cold exposure induced glucose overconsumption in non-cold-adapted pig models (Yorkshire pigs), decreasing plasma glucose concentrations. In this case, cold exposure enhanced the ATGL and CPT-1α expression to promote liver lipolysis and fatty acid oxidation. Meanwhile, the two probiotics (CollinsellaandBifidobacterium) depletion and the enrichment of two pathogens (SutterellaandEscherichia-Shigella) in colonic microbiota are not conducive to colonic mucosal immunity. However, glucagon-mediated hepatic glycogenolysis in cold-adapted pig models (Min pigs) maintained the stability of glucose homeostasis during cold exposure. It contributed to the gut microbiota (including the enrichment of theRikenellaceae RC9 gut group,[Eubacterium] coprostanoligenes groupandWCHB1-41) that favored cold-adapted metabolism.ConclusionsThe results of both models indicate that the gut microbiota during cold adaptation contributes to the protection of the colonic mucosa. During non-cold adaptation, cold-induced glucose overconsumption promotes thermogenesis through lipolysis, but interferes with the gut microbiome and colonic mucosal immunity. Furthermore, glucagon-mediated hepatic glycogenolysis contributes to glucose homeostasis during cold exposure.Supplementary InformationThe online version contains supplementary material available at 10.1186/s40104-023-00886-5.