Lexapro and Xanax are certainly not precisely the same medication or in the exact same medication class. They're each model name prescription-only remedies for mental health Conditions, but Lexapro can be a selective serotonin reuptake inhibitor (SSRI), which will work by escalating serotonin levels from the Mind, although Xanax is a benzodiazepine