Treatment should be as short as possible. It is used for short-term treatment 2-4 weeks of insomnia. 1 If a hypnotic is prescribed it is usually a benzodiazepine.