The relevance of the study of various aspects of inflammatory bowel diseases (IBD) (ulcerative colitis and Crohn’s disease) is due to their high prevalence, insufficient understanding of etiopathogenesis, severe course with complications, and the frequent need for surgical intervention. According to the current views, genetically predisposed people with intestinal microflora disorders under the influence of environmental factors develop a chronic inflammatory process in one or the other part of their gastrointestinal tract. Among the environmental factors associated with IBD, diet plays an essential role in the adjustment of the intestinal microbiome; therefore, a specific diet can have a therapeutic effect and be the basis for preventing these disorders. Objective of the review. To review the literature data on the role of various diets in IBD. Material and methods. The literature data on the effectiveness of various diets in IBD were analyzed. PubMed, eLIBRARY, and ResearchGate portals were used to search for information. Results and discussion. Improper nutrition can be a trigger factor for the initiation and maintenance of inflammation in IBD. Numerous diets for patients with these conditions are proposed, which, with specific nutrients, affect the intestinal microbiota and immune system and reduce intestinal permeability, thereby providing an anti-inflammatory effect. According to the latest data, the excess of calories and some macronutrients typical for the Western dietary model increases and supports inflammation in the intestine. In contrast, some trace elements typical for the Mediterranean diet have an anti-inflammatory effect, contributing to remission. Conclusion. This review shows the vital role of a diet in patients with IBD, highlights the advantages and disadvantages of diets used for ulcerative colitis and Crohn’s disease, and shows the special role of the Mediterranean diet in their prevention and treatment.