The nervous and endocrine systems coordinate with each other to closely influence physiological and behavioural responses in animals. Here we show that WAKE (encoded by wide awake, also known as wake) modulates membrane levels of GABAA receptor Resistance to Dieldrin (Rdl), in insulin-producing cells of adult male Drosophila melanogaster. This results in changes to secretion of insulin-like peptides which is associated with changes in juvenile hormone biosynthesis in the corpus allatum, which in turn leads to a decrease in 20-hydroxyecdysone levels. A reduction in ecdysone signalling changes neural architecture and lowers the perception of the male-specific sex pheromone 11-cis-vaccenyl acetate by odorant receptor 67d olfactory neurons. These finding explain why WAKE-deficient in Drosophila elicits significant male-male courtship behaviour.