We performed two studies in individuals with sleep problems to investigate trait, daytime, and nighttime repetitive thinking as risk factors for insomnia. In Study 1, 139 participants completed questionnaires on worry, rumination, insomnia, anxiety, depression, and a sleep diary. Trait rumination and trait worry were not associated with sleep impairment. In Study 2, 64 participants completed similar measures and a daytime and nighttime sleep-related worry diary. Only nighttime sleep-related worry was consistently associated with sleep impairment. Overall, results indicate that nighttime sleep-related worry is important in the maintenance of insomnia, whereas effects of trait and daytime repetitive thinking are more benign. Treatment for insomnia can potentially be improved by focusing more on nighttime sleep-related worry.