In this article Professor Kevin Morgan differentiates insomnia from other sleep disorders and explains how to help patients to manage the factors that cause it. Key learning points for GPs and nurses include differential diagnoses, daily sleep diaries, cognitive therapy, hypnotic drugs and melatonin