The gut-liver axis has been recognized as a potential pathway in which dietary factors may contribute to liver disease in people living with HIV (PLWH). The objective of this study was to explore associations between dietary quality, the fecal microbiome, the metabolome, and liver health in PLWH from the Miami Adult Studies on HIV (MASH) cohort. We performed a cross-sectional analysis of 50 PLWH from the MASH cohort and utilized the USDA Healthy Eating Index (HEI)-2015 to measure diet quality. A Fibrosis-4 Index (FIB-4) score < 1.45 was used as a strong indication that advanced liver fibrosis was not present. Stool samples and fasting blood plasma samples were collected. Bacterial composition was characterized using 16S rRNA sequencing. Metabolomics in plasma were determined using gas and liquid chromatography/mass spectrometry. Statistical analyses included biomarker identification using linear discriminant analysis effect size. Compared to participants with FIB-4 ≥ 1.45, participants with FIB-4 < 1.45 had higher intake of dairy (p = 0.006). Fibrosis-4 Index score was inversely correlated with seafood and plant protein HEI component score (r = -0.320, p = 0.022). The relative abundances of butyrate-producing taxa Ruminococcaceae, Roseburia, and Lachnospiraceae were higher in participants with FIB-4 < 1.45. Participants with FIB-4 < 1.45 also had higher levels of caffeine (p = 0.045) and related metabolites such as trigonelline (p = 0.008) and 1-methylurate (p = 0.023). Dietary components appear to be associated with the fecal microbiome and metabolome, and liver health in PLWH. Future studies should investigate whether targeting specific dietary components may reduce liver-related morbidity and mortality in PLWH.