In lucid dreaming, individuals become aware that they are dreaming and are able to control their dreamed actions. Here, lucid dreamers were instructed to perform a hand clenching task while undergoing functional MRI or near-infrared spectroscopy. Hand clenching during dreaming was associated with neural activity in areas of the sensorimotor cortex. Interestingly, similar brain areas were activated in these individuals when they performed the task during wakefulness. This study provides preliminary evidence that a dream's content may be visualized through neuroimaging.