There is emerging evidence that a keto diet can affect your mental health. Some cases show that following a low-carbohydrate diet alieved depression symptoms, while others reported worsening symptoms due to restrictions and deficiencies. Depression is a life-threatening condition and should be treated seriously. Talk to your doctor about keto if you have a history of depression.