This medication is used to treat a certain sleep problem (insomnia). It may help you fall asleep faster, stay asleep longer, and lessen how often you wake up during the night, so you can get a better night's rest. Triazolam belongs to a class of drugs called benzodiazepines. It acts on your brain to produce a calming effect.
Use of this medication is usually limited to short treatment periods of 1 to 2 weeks or less. If your insomnia continues for a longer time, talk to your doctor to see if you need other treatment.