Mental health is impacted by a number of factors, including environmental influences, genetics, and diet. 1 Consuming foods rich in the following nutrients contributes to mental wellness and may help those experiencing mild depressive symptoms. If you are experiencing more severe symptoms such as thoughts of harming yourself or others, please seek medical attention immediately.