Fasting can have both positive and negative effects on mental health. Some people experience increased mental clarity and reduced anxiety while fasting, while others may experience feelings of irritability, fatigue, and depression. It is important to speak to your doctor before starting a fasting program if you have a history of mental health problems.