Bile acid receptor Tgr5 prevents macrophage hyperinflammation during bacterial sepsis through metabolic and epigenetic silencing. Here, GPBAR1 is linked to bacterial infectious disease with sepsis.