Diagnosis of sleep disorders usually requires a psychological history as well as a medical history. With the exception of sleep apnea syndromes, physical examinations are not usually revealing. The doctor may also talk to other family members in order to obtain information about the patient's symptoms. Psychological tests or inventories are used because insomnia is frequently associated with mood or affective disorders.
Patients may be asked to keep a sleep diary for one to two weeks to evaluate the sleep disturbance. Medications taken, the length of time spent in bed, and the quality of sleep are recorded.
If breathing-related sleep disorders, myoclonus, or narcolepsy are suspected, the patient may be tested in a sleep laboratory or at home with portable instruments. Polysomnography records physiological functions that can be used to help diagnose sleep disorders as well as conduct research into sleep.