This is a single-center, randomized controlled trial study design. Enrolled participants had comorbid fibromyalgia and chronic insomnia. Participants were randomized to a behavioral intervention for pain, a behavioral intervention for insomnia, or a waitlist control. The study intervention period lasted eight weeks. The objective of the study is to examine the impact of two behavioral treatments on sleep and pain and to better understand what causes chronic pain and chronic sleep disturbance.