Light is a very important regulator of the daily sleep rhythm. Here, we investigate the influence of nocturnal light stimulation on Drosophila sleep. Results showed that total daytime sleep was reduced due to a decrease in daytime sleep episode duration caused by discontinuous light stimulation, but sleep was not strongly impacted at nighttime although the discontinuous light stimulation occurred during the scotophase. During a subsequent recovery period without light interruption, the sleep quality of nighttime sleep was improved and of daytime sleep reduced, indicating flies have a persistent response to nocturnal light stimulation. Further studies showed that the discontinuous light stimulation damped the daily rhythm of a circadian light-sensitive protein cryptochrome both at the mRNA and protein levels, which subsequently caused disappearance of circadian rhythm of the core oscillator timeless and decrease of TIMLESS protein at nighttime. These data indicate that the nocturnal light interruption plays an important role in sleep through core proteins CRYTOCHROME and TIMLESS, Moreover, interruption of sleep further impacted reproduction and viability.