Insects could be potential nutritional sources both for humans and animals. Among these, Hermetia illucens, with good amount of chitin and proteins, represents a suitable diet replacement for laying hens. Little is known about insect diet effects on the microbial ecology of the gastrointestinal tract and bacterial metabolites production. In this study we investigated the effect of H. illucens larvae meal administration on cecal microbiota and short chain fatty acids (SCFAs) production in laying hens. 16S rDNA sequencing showed strong differences between cecal microbiota of soybean (SD) and insect diet (ID) groups both in type and relative abundance (unweighted and weighted beta diversity) of microbial species. In particular, Bacteroides plebeius, Elusimicrobium minutum, Alkaliphilus transvaalensis, Christensenella minuta, Vallitalea guaymasensis and Flavonifractor plautii represented the principal contributors of changes in gut microbiota composition of ID group (FDR p-values < 0.05). Of these, F. plautii, C. minuta and A. transvaalensis have the potential to degrade the chitin’s insect meal and correlated with the observed high levels of gut SCFAs produced in ID group. These microorganisms may thus connect the chitin degradation with high SCFAs production. Our results suggest H. illucens as a potential prebiotic by well feeding gut microbiota.