It is the central hypothesis of this paper that the mental states commonly referred to as altered states of consciousness are principally due to transient prefrontal cortex deregulation. Supportive evidence from psychological and neuroscientific studies of dreaming, endurance running, meditation, daydreaming, hypnosis, and various drug-induced states is presented and integrated. It is proposed that transient hypofrontality is the unifying feature of all altered states and that the phenomenological uniqueness of each state is the result of the differential viability of various frontal circuits. Using an evolutionary approach, consciousness is conceptualized as hierarchically ordered cognitive function. Higher-order structures perform increasingly integrative functions and thus contribute more sophisticated content. Although this implies a holistic approach to consciousness, such a functional hierarchy localizes the most sophisticated layers of consciousness in the zenithal higher-order structure: the prefrontal cortex. The hallmark of altered states of consciousness is the subtle modification of behavioral and cognitive functions that are typically ascribed to the prefrontal cortex. The theoretical framework presented yields a number of testable hypotheses.