Officers using hand-held extinguishers contained the blaze until firefighters from Ho-Ho-Kus and Waldwick arrived.
No injuries were reported.
Because of the hot weather, two ambulances were dispatched as firefighters worked to ventilate the building.
Students were allowed back in about a half-hour later.
Authorities were investigating the cause.
Boyd A. Loving contributed to this report.
Click here to follow Daily Voice Northern Highlands and receive free news updates.