Polysomnography (PSG) is a multi-parameter type of sleep study and a diagnostic tool in sleep medicine. The test result is called a polysomnogram, also abbreviated PSG. The name is derived from Greek and Latin roots: the Greek πολύς (polus for "many, much", indicating many channels), the Latin somnus ("sleep"), and the Greek γράφειν (graphein, "to write").
Type I polysomnography is a sleep study performed overnight with the patient continuously monitored by a credentialed technologist. It records the physiological changes that occur during sleep, usually at night, though some labs can accommodate shift workers and people with circadian rhythm sleep disorders who sleep at other times. The PSG monitors many body functions, including brain activity (EEG), eye movements (EOG), muscle activity or skeletal muscle activation (EMG), and heart rhythm (ECG). After the identification of the sleep disorder sleep apnea in the 1970s, breathing functions, respiratory airflow, and respiratory effort indicators were added along with peripheral pulse oximetry. Polysomnography no longer includes NPT monitoring for erectile dysfunction, as it is reported that all male patients will experience erections during phasic REM sleep, regardless of dream content.