BackgroundHIV-1 infection and physiological aging are independently linked to elevated systemic inflammation and changes in enteric microbial communities (dysbiosis). However, knowledge of the direct effect of HIV infection on the aging microbiome and potential links to systemic inflammation is lacking.MethodsIn a cross-sectional study of older people living with HIV (PLWH) (median age 61.5 years, N = 14) and uninfected controls (median 58 years, n = 22) we compared stool microbiota, levels of microbial metabolites (short-chain fatty acid levels, SCFA) and systemic inflammatory biomarkers by HIV serostatus and age.FindingsHIV and age were independently associated with distinct changes in the stool microbiome. For example, abundances of Enterobacter and Paraprevotella were higher and Eggerthella and Roseburia lower among PLWH compared to uninfected controls. Age-related microbiome changes also differed by HIV serostatus. Some bacteria with inflammatory potential (e.g. Escherichia) increased with age among PLWH, but not controls. Stool SCFA levels were similar between the two groups yet patterns of associations between individual microbial taxa and SCFA levels differed. Abundance of various genera including Escherichia and Bifidobacterium positively associated with inflammatory biomarkers (e.g. soluble Tumor Necrosis Factor Receptors) among PLWH, but not among controls.InterpretationThe age effect on the gut microbiome and associations between microbiota and microbial metabolites or systemic inflammation differed based on HIV serostatus, raising important implications for the impact of therapeutic interventions, dependent on HIV serostatus or age.