Sleep in the primate order remains understudied, with quantitative estimates of sleep duration available for less than 10% of primate species. Even fewer species have had their sleep synchronously quantified with meteorological data, which have been shown to influence sleep–wake regulatory behaviors. We report the first sleep duration estimates in two captive gibbon species, the Javan gibbon (Hylobates moloch) and the pileated gibbon (Hylobates pileatus) (N = 52 nights). We also investigated how wind speed, humidity, temperature, lunar phase, and illumination from moonlight influence sleep–wake regulation, including sleep duration, sleep fragmentation, and sleep efficiency. Gibbons exhibited strict diurnal behavior with little nighttime activity and mean total average sleep duration of 11 h and 53 min for Hylobates moloch and 12 h and 29 min for Hylobates pileatus. Gibbons had notably high sleep efficiency (i.e., time score asleep divided by the time they spent in their sleeping site, mean of 98.3%). We found illumination from moonlight in relation to lunar phase and amount of wind speed to be the strongest predictors of sleep duration and high-quality sleep, with increased moonlight and increased wind causing more fragmentation and less sleep efficiency. We conclude that arousal threshold is sensitive to nighttime illumination and wind speed. Sensitivity to wind speed may reflect adaptations to counter the risk of falling during arboreal sleep.