Since caffeine is a stimulant, it can cause adverse effects for those with anxiety. Caffeine heightens the “fight or flight” response, a physiological reaction to a perceived threat or danger. For those with anxiety, even minor things can trigger this response. The consumption of caffeine can make this reaction even more dangerous and trigger an anxiety attack.