In decisions between equal and unequal resource distributions, women are often believed to be more prosocial than men. Previous research showed that fairness attitudes develop in childhood, but their—possibly gendered, developmental trajectory remains unclear. We hypothesised that gender-related fairness attitudes might depend not only on the gender of the Allocator, but also on that of the Recipient. To examine this, we tested 332 three to 8-year-old children in a paired resource allocation task, with both boys and girls acting as Allocators and Recipients. We indeed found gender-related effects: girls more than boys aimed to reduce advantageous inequity, and Allocators of both genders were more averse against male Recipients being better off. Notably, older girls exhibited an envy bias, i.e., they tolerated disadvantageous inequity more when the resource allocation was in favour of other girls than when it favoured boys. We also observed a gender-related spite gap in boys aged 7-8: unlike girls, boys treated other boys with spite, i.e., they valued unfair distributions in their own favour over equal outcomes, especially if rejecting advantageous inequity was costly. This pattern hints at contextualised gender-related fairness preferences that evolve with age that could depend on same- and cross-gender past interaction experiences.