A systematic review of animal research suggests that caffeine can reduce anxiety and depressive-like behaviors by acting as a brake on the brain's immune system and lowering neuroinflammation.