Alteration of microbiota has been associated with intestinal, inflammatory, and neurological diseases. Abundance of “good bacteria” such as Bifidobacterium, or their products have been generally believed to be beneficial for any diseases, while “bad bacteria” such as pathogenic Helicobacter pylori are assumed to be always detrimental for hosts. However, this is not the case when we compare and contrast the association of the gut microbiota with two neurological diseases, multiple sclerosis (MS) and Alzheimer’s disease (AD). Following H. pylori infection, pro-inflammatory T helper (Th)1 and Th17 immune response are initially induced to eradicate bacteria. However, H. pylori evades the host immune response by inducing Th2 cells and regulatory T cells (Tregs) that produce anti-inflammatory interleukin (IL)-10. Suppression of anti-bacterial Th1/Th17 cells by Tregs may enhance gastric H. pylori propagation, followed by a cascade reaction involving vitamin B12 and folic acid malabsorption, plasma homocysteine elevation, and reactive oxygen species induction. This can damage the blood-brain barrier (BBB), leading to accumulation of amyloid-β in the brain, a hallmark of AD. On the other hand, this suppression of pro-inflammatory Th1/Th17 responses to H. pylori has protective effects on the hosts, since it prevents uncontrolled gastritis as well as suppresses the induction of encephalitogenic Th1/Th17 cells, which can mediate neuroinflammation in MS. The above scenario may explain why chronic H. pylori infection is positively associated with AD, while it is negatively associated with MS. Lastly, we list “10 pitfalls of microbiota studies”, which will be useful for evaluating and designing clinical and experimental microbiota studies.