Like all ants, A. gracilipes requires a protein-rich food source for the queen to lay eggs and carbohydrates as energy for the workers. They get their carbohydrates from plant nectar and honeydew producing insects, especially scale insects, aphids, and other Sternorrhyncha. Studies indicate that crazy ants rely so much on the scale insects that scarcity of them can actually limit ant population growth.