Although insomnia can affect people at any age, it is more common in adult females than adult males. The sleeping disorder can undermine school and work performance, as well as being a cause of obesity, anxiety, depression, irritability, concentration problems, memory problems, poor immune system function, and reduced reaction time. Insomnia has also been associated with a higher risk of developing chronic diseases.