Brain fog is a symptom that can be caused by a vitamin shortage, a sleep disturbance, an overgrowth of germs caused by consuming an excessive amount of sugar, sadness, or even a thyroid disease. A poor diet, persistent stress, inactivity, not getting enough sleep, and eating too much and too frequently are also major causes of brain fog. Another common reason is eating too much.