Inflammatory bowel diseases (IBD) are represented by ulcerative colitis (UC) and Crohn's disease (CD), both of which involve chronic intestinal inflammation. Recent evidence has indicated that gut immunological homeostasis is maintained by the interaction between host immunity and intestinal microbiota. A variety of innate immune cells promote or suppress T cell differentiation and activation in response to intestinal bacteria or their metabolites. Some commensal bacteria species or bacterial metabolites enhance or repress host immunity by inducing T helper (Th) 17 cells or regulatory T cells. Intestinal epithelial cells between host immune cells and intestinal microbiota contribute to the separation of these populations and modulate host immune responses to intestinal microbiota. Therefore, the imbalance between host immunity and intestinal microbiota caused by host genetic predisposition or abnormal environmental factors promote susceptibility to intestinal inflammation.