The clinical workplace in which doctors learn involves many social groups, including representatives of different professions, clinical specialties and workplace teams. This paper suggests that medical education research does not currently take full account of the effects of group membership, and describes a theoretical approach from social psychology, the social identity approach, which allows those effects to be explored.