WB analysis and flow cytometry showed that BAB alleviated loperamide-induced ICC apoptosis by promoting STAT3 and ERK phosphorylation. Here, STAT3 is linked to intrahepatic cholangiocarcinoma.