Intestinal immunity is finely regulated by several concomitant and overlapping mechanisms, in order to efficiently sense external stimuli and mount an adequate response of either tolerance or defense. In this context, a complex interplay between immune and nonimmune cells is responsible for the maintenance of normal homeostasis. However, in certain conditions, the disruption of such an intricate network may result in intestinal inflammation, including inflammatory bowel disease (IBD). IBD is believed to result from a combination of genetic and environmental factors acting in concert with an inappropriate immune response, which in turn interacts with nonimmune cells, including nervous system components. Currently, evidence shows that the interaction between the immune and the nervous system is bidirectional and plays a critical role in the regulation of intestinal inflammation. Recently, the maintenance of intestinal homeostasis has been shown to be under the reciprocal control of the microbiota by immune mechanisms, whereas intestinal microorganisms can modulate mucosal immunity. Therefore, in addition to presenting the mechanisms underlying the interaction between immune and nervous systems in the gut, here we discuss the role of the microbiota also in the regulation of neuroimmune crosstalk involved in intestinal homeostasis and inflammation, with potential implications to IBD pathogenesis