Sexual attraction and perception are crucial for mating and reproductive success. InDrosophila melanogaster, the male-specific isoform of Fruitless (Fru), FruM, is a known master neuro-regulator of innate courtship behavior to control the perception of sex pheromones in sensory neurons. Here, we show that the non–sex-specific Fru isoform (FruCOM) is necessary for pheromone biosynthesis in hepatocyte-like oenocytes for sexual attraction. Loss of FruCOMin oenocytes resulted in adults with reduced levels of cuticular hydrocarbons (CHCs), including sex pheromones, and show altered sexual attraction and reduced cuticular hydrophobicity. We further identifyHepatocyte nuclear factor 4(Hnf4) as a key target of FruCOMin directing fatty acid conversion to hydrocarbons.FruorHnf4depletion in oenocytes disrupts lipid homeostasis, resulting in a sex-dimorphic CHC profile that differs fromdoublesex-andtransformer-dependent CHC dimorphism. Thus, Fru couples pheromone perception and production in separate organs to regulate chemosensory communications and ensure efficient mating behavior.