More than two dozen students were sickened yesterday by a cloud of noxious fumes released in a Brooklyn school.

Coughing, teary-eyed students at the School for Global Studies, a junior-senior high school in Carroll Gardens, complained of burning eyes, respiratory irritation, headaches and nausea at around 9:40 a.m., after, police believe, someone sprayed Mace in a basement or first-floor classroom.

Nine kids were rushed to Long Island College Hospital, where they were treated and then released.

“Everybody started coughing [in] the halls,” said sixth-grader Roger Perez, 12, who got hit with fumes on his way to the bathroom. “It felt sickening.”

“The teacher made an announcement on the loudspeaker that everybody had to go outside,” said seventh-grader Estrellita Carmona, 12, who complained of chest pains. “Some kids were coughing, some were throwing up.”