Police said the explosion occurred in a computer room on the second floor of the 1st district police station at 1718 South State Street just after 3 a.m.
The explosion set off a sensor and an unknown gas, prompting a hazmat response.
The Chicago Fire Department arrived and aired out the room before rendering it safe.
No injuries were reported, according to CPD.