Abstract Anopheles mosquitoes mate at sunset in aerial swarms. The development of mating-based methods for effective malaria vector control requires a good knowledge of the flight behaviour of Anopheles species in mating swarms. However, the process of how swarms are formed and maintained remains poorly understood. Here, we characterized the three-dimensional spatial and temporal flight kinematics of Anopheles coluzzii males swarming above a ground marker. We observed that the location, shape and volume of swarms were highly stereotypic, consistent over the swarming duration, regardless of the number of individuals in the swarm. The swarm had an elliptical cone shape, and we observed a differential spatial distribution of flight kinematics parameters within the swarm volume. Among these parameters, only swarm density varied with swarm size. Using a sensory system-informed model, we show that swarm location and shape can accurately be modelled based on visual perception of the marker. To control swarm height, swarming individuals maintain an optical angle of the marker ranging from 24° to 55°. Limiting the viewing angle deviation to 4.5% of the maximum value results in the observed elliptical cone swarm shape. We discuss the implications of these finding in mating success, speciation and for vector control.