In recent years,gut microecology has attracted increasing attention because of its close relationship with the development and progression of various liver diseases and associated complications. The impairment of liver function can disturb gut microecology,whereas the imbalance in gut microecology in turn promotes the aggravation of liver diseases. This paper reviews the relationship between gut microecology and various liver diseases,and discusses the role of modulating gut microecology in the treatment of liver diseases. A new idea is provided for the prevention and treatment of liver diseases based on the modulation of gut microecology.