In gregarious species, social interactions maintain group cohesion and the associated adaptive values of group living. The understanding of mechanisms leading to group cohesion is essential for understanding the collective dynamics of groups and the spatio-temporal distribution of organisms in environment. In this view, social aggregation in terrestrial isopods represents an interesting model due to its recurrence both in the field and in the laboratory. In this study, and under a perturbation context, we experimentally tested the stability of groups of woodlice according to group size and time spent in group. Our results indicate that the response to the disturbance of groups decreases with increases in these two variables. Models neglecting social effects cannot reproduce experimental data, attesting that cohesion of aggregation in terrestrial isopods is partly governed by a social effect. In particular, models involving calmed and excited individuals and a social transition between these two behavioural states more accurately reproduced our experimental data. Therefore, we concluded that group cohesion (and collective response to stimulus) in terrestrial isopods is governed by a transitory resting state under the influence of density of conspecifics and time spent in group. Lastly, we discuss the nature of direct or indirect interactions possibly implicated. 