Are you thinking of giving your dog Xanax as a way to calm them down? While some vets do prescribe this drug (generic name Alprazolam) to dogs for anxiety and insomnia, it is a practice that is questionable. We cannot, in good conscience, recommend that you provide Xanax. It could expose your pet to unnecessary danger.