Xanax is a trade name for the anti-anxiety medication alprazolam. It is one of a group of addictive prescription medications known as benzodiazepines. Although Xanax is a prescription medication, it is also a controlled drug, which means it is illegal to take Xanax without a prescription from a medical doctor.