During gestation, cells of the brain and gut develop almost simultaneously into the central nervous system (CNS) and enteric nervous system (ENS), respectively. They remain connected via the vagal nerve lifelong. While it is well known that the brain sends signal to the gut, communication is in fact bidirectional. Just as the brain can modulate gut functioning, the gut, and likely what we ingest, can in fact influence our brain functioning. We will first review both gastrointestinal (GI) function and migraine pathophysiology and then discuss evidence linking the migraine brain to various GI disorders. Lastly, we discuss the effects of gut microbiota on brain functioning and speculate how the gut and particularly diet may affect migraine.