The number of antennal segments varies from eleven to two.
In this family there is often a marked divergence between the sexes; the terminal antennal segments are larger in the male than in the female, and the males may carry large spinous processes on the head or prothorax, or both.
The antennae of Diptera, which are also extremely important in classification, are thread-like in the more primitive families, such as the Tipulidae (daddy-long-legs), where they consist of a considerable number of joints, all of which except the first two, and sometimes also the last two, are similar in shape; in the more specialized families, such as the Tabanidae (horse-flies), Syrphidae (hover-flies) or Muscidae (house-flies, blue-bottles and their allies), the number of antennal joints is greatly reduced by coalescence, so that the antennae appear to consist of only three joints.
All of these are to be regarded as primitively post-oral, but in the course of development the mouth moves back to the mandibular segment, so that the first three somitesocular, antennal and intercalary - lie in front of it.
The antennal segment apparently entirely disappears, with the exception of a pair of appendages it bears; these become the antennae; it is possible that the original segment, or some part of it, may even become a portion of the actual antennae.