Hello and welcome to Healthcare Magic. Thanks for your query.
Xanax (Alprazolam) belongs to a class of anti-anxiety
/ sedative medication called Benzodiazepines. Now, benzodiazepines have been found to adversely affect pregnancy
in two ways:
1) When taken during the early stages, it increases the risk of teratogenicity (i.e. harm to the baby's development in the uterus
2) When taken during the later stages, prior to delivery, the medication can be passed on to the baby and after birth, the baby can suffer from withdrawal symptoms
So, I would advise you to pay heed to your doctor's advise and wean off the Xanax. There are psychological therapies and relaxation techniques
which can help you handle your anxiety.
Wish you all the best.
- Dr. Jonas Sundarakumar