Some patients who are taking a muscle relaxant called flexeril also take it at the same time as a prescription drug called Xanax. However, both medications can cause drowsiness as a possible side effect. Therefore, taking both together can result in increased drowsiness and be dangerous. Always talk to your doctor first.