Stimulants affect people in different ways. Like, I could take a Xanax and a Ritalin and people would say they are opposites, but in my system they are not. In other people's systems, they might be. I think the same can be said about caffeine. If someone just gets anxious and jittery from coffee it is not a good idea to drink coffee, with or without Xanax.