The ability to manipulate brain function through the communication between the microorganisms in the gastrointestinal tract and the brain along the gut-brain axis has emerged as a potential option to improve cognitive and emotional health. Dietary composition and patterns have demonstrated a robust capacity to modulate the microbiota-gut-brain axis. With their potential to possess pre-, pro-, post-, and synbiotic properties, dietary fibre and fermented foods stand out as potent shapers of the gut microbiota and subsequent signalling to the brain. Despite this potential, few studies have directly examined the mechanisms that might explain the beneficial action of dietary fibre and fermented foods on the microbiota-gut-brain axis, thus limiting insight and treatments for brain dysfunction. Herein, we evaluate the differential effects of dietary fibre and fermented foods from whole food sources on cognitive and emotional functioning. Potential mediating effects of dietary fibre and fermented foods on brain health via the microbiota-gut-brain axis are described. Although more multimodal research that combines psychological assessments and biological sampling to compare each food type is needed, the evidence accumulated to date suggests that dietary fibre, fermented foods, and/or their combination within a psychobiotic diet can be a cost-effective and convenient approach to improve cognitive and emotional functioning across the lifespan.