TL;DR: If you experience persistent brain fog, poor concentration, or mental fatigue alongside gastrointestinal symptoms, a structured elimination diet may help identify culprit foods. Celiac disease and non-celiac gluten sensitivity have the strongest evidence linking food to cognitive impairment, but dairy, eggs, soy, and artificial additives are also common triggers. Commercial IgG food sensitivity panels are not reliable diagnostic tools. The most evidence-based approach is a systematic elimination phase (2-4 weeks) followed by methodical, one-at-a-time reintroduction. Always rule out medical causes first.
Introduction
You have tried sleeping more, reducing stress, and cutting back on caffeine. You have had blood work done and everything comes back normal. Yet the brain fog persists — a thick cognitive haze that makes complex thinking feel effortful, dulls your memory, and leaves you mentally exhausted by mid-afternoon. And you have noticed something else: the fog seems worse on certain days, sometimes correlated with bloating, irregular digestion, or a general sense of malaise after eating.
This pattern — cognitive symptoms intertwined with gastrointestinal distress — is one of the most common presentations that leads people to consider whether specific foods might be the problem. The idea is not new. Hippocrates noted that certain foods caused adverse reactions in some people but not others. What is relatively new is the scientific framework for understanding why this happens and how to investigate it systematically.
Elimination diets are the gold standard for identifying individual food sensitivities when standard allergy testing (skin prick tests, serum IgE) comes back negative. They are not glamorous. They require patience, discipline, and careful record-keeping. But when done properly, they can provide clarity that no blood test currently available can match.
This article covers when elimination diets make sense for brain health, what the research says about specific food triggers, why popular IgG sensitivity tests are unreliable, and how to run an evidence-based elimination protocol.
When Elimination Diets Make Sense
An elimination diet is not appropriate for everyone, and it should not be the first intervention you try. It makes the most sense when several conditions overlap.
Persistent Cognitive Symptoms Without Clear Cause
If brain fog, difficulty concentrating, or mental fatigue has been present for weeks or months and standard medical workup — thyroid function, iron studies, B12, vitamin D, complete blood count, blood glucose — has not identified a cause, dietary triggers become a reasonable line of investigation.
Co-occurring Gastrointestinal Symptoms
The gut-brain axis means that digestive symptoms and cognitive symptoms frequently travel together. If your brain fog is accompanied by bloating, abdominal pain, irregular bowel habits, reflux, or nausea, the likelihood that a food component is involved increases substantially. Elli et al. (2015), in a study published in Nutrients, found that patients reporting both gastrointestinal and neurological symptoms were significantly more likely to show improvement on elimination diets than those with isolated symptoms.
Family History of Celiac Disease or Autoimmune Conditions
Celiac disease affects roughly 1% of the population, but the prevalence is much higher — approximately 10-15% — among first-degree relatives of diagnosed individuals. If you have a family member with celiac disease, Hashimoto’s thyroiditis, type 1 diabetes, or other autoimmune conditions, the probability that gluten or other food proteins are contributing to your symptoms is elevated.
Failed Response to General Dietary Improvements
If you have already adopted a broadly healthy dietary pattern — more whole foods, less ultra-processed food, adequate omega-3 intake, stable blood sugar (see our guide to blood sugar and brain function) — and cognitive symptoms persist, the next logical step is to investigate whether a specific food or food group is the problem, rather than the overall dietary pattern.
Celiac Disease and Non-Celiac Gluten Sensitivity
No discussion of elimination diets and brain health can avoid gluten, because it has the strongest evidence base linking a specific food protein to cognitive impairment.
Celiac Disease: The Neurological Dimension
Celiac disease is an autoimmune condition triggered by gluten — a protein found in wheat, barley, and rye — in genetically predisposed individuals. While it is classically associated with intestinal damage, neurological symptoms are far more common than many clinicians recognise.
Hadjivassiliou et al. (2010), in a landmark review published in The Lancet Neurology, argued that celiac disease should be considered a multi-system disorder with neurological manifestations as common as gastrointestinal ones. These include cerebellar ataxia, peripheral neuropathy, headaches, and — most relevant here — cognitive impairment. Patients frequently describe a “brain fog” that resolves on a strict gluten-free diet.
A study by Lichtwark et al. (2014) in Alimentary Pharmacology & Therapeutics directly measured cognitive function in newly diagnosed celiac patients and found significant deficits in attention, motor function, and information processing speed compared to healthy controls. After 12 weeks on a gluten-free diet, cognitive performance improved significantly and approached normal levels.
The mechanism involves both systemic inflammation triggered by the autoimmune response and direct antibody-mediated effects on neural tissue. Anti-transglutaminase antibodies, the hallmark of celiac disease, have been detected in brain tissue and may directly impair neuronal function (Hadjivassiliou et al., 2006).
Non-Celiac Gluten Sensitivity
More controversial — but increasingly supported by evidence — is the concept of non-celiac gluten sensitivity (NCGS). These are individuals who test negative for celiac disease (no villous atrophy on biopsy, no celiac-specific antibodies) but report reproducible symptoms when consuming gluten.
NCGS has been a contentious diagnosis, partly because of the difficulty in distinguishing gluten sensitivity from sensitivity to other wheat components, particularly fructans (a type of FODMAP). The work of Biesiekierski et al. (2013) initially challenged the NCGS concept by showing that symptoms attributed to gluten could instead be explained by FODMAPs. However, subsequent research, including a carefully controlled crossover trial by Di Sabatino et al. (2015) published in Clinical Gastroenterology and Hepatology, confirmed that a subset of patients does react specifically to gluten even when FODMAP intake is controlled.
Neurological symptoms, including brain fog and difficulty concentrating, are among the most commonly reported features of NCGS — reported by up to 40% of individuals in some cohorts (Volta et al., 2014). The mechanism may involve innate immune activation rather than the adaptive immune response seen in celiac disease. Uhde et al. (2016), in a study published in Gut, found that NCGS patients had elevated markers of intestinal permeability and systemic immune activation, suggesting that a compromised gut barrier allows food-derived antigens to trigger immune responses that affect the brain.
The IgG Food Sensitivity Test Controversy
Before discussing how to run an elimination diet, it is necessary to address the elephant in the room: commercial IgG food sensitivity panels.
These tests, offered by dozens of direct-to-consumer companies, claim to identify food sensitivities by measuring immunoglobulin G (IgG) antibodies against a panel of foods — often 100 or more items. They are heavily marketed, widely purchased, and can cost several hundred dollars. They are also, according to the overwhelming consensus of immunology and allergy organisations, unreliable as diagnostic tools for food sensitivities.
The fundamental problem is biological. IgG antibodies to food proteins are a normal part of immune function. Their presence indicates exposure to a food, not intolerance or sensitivity. Everyone who eats eggs regularly will have IgG antibodies to egg proteins. The European Academy of Allergy and Clinical Immunology (EAACI) issued a position statement in 2008 explicitly advising against the use of IgG4 testing for diagnosing food allergy or intolerance, calling it inappropriate and potentially leading to unnecessary dietary restrictions.
Carr et al. (2012), in the Canadian Medical Association Journal, reviewed the evidence and concluded that IgG food panels “lack a scientific basis” and that positive results do not correlate with symptoms or clinical outcomes. The American Academy of Allergy, Asthma and Immunology (AAAAI) has made similar statements.
This does not mean that food sensitivities are not real. It means that the current generation of blood-based panels cannot reliably identify them. The most valid method remains the one that is least commercially appealing: a structured elimination and reintroduction protocol, observed over time, with careful symptom tracking.
Evidence-Based Elimination Protocols
The Pelsser ADHD Few Foods Study
One of the most rigorous demonstrations of elimination diets for cognitive and behavioural symptoms comes from the work of Lidy Pelsser and colleagues in the Netherlands. In a 2011 randomised controlled trial published in The Lancet, Pelsser et al. tested a restricted elimination diet (the “Few Foods Diet”) in 100 children diagnosed with ADHD.
The Few Foods Diet limited participants to a small number of hypoallergenic foods — typically rice, turkey, pears, lettuce, and a few other items — for five weeks. The results were remarkable: 64% of children in the diet group showed a clinically significant reduction in ADHD symptoms, compared to no change in the control group. When eliminated foods were reintroduced in a double-blind challenge, symptoms returned in the majority of responders.
While this study focused on ADHD in children (see also ADHD and sugar for more on the diet-ADHD connection), its implications extend to the broader question of food-related cognitive symptoms. The Pelsser trial demonstrated three critical principles: first, that food can materially affect cognitive function and behaviour in susceptible individuals; second, that the responsible foods vary between individuals and cannot be predicted by standard allergy testing; and third, that a systematic elimination-reintroduction protocol can reliably identify the triggers.
A follow-up study by Pelsser et al. (2017) in The Lancet Psychiatry confirmed these findings and called for dietary investigation to be considered a standard part of ADHD assessment — a recommendation that remains underimplemented.
The Standard Elimination Protocol
The most widely recommended approach in clinical practice is a modified elimination diet that removes the most common trigger foods for a defined period, then reintroduces them systematically. This is less restrictive than the Few Foods approach and more practical for most adults.
The standard protocol removes the following food groups simultaneously for two to four weeks:
- Gluten-containing grains (wheat, barley, rye, spelt)
- Dairy (all cow’s milk products, including cheese, yoghurt, and butter)
- Eggs
- Soy (including soy sauce, tofu, edamame, and soy lecithin)
- Corn
- Artificial additives (synthetic colours, preservatives, MSG, artificial sweeteners)
Some protocols also remove nuts, shellfish, and nightshade vegetables, but this increases restriction without strong evidence of benefit for the majority of people.
Common Cognitive Triggers: What the Research Shows
Gluten
As discussed above, gluten has the most robust evidence linking it to cognitive symptoms. Both celiac disease and NCGS can produce brain fog, impaired concentration, and slowed information processing. Celiac screening (serum tTG-IgA antibody) should ideally be performed before starting a gluten-free trial, as the test becomes unreliable once gluten has been removed from the diet.
Dairy
Cow’s milk contains two primary proteins — casein and whey — either of which can trigger adverse reactions. Casein in particular has been the subject of research in neurological and psychiatric contexts. Severance et al. (2010), in a study in Schizophrenia Research, found elevated antibodies to casein in patients with schizophrenia and reported associations between casein antibody levels and cognitive impairment.
In the broader population, dairy intolerance (often but not always related to lactose malabsorption) is common and underdiagnosed. The cognitive effects are likely mediated through gut inflammation and increased intestinal permeability rather than a direct neurotoxic mechanism.
Eggs
Eggs are one of the most common IgE-mediated food allergens in children, but non-IgE-mediated egg sensitivity in adults is less well-studied. The Pelsser ADHD studies identified eggs as one of the most frequently implicated trigger foods in individual reintroduction challenges. Clinicians specialising in food sensitivities report that egg removal sometimes resolves otherwise unexplained cognitive symptoms, though controlled data in adults is limited.
Food Additives
Artificial food colours, preservatives (particularly sodium benzoate), and the flavour enhancer monosodium glutamate (MSG) have been studied for their effects on behaviour and cognition, primarily in children. The Southampton study (McCann et al., 2007), published in The Lancet, demonstrated that a mixture of artificial colours and sodium benzoate increased hyperactive behaviour in a general population sample of children — not just those with ADHD.
Artificial sweeteners, particularly aspartame, have been the subject of longstanding debate. While regulatory agencies maintain that aspartame is safe at approved doses, some individuals report cognitive symptoms — headaches, difficulty concentrating, mental cloudiness — that resolve on removal. A study by Lindseth et al. (2014) found that high-aspartame diets were associated with more irritable mood, depression, and poorer spatial orientation compared to low-aspartame diets in healthy adults.
How Gut Permeability Relates to Food Reactions
Understanding why certain foods trigger cognitive symptoms in some people but not others requires examining the gut barrier.
The intestinal lining is a single-cell-thick barrier that must accomplish two contradictory tasks: absorb nutrients efficiently while preventing larger molecules — including incompletely digested food proteins, bacterial toxins, and other antigens — from entering the bloodstream. This selectivity is maintained by tight junction proteins that seal the gaps between intestinal cells.
When tight junctions become compromised — a state often called “increased intestinal permeability” or colloquially “leaky gut” — larger molecules can pass through the barrier and encounter the immune system in the underlying tissue. This can trigger inflammatory responses that extend well beyond the gut, including to the brain.
Fasano (2012), in a review published in Clinical Reviews in Allergy and Immunology, described the protein zonulin as a key regulator of intestinal permeability. Gluten is one of the known triggers of zonulin release, which is why gluten sensitivity and increased intestinal permeability frequently co-occur. Other factors that increase permeability include chronic stress, excessive alcohol consumption, NSAID use, dysbiosis, and diets high in ultra-processed food.
The relevance to food-related cognitive symptoms is direct: when the gut barrier is compromised, food proteins that would normally be contained within the intestinal lumen gain access to the systemic circulation. The resulting immune activation can produce inflammatory mediators — cytokines, chemokines — that cross the blood-brain barrier and impair neuronal function. This is the mechanistic link between eating a specific food and experiencing brain fog hours later.
Importantly, this means that fixing the gut barrier may be as important as identifying trigger foods. An elimination diet addresses the immediate triggers, but long-term resolution often requires restoring gut barrier integrity through reduced inflammatory dietary load, adequate fibre and fermented food intake, stress management, and in some cases targeted supplementation with nutrients like zinc, L-glutamine, and vitamin D that support epithelial repair.
A Step-by-Step Elimination Protocol for Cognitive Symptoms
The following protocol is designed for adults experiencing persistent brain fog or cognitive symptoms with suspected dietary involvement. It is not a substitute for medical evaluation — rule out thyroid disease, sleep disorders, anaemia, celiac disease, and other medical conditions first.
Phase 1: Preparation (1 Week)
Before eliminating anything, establish a baseline. For seven days, keep a detailed food and symptom diary. Record everything you eat and drink, along with timestamps and any cognitive or physical symptoms — brain fog, fatigue, headache, bloating, joint pain, skin issues. Rate your cognitive clarity on a simple 1-10 scale three times per day (morning, midday, evening).
This baseline serves two purposes: it provides a reference point for comparison, and it may reveal patterns you had not previously noticed.
Use this week to plan your elimination phase meals, shop for alternatives, and clear your kitchen of foods you will be removing. Preparation reduces the likelihood of accidental exposure and impulsive deviation.
Phase 2: Elimination (2-4 Weeks)
Remove all of the following simultaneously:
- All gluten-containing grains (wheat, barley, rye, spelt, and products made from them)
- All dairy (milk, cheese, yoghurt, butter, cream, whey protein)
- Eggs
- Soy (check labels — soy lecithin is in many processed foods)
- Corn
- Artificial colours, flavours, preservatives, and sweeteners
Continue your food and symptom diary throughout. Most people who are going to respond will notice improvement within 10-14 days, though some require the full four weeks.
What to eat: Focus on rice, potatoes, sweet potatoes, all vegetables (except corn), all fruits, legumes (except soy), nuts and seeds, olive oil, unprocessed meats, and fish. Season with herbs, spices, salt, and pepper. This is not a low-calorie diet — eat enough to maintain your energy.
If you notice no improvement after four full weeks of strict elimination, food sensitivity is unlikely to be the primary driver of your symptoms, and further dietary restriction is not warranted.
Phase 3: Reintroduction (4-8 Weeks)
This is the most important phase and the one most people rush or skip. Reintroduce one food group at a time, in isolation, over a three-day challenge period.
Day 1: Consume one serving of the test food in the morning and one in the evening.
Day 2: Consume the test food with each meal (three servings).
Day 3: Continue to eat the test food freely.
Days 4-5: Remove the test food and observe. Some reactions are delayed by 24-48 hours.
If no symptoms return during the five-day window, the food is likely safe for you. Move on to the next food group. If symptoms return, remove the food and wait until symptoms fully resolve (usually 3-5 days) before testing the next item.
Suggested reintroduction order (starting with the most commonly tolerated and ending with the most commonly problematic):
- Rice (if not already in your baseline diet)
- Eggs
- Soy
- Corn
- Dairy (start with butter, then hard cheese, then yoghurt, then milk)
- Gluten-containing grains (start with a pure wheat product like bread)
Record all observations in your diary. A reaction during reintroduction that was absent during elimination is the strongest evidence you can get outside a clinical double-blind food challenge.
Phase 4: Personalisation (Ongoing)
Based on your reintroduction results, construct a long-term dietary pattern that excludes confirmed triggers and includes everything else. Periodically — every six to twelve months — you may wish to re-challenge excluded foods, as sensitivities can change over time, particularly if underlying gut permeability has been addressed.
When to See a Doctor
An elimination diet is a self-guided diagnostic tool, but there are clear situations where professional guidance is essential.
- Before starting, if you have a history of disordered eating. Elimination diets require food restriction, and in individuals with anorexia, orthorexia, or other eating disorders, this can trigger relapse. Work with a clinician who understands both food sensitivities and eating disorder risk.
- If you suspect celiac disease, get tested before removing gluten. Celiac serology requires active gluten consumption to be accurate. Once you go gluten-free, the antibodies may disappear, making subsequent diagnosis difficult.
- If symptoms are severe or worsening, including significant weight loss, bloody stool, progressive neurological symptoms, or severe fatigue. These may indicate inflammatory bowel disease, autoimmune conditions, or other pathology that requires medical investigation.
- If elimination does not resolve symptoms after a full four-week trial. Persistent brain fog with negative dietary investigation warrants further workup, potentially including hormonal assessment, sleep study, or neuropsychological evaluation.
- If you are pregnant, breastfeeding, or managing a chronic medical condition, undertake elimination diets only under the supervision of a dietitian or physician to ensure nutritional adequacy.
Practical Takeaway
- Rule out medical causes first. Get screened for celiac disease, thyroid dysfunction, iron deficiency, B12 deficiency, and vitamin D insufficiency before embarking on an elimination diet.
- Do not rely on IgG food sensitivity panels. They measure normal immune exposure, not pathological sensitivity. Major immunology organisations advise against their use for this purpose.
- Keep a detailed food and symptom diary for at least one week before beginning elimination. This baseline is essential for meaningful comparison.
- Remove common triggers simultaneously for two to four weeks. Gluten, dairy, eggs, soy, corn, and artificial additives are the most evidence-based starting points.
- Reintroduce one food at a time over a three-to-five-day challenge window, with careful symptom monitoring. Do not rush this phase.
- Address gut barrier health in parallel. Eating fermented foods, prebiotic fibre, and anti-inflammatory foods (omega-3 fatty acids, polyphenols) supports intestinal barrier repair and may reduce the severity and number of food sensitivities over time.
- Revisit excluded foods periodically. Food sensitivities can evolve, especially once gut permeability has been restored. Re-challenge every six to twelve months.
- Seek professional guidance if you have a history of disordered eating, if symptoms are severe, or if dietary changes do not produce improvement.
Frequently Asked Questions
How is a food sensitivity different from a food allergy?
A food allergy involves an IgE-mediated immune response — the same mechanism behind anaphylaxis. It is typically rapid (minutes to hours), can be life-threatening, and is reliably detected by skin prick tests or serum IgE panels. A food sensitivity, by contrast, involves non-IgE immune mechanisms or other pathways (such as enzyme deficiency in the case of lactose intolerance). Reactions are usually delayed (hours to days), less severe but more chronic, and cannot be reliably detected by standard allergy testing. This is precisely why elimination diets remain the primary diagnostic tool.
Can children do elimination diets safely?
Yes, but with important caveats. Children have higher nutritional requirements relative to body weight, and restrictive diets can compromise growth if not carefully managed. The Pelsser ADHD studies demonstrated that elimination diets can be both safe and effective in children when supervised by a qualified dietitian. Parental involvement and professional oversight are essential. Never put a child on a highly restrictive diet without medical guidance.
Will I need to avoid trigger foods permanently?
Not necessarily. Some food sensitivities are temporary, driven by a period of gut barrier compromise from illness, stress, medication, or dietary imbalance. Once gut health is restored, previously problematic foods may be tolerated again. Celiac disease is a notable exception — it requires lifelong strict gluten avoidance. For other sensitivities, periodic re-challenging is the best way to determine whether permanent avoidance is necessary.
How do I eat enough during the elimination phase?
The elimination phase is restrictive but not low-calorie. Build meals around rice, potatoes, sweet potatoes, all vegetables (except corn), fruits, legumes, nuts, seeds, olive oil, unprocessed meats, and fish. Many cuisines — Thai, Indian, Japanese — naturally accommodate these restrictions with minimal adaptation. Planning meals in advance and batch cooking are practical strategies that reduce decision fatigue and prevent unintended exposure.
What if my brain fog improves but I react to multiple foods on reintroduction?
Reacting to many foods during reintroduction suggests that the underlying issue may be gut barrier integrity rather than sensitivity to specific food proteins. When the intestinal barrier is compromised, many food components can trigger immune responses. In this case, focus on gut repair — fermented foods, prebiotic fibre, anti-inflammatory nutrients, stress reduction — and re-test after three to six months. Consider working with a functional medicine practitioner or gastroenterologist who is familiar with intestinal permeability.
Sources
- Biesiekierski, J. R., Peters, S. L., Newnham, E. D., et al. (2013). No effects of gluten in patients with self-reported non-celiac gluten sensitivity after dietary reduction of fermentable, poorly absorbed, short-chain carbohydrates. Gastroenterology, 145(2), 320-328.
- Carr, S., Chan, E., Lavine, E., & Moote, W. (2012). CSACI position statement on the testing of food-specific IgG. Allergy, Asthma & Clinical Immunology, 8(1), 12.
- Di Sabatino, A., Volta, U., Salvatore, C., et al. (2015). Small amounts of gluten in subjects with suspected nonceliac gluten sensitivity: a randomized, double-blind, placebo-controlled, cross-over trial. Clinical Gastroenterology and Hepatology, 13(9), 1604-1612.
- Elli, L., Branchi, F., Tomba, C., et al. (2015). Diagnosis of gluten related disorders: celiac disease, wheat allergy and non-celiac gluten sensitivity. World Journal of Gastroenterology, 21(23), 7110-7119.
- Fasano, A. (2012). Zonulin, regulation of tight junctions, and autoimmune diseases. Annals of the New York Academy of Sciences, 1258(1), 25-33.
- Hadjivassiliou, M., Grunewald, R. A., & Davies-Jones, G. A. B. (2006). Gluten sensitivity as a neurological illness. Journal of Neurology, Neurosurgery & Psychiatry, 72(5), 560-563.
- Hadjivassiliou, M., Sanders, D. S., Grunewald, R. A., et al. (2010). Gluten sensitivity: from gut to brain. The Lancet Neurology, 9(3), 318-330.
- Lichtwark, I. T., Newnham, E. D., Robinson, S. R., et al. (2014). Cognitive impairment in coeliac disease improves on a gluten-free diet and correlates with histological and serological indices of disease severity. Alimentary Pharmacology & Therapeutics, 40(2), 160-170.
- Lindseth, G. N., Coolahan, S. E., Petros, T. V., & Lindseth, P. D. (2014). Neurobehavioral effects of aspartame consumption. Research in Nursing & Health, 37(3), 185-193.
- McCann, D., Barrett, A., Cooper, A., et al. (2007). Food additives and hyperactive behaviour in 3-year-old and 8/9-year-old children in the community: a randomised, double-blinded, placebo-controlled trial. The Lancet, 370(9598), 1560-1567.
- Pelsser, L. M., Frankena, K., Toorman, J., et al. (2011). Effects of a restricted elimination diet on the behaviour of children with attention-deficit hyperactivity disorder (INCA study): a randomised controlled trial. The Lancet, 377(9764), 494-503.
- Pelsser, L. M., Frankena, K., Toorman, J., & Rodrigues Pereira, R. (2017). Diet and ADHD, reviewing the evidence: a systematic review of meta-analyses of double-blind placebo-controlled trials evaluating the efficacy of diet interventions on the behavior of children with ADHD. PLoS ONE, 12(1), e0169277.
- Severance, E. G., Dickerson, F. B., Halling, M., et al. (2010). Subunit and whole molecule specificity of the anti-bovine casein immune response in recent onset psychosis and schizophrenia. Schizophrenia Research, 118(1-3), 240-247.
- Uhde, M., Ajamian, M., Caio, G., et al. (2016). Intestinal cell damage and systemic immune activation in individuals reporting sensitivity to wheat in the absence of coeliac disease. Gut, 65(12), 1930-1937.
- Volta, U., Bardella, M. T., Calabro, A., et al. (2014). An Italian prospective multicenter survey on patients suspected of having non-celiac gluten sensitivity. BMC Medicine, 12, 85.