BackgroundInsomnia is one of the most prevalent sleep disorders characterized by an inability to fall or stay asleep. Available treatments include pharmacotherapy and cognitive behavioural therapy for insomnia (CBTi). Although CBTi is the first-line treatment, it has limited availability. Therapist-guided electronic delivery of CBT for insomnia (e-CBTi) offers scalable solutions to enhance access to CBTi. While e-CBTi produces comparable outcomes to in-person CBTi, there is a lack of comparison to active pharmacotherapies. Therefore, direct comparisons between e-CBTi and trazodone, one of the most frequently prescribed medications for insomnia, is essential in establishing the effectiveness of this novel digital therapy in the health care system.ObjectiveThe aim of this study is to compare the effectiveness of a therapist-guided electronically-delivered cognitive behavioural therapy (e-CBTi) program to trazodone in patients with insomnia.MethodsPatients (n = 60) will be randomly assigned to two groups: treatment as usual (TAU) + trazodone and TAU + e-CBTi for seven weeks. Each weekly sleep module will be delivered through the Online Psychotherapy Tool (OPTT), a secure, online mental health care delivery platform. Changes in insomnia symptoms will be evaluated throughout the study using clinically validated symptomatology questionnaires, Fitbits, and other behavioural variables.ResultsParticipant recruitment began in November 2021. To date, 18 participants have been recruited. Data collection is expected to conclude by December 2022 and analyses are expected to be completed by January 2023.ConclusionsThis comparative study will improve our understanding of the efficacy of therapist-guided e-CBTi in managing insomnia. These findings can be used to develop more accessible and effective treatment options and influence clinical practices for insomnia to further expand mental health care capacity in this population.Trial registrationClinicalTrials.gov (NCT05125146).