About one in every three US adults is estimated to have insomnia disorder. Consequences of untreated insomnia disorder are debilitating and costly, and primary care providers (PCPs) are uniquely positioned to detect and treat insomnia, thus preventing its adverse outcomes. The goal of this study was to explore the utility of analyzing electronic medical record data to identify patterns in diagnosis and management of insomnia disorder by PCPs.