).Dominance hierarchies pervade animal societies. Within a static social environment, in which group size and composition are unchanged, an individual's hierarchy rank results from intrinsic (e.g. body size) and extrinsic (e.g. previous experiences) factors. Little is known, however, about how dominance relationships are formed and maintained when group size and composition are dynamic. Using a fusion -fission protocol, we fused groups of previously isolated shore crabs (Carcinus maenas) into larger groups, and then restored groups to their original size and composition. Pre-fusion hierarchies formed independently of individuals' sizes, and were maintained within a static group via winner/loser effects. Post-fusion hierarchies differed from pre-fusion ones; losing fights during fusion led to a decline in an individual's rank between pre-and post-fusion conditions, while spending time being aggressive during fusion led to an improvement in rank. In post-fusion tanks, larger individuals achieved better ranks than smaller individuals. In conclusion, dominance hierarchies in crabs represent a complex combination of intrinsic and extrinsic factors, in which experiences from previous groups can carry over to affect current competitive interactions.