The San Bernardino County Fire Department responded to the school located in the 8000 block of Mango Avenue around 8 a.m.
Responding hazmat investigators tried to identify the source of the odor. They isolated the odor to two buildings on campus - the administrative building and a building for classrooms.
Fire department officials did not specify the symptoms of the eight children who were treated. Their ages were not immediately known.
The scene was declared all clear around 9:45 a.m. Fire officials said the odor dissipated and the source was not found.