Risk factors for agoraphobia include:  Having an anxiety disorder. Stressful events, such as abuse during childhood. Substance abuse.