The incident occurred at government school in Bothalpalem village of Damarcherla mandal where students of Class I to Class VII were served rice and spinach curry for the mid-day meal.
The ill students were taken to Miryalguda government hospital, where all were declared in stable condition, a police officer said.
Wadapally police were further investigating.