Many species adaptively alter offspring sex ratios, yet little is known about how they obtain relevant environmental information. New work on the parasitoid wasp Nasonia vitripennis reveals that the presence of eggs on hosts provides a reliable cue allowing females to determine the degree of local mate competition and adaptively adjust offspring sex ratios.