The Oecophoridae is a mega-diverse microlepidopteran family within the Gelechioidea (Lepidoptera) comprising more than 3,300 described and numerous undescribed species. Based on comprehensive phylogenetic analysis using eight genes for 82 taxa, the results indicated that (i) Casmara, Tyrolimnas and Pseudodoxia did not belong to Oecophoridae; (ii) other oecophorids dividing into two subfamilies, Pleurotinae and Oecophorinae, were nested within the same clade, and (iii) Martyringa, Acryptolechia and Periacmini were clustered with core Xyloryctide. Reconstruction of ancestral microhabitat of oecophorids indicated that they might have evolved from dried plant feeders and further convergently specialized. The ancestral larva sheltering strategy of oecophorids might have used a silk tube by making itself, shifting from mining leaves.