A recent accumulation of studies has demonstrated that nongenetic, maternally transmitted factors are often critical to the health and development of offspring and can therefore play a role in ecological and evolutionary processes. In particular, microorganisms such as bacteria have been championed as heritable, symbiotic partners capable of conferring fitness benefits to their hosts. At the same time, parents may also pass various nonmicrobial organisms to their offspring, yet the roles of such organisms in shaping the developmental environment of their hosts remain largely unexplored. Here, we show that the nematode is transgenerationally inherited and sexually transmitted by the dung beetle By manipulating artificial chambers in which beetle offspring develop, we demonstrate that the presence of nematodes enhances the growth of beetle offspring, empirically challenging the paradigm that nematodes are merely commensal or even detrimental to their insect hosts. Finally, our research presents a compelling mechanism whereby the nematodes influence the health of beetle larvae: nematodes engineer the bacterial and fungal communities that also inhabit the beetle developmental chambers, including specific taxa known to be involved in biomass degradation, possibly allowing larval beetles better access to their otherwise recalcitrant, plant-based diet. Thus, our findings illustrate that nongenetic inheritance can include intermediately sized organisms that live and proliferate in close association with, and in certain cases enhance, the development of their hosts' offspring.