Primary biliary cholangitis (PBC) is a cholestatic liver disease characterized by immune-mediated injury to small bile ducts. Although PBC is an autoimmune disease, the effectiveness of conventional immunosuppressive therapy is disappointing. Nearly 40% of PBC patients do not respond to the first-line drug UDCA. Without appropriate intervention, PBC patients eventually progress to liver cirrhosis and even death. There is an urgent need to develop new therapies. The gut–liver axis emphasizes the interconnection between the gut and the liver, and evidence is increasing that gut microbiota and bile acids play an important role in the pathogenesis of cholestatic diseases. Dysbiosis of gut microbiota, imbalance of bile acids, and immune-mediated bile duct injury constitute the triad of pathophysiology in PBC. Autoimmune cholangitis has the potential to be improved through immune system modulation. Considering the failure of conventional immunotherapies and the involvement of gut microbiota and bile acids in the pathogenesis, targeting immune factors associated with them, such as bile acid receptors, microbial-derived molecules, and related specific immune cells, may offer breakthroughs. Understanding the gut microbiota–bile acid network and related immune dysfunctions in PBC provides a new perspective on therapeutic strategies. Therefore, we summarize the latest advances in research of gut microbiota and bile acids in PBC and, for the first time, explore the possibility of related immune factors as novel immunotherapy targets. This article discusses potential therapeutic approaches focusing on regulating gut microbiota, maintaining bile acid homeostasis, their interactions, and related immune factors.