We have studied the function of the major central olfactory pathway in fruit flies. Key elements of this pathway, the projection neurons (PNs), connect the antennal lobes with the lateral protocerebrum both directly and indirectly, the latter via the mushroom bodies (MBs). Transgenic expression of tetanus toxin in the majority of PNs and few MB neurons leads to defects in odor detection and male courtship. Considering behavioral data from flies lacking MBs, our results argue that the direct PN-to-lateral protocerebrum pathway is necessary and sufficient to process these experience-independent behaviors. Moreover, the involvement of an olfactory pathway in male courtship suggests a role of volatile attractive female pheromones in Drosophila.