This study identifies that faecal microRNA hsa-miR-7704 is enriched in patients with hepatic encephalopathy (HE) and exacerbates HE in a mouse model by specifically entering Bifidobacterium longum, suppressing the proB gene, and reducing bacterial growth and adhesion. The resulting decrease in acetate production leads to microglial activation and hyperammonemia, worsening neuroinflammation and brain edema. These findings reveal a novel miRNA-mediated mechanism linking gut microbiota to HE progression, suggesting potential therapeutic targets.