Temazepam is a commonly prescribed drug for sleep problems. It belongs to the group of hypnotics, which work by slowing down brain function in the body. This results in a relaxing effect that helps you fall asleep and stay asleep. Produced by Teva, a well-known medical supplier, Temazepam is available in tablet form and comes in different dosages.