Despite the profound reduction in conscious awareness associated with sleep, sensory cortex remains highly active during the different sleep stages, exhibiting complex interactions between different cortical sites. The potential functional significance of such spatial patterns and how they change between different sleep stages is presently unknown. In this electrocorticography study of human patients, we examined this question by studying spatial patterns of activity (broadband gamma power) that emerge during sleep (sleep patterns) and comparing them to the functional organization of sensory cortex that is activated by naturalistic stimuli during the awake state. Our results show a high correlation (p<10-4, permutation test) between the sleep spatial patterns and the functional organization found during wakefulness. Examining how the sleep patterns changed through the night highlighted a stage-specific difference, whereby the repertoire of such patterns was significantly larger during rapid eye movement (REM) sleep compared with non-REM stages. These results reveal that intricate spatial patterns of sensory functional organization emerge in a stage-specific manner during sleep.