Xanax (alprazolam) will cause sedation, drowsiness and somnolence as a side result but will not be generally prescribed to help with insomnia (hassle sleeping) consistently. Sleepiness right after having Xanax generally occurs within 15 to 45 minutes. Continue reading throughGet the lowest successful dose as directed by your medical professional. W