1. The occurrence of larvae of Limnephilus coenosus and L. vittatus (Trichoptera) was recorded in 103 rock pools both before and after the dry periods in spring–summer (April–May and July–early August), when a great number of the pools dried out. In early spring, 84% of the pools sampled contained larvae of at least one of the species. Limnephilus coenosus larvae were present in a higher proportion of pools that later dried out than in the permanent ones, while L. vittatus larvae were predominantly found in permanent pools. Larvae of both species were found together in 31% of the inhabited pools. 2. Laboratory experiments, designed to elucidate differential survival under drought conditions, demonstrated that the organic cases of L. coenosus larvae held water more efficiently than did the mineral L. vittatus cases. Full‐grown (fifth instar) L. coenosus larvae also survived dry conditions better than did L. vittatus larvae. The higher survival of L. coenosus was due to a combination of drought‐resistant case material and a higher survival ability of the larvae themselves. 3. Limnephilus vittatus larvae were restricted by their low capability to withstand desiccation, although case material and food were available for L. vittatus larvae in all pools. Absence of case material and high‐quality food in many pools, however, restricted the presence of L. coenosus larvae, but this species did not suffer from heavy mortality because of desiccation and all pool populations of L. coenosus survived until pupation. 4. The differences in species composition in these temporary and permanent pools can be explained by the differential site selection by ovipositing females, as well as by larval survival. The intrinsically greater survival of L. coenosus larvae during drought, together with the water‐retaining properties of the cases, allowed this species to exploit stressful and risky habitats, such as temporary pools.