The bear was spotted around 6 a.m. outside Phillipsburg High School, according to WFMZ-TV.
Officials believe the bear had been there most of the night.
A photo from WMFZ showed the bear resting in the tree just above the building.
New Jersey Fish and Game crews were working to get the bear out of the tree.
Information from WMFZ-TV