People use melatonin to adjust the body's internal clock. It is used for jet lag, for adjusting sleep-wake cycles in people whose daily work schedule changes (shift-work disorder), and for helping blind people establish a day and night cycle. Melatonin is also used for the inability to fall asleep (insomnia); delayed sleep phase syndrome (DSPS); rapid eye movement sleep behavior disorder (RBD); insomnia associated with attention deficit-hyperactivity disorder (ADHD); insomnia due to certain high blood pressure medications called beta-blockers; and sleep problems in children with developmental disorders including autism, cerebral palsy, and intellectual disabilities. It is also used as a sleep aid after discontinuing the use of benzodiazepine drugs and to reduce the side effects of stopping smoking. Some people use melatonin for Alzheimer's disease or memory loss (dementia), bipolar disorder, a lung disease called chronic obstructive pulmonary disease (COPD), insomnia caused by beta-blocker drugs, endometriosis, ringing in the ears, depression or seasonal affective disorder (SAD), mild mental impairment, nonalcoholic liver disease, chronic fatigue syndrome (CFS), fibromyalgia, restless leg syndrome, an inflammatory disease called sarcoidosis, schizophrenia, migraine and other headaches, age-related vision loss, benign prostatic hyperplasia (BPH), irritable bowel syndrome (IBS), bone loss (osteoporosis), a movement disorder called tardive dyskinesia (TD), acid reflux disease, Helicobacter pylori (H. pylori), exercise performance, infertility, epilepsy, aging, for menopause, metabolic syndrome, for recovery after surgery, agitation caused by anesthesia, stress, involuntary movement disorder (tardive dyskinesia), changes in heart rate when you move from laying down to sitting up (postural tachycardia syndrome), delirium, inability to control urination, jaw pain, inflammatory bowel disease (ulcerative colitis), and for birth control. Daily nighttime melatonin reduces blood pressure in male patients with essential hypertension. Taking melatonin leads to an average reduction in total cholesterol.