The presence of advanced fibrosis is an important measure of the severity of chronic liver disease. Prior works that have examined the gut microbiome as a novel biomarker for advanced fibrosis have only examined patients with nonalcoholic fatty liver disease. Therefore, our goal was to examine the gut microbiome across varying etiologies of liver disease to create a predictive model for liver fibrosis based upon a microbial signature. Stool samples were obtained from patients with chronic liver disease (n = 50) undergoing FibroScan (ultrasound elastography) at the VA Greater Los Angeles Healthcare System. Healthy control patients (n = 25) were also recruited as a reference population. Fecal samples underwent 16S ribosomal RNA sequencing. Using differentially abundant microbes, a random forest classifier model was created to distinguish advanced fibrosis from mild/moderate fibrosis. The findings were then validated in a separate cohort of chronic liver disease patients (n = 37). Etiologies for liver disease included non-alcoholic liver disease (58.0%), hepatitis C (26.0%), hepatitis B (10.0%), and alcohol (6.0%). Microbiome composition was distinct in liver patients with advanced fibrosis compared to those with minimal fibrosis and healthy controls (p = 0.003). In multivariate negative binomial modeling, 26 bacterial taxa were differentially abundant in patients with advanced fibrosis as compared to those with minimal/moderate fibrosis (q-value < 0.05). A random forests classifier based on these taxa had an AUROC of 0.90 to predict advanced fibrosis. Prevotella copri, which was enriched in patients with advanced fibrosis, was the most strongly predictive microbe in the classifier. The classifier had an AUROC of 0.82 for advanced fibrosis in the validation cohort and Prevotella copri remained the strongest predictive microbe for advanced fibrosis. There is a distinct microbial signature for patients with advanced fibrosis independent of liver disease etiology and other comorbidities. These results suggest that microbial profiles can be used as a non-invasive marker for advanced fibrosis and support the hypothesis that microbes and their metabolites contribute to hepatic fibrosis.