New strategies are needed to manage malaria vector populations that resist insecticides and bite outdoors. This study describes a breakthrough in developing ‘attract and kill’ strategies targeting gravid females by identifying and evaluating an oviposition attractant for Anopheles gambiae s.l.