Floral nectar is the main source of carbohydrates for many insects including mosquitoes. Nonetheless, the physiological mechanisms underlying feeding on carbohydrates by the Afrotropical malaria mosquito Anopheles gambiae remain poorly understood. Here, we tested whether sugar sensitivity and sugar feeding preferences correlate with longevity in A. gambiae. We also tested whether feeding females on different sugar diets influences their biting behaviours. Electrophysiological recordings show that sugar neurones on the labella of females are most sensitive to sucrose, mixtures of glucose and fructose, and to melezitose; other sugars tested, including glucose and fructose presented alone, only weakly activate these taste neurones. Mosquitoes survive longest on sucrose, the most preferred sugar. Whereas feeding on a mixture of glucose and fructose is preferred over fructose or glucose alone, fructose supports higher longevity than either glucose or the mixture of the two hexoses. Females that had previously fed on glucose show a stronger biting response than those fed on sucrose, perhaps in an effort to compensate for their lower energetic state. These findings contribute to our understanding of the physiological basis of sugar feeding in A. gambiae and indicate how the sugar diet can affect laboratory-reared A. gambiae biting behaviours.