Intrahepatic cholestasis of pregnancy (ICP) is a liver disease that sometimes develops during pregnancy and is characterized by increased serum bile acid levels. Here the authors report that the gut microbiome species B. fragilis is enriched in patients with ICP and promotes ICP development in mice via inhibition of signalling though the bile acid receptor FXR.