Vitamin D and Anxiety. It seems that more scientists agree about the link between vitamin D deficiency and anxiety than depression. Though, some members of the scientific community are skeptical about how much it helps with anxiety. Regardless, multiple studies find that a vitamin D deficiency may increase anxiety.