Sexual conflict facilitates the evolution of traits that increase the reproductive success of males at the expense of components of female fitness. Theory suggests that indirect benefits are unlikely to offset the direct costs to females from antagonistic male adaptations, but empirical studies examining the net fitness pay-offs of the interaction between the sexes are scarce. Here, we investigate whether matings with males that invest intrinsically more into accessory gland tissue undermine female lifetime reproductive success (LRS) in the cricket Teleogryllus oceanicus. We found that females incur a longevity cost of mating that is proportional to the partner's absolute investment into the production of accessory gland products. However, male accessory gland weight positively influences embryo survival, and harmful ejaculate-induced effects are cancelled out when these are put in the context of female LRS. The direct costs of mating with males that sire offspring with higher viability are thus compensated by direct and possibly indirect genetic benefits in this species.