The explosion in the Guangxi Zhuang Autonomous Region in the south, occurred as a motorcycle passed the school gate while children were arriving for classes, China's official Xinhua news agency said.
"First, the motorcycle caught fire and then exploded with a tremendous noise that could be heard from far, far away," a witness told Xinhua.
The cause of the explosion was not clear. A man and a woman were killed immediately and the injured including 10 students, were taken to hospital, Xinhua said.
Pictures posted online showed the mangled remains of a tricycle on the ground and a motorcycle in flames outside the school, while several people sat on the ground bleeding.
A local official in Lingchaun County, where the explosion occurred, confirmed the toll to AFP without offering further details.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ