Grooming in primates is often considered a "currency" that can be exchanged for other "services" or "commodities" such as reciprocal grooming, coalitionary support, infant handling, tolerance around food sources, active food sharing, or mating opportunities. Previous studies on primate grooming-for-sex exchange viewed the males as the demanding class, with the females as suppliers of mating opportunities. In this study, we examine the broader context of grooming-for-mating exchange in Barbary macaques in Gibraltar. Our data show that Barbary macaque males groom females with whom they are mating more frequently and for longer periods than other females, and the relationship between grooming and mating remains significant in both sexual and nonsexual contexts. In addition, females groomed males with whom they were mating more frequently and for longer periods than other males. In both sexes, grooming was observed to be far more frequent and to occur for longer durations in sexual compared to nonsexual contexts. We did not find any difference in grooming behavior between presexual and postsexual contexts. Our data suggest that there is no simple model to describe Barbary macaque grooming patterns in sexual contexts. Although our results are partly consistent with male use of grooming as payment for mating, broadly assessed grooming-mating patterns cannot be solely explained by a male-driven grooming-for-mating exchange.