Insomnia may be divided into three classes based on the duration of symptoms. 1  Insomnia lasting one week or less may be termed transient insomnia; 2  short-term insomnia lasts more than one week but resolves in less than three weeks; and.  long-term or chronic insomnia lasts more than three weeks.