Many parasitoids control the behavior of their hosts to achieve more preferable conditions. Decreasing predation pressure is a main aim of host manipulation. Some parasitoids control host behavior to escape from their enemies, whereas others manipulate hosts into constructing defensive structures as barriers against hyperparasitism. Larvae of the parasitoid wasp Cotesia glomerata form cocoon clusters after egression from the parasitized host caterpillar of the butterfly Pieris brassicae. After the egression of parasitoids, the perforated host caterpillar lives for a short period and constructs a silk web that covers the cocoon cluster. We examined whether these silk webs protect C. glomerata cocoons against the hyperparasitoid wasp Trichomalopsis apanteroctena. In cocoon clusters that were not covered by silk webs (“bare” clusters), only cocoons hidden beneath others avoided hyperparasitism. In covered cocoon clusters, both cocoons hidden beneath others and those with a space between them and the silk web avoided hyperparasitism, whereas cocoons that contacted the silk webs were parasitized. The frequency of cocoons that were hidden beneath others increased with the increasing number of cocoons in a cluster, but the defensive effect of cluster size was thought to be lower than that of silk webs. However, the rate of hyperparasitism did not differ between covered and bare clusters when we allowed the hyperparasitoids to attack the cocoon clusters in an experimental arena. This result was thought to have been caused by low oviposition frequency by these hyperparasitoids. As a result, silk webs did not guard the cocoons from hyperparasitoids in our experiments, but would protect cocoons under high hyperparasitism pressure by forming a space through which the ovipositors could not reach the cocoons.