No. According to "google" Narcotic means a drug or other substance affecting mood or behavior and sold for nonmedical purposes, esp. an illegal one. Xanax (alprazolam) is prescribed by doctors to treat anxiety disorders, panic disorders, and anxiety caused by depression. But it should only be taken by the person for whom it was prescribed.