Functional constipation is common in children and adults worldwide. Functional constipation shows similarities in children and adults, but important differences also exist regarding epidemiology, symptomatology, pathophysiology, diagnostic workup and therapeutic management. In children, the approach focuses on the behavioural nature of the disorder and the initial therapeutic steps involve toilet training and laxatives. In adults, management focuses on excluding an underlying cause and differentiating between different subtypes of functional constipation - normal transit, slow transit or an evacuation disorder - which has important therapeutic consequences. Treatment of adult functional constipation involves lifestyle interventions, pelvic floor interventions (in the presence of a rectal evacuation disorder) and pharmacological therapy. When conventional treatments fail, children and adults are considered to have intractable functional constipation, a troublesome and distressing condition. Intractable constipation is managed with a stepwise approach and in rare cases requires surgical interventions such as antegrade continence enemas in children or colectomy procedures for adults. New drugs, including prokinetic and prosecretory agents, and surgical strategies, such as sacral nerve stimulation, have the potential to improve the management of children and adults with intractable functional constipation.