Police and fire responded and as a precaution evacuated the school as they searched for the source of the odor, police said.
A gas leak on a valve was found in the science department and Con Edison was called to repair the problem.
Students were out of class for less than 30 minutes, police said.
Click here to follow Daily Voice Mamaroneck and receive free news updates.