Coordinating complex social and moral concerns when allocating resources is a key issue in late childhood and early adolescence. This study explored resource allocation in three goal contexts that required children to focus to differing degrees on moral and group concerns. Children (9-11-years, M age = 9.84, n = 190) and adolescents (14-16-years, M age = 14.92, n = 154) were informed their school peer group held an in-group norm (competition, cooperation). Participants allocated resources between their in-group and an outgroup within one of three goal contexts (prosocial, learning-focused, and groupfocused). Participants allocated in favour of their in-group to achieve a prosocial goal but attenuated this when the goal was focused on learning and cooperation. Adolescents, more than children, reasoned about the goals of resource allocation to justify their decisions. From 9 years old, children begin to coordinate peer group norms and goal information when deciding how to allocate resources within intergroup contexts. Statement of Contribution What is already known on this subject? In-group norms of competition and cooperation can guide resource allocation. Children are concerned with achieving prosocial goals. What the present study adds? Children and adolescents use in-group biased resource allocation to achieve a prosocial goal. When the goal is to learn, children do not express in-group bias. A competitive in-group norm can supersede the goal of an allocation decision. Background With age, intergroup resource allocation decisions become more complex not only in terms of who we are allocating to, or what we are allocating, but also in terms of why we are allocating. Recent work has examined how group identities (the 'who' of this equation) (