The olive fruit fly, Bactrocera oleae, has a diploid set of 2n = 12 chromosomes including a pair of sex chromosomes, XX in females and XY in males, but polytene nuclei show only five polytene chromosomes, obviously formed by five autosome pairs. Here we examined the fate of the sex chromosomes in the polytene complements of this species using fluorescence in situ hybridization (FISH) with the X and Y chromosome-derived probes, prepared by laser microdissection of the respective chromosomes from mitotic metaphases. Specificity of the probes was verified by FISH in preparations of mitotic chromosomes. In polytene nuclei, both probes hybridized strongly to a granular heterochromatic network, indicating thus underreplication of the sex chromosomes. The X chromosome probe (in both female and male nuclei) highlighted most of the granular mass, whereas the Y chromosome probe (in male nuclei) identified a small compact body of this heterochromatic network. Additional hybridization signals of the X probe were observed in the centromeric region of polytene chromosome II and in the telomeres of six polytene arms. We also examined distribution of the major ribosomal DNA (rDNA) using FISH with an 18S rDNA probe in both mitotic and polytene chromosome complements of B. oleae. In mitotic metaphases, the probe hybridized exclusively to the sex chromosomes. The probe signals localized a discrete rDNA site at the end of the short arm of the X chromosome, whereas they appeared dispersed over the entire dot-like Y chromosome. In polytene nuclei, the rDNA was found associated with the heterochromatic network representing the sex chromosomes. Only in nuclei with preserved nucleolar structure, the probe signals were scattered in the restricted area of the nucleolus. Thus, our study clearly shows that the granular heterochromatic network of polytene nuclei in B. oleae is formed by the underreplicated sex chromosomes and associated rDNA.