Sufficient sleep is necessary for optimal health, daytime performance and wellbeing and the amount required is age-dependent and decreases across the lifespan. Sleep duration is usually affected by age and several different cultural, social, psychological, behavioural, pathophysiological and environmental factors. This review considers how much sleep children and adults need, why this is important, what the consequences are of insufficient sleep and how we can improve sleep. A lack of the recommended amount of sleep for a given age group has been shown to be associated with detrimental effects on health including effects on metabolism, endocrine function, immune function and haemostatic pathways. Obesity has increased worldwide in the last few decades and the WHO has now declared it a global epidemic. A lack of sleep is associated with an increased risk of obesity in children and adults, which may lead to future poor health outcomes. Data from studies in both children and adults suggest that the relationship between sleep and obesity may be mediated by several different mechanisms including alterations in appetite and satiety, sleep timing, circadian rhythm and energy balance. Moreover, there is evidence to suggest that improvements in sleep, in both children and adults, can be beneficial for weight management and diet and certain foods might be important to promote sleep. In conclusion this review demonstrates that there is a wide body of evidence to suggest that sleep and obesity are causally related and recommends that further research is required to inform policy, and societal change.