Forests canopy gaps play an important role in forest ecology by driving the forest mosaic cycle and creating conditions for rapid plant reproduction and growth. The availability of young plants, which represent resources for herbivores, and modified environmental conditions with greater availability of light and higher temperatures, promote the colonization of animals. Remarkably, the role of gaps on insect communities has received little attention and the source of insects colonizing gaps has not been studied comprehensively. Using a replicated full-factorial forest experiment (treatments:Gap;Gap+Deadwood;Deadwood;Control), we show that following gap creation, there is a rapid change in the true bug (Heteroptera) community structure, with an increase in species that are mainly recruited from open lands. Compared with closed-canopy treatments (DeadwoodandControl), open canopy treatments (GapandGap+Deadwood) promoted an overall increase in species (+ 59.4%, estimated as number of species per plot) and individuals (+ 76.3%) of true bugs, mainly herbivores and species associated to herbaceous vegetation. Community composition also differed among treatments, and all 17 significant indicator species (out of 117 species in total) were associated with the open canopy treatments. Based on insect data collected in grasslands and forests over an 11-year period, we found that the species colonizing experimental gaps had greater body size and a greater preference for open vegetation. Our results indicate that animal communities that assemble following gap creation contain a high proportion of habitat generalists that not occurred in closed forests, contributing significantly to overall diversity in forest mosaics.Supplementary InformationThe online version contains supplementary material available at 10.1007/s00442-023-05392-z.