Primary sclerosing cholangitis (PSC) is characterized by progressive biliary inflammation and fibrosis. Although gut commensals are associated with PSC, their causative roles and therapeutic strategies remain elusive. Here we detect abundantKlebsiella pneumoniae(Kp) andEnterococcus gallinarumin fecal samples from 45 PSC patients, regardless of intestinal complications. Carriers of both pathogens exhibit high disease activity and poor clinical outcomes. Colonization of PSC-derived Kp in specific pathogen-free (SPF) hepatobiliary injury-prone mice enhances hepatic Th17 cell responses and exacerbates liver injury through bacterial translocation to mesenteric lymph nodes. We developed a lytic phage cocktail that targets PSC-derived Kp with a sustained suppressive effect in vitro. Oral administration of the phage cocktail lowers Kp levels in Kp-colonized germ-free mice and SPF mice, without off-target dysbiosis. Furthermore, we demonstrate that oral and intravenous phage administration successfully suppresses Kp levels and attenuates liver inflammation and disease severity in hepatobiliary injury-prone SPF mice. These results collectively suggest that using a lytic phage cocktail shows promise for targeting Kp in PSC.