Insomnia can be triggered by stress or emotional distress (in particular internalised anger or anxiety), overusing certain substances such as alcohol, disturbances to the body clock, environmental factors such as noise or extreme temperatures, and even vigorous exercising too close to bedtime.