We study intra- and intergroup cooperation in the production and distribution of a jointly created good. Over several periods, members of one group can choose whether or not to contribute to the good’s production. Members of the other group vote to implement a fair or a discriminatory sharing policy for the good’s proceeds. More cooperative behavior by members of an outgroup renders ingroup members more willing to cooperate in turn. Our experiment documents reciprocity in intergroup cooperation settings. This reciprocity at times leads to mutually beneficial cooperation but when one group defects, it may also lead to cooperation breaking down. Understanding how one group’s cooperation influences another group’s decisions can improve resource allocation as well as influence policy-makers’ decisions towards fairer distribution strategies.