The Coral Gables Fire Department responded to a blaze on the campus of the University of Miami.
It happened Sunday afternoon after officials said a fire sparked in a science classroom.
According to Coral Gables Fire, the building sprinkler system was able to put out the flames and contain it to its room of origin.
Firefighters said chemicals were involved, so a City of Miami Hazmat team was deployed to monitor air quality as an additional precaution.
Hazmat officials gave an all clear, indicating that the chemicals in the fire were contained and did not spread, and they are no longer present.
No injuries were reported.
Read MoreWPLG Local 10