I develop an intra-firm theory of group design and teamwork in the presence of peer effects. The purpose is to understand the interlinkages between intra-firm group formation and the extent of wage dispersion within the firm. Given a set of heterogeneous workers, the manager faces the challenge...