Approximately 50 million individuals worldwide suffer from epilepsy, which has various neurological, cognitive, psychological, and social consequences including insomnia. Several factors may explain insomnia among individuals with epilepsy including new diagnoses of epilepsy, changes at work, school, and social role changes. Moreover, anxiety, stress, and insecurity about seizure control can contribute to insomnia. Nonpharmacological methods including cognitive-behavioral therapy can be used to alleviate insomnia. Cognitive-behavioral therapy is a type of psychotherapy that focuses on the effect of an individual’s beliefs, thoughts, and attitudes on their feelings and behaviors. Cognitive-behavioral therapy for insomnia (CBT-I) is one of the therapies in sleep science and uses the general principles of cognitive-behavioral therapy and is designed to eliminate the symptoms of insomnia. The internet is an emerging platform for mental health services worldwide. Internet-based CBT or CBT-I has been used for insomnia with promising results. If the content of CBT-I-based technology (which is disseminated via the internet, e-mail, or mobile phone) is of good quality and has credible evidence-based experiences, it will have positive therapeutic effects and initial patient acceptance. This chapter introduces the application of a six-session online CBT-I for three individuals with epilepsy. The content can also be used as a guide for treating insomnia among individuals with epilepsy.