Timing is crucial for social interactions. Animal behavior is synchronized with biotic and abiotic environment variables ensuring that the activity phase of conspecifics occurs during the same period of the day. As biological rhythms are embedded in the complex integrative control of the brain, it is fundamental to explore its interaction with environmental and social factors. This approach will unravel the link between external stimuli carrying information on environmental cycles and the neural commands for behavior, including social behavior, associated with precise phases of those cycles. Arousal in the solitary Gymnotus omarorum and in the gregarious Brachyhypopomus gauderio is characterized by a nocturnal increase in the basal discharge rate of electric behavior, which is mild and transient in G. omarorum and large and persistent in B. gauderio. In this study, we show that the major integrator of social behavior, AVT (arginine vasotocin), is not involved in the nocturnal increase of electric behavior basal rate in isolated animals of either species. On the other hand, endogenous melatonin, the major modulator of the circadian system, is responsible for the nocturnal increase in electric behavior in isolated individuals of both species.