Sleep is important for maintenance of normal physiology in animals. In mammals, neuropeptide Y (NPY), a homolog of Drosophila neuropeptide F (NPF), is involved in sleep regulation, with different effects in human and rat. However, the function of NPF on sleep in Drosophila melanogaster has not yet been described. In this study, we investigated the effects of NPF and its receptor-neuropeptide F receptor (NPFR1) on Drosophila sleep. Male flies over-expressing NPF or NPFR1 exhibited increased sleep during the nighttime. Further analysis demonstrated that sleep episode duration during nighttime was greatly increased and sleep latency was significantly reduced, indicating that NPF and NPFR1 promote sleep quality, and their action on sleep is not because of an impact of the NPF signal system on development. Moreover, the homeostatic regulation of flies after sleep deprivation was disrupted by altered NPF signaling, since sleep deprivation decreased transcription of NPF in control flies, and there were less sleep loss during sleep deprivation and less sleep gain after sleep deprivation in flies overexpressing NPF and NPFR1 than in control flies, suggesting that NPF system auto-regulation plays an important role in sleep homeostasis. However, these effects did not occur in females, suggesting a sex-dependent regulatory function in sleep for NPF and NPFR1. NPF in D1 brain neurons showed male-specific expression, providing the cellular locus for male-specific regulation of sleep by NPF and NPFR1. This study brings a new understanding into sleep studies of a sexually dimorphic regulatory mode in female and male flies.