The gut-brain axis is a bidirectional information interaction system between the central nervous system (CNS) and the gastrointestinal tract, in which gut microbiota plays a key role. The gut microbiota forms a complex network with the enteric nervous system, the autonomic nervous system, and the neuroendocrine and neuroimmunity of the CNS, which is called the microbiota-gut-brain axis. Due to the close anatomical and functional interaction of the gut-liver axis, the microbiota-gut-liver-brain axis has attracted increased attention in recent years. The microbiota-gut-liver-brain axis mediates the occurrence and development of many diseases, and it offers a direction for the research of disease treatment. In this review, we mainly discuss the role of the gut microbiota in the irritable bowel syndrome, inflammatory bowel disease, functional dyspepsia, non-alcoholic fatty liver disease, alcoholic liver disease, cirrhosis and hepatic encephalopathy via the gut-liver-brain axis, and the focus is to clarify the potential mechanisms and treatment of digestive diseases based on the further understanding of the microbiota-gut- liver-brain axis.