In the psychology subfield of oneirology, a lucid dream is a type of dream wherein the dreamer realizes that they are dreaming during their dream. The capacity to have and sustain lucid dreams is a trainable cognitive skill. During a lucid dream, the dreamer may gain some amount of volitional control over the dream characters, narrative, or environment, although this control of dream content is not the salient feature of lucid dreaming. An important distinction is that lucid dreaming is a distinct type of dream from other types of dreams such as prelucid dreams and vivid dreams, although prelucid dreams are a precursor to lucid dreams, and lucid dreams are often accompanied with enhanced dream vividness. Lucid dreams are also a distinct state from other lucid boundary sleep states such as lucid hypnagogia or lucid hypnopompia.
In formal psychology, lucid dreaming has been studied and reported for many years. Prominent figures from ancient to modern times have been fascinated by lucid dreams and have sought ways to better understand their causes and purpose. Many different theories have emerged as a result of scientific research on the subject. Further developments in psychological research have pointed to ways in which this form of dreaming may be utilized as a therapeutic technique.