During tactile perception, long-range intracortical top-down axonal projections are essential for processing sensory information. Whether these projections regulate sleep-dependent longterm memory consolidation is unknown. We altered top-down inputs from higher-order cortex to sensory cortex during sleep and examined the consolidation of memories acquired earlier during awake texture perception. Mice learned novel textures and consolidated them during sleep. Within the first hour of non-rapid eye movement (NREM) sleep, optogenetic inhibition of top-down projecting axons from secondary motor cortex (M2) to primary somatosensory cortex (S1) impaired sleep-dependent reactivation of S1 neurons and memory consolidation. In NREM sleep and sleep-deprivation states, closed-loop asynchronous or synchronous M2-S1 coactivation, respectively, reduced or prolonged memory retention. Top-down cortical information flow in NREM sleep is thus required for perceptual memory consolidation.