Peanut Oral Immunotherapy (POIT) holds promise for remission of peanut allergy, though treatment is protracted and successful in only a subset of patients. Because the gut microbiome is linked to food allergy, we sought to identify fecal microbial predictors of POIT efficacy and to develop mechanistic insights into treatment response. Longitudinal functional analysis of the fecal microbiome of children (n=79) undergoing POIT in a first double-blind, placebo-controlled clinical trial, identified five microbial-derived bile acids enriched in fecal samples prior to POIT initiation that predicted treatment efficacy (AUC 0.71). Failure to induce disease remission was associated with a distinct fecal microbiome with enhanced capacity for bile acid deconjugation, amino acid metabolism, and increased peanut peptide degradationin vitro. Thus, microbiome mechanisms of POIT failure appear to include depletion of immunomodulatory secondary bile and amino acids and the antigenic peanut peptides necessary to promote peanut allergy desensitization and remission.