Best and Worst Foods for OCD

Updated: Aug 31

The Best and Worst Foods for OCD
Have you tried every therapy and medication, but your OCD still runs the show? You’re not crazy, and you’re not alone. The missing piece might be on your plate.
Living with obsessive-compulsive disorder (OCD) can feel like an unending battle with intrusive thoughts, rituals, and anxiety. If you have OCD, you know how easily it interrupts daily life. Maybe you have also experienced OCD imprisoning you in your own home or locking you in your mind.
I know this nightmare well because I have OCD. In fact, my personal OCD struggles led me to search for alternative treatments to OCD because traditional OCD treatments didn't work for me. After many attempts at therapy and rounds of doctor visits, I felt like a failure. But deep down, I knew there had to be other solutions that would work.
So I harnessed the power of my over-analytical OCD to study the latest evidence-based research from trusted, top-tier institutions. I learned that traditional medicine treats the symptoms of most health issues, and rarely addresses the root cause. Fixing the root cause is where true healing happens.
It turns out that I didn't fail traditional treatment, but traditional treatment failed me.
If medications, like SSRIs and anti-depressants, or psychotherapeutic tools, like CBT and ERP, haven't worked for you, that's because they're only focusing on OCD symptoms. You can't fix a nutrient deficiency with an SSRI. And no amount of psychotherapy will talk you out of a gut health issue.
That's where functional medicine comes in: Functional medicine treats the underlying root causes of your OCD. Like any weed, once you remove the root, the weed struggles to survive.
That's why I became a functional medicine practitioner and psychotherapist because I'm passionate about teaching others how to achieve the same success that I had by connecting the DOTS and addressing the root causes.
The reason I discuss the best and worst foods for OCD in this blog post is because a diet low in key nutrients is one of the many root causes of OCD. I personally have experienced a difference in my OCD after changing my diet. I learned very quickly that food matters.
In fact, research on the gut-brain axis shows that your digestive system and brain are in constant communication. Food either helps or hinders this cross-talk. Food doesn’t just fuel your body; food directly impacts your brain, mood, and behavior. Let's address one root cause of OCD by exploring how food affects mental health and discussing which are the best and worst foods for OCD.
Want help discovering your root cause and connecting the DOTS? Take the DOTS Method™ Quiz.
The Best Foods for OCD
1. Fermented Foods: Sauerkraut, Kimchi, Yogurt, Kefir
Fermented foods are packed with probiotics, beneficial bacteria that support a healthy gut microbiome. Since 90% of your body's serotonin — the neurotransmitter responsible for mood regulation — is produced in the gut, maintaining a balanced microbiome is critical. A healthy gut can promote emotional well-being, reduce anxiety, and even improve OCD symptoms.
Best Sources: Yogurt with live cultures, kefir, sauerkraut, kimchi, miso, kombucha.
Why It Matters: A diverse and thriving gut microbiota supports optimal neurotransmitter production, leading to better mood and emotional stability.
Pro Tip: Incorporate a variety of fermented foods into your daily diet to support a diverse gut microbiome. Also, take a broad-spectrum probiotic to boost your intake. See my blog post Confused About Probiotics to help you determine which probiotics are right for you.
2. Omega-3 Rich Foods: Fatty Fish, Flaxseeds, Walnuts
Omega-3 fatty acids, found in foods like salmon, mackerel, and chia seeds, are powerhouse nutrients and potent anti-inflammatories. They play a key role in regulating neurotransmitters such as serotonin and dopamine, which are often dysregulated in people with OCD. Omega-3s can also reduce inflammation in the brain, which is increasingly recognized as a contributor to mental health conditions.
Best Sources: Salmon, mackerel, sardines, flaxseeds, chia seeds, walnuts.
Why It Matters: Reducing inflammation and supporting healthy brain function can significantly improve mood and reduce the intensity of OCD symptoms.
Pro Tip: Aim for at least two servings of fatty fish per week, or consider an omega-3 supplement if you’re not a fan of fish. If taking a supplement, consider taking 2-3 grams per day & make sure it's a high-quality product from a third-party tested manufacturer.
3. Complex Carbohydrates: Quinoa, Brown Rice, Sweet Potatoes
Complex carbohydrates help maintain steady blood sugar levels, which in turn help stabilize mood. Blood sugar fluctuations can lead to irritability, anxiety, and increased compulsions in people with OCD. They also promote the production of serotonin, the "feel-good" neurotransmitter often imbalanced in OCD. Opt for whole grains and starchy vegetables that digest slowly and keep your energy levels even throughout the day.
Best Sources: Whole grains like brown rice, quinoa, oats, sweet potatoes, legumes.
Why It Matters: Stable blood sugar equals stable mood, which can ease compulsive behaviors and anxious thoughts.
Pro Tip: Swap out refined carbs (white foods) for whole grains to keep your blood sugar stable and your mind at ease.
4. Magnesium-Rich Foods: Leafy Greens, Nuts, Seeds
Magnesium is often referred to as nature’s "anti-stress mineral" because of its calming effects on the nervous system. It’s a key mineral for reducing stress and anxiety, making it particularly beneficial for those managing OCD symptoms. Found in leafy greens as well as nuts and seeds, magnesium can reduce anxiety and promote relaxation.
Best Sources: Leafy greens (spinach, kale), nuts and seeds (almonds, pumpkin seeds), bananas, avocados, dark chocolate.
Why It Matters: Lowering anxiety is crucial for individuals with OCD, as anxiety often exacerbates compulsions.
Pro Tip: Dark chocolate not only satisfies your chocolate craving but also provides a magnesium boost. Be sure to opt for varieties with at least 70% cocoa and limit yourself to one serving per day. Make sure to buy chocolate from third-party tested sources because chocolate can contain toxic heavy metals, like lead.
5. Tryptophan-Rich Foods: Turkey, Eggs, Salmon, Nuts
Tryptophan is an amino acid that acts as a precursor to serotonin, helping your brain produce more of this feel-good neurotransmitter. Serotonin imbalances are common in those with OCD, and increasing your intake of tryptophan-rich foods can support serotonin production and improve mood.
Best Sources: Turkey, chicken, eggs, cheese, nuts, seeds, tofu.
Why It Matters: Boosting serotonin naturally through diet can complement other treatments for OCD, promoting emotional balance.
Pro Tip: Pair tryptophan-rich foods with complex carbs to enhance their absorption and effectiveness.
6. Antioxidant-Rich Foods: Berries, Green Tea, Dark Chocolate
Oxidative stress can exacerbate mental health issues, including OCD. Antioxidants help combat oxidative stress by neutralizing harmful free radicals in the body, protecting brain health and promoting overall well-being. Foods high in antioxidants, like polyphenols, combat oxidative stress and reduce inflammation in the brain. Polyphenols also support a healthy gut microbiome, further enhancing gut-brain communication.
Best Sources: Berries (blueberries, strawberries), leafy greens, dark chocolate, green tea, nuts.
Why It Matters: A diet rich in antioxidants can protect the brain from stress and inflammation, both of which contribute to mental health disorders like OCD.
Pro Tip: Start your day with a smoothie packed with berries and leafy greens for a powerful antioxidant punch. Get my favorite smoothie recipe for OCD.
If you feel like you're already eating all the right things but your OCD still flares, do not worry. There are many other root causes to investigate, and I'm confident we can discover yours. Your next best step is to take the DOTS Method™ Quiz and connect the DOTS to better health.
The Worst Foods for OCD
1. Refined Sugars and Processed Foods: Candy, Soda, Pastries
Sugar can cause spikes and crashes in blood sugar, leading to mood swings, increased anxiety, and worsening of compulsive behaviors. High sugar intake promotes inflammation, both in the gut and brain, which disrupts the delicate gut-brain axis. Processed foods are often loaded with hidden sugar (not to mention unhealthy fats and artificial additives) that feed harmful gut bacteria, leading to dysbiosis and further impairing the gut-brain axis. In other words, sugar makes OCD worse.
Examples: Candy, soda, pastries, fast food, packaged snacks, high-energy drinks, processed food
Why It Matters: Keeping blood sugar stable is key for reducing mood swings and anxiety, both of which can trigger OCD symptoms.
Pro Tip: If just reading about reducing your sugar intake gives you anxiety, you might have a sugar addiction. Sugar addiction is common in people with OCD. In fact, it's one sign you might have a fungal overgrowth in your gut, and your gut health is compromised. Sugar addiction is real. In fact, research has shown that sugar is more addictive than cocaine in studies with mice. I'm confident that you that you can overcome your sugar addiction — you just need to treat root cause.
2. Gluten (for some people)
Not everyone with OCD is sensitive to gluten, but some individuals experience a reduction in symptoms when they eliminate it. Gluten can trigger inflammation in the gut and brain for those with sensitivities, contributing to heightened anxiety and compulsions. A growing body of research suggests a connection between gluten sensitivity and mental health disorders, including OCD, anxiety, and depression. If you suspect gluten might be a trigger for you, consider trying a gluten-free diet under the guidance of a healthcare professional.
Examples: Bread, pasta, pastries, crackers, baked goods
Why It Matters: For those sensitive to gluten, avoiding it can reduce gut inflammation and improve mental clarity, potentially easing OCD symptoms.
Pro Tip: Not ready to go completely gluten-free? Start by switching to gluten-free grains like quinoa, buckwheat, and rice. Experiment with gluten-free pasta and bread to see if they help you feel more balanced. My favorite is Banza pasta because it's made with chickpeas, which provide a boost of protein and fiber.
3. Dairy (for some people)
Like gluten, dairy can be inflammatory for certain individuals. People sensitive to lactose or casein (proteins found in dairy products) may find that dairy products lead to digestive issues, inflammation, and mood swings. Eliminating dairy could improve gut health and mental well-being. Many individuals with OCD report that removing dairy from their diet reduces anxiety and compulsive behaviors.
Examples: Milk, cheese, yogurt, ice cream, butter
Why It Matters: Dairy sensitivities can contribute to both physical and mental health symptoms, so removing it from the diet could lessen OCD-related anxiety.
Pro Tip: Try plant-based dairy alternatives like almond, coconut, or oat milk. They're packed with nutrients and won't cause the inflammation that can exacerbate OCD symptoms if you're sensitive to dairy.
4. Caffeine: Coffee, Energy Drinks, Soda
Caffeine is a stimulant that can increase anxiety and heighten compulsive behavior, making it a poor choice for those with OCD. Reducing or eliminating caffeine can help promote calmness and reduce the intensity of OCD-related anxiety.
Caffeine can also disrupt sleep, which is critical for mental health and managing OCD. Poor sleep quality can worsen anxiety, increase compulsive behaviors, and impair overall cognitive function. If you’re dealing with OCD, cutting back on caffeine could help lower your baseline anxiety and promote better sleep, leading to more emotional stability.
Examples: Coffee, energy drinks, soda, certain teas
Why It Matters: Caffeine can exacerbate anxiety, which in turn fuels OCD compulsions, so limiting it can help maintain a calmer state of mind.
Pro Tip: Swap your daily coffee for green tea, herbal tea, or decaffeinated coffee. Peppermint, lemon balm, and chamomile teas are great for calming anxiety and can help reduce OCD-related nervousness without sacrificing flavor.
5. Artificial Additives & Preservatives: MSG, Artificial Sweeteners, Food Dyes
These chemicals can disrupt brain function and have been linked to increased hyperactivity, irritability, and anxiety. Artificial additives can also damage gut health, leading to dysbiosis, which in turn can worsen mental health symptoms.
Examples: MSG, artificial sweeteners (aspartame, sucralose), food dyes, processed snack foods
Why It Matters: Avoiding artificial ingredients can reduce the risk of mood swings, anxiety, and poor gut health, all of which may exacerbate OCD.
Pro Tip: Focus on eating whole, unprocessed foods as much as possible. Look for "clean" snacks and packaged foods with minimal ingredients, and avoid anything with a long list of unfamiliar chemicals.
6. Trans Fats and Fried Foods
Trans fats are notorious for promoting inflammation throughout the body, including the brain. Chronic inflammation is linked to a range of mental health issues, including depression and anxiety, both of which often co-occur with OCD. Inflammation in the brain can impair cognitive function, emotional regulation, and impulse control, making it harder to manage OCD symptoms.
Fried foods, particularly those made with hydrogenated oils, also contribute to gut dysbiosis (an imbalance of good and bad bacteria in the gut), which can disrupt serotonin production and worsen mood regulation.
Examples: Fried chicken, French fries, doughnuts, margarine, baked goods with hydrogenated oils
Why It Matters: By reducing inflammation, you can support better cognitive function and emotional regulation, which are key for managing OCD.
Pro Tip: Love the crunch of fried foods? Try baking or air-frying your favorite dishes. Use heart-healthy oils like olive or avocado oil for a crispy texture without the harmful trans fats that can inflame your brain and gut.
If You Eat Well & OCD Remains High, This Might Be the Missing Piece
If you already eat well and tried cutting sugar, caffeine, gluten, or dairy — and OCD is still there — that’s not failure. It can mean food and/or digestion and absorption is not the main root cause of your OCD.
In my practice, OCD symptoms are often linked to these root causes:
Neuroinflammation
Nervous system dysregulation
Trauma stored in the body
Gut infections or dysbiosis
Blood sugar instability
Nutrient deficiencies
Biochemical imbalances
OCD symptoms are a signal that something is imbalanced in the body. Food is sometimes the issue. However, the real fix is to determine the root cause of your OCD, and solve the problem at the root.
Why Food Alone Might Not Be the Complete OCD Fix (And Sometimes Makes It Worse)
Remember: you are not what you eat. Rather, you are what you digest and absorb. Eating the right food is only part of the equation. Ensuring your gut health is optimized so your body can digest and absorb nutrients is a key factor in managing OCD because gut health is one root cause of OCD.
For instance, most people with OCD don’t have one food problem. They have a gut-brain pattern. Eliminating sugar and gluten might help some people; however, for others it's not enough. That’s why best and worst food lists often lead to frustration or temporary improvement followed by relapse.
Other root causes of OCD — like biochemical imbalances, nervous system dysregulation from stress and trauma, exposure to environmental toxins, and mitochondrial dysfunction — are also critical factors in managing OCD.
If you want to a self-guided process to understand your OCD root causes, join the waitlist for the DOTS Method™ Starter Kit. It teaches you how food, gut health, inflammation, nutrients, stress, and the nervous system may be connected to your OCD symptoms, and you'll learn actionable steps to help tame the OCD monster.
Conclusion
For people with OCD, food isn't just fuel; it’s medicine. By eating foods that nourish the gut and reduce inflammation, you can help stabilize mood, reduce anxiety, and support your mental health from the inside out.
In addition, avoiding foods that trigger inflammation, blood sugar spikes, and gut imbalances can go a long way in managing OCD symptoms. Always consult with a healthcare professional before making significant changes to your diet.
Remember, what you eat is only part of the equation. The old saying, "You are not what you eat" is only partially true. The truth is: you are what you digest and absorb. Is your gut digesting and absorbing all those good nutrients you are giving it? Is your gut health optimized?
Why This Gets Missed in Standard OCD Treatment
Most OCD treatment focuses symptom relief. Most nutrition advice focuses on food. Healing takes place at the intersection — where gut health, neurobiology, and psychotherapy meet. That’s where change actually sticks. If you want to understand how to begin connecting the dots to your OCD root cause, take the DOTS Method Quiz.
FAQs: Best and Worst Foods for OCD
1. How does diet affect OCD symptoms? Diet plays a crucial role in managing OCD symptoms by influencing brain function, neurotransmitter production, and gut health. Foods that trigger inflammation or disrupt the gut microbiome can worsen anxiety, mood swings, and compulsive behaviors, while nutrient-rich, anti-inflammatory foods support mental health and emotional stability.
2. What are the best foods for people with OCD? The best foods for OCD include those rich in omega-3 fatty acids (like salmon and flaxseeds), fermented foods (like yogurt and sauerkraut), antioxidants (like berries and leafy greens), and foods high in magnesium and zinc (like spinach and pumpkin seeds). These help reduce inflammation, support neurotransmitter production, and stabilize mood.
3. What foods should people with OCD avoid? People with OCD should avoid refined sugars, gluten (if sensitive), dairy (if sensitive), caffeine, artificial additives, and trans fats. These foods can trigger anxiety, mood swings, and inflammation, all of which can exacerbate OCD symptoms.
4. How can sugar and processed foods worsen OCD? Refined sugar causes rapid spikes and crashes in blood sugar, leading to mood instability and increased anxiety. Processed foods often contain unhealthy fats, sugars, and artificial additives that harm both the gut and brain, which can worsen OCD symptoms.
5. Can cutting out gluten help with OCD? For some people, gluten triggers inflammation in the gut and brain, contributing to heightened anxiety and compulsive behaviors. If you suspect a gluten sensitivity, trying a gluten-free diet under medical supervision might improve your OCD symptoms.
6. Why is gut health important for OCD? The gut-brain connection is critical for mental health. A healthy gut produces up to 90% of the body’s serotonin, a key neurotransmitter that regulates mood. Imbalances in gut bacteria (due to poor diet) can disrupt serotonin production and worsen OCD-related anxiety and compulsions.
7. Should people with OCD avoid caffeine? Yes, reducing or eliminating caffeine is recommended for people with OCD. Caffeine is a stimulant that can increase anxiety, restlessness, and sleep disturbances, all of which can aggravate OCD symptoms.
8. What are some good alternatives to gluten and dairy? Gluten-free grains like quinoa, rice, and buckwheat, and dairy-free alternatives like almond, coconut, or oat milk are great substitutes. These alternatives support better digestion and reduce inflammation that could negatively impact OCD symptoms.
9. How quickly can dietary changes affect OCD symptoms? While the timeline can vary for each person, some people report improvements in anxiety, mood, and compulsions within a few weeks of making dietary changes. Consistently eating a nutrient-dense, gut-friendly diet may provide lasting benefits for managing OCD symptoms.
10. Can supplements help manage OCD symptoms? Certain supplements, such as omega-3 fatty acids, magnesium, zinc, and probiotics, may support brain function and gut health, helping to reduce anxiety and compulsions. However, supplements should be used under the guidance of a healthcare professional, especially for those managing OCD.
11. How do I discover the root cause of my OCD? Discovering the root cause of OCD usually starts by looking beyond the thoughts themselves and asking what may be keeping the brain and nervous system stuck in a heightened threat state. For some people, factors like gut health, inflammation, nutrient deficiencies, blood sugar swings, hormones, trauma, chronic stress, sleep disruption, or immune system activation may all play a role.
OCD is not just in your head, and food alone is rarely the whole answer. The goal is to look for patterns in your body, brain, gut, and nervous system so you can begin connecting the dots.
If you want help getting started, take the DOTS Method Quiz. It’s designed to help you begin identifying your possible root-cause patterns and understand the gut-brain connection behind OCD in a clear, practical way.
12. What is the DOTS Method™?
The DOTS Method™ is a simple framework that helps you connect the dots between your symptoms and the underlying factors that may be influencing them. Instead of focusing only on the diagnosis, the method teaches you how to Discover, Organize, Treat, and Simplify. It's designed to help you better understand the connections between your brain, gut, nervous system, hormones, lifestyle, and overall health so you can make informed decisions about your wellness journey.
13. How do I get personalized help to find my OCD root cause? If you want one-on-one personalized support, the next best step is my DOTS Method™ Program. We will dive deep into your health history, symptoms, lifestyle, and more to connect the dots and uncover your root cause of OCD. We implement a customized treatment plan over 30 days with concierge-level support to maximize your healing success. Or if you want to dip your toe in the water, you can start with the DOTS Method Discovery session.
What causes your OCD? Take the DOTS Method Quiz and start connecting the DOTS to better health.








