Recent research shows how inflammation can damage the brain’s blood barrier and possibly lead to health problems in the brain. This inflammation can then activate the brain’s immune cells, which triggers an inflammatory autoimmune response, causing the immune systems to attack your brain and nervous tissue. 
This research goes on to show there is a higher rate of anxiety and depression in patients with autoimmune diseases than chronic degenerative conditions. Researchers believe that this is due directly to the effect of inflammatory cytokines on the central nervous system.  
How To Reduce Excessive Inflammation
There are certain steps that can be taken to prevent excessive inflammation and treat or prevent the anxiety or depression it causes.
Try drinking bone broth to provide your body with glutamine and other minerals that help repair a leaky gut.
An inflamed gut is a leaky gut. When inflamed, it becomes more porous and allows minerals, food proteins, metals and toxins to make their way into your bloodstream.
Fight Leaky Gut By Cutting Out These Foods
Certain foods have a high risk of causing leaky gut. One major offender is gluten. Wheat, rye, barley, and beer as well as some ancient grains all contain gluten, cause inflammation, and should be avoided.
Casein, the protein in dairy, has a similar amino acid sequence to gluten and causes the same reaction in your gut. If you want to avoid a leaky gut, avoid dairy.
The next most common food sensitivity problem comes from eggs, specifically the protein in egg whites. There is a protein in egg white called lysozyme that acts like a Trojan horse, bringing in hidden problems and allowing access to other peptides into our bloodstream.
Another problematic food group is the nightshades. These include tomatoes, potatoes, eggplants, and peppers. These foods contain alkaloids that can destroy the cells lining the digestive tract of some people, increasing the permeability like with the egg whites.
For the rest of the list and more about foods that cause inflammation, anxiety, and depression, follow the link to mindbodygreen.com
 Lobo-Silva, Diogo et al. “Balancing The Immune Response In The Brain: IL-10 And Its Regulation”. BioMed Central. N.p., 2016. Web. 5 June 2017. https://jneuroinflammation.biomedcentral.com/articles/10.1186/s12974-016-0763-8
 E. Leonard, Brian. “The Concept Of Depression As A Dysfunction Of The Immune System”. NCBI. N.p., 2010. Web. 5 June 2017. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3002174/
Cole, Dr. William. “The Issue That Could Be At The Root Of Your Anxiety & Depression”. mindbodygreen. N.p., 2015. Web. 5 June 2017. https://www.mindbodygreen.com/0-21325/the-issue-that-could-be-at-the-root-of-your-anxiety-depression.html
Wahls, Dr. Terry. “5 Steps To Reduce Inflammation + Look & Feel 10 Years Younger!”. mindbodygreen. N.p., 2015. Web. 5 June 2017. https://www.mindbodygreen.com/0-21419/5-steps-to-reduce-inflammation-look-feel-10-years-younger.html