A building at the University of New Brunswick in Fredericton has reopened after being closed for nearly 24 hours as the result of a chemical spill. 

David Stonehouse, a spokesperson for UNB, said the incident happened Friday evening during a routine experiment in Toole Hall.

The building contains the campus' four main undergraduate chemistry laboratories.

No one was hurt but it did create fumes, and the building was evacuated "out of an abundance of caution."

The building was closed to allow crews to clean up, but it reopened at about 5:30p.m. on Saturday.

Stonehouse did not say what kind of chemicals were released or what caused the problem in the first place.

This isn't the first time this has happened in Toole Hall.

There were also chemical releases in the same building in 2015 and 2013.

In 2013, the problem was caused by a chemical freezer that malfunctioned.