The damselfishes (family Pomacentridae) inhabit near-shore communities in tropical and temperature oceans as one of the major lineages with ecological and economic importance for coral reef fish assemblages. Our understanding of their evolutionary ecology, morphology and function has often been advanced by increasingly detailed and accurate molecular phylogenies. Here we present the next stage of multi-locus, molecular phylogenetics for the group based on analysis of 12 nuclear and mitochondrial gene sequences from 330 of the 422 damselfish species. The resulting well-resolved phylogeny helps to address several important questions about higher-level damselfish relationships and the monophyly of genera, including Chromis, Chrysiptera, Parma and Stegastes. A time-calibrated phylogenetic tree scaled using fossil data and recent estimated ovalentarian clade ages, yields an older root age for the family (55.3 mya) than previously proposed, refines the age of origin for a number of diverse genera, and shows that ecological changes during the Eocene-Oligocene transition provided opportunities for damselfish diversification. We explored the idea that body size extremes have evolved repeatedly among the Pomacentridae, and demonstrate that large and small body sizes have evolved independently at least 30 times and with asymmetric rates of transition. We tested the hypothesis that transitions among three dietary ecotypes (benthic herbivory, pelagic planktivory and intermediate omnivory) are asymmetric, with higher transition rates from intermediate omnivory to either planktivory or herbivory. Using multistate hidden-state speciation and extinction models, we found that dietary ecotype is significantly associated with patterns of diversification across the damselfishes, and that the highest rates of net diversification are associated with pelagic planktivory. We also conclude that the pattern of evolutionary diversification in feeding ecology, with frequent and asymmetrical transitions between a small number of feeding ecotypes, is largely restricted to the subfamily Pomacentrinae in the Indo-West Pacific.