Cognitive behavioral therapy for insomnia (CBTI) is sometimes recommended to treat difficulty falling or staying asleep, the defining characteristics of insomnia. What is CBTI? Learn about this behavioral treatment and why it may be just the thing to help you get the rest that you need and help you to avoid the use of sleeping pills.