Pill bugs individually walked an experimental pathway, then were induced to conglobate with a puff of air. After recovering, they were stimulated again. Sixty of 80 pill bugs conglobated both times, first moving either antennae (A) or legs (L) during recovery. Both AA and LL groups showed a significant positive correlation between first (t1) and second (t2) conglobation times. In the AL group, pathway locomotion time (t0) was significantly positively correlated to both t1 and t2. We conclude that pill bugs determine conglobation time based partly on their previous states.