Inflammatory bowel diseases (IBDs) are a group of chronic diseases characterized by recurring periods of exacerbation and remission. Fibrosis of the intestine is one of the most common complications of IBD. Based on current analyses, it is evident that genetic factors and mechanisms, as well as epigenetic factors, play a role in the induction and progression of intestinal fibrosis in IBD. Key genetic factors and mechanisms that appear to be significant include NOD2, TGF-β, TLRs, Il23R, and ATG16L1. Deoxyribonucleic acid (DNA) methylation, histone modification, and ribonucleic acid (RNA) interference are the primary epigenetic mechanisms. Genetic and epigenetic mechanisms, which seem to be important in the pathophysiology and progression of IBD, may potentially be used in targeted therapy in the future. Therefore, the aim of this study was to gather and discuss selected mechanisms and genetic factors, as well as epigenetic factors.