The sex chromosomes of the Megaselia scalaris wild-type strain Wien are homomorphic. We studied a roughly 1.8 kb X/Y DNA segment of this strain. It includes, at one end, the first part of a coding sequence for a protein of the vespid antigen 5 family. Molecular differentiation between the X and Y chromosomes has commenced, but homology, even of short DNA stretches, is still assessable beyond doubt. The most conspicuous differences between the X and the homologous Y segment were insertions/deletions in the noncoding region: among them, deletions, a duplication, and an insertion of a mobile element. These structural changes grossly disrupted homology. In comparison, base substitutions, though more numerous, contributed little to the differentiation of the X/Y DNA segment.